Home
last modified time | relevance | path

Searched refs:getBlockDecl (Results 1 – 25 of 30) sorted by relevance

12

/external/clang/lib/CodeGen/
DCGBlocks.h243 const BlockDecl *getBlockDecl() const { return Block; } in getBlockDecl() function
246 assert(BlockExpression->getBlockDecl() == Block); in getBlockExpr()
DCGBlocks.cpp334 const BlockDecl *block = info.getBlockDecl(); in computeBlockInfo()
648 if (cur->getBlockDecl() == block) { in findAndRemoveBlockInfo()
671 if (!blockExpr->getBlockDecl()->hasCaptures()) { in EmitBlockLiteral()
672 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral()
681 blockExpr->getBlockDecl())); in EmitBlockLiteral()
689 bool isLambdaConv = blockInfo.getBlockDecl()->isConversionFromLambda(); in EmitBlockLiteral()
730 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral()
1019 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), name); in GetAddrOfGlobalBlock()
1087 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction()
1324 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateCopyHelperFunction()
[all …]
DCGDecl.cpp536 const BlockDecl *block = be->getBlockDecl(); in isAccessedBy()
995 const BlockDecl *block = be->getBlockDecl(); in isCapturedBy()
DCGClass.cpp2128 const BlockDecl *BD = BlockInfo->getBlockDecl(); in EmitLambdaBlockInvokeBody()
DCGObjCMac.cpp1957 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in BuildGCBlockLayout()
2466 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in BuildRCBlockLayout()
/external/clang/lib/StaticAnalyzer/Checkers/
DUndefCapturedBlockVarChecker.cpp57 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
DMallocChecker.cpp1930 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
DRetainCountChecker.cpp2645 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
/external/clang/lib/Analysis/
DCallGraph.cpp49 return Block->getBlockDecl(); in getDeclFromCall()
DAnalysisDeclContext.cpp485 IgnoredContexts.insert(BR->getBlockDecl()); in VisitBlockExpr()
486 Visit(BR->getBlockDecl()->getBody()); in VisitBlockExpr()
DLiveVariables.cpp362 LV.analysisContext.getReferencedBlockVars(BE->getBlockDecl()); in VisitBlockExpr()
DUninitializedValues.cpp634 const BlockDecl *bd = be->getBlockDecl(); in VisitBlockExpr()
/external/clang/include/clang/Analysis/
DAnalysisContext.h348 const BlockDecl *getBlockDecl() const { return BD; } in getBlockDecl() function
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp193 SVal V = svalBuilder.getBlockPointer(BE->getBlockDecl(), T, in VisitBlockExpr()
/external/clang/lib/AST/
DStmtProfile.cpp616 VisitDecl(S->getBlockDecl()); in VisitBlockExpr()
DStmtPrinter.cpp2052 BlockDecl *BD = Node->getBlockDecl(); in VisitBlockExpr()
DASTDumper.cpp1797 dumpDecl(Node->getBlockDecl()); in VisitBlockExpr()
/external/clang/lib/Rewrite/Frontend/
DRewriteObjC.cpp3289 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc()
3706 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs()
4406 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr()
4645 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
DRewriteModernObjC.cpp4163 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc()
4603 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs()
5340 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr()
5605 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
/external/clang/lib/Sema/
DSemaChecking.cpp4604 if (cast<BlockExpr>(E)->getBlockDecl()->hasCaptures()) in EvalAddr()
7380 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr()
7381 Visit(block->getBlockDecl()->getBody()); in VisitBlockExpr()
7436 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
7440 visitor.Visit(block->getBlockDecl()->getBody()); in findCapturingExpr()
DSemaExpr.cpp10671 PopFunctionScopeInfo(&WP, Result->getBlockDecl(), Result); in ActOnBlockStmtExpr()
10675 if (Result->getBlockDecl()->hasCaptures()) { in ActOnBlockStmtExpr()
10677 ExprCleanupObjects.push_back(Result->getBlockDecl()); in ActOnBlockStmtExpr()
10682 for (const auto &CI : Result->getBlockDecl()->captures()) { in ActOnBlockStmtExpr()
/external/clang/include/clang/AST/
DExpr.h4525 const BlockDecl *getBlockDecl() const { return TheBlock; } in getBlockDecl() function
4526 BlockDecl *getBlockDecl() { return TheBlock; } in getBlockDecl() function
DDataRecursiveASTVisitor.h2162 TRY_TO(TraverseDecl(S->getBlockDecl()));
DRecursiveASTVisitor.h2184 TRY_TO(TraverseDecl(S->getBlockDecl()));
/external/clang/lib/Serialization/
DASTWriterStmt.cpp803 Writer.AddDeclRef(E->getBlockDecl(), Record); in VisitBlockExpr()

12