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.cpp340 const BlockDecl *block = info.getBlockDecl(); in computeBlockInfo()
664 if (cur->getBlockDecl() == block) { in findAndRemoveBlockInfo()
687 if (!blockExpr->getBlockDecl()->hasCaptures()) { in EmitBlockLiteral()
688 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral()
697 blockExpr->getBlockDecl())); in EmitBlockLiteral()
705 bool isLambdaConv = blockInfo.getBlockDecl()->isConversionFromLambda(); in EmitBlockLiteral()
750 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral()
1043 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), name); in GetAddrOfGlobalBlock()
1111 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction()
1348 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateCopyHelperFunction()
[all …]
DCGDecl.cpp574 const BlockDecl *block = be->getBlockDecl(); in isAccessedBy()
1034 const BlockDecl *block = be->getBlockDecl(); in isCapturedBy()
DCGClass.cpp2340 const BlockDecl *BD = BlockInfo->getBlockDecl(); in EmitLambdaBlockInvokeBody()
DCGObjCMac.cpp1952 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in BuildGCBlockLayout()
2461 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in BuildRCBlockLayout()
/external/clang/lib/StaticAnalyzer/Checkers/
DUndefCapturedBlockVarChecker.cpp57 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
DMallocChecker.cpp2242 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
DRetainCountChecker.cpp2681 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
/external/clang/lib/Analysis/
DCallGraph.cpp49 return Block->getBlockDecl(); in getDeclFromCall()
DAnalysisDeclContext.cpp492 IgnoredContexts.insert(BR->getBlockDecl()); in VisitBlockExpr()
493 Visit(BR->getBlockDecl()->getBody()); in VisitBlockExpr()
DLiveVariables.cpp360 LV.analysisContext.getReferencedBlockVars(BE->getBlockDecl())) { in VisitBlockExpr()
DUninitializedValues.cpp693 const BlockDecl *bd = be->getBlockDecl(); in VisitBlockExpr()
/external/clang/include/clang/Analysis/
DAnalysisContext.h357 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/Frontend/Rewrite/
DRewriteObjC.cpp3280 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc()
3689 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs()
4387 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr()
4626 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
DRewriteModernObjC.cpp4143 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc()
4575 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs()
5310 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr()
5579 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
/external/clang/lib/AST/
DStmtProfile.cpp754 VisitDecl(S->getBlockDecl()); in VisitBlockExpr()
DStmtPrinter.cpp2177 BlockDecl *BD = Node->getBlockDecl(); in VisitBlockExpr()
DASTDumper.cpp1859 dumpDecl(Node->getBlockDecl()); in VisitBlockExpr()
/external/clang/lib/Sema/
DSemaChecking.cpp5302 if (cast<BlockExpr>(E)->getBlockDecl()->hasCaptures()) in EvalAddr()
8220 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr()
8221 Visit(block->getBlockDecl()->getBody()); in VisitBlockExpr()
8276 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
8280 visitor.Visit(block->getBlockDecl()->getBody()); in findCapturingExpr()
DSemaExpr.cpp11357 PopFunctionScopeInfo(&WP, Result->getBlockDecl(), Result); in ActOnBlockStmtExpr()
11361 if (Result->getBlockDecl()->hasCaptures()) { in ActOnBlockStmtExpr()
11363 ExprCleanupObjects.push_back(Result->getBlockDecl()); in ActOnBlockStmtExpr()
11368 for (const auto &CI : Result->getBlockDecl()->captures()) { in ActOnBlockStmtExpr()
/external/clang/include/clang/AST/
DExpr.h4540 const BlockDecl *getBlockDecl() const { return TheBlock; } in getBlockDecl() function
4541 BlockDecl *getBlockDecl() { return TheBlock; } in getBlockDecl() function
DDataRecursiveASTVisitor.h2181 TRY_TO(TraverseDecl(S->getBlockDecl()));
DRecursiveASTVisitor.h2211 TRY_TO(TraverseDecl(S->getBlockDecl()));
/external/clang/lib/Serialization/
DASTWriterStmt.cpp809 Writer.AddDeclRef(E->getBlockDecl(), Record); in VisitBlockExpr()

12