Home
last modified time | relevance | path

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

/external/llvm-project/clang/test/CodeGenObjC/
Ddisable-tail-call-escaping-block.m23 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.
Dblock-desc-str.m14 typedef void (^BlockTy)(void);
17 BlockTy b = ^{ (void)a; };
Dnoescape.m4 typedef void (^BlockTy)(void);
11 void escapingFunc0(BlockTy);
12 void noescapeFunc0(id, __attribute__((noescape)) BlockTy);
33 void test0(BlockTy b) {
Dweak-in-c-struct.m6 typedef void (^BlockTy)(void);
128 BlockTy b = ^{ (void)t; };
Dstrong-in-c-struct.m9 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/
Dwarn-implicit-self-in-block.mm4 typedef void (^BlockTy)(); typedef
6 void noescapeFunc(__attribute__((noescape)) BlockTy);
7 void escapeFunc(BlockTy);
Dnoescape.mm4 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/
Dno-escaping-block-tail-calls.h1 typedef int (^BlockTy)(void); typedef
9 void func(BlockTy __attribute__((noescape)));
Darc-blocks.mm8 typedef void (^BlockTy)();
13 BlockTy b0 = ^{ foo1(a); };
18 BlockTy b0;
/external/llvm-project/clang/test/CodeGenObjCXX/
Darc-blocks.mm208 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/
Dnoescape.cpp78 typedef void (^BlockTy)(void); typedef
80 void noescapefunc(__attribute__((noescape)) BlockTy);
/external/llvm-project/clang/test/SemaObjC/
Dstrong-in-c-struct.m34 typedef void (^BlockTy)(void);
35 void func(BlockTy);
Dnon-trivial-c-union.m62 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/
DHotColdSplitting.cpp361 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/
DHotColdSplitting.cpp375 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/
DAnalysisBasedWarnings.cpp531 QualType BlockTy = blkExpr->getType(); in CheckFallThroughForBody() local
533 BlockTy->getPointeeType()->getAs<FunctionType>()) { in CheckFallThroughForBody()
DSemaExpr.cpp12113 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/
DSemaExpr.cpp15337 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()
DSemaDeclAttr.cpp6106 QualType BlockTy = in handleSwiftAsyncAttr() local
6108 if (!BlockTy->getAs<FunctionType>()->getReturnType()->isVoidType()) { in handleSwiftAsyncAttr()
/external/llvm-project/clang/lib/CodeGen/
DTargetInfo.cpp11068 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/
DASTContext.cpp5174 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/
DAttrDocs.td192 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/
DASTContext.cpp6824 QualType BlockTy = in getObjCEncodingForBlock() local
6826 QualType BlockReturnTy = BlockTy->castAs<FunctionType>()->getReturnType(); in getObjCEncodingForBlock()