Home
last modified time | relevance | path

Searched refs:BlockTy (Results 1 – 7 of 7) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
DHotColdSplitting.cpp410 using BlockTy = std::pair<BasicBlock *, unsigned>; typedef
421 SmallVector<BlockTy, 0> Blocks = {};
570 auto RegionStartIt = remove_if(Blocks, [&](const BlockTy &Block) { in takeSingleEntrySubRegion()
658 bool RegionsOverlap = any_of(Region.blocks(), [&](const BlockTy &Block) { in outlineColdRegions()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
DVPlan.h2006 template <typename BlockTy> class VPBlockRecursiveTraversalWrapper {
2007 BlockTy Entry;
2010 VPBlockRecursiveTraversalWrapper(BlockTy Entry) : Entry(Entry) {}
2011 BlockTy getEntry() { return Entry; }
2383 template <typename BlockTy, typename T>
2387 typename std::conditional<std::is_const<BlockTy>::value,
2395 Mapped, [](BaseTy &Block) { return isa<BlockTy>(&Block); });
2396 return map_range(Filter, [](BaseTy &Block) -> BlockTy * {
2397 return cast<BlockTy>(&Block);
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DSemaExpr.cpp15577 QualType BlockTy; in ActOnBlockStmtExpr() local
15590 BlockTy = Context.getFunctionType(RetTy, None, EPI); in ActOnBlockStmtExpr()
15596 BlockTy = BSI->FunctionType; in ActOnBlockStmtExpr()
15604 BlockTy = Context.getFunctionType(RetTy, FPT->getParamTypes(), EPI); in ActOnBlockStmtExpr()
15611 BlockTy = Context.getFunctionType(RetTy, None, EPI); in ActOnBlockStmtExpr()
15615 BlockTy = Context.getBlockPointerType(BlockTy); in ActOnBlockStmtExpr()
15710 PoppedFunctionScopePtr ScopeRAII = PopFunctionScopeInfo(&WP, BD, BlockTy); in ActOnBlockStmtExpr()
15712 BlockExpr *Result = new (Context) BlockExpr(BD, BlockTy); in ActOnBlockStmtExpr()
DSemaDeclAttr.cpp6399 QualType BlockTy = in handleSwiftAsyncAttr() local
6401 if (!BlockTy->castAs<FunctionType>()->getReturnType()->isVoidType()) { in handleSwiftAsyncAttr()
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DTargetInfo.cpp11286 auto *BlockTy = BlockLiteral->getType()->getPointerElementType(); in createEnqueuedBlockKernel() local
11296 ArgTys.push_back(BlockTy); in createEnqueuedBlockKernel()
11321 const auto BlockAlign = CGF.CGM.getDataLayout().getPrefTypeAlign(BlockTy); in createEnqueuedBlockKernel()
11322 auto *BlockPtr = Builder.CreateAlloca(BlockTy, nullptr); in createEnqueuedBlockKernel()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/
DAttrDocs.td241 typedef void (^BlockTy)();
242 BlockTy g0, g1;
244 void nonescapingFunc(__attribute__((noescape)) BlockTy block) {
248 void escapingFunc(__attribute__((noescape)) BlockTy block) {
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
DASTContext.cpp6912 QualType BlockTy = in getObjCEncodingForBlock() local
6914 QualType BlockReturnTy = BlockTy->castAs<FunctionType>()->getReturnType(); in getObjCEncodingForBlock()