Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp409 using BlockTy = std::pair<BasicBlock *, unsigned>; typedef
420 SmallVector<BlockTy, 0> Blocks = {};
569 auto RegionStartIt = remove_if(Blocks, [&](const BlockTy &Block) { in takeSingleEntrySubRegion()
657 bool RegionsOverlap = any_of(Region.blocks(), [&](const BlockTy &Block) { in outlineColdRegions()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DVPlan.h1894 template <typename BlockTy> class VPBlockRecursiveTraversalWrapper {
1895 BlockTy Entry;
1898 VPBlockRecursiveTraversalWrapper(BlockTy Entry) : Entry(Entry) {}
1899 BlockTy getEntry() { return Entry; }
2271 template <typename BlockTy, typename T>
2275 typename std::conditional<std::is_const<BlockTy>::value,
2283 Mapped, [](BaseTy &Block) { return isa<BlockTy>(&Block); });
2284 return map_range(Filter, [](BaseTy &Block) -> BlockTy * {
2285 return cast<BlockTy>(&Block);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExpr.cpp15456 QualType BlockTy; in ActOnBlockStmtExpr() local
15469 BlockTy = Context.getFunctionType(RetTy, None, EPI); in ActOnBlockStmtExpr()
15475 BlockTy = BSI->FunctionType; in ActOnBlockStmtExpr()
15483 BlockTy = Context.getFunctionType(RetTy, FPT->getParamTypes(), EPI); in ActOnBlockStmtExpr()
15490 BlockTy = Context.getFunctionType(RetTy, None, EPI); in ActOnBlockStmtExpr()
15494 BlockTy = Context.getBlockPointerType(BlockTy); in ActOnBlockStmtExpr()
15589 PoppedFunctionScopePtr ScopeRAII = PopFunctionScopeInfo(&WP, BD, BlockTy); in ActOnBlockStmtExpr()
15591 BlockExpr *Result = new (Context) BlockExpr(BD, BlockTy); in ActOnBlockStmtExpr()
H A DSemaDeclAttr.cpp6291 QualType BlockTy = in handleSwiftAsyncAttr() local
6293 if (!BlockTy->castAs<FunctionType>()->getReturnType()->isVoidType()) { in handleSwiftAsyncAttr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DTargetInfo.cpp11240 auto *BlockTy = BlockLiteral->getType()->getPointerElementType(); in createEnqueuedBlockKernel() local
11250 ArgTys.push_back(BlockTy); in createEnqueuedBlockKernel()
11275 const auto BlockAlign = CGF.CGM.getDataLayout().getPrefTypeAlign(BlockTy); in createEnqueuedBlockKernel()
11276 auto *BlockPtr = Builder.CreateAlloca(BlockTy, nullptr); in createEnqueuedBlockKernel()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DAttrDocs.td241 typedef void (^BlockTy)();
242 BlockTy g0, g1;
244 void nonescapingFunc(__attribute__((noescape)) BlockTy block) {
248 void escapingFunc(__attribute__((noescape)) BlockTy block) {
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DASTContext.cpp6893 QualType BlockTy = in getObjCEncodingForBlock() local
6895 QualType BlockReturnTy = BlockTy->castAs<FunctionType>()->getReturnType(); in getObjCEncodingForBlock()