/external/llvm-project/clang/test/CodeGenObjC/ |
D | disable-tail-call-escaping-block.m | 23 typedef void (^BlockTy)(void); 24 typedef void (*NoEscapeFnTy)(__attribute__((noescape)) BlockTy); typedef 26 void callee0(__attribute__((noescape)) BlockTy); 27 void callee1(BlockTy); 31 -(void)m0:(__attribute__((noescape)) BlockTy)p; 32 -(void)m1:(BlockTy)p; argument 36 -(void)m0:(__attribute__((noescape)) BlockTy)p {} 37 -(void)m1:(BlockTy)p {} argument 43 BlockTy b0 = ^{ (void)a; }; // disable tail-call optimization. 48 BlockTy b1 = ^{ (void)a; }; // disable tail-call optimization.
|
D | block-desc-str.m | 14 typedef void (^BlockTy)(void); 17 BlockTy b = ^{ (void)a; };
|
D | noescape.m | 4 typedef void (^BlockTy)(void); 11 void escapingFunc0(BlockTy); 12 void noescapeFunc0(id, __attribute__((noescape)) BlockTy); 33 void test0(BlockTy b) {
|
D | weak-in-c-struct.m | 6 typedef void (^BlockTy)(void); 128 BlockTy b = ^{ (void)t; };
|
D | strong-in-c-struct.m | 9 typedef void (^BlockTy)(void); 42 BlockTy f0; 284 BlockTy b = ^{ (void)t; }; 399 BlockTy b = ^{ (void)t; }; 580 BlockTy b = ^(){ (void)t; };
|
/external/llvm-project/clang/test/SemaObjCXX/ |
D | warn-implicit-self-in-block.mm | 4 typedef void (^BlockTy)(); typedef 6 void noescapeFunc(__attribute__((noescape)) BlockTy); 7 void escapeFunc(BlockTy);
|
D | noescape.mm | 4 typedef void (^BlockTy)(); typedef 11 void escapingFunc0(BlockTy); 12 void noescapeFunc0(id, __attribute__((noescape)) BlockTy); 13 void noescapeFunc1(id, [[clang::noescape]] BlockTy);
|
/external/llvm-project/clang/test/PCH/ |
D | no-escaping-block-tail-calls.h | 1 typedef int (^BlockTy)(void); typedef 9 void func(BlockTy __attribute__((noescape)));
|
D | arc-blocks.mm | 8 typedef void (^BlockTy)(); 13 BlockTy b0 = ^{ foo1(a); }; 18 BlockTy b0;
|
/external/llvm-project/clang/test/CodeGenObjCXX/ |
D | arc-blocks.mm | 208 typedef void (^BlockTy)(); 215 BlockTy b0 = ^{ foo1(a); }; 216 BlockTy b1 = (^{ foo1(a); }); 224 static BlockTy b0 = ^{ foo1(a); }; 239 BlockTy b0 = ^{ foo1(a); }; 241 BlockTy b1 = b0; // can't optimize this yet. 248 BlockTy b0; 258 static BlockTy b0; 266 BlockTy b0; 284 BlockTy b0 = ^{ foo1(a); }; [all …]
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | noescape.cpp | 78 typedef void (^BlockTy)(void); typedef 80 void noescapefunc(__attribute__((noescape)) BlockTy);
|
/external/llvm-project/clang/test/SemaObjC/ |
D | strong-in-c-struct.m | 34 typedef void (^BlockTy)(void); 35 void func(BlockTy);
|
D | non-trivial-c-union.m | 62 typedef void (^BlockTy)(void); 63 void escapingFunc(BlockTy); 64 void noescapingFunc(__attribute__((noescape)) BlockTy);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | HotColdSplitting.cpp | 361 using BlockTy = std::pair<BasicBlock *, unsigned>; typedef 372 SmallVector<BlockTy, 0> Blocks = {}; 517 auto RegionStartIt = remove_if(Blocks, [&](const BlockTy &Block) { in takeSingleEntrySubRegion() 605 bool RegionsOverlap = any_of(Region.blocks(), [&](const BlockTy &Block) { in outlineColdRegions()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | HotColdSplitting.cpp | 375 using BlockTy = std::pair<BasicBlock *, unsigned>; typedef 386 SmallVector<BlockTy, 0> Blocks = {}; 535 auto RegionStartIt = remove_if(Blocks, [&](const BlockTy &Block) { in takeSingleEntrySubRegion() 623 bool RegionsOverlap = any_of(Region.blocks(), [&](const BlockTy &Block) { in outlineColdRegions()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 531 QualType BlockTy = blkExpr->getType(); in CheckFallThroughForBody() local 533 BlockTy->getPointeeType()->getAs<FunctionType>()) { in CheckFallThroughForBody()
|
D | SemaExpr.cpp | 12113 QualType BlockTy; in ActOnBlockStmtExpr() local 12138 BlockTy = Context.getFunctionType(RetTy, None, EPI); in ActOnBlockStmtExpr() 12144 BlockTy = BSI->FunctionType; in ActOnBlockStmtExpr() 12152 BlockTy = Context.getFunctionType(RetTy, FPT->getParamTypes(), EPI); in ActOnBlockStmtExpr() 12159 BlockTy = Context.getFunctionType(RetTy, None, EPI); in ActOnBlockStmtExpr() 12163 BlockTy = Context.getBlockPointerType(BlockTy); in ActOnBlockStmtExpr() 12179 BlockExpr *Result = new (Context) BlockExpr(BSI->TheDecl, BlockTy); in ActOnBlockStmtExpr()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExpr.cpp | 15337 QualType BlockTy; in ActOnBlockStmtExpr() local 15350 BlockTy = Context.getFunctionType(RetTy, None, EPI); in ActOnBlockStmtExpr() 15356 BlockTy = BSI->FunctionType; in ActOnBlockStmtExpr() 15364 BlockTy = Context.getFunctionType(RetTy, FPT->getParamTypes(), EPI); in ActOnBlockStmtExpr() 15371 BlockTy = Context.getFunctionType(RetTy, None, EPI); in ActOnBlockStmtExpr() 15375 BlockTy = Context.getBlockPointerType(BlockTy); in ActOnBlockStmtExpr() 15403 PoppedFunctionScopePtr ScopeRAII = PopFunctionScopeInfo(&WP, BD, BlockTy); in ActOnBlockStmtExpr() 15472 BlockExpr *Result = new (Context) BlockExpr(BD, BlockTy); in ActOnBlockStmtExpr()
|
D | SemaDeclAttr.cpp | 6106 QualType BlockTy = in handleSwiftAsyncAttr() local 6108 if (!BlockTy->getAs<FunctionType>()->getReturnType()->isVoidType()) { in handleSwiftAsyncAttr()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 11068 auto *BlockTy = BlockLiteral->getType()->getPointerElementType(); in createEnqueuedBlockKernel() local 11078 ArgTys.push_back(BlockTy); in createEnqueuedBlockKernel() 11103 const auto BlockAlign = CGF.CGM.getDataLayout().getPrefTypeAlign(BlockTy); in createEnqueuedBlockKernel() 11104 auto *BlockPtr = Builder.CreateAlloca(BlockTy, nullptr); in createEnqueuedBlockKernel()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 5174 QualType BlockTy = in getObjCEncodingForBlock() local 5179 Decl::OBJC_TQ_None, BlockTy->getAs<FunctionType>()->getReturnType(), S, in getObjCEncodingForBlock() 5182 getObjCEncodingForType(BlockTy->getAs<FunctionType>()->getReturnType(), S); in getObjCEncodingForBlock()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | AttrDocs.td | 192 typedef void (^BlockTy)(); 193 BlockTy g0, g1; 195 void nonescapingFunc(__attribute__((noescape)) BlockTy block) { 199 void escapingFunc(__attribute__((noescape)) BlockTy block) {
|
/external/llvm-project/clang/lib/AST/ |
D | ASTContext.cpp | 6824 QualType BlockTy = in getObjCEncodingForBlock() local 6826 QualType BlockReturnTy = BlockTy->castAs<FunctionType>()->getReturnType(); in getObjCEncodingForBlock()
|