Home
last modified time | relevance | path

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

12

/external/clang/lib/CodeGen/
DCGBlocks.h264 const BlockDecl *getBlockDecl() const { return Block; } in getBlockDecl() function
267 assert(BlockExpression->getBlockDecl() == Block); in getBlockExpr()
DCGBlocks.cpp319 const BlockDecl *block = info.getBlockDecl(); in computeBlockInfo()
649 if (cur->getBlockDecl() == block) { in findAndRemoveBlockInfo()
672 if (!blockExpr->getBlockDecl()->hasCaptures()) { in EmitBlockLiteral()
673 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral()
682 blockExpr->getBlockDecl())); in EmitBlockLiteral()
690 bool isLambdaConv = blockInfo.getBlockDecl()->isConversionFromLambda(); in EmitBlockLiteral()
751 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral()
1035 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), name); in GetAddrOfGlobalBlock()
1141 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction()
1370 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateCopyHelperFunction()
[all …]
DCGDecl.cpp578 const BlockDecl *block = be->getBlockDecl(); in isAccessedBy()
1110 const BlockDecl *block = be->getBlockDecl(); in isCapturedBy()
DCGClass.cpp2722 const BlockDecl *BD = BlockInfo->getBlockDecl(); in EmitLambdaBlockInvokeBody()
DCGObjCMac.cpp2097 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in visitBlock()
2590 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in BuildRCBlockLayout()
/external/clang/lib/StaticAnalyzer/Checkers/
DUndefCapturedBlockVarChecker.cpp54 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
DMallocChecker.cpp2252 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
DRetainCountChecker.cpp2705 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
/external/clang/lib/Analysis/
DCallGraph.cpp49 return Block->getBlockDecl(); in getDeclFromCall()
DAnalysisDeclContext.cpp509 IgnoredContexts.insert(BR->getBlockDecl()); in VisitBlockExpr()
510 Visit(BR->getBlockDecl()->getBody()); in VisitBlockExpr()
DLiveVariables.cpp359 LV.analysisContext.getReferencedBlockVars(BE->getBlockDecl())) { in VisitBlockExpr()
DUninitializedValues.cpp693 const BlockDecl *bd = be->getBlockDecl(); in VisitBlockExpr()
DCFG.cpp2336 for (const BlockDecl::Capture &CI : E->getBlockDecl()->captures()) { in VisitBlockExpr()
/external/clang/include/clang/Analysis/
DAnalysisContext.h357 const BlockDecl *getBlockDecl() const { return BD; } in getBlockDecl() function
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp192 const BlockDecl *BD = BE->getBlockDecl(); in VisitBlockExpr()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp3269 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc()
3678 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs()
4373 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr()
4611 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
DRewriteModernObjC.cpp4124 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc()
4556 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs()
5288 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr()
5556 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
/external/clang/lib/AST/
DStmtProfile.cpp855 VisitDecl(S->getBlockDecl()); in VisitBlockExpr()
DStmtPrinter.cpp2384 BlockDecl *BD = Node->getBlockDecl(); in VisitBlockExpr()
DASTDumper.cpp1916 dumpDecl(Node->getBlockDecl()); in VisitBlockExpr()
/external/clang/lib/Sema/
DSemaChecking.cpp5788 if (cast<BlockExpr>(E)->getBlockDecl()->hasCaptures()) in EvalAddr()
8854 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr()
8855 Visit(block->getBlockDecl()->getBody()); in VisitBlockExpr()
8910 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
8914 visitor.Visit(block->getBlockDecl()->getBody()); in findCapturingExpr()
DSemaExpr.cpp11650 PopFunctionScopeInfo(&WP, Result->getBlockDecl(), Result); in ActOnBlockStmtExpr()
11654 if (Result->getBlockDecl()->hasCaptures()) { in ActOnBlockStmtExpr()
11656 ExprCleanupObjects.push_back(Result->getBlockDecl()); in ActOnBlockStmtExpr()
11661 for (const auto &CI : Result->getBlockDecl()->captures()) { in ActOnBlockStmtExpr()
/external/clang/include/clang/AST/
DExpr.h4678 const BlockDecl *getBlockDecl() const { return TheBlock; } in getBlockDecl() function
4679 BlockDecl *getBlockDecl() { return TheBlock; } in getBlockDecl() function
DRecursiveASTVisitor.h2201 TRY_TO(TraverseDecl(S->getBlockDecl()));
/external/clang/lib/Serialization/
DASTWriterStmt.cpp852 Writer.AddDeclRef(E->getBlockDecl(), Record); in VisitBlockExpr()

12