| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A 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.
|
| H A D | block-desc-str.m | 14 typedef void (^BlockTy)(void); 17 BlockTy b = ^{ (void)a; };
|
| H 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) {
|
| H A D | weak-in-c-struct.m | 6 typedef void (^BlockTy)(void); 132 BlockTy b = ^{ (void)t; };
|
| H A D | strong-in-c-struct.m | 9 typedef void (^BlockTy)(void); 42 BlockTy f0; 290 BlockTy b = ^{ (void)t; }; 405 BlockTy b = ^{ (void)t; }; 604 BlockTy b = ^(void){ (void)t; };
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | debug-info-block-expr.c | 4 typedef void (^BlockTy)(void); typedef 5 void escapeFunc(BlockTy); 6 typedef void (^BlockTy)(void); typedef 7 void noEscapeFunc(__attribute__((noescape)) BlockTy);
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A 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); 48 - (void)noescapeLValRefParam:(const BlockTy &)__attribute__((noescape))p; 49 - (void)noescapeRValRefParam:(BlockTy &&)__attribute__((noescape))p; 54 - (void)noescapeLValRefParam:(const BlockTy &)__attribute__((noescape))p { 56 - (void)noescapeRValRefParam:(BlockTy &&)__attribute__((noescape))p { 192 void noescapeLValRefParam(__attribute__((noescape)) const BlockTy &); 197 void noescapeRValRefParam(__attribute__((noescape)) BlockTy &&);
|
| H A D | warn-implicit-self-in-block.mm | 4 typedef void (^BlockTy)(); typedef 6 void noescapeFunc(__attribute__((noescape)) BlockTy); 7 void escapeFunc(BlockTy);
|
| /llvm-project-15.0.7/clang/test/PCH/ |
| H A D | no-escaping-block-tail-calls.h | 1 typedef int (^BlockTy)(void); typedef 9 void func(BlockTy __attribute__((noescape)));
|
| H A D | arc-blocks.mm | 8 typedef void (^BlockTy)(); 13 BlockTy b0 = ^{ foo1(a); }; 18 BlockTy b0;
|
| /llvm-project-15.0.7/clang/test/CodeGenObjCXX/ |
| H A D | arc-blocks.mm | 209 typedef void (^BlockTy)(); typedef 217 BlockTy b0 = ^{ foo1(a); }; 241 BlockTy b0 = ^{ foo1(a); }; 250 BlockTy b0; 260 static BlockTy b0; 268 BlockTy b0; 286 BlockTy b0 = ^{ foo1(a); }; 288 BlockTy b1; 307 ((BlockTy)b0)(); 320 BlockTy b0 = ^{ foo1(a); }; [all …]
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGOpenCLRuntime.cpp | 151 llvm::Value *Block, llvm::Type *BlockTy) { in recordBlockInfo() argument 158 EnqueuedBlockMap[E].BlockTy = BlockTy; in recordBlockInfo() 183 CGF, EnqueuedBlockMap[Block].InvokeFunc, EnqueuedBlockMap[Block].BlockTy); in emitOpenCLEnqueuedBlock()
|
| H A D | CGOpenCLRuntime.h | 49 llvm::Type *BlockTy; /// Type of the block argument. member 97 llvm::Value *Block, llvm::Type *BlockTy);
|
| H A D | TargetInfo.h | 332 llvm::Type *BlockTy) const;
|
| H A D | TargetInfo.cpp | 9334 llvm::Type *BlockTy) const override; 11777 llvm::Type *BlockTy) const { in createEnqueuedBlockKernel() 11807 llvm::Type *BlockTy) const { in createEnqueuedBlockKernel() 11820 ArgTys.push_back(BlockTy); in createEnqueuedBlockKernel() 11845 const auto BlockAlign = CGF.CGM.getDataLayout().getPrefTypeAlign(BlockTy); in createEnqueuedBlockKernel() 11846 auto *BlockPtr = Builder.CreateAlloca(BlockTy, nullptr); in createEnqueuedBlockKernel()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | noescape.cpp | 78 typedef void (^BlockTy)(void); typedef 80 void noescapefunc(__attribute__((noescape)) BlockTy);
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | strong-in-c-struct.m | 34 typedef void (^BlockTy)(void); 35 void func(BlockTy);
|
| H A D | non-trivial-c-union.m | 62 typedef void (^BlockTy)(void); 63 void escapingFunc(BlockTy); 64 void noescapingFunc(__attribute__((noescape)) BlockTy);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | HotColdSplitting.cpp | 398 using BlockTy = std::pair<BasicBlock *, unsigned>; typedef 409 SmallVector<BlockTy, 0> Blocks = {}; 558 auto RegionStartIt = remove_if(Blocks, [&](const BlockTy &Block) { in takeSingleEntrySubRegion() 646 bool RegionsOverlap = any_of(Region.blocks(), [&](const BlockTy &Block) { in outlineColdRegions()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlan.h | 2442 template <typename BlockTy> class VPBlockRecursiveTraversalWrapper { 2443 BlockTy Entry; 2446 VPBlockRecursiveTraversalWrapper(BlockTy Entry) : Entry(Entry) {} 2447 BlockTy getEntry() { return Entry; } 2903 template <typename BlockTy, typename T> 2907 typename std::conditional<std::is_const<BlockTy>::value, 2915 Mapped, [](BaseTy &Block) { return isa<BlockTy>(&Block); }); 2916 return map_range(Filter, [](BaseTy &Block) -> BlockTy * { 2917 return cast<BlockTy>(&Block);
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 16345 QualType BlockTy; in ActOnBlockStmtExpr() local 16358 BlockTy = Context.getFunctionType(RetTy, None, EPI); in ActOnBlockStmtExpr() 16364 BlockTy = BSI->FunctionType; in ActOnBlockStmtExpr() 16372 BlockTy = Context.getFunctionType(RetTy, FPT->getParamTypes(), EPI); in ActOnBlockStmtExpr() 16379 BlockTy = Context.getFunctionType(RetTy, None, EPI); in ActOnBlockStmtExpr() 16383 BlockTy = Context.getBlockPointerType(BlockTy); in ActOnBlockStmtExpr() 16478 PoppedFunctionScopePtr ScopeRAII = PopFunctionScopeInfo(&WP, BD, BlockTy); in ActOnBlockStmtExpr() 16480 BlockExpr *Result = new (Context) BlockExpr(BD, BlockTy); in ActOnBlockStmtExpr()
|
| H A D | SemaDeclAttr.cpp | 6716 QualType BlockTy = in handleSwiftAsyncAttr() local 6718 if (!BlockTy->castAs<FunctionType>()->getReturnType()->isVoidType()) { in handleSwiftAsyncAttr()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | AttrDocs.td | 245 typedef void (^BlockTy)(); 246 BlockTy g0, g1; 248 void nonescapingFunc(__attribute__((noescape)) BlockTy block) { 252 void escapingFunc(__attribute__((noescape)) BlockTy block) {
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTContext.cpp | 7540 QualType BlockTy = in getObjCEncodingForBlock() local 7542 QualType BlockReturnTy = BlockTy->castAs<FunctionType>()->getReturnType(); in getObjCEncodingForBlock()
|