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.cpp324 const BlockDecl *block = info.getBlockDecl(); in computeBlockInfo()
654 if (cur->getBlockDecl() == block) { in findAndRemoveBlockInfo()
677 if (!blockExpr->getBlockDecl()->hasCaptures()) { in EmitBlockLiteral()
678 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral()
687 blockExpr->getBlockDecl())); in EmitBlockLiteral()
695 bool isLambdaConv = blockInfo.getBlockDecl()->isConversionFromLambda(); in EmitBlockLiteral()
756 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral()
1038 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), name); in GetAddrOfGlobalBlock()
1144 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction()
1372 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateCopyHelperFunction()
[all …]
DCGDecl.cpp581 const BlockDecl *block = be->getBlockDecl(); in isAccessedBy()
1121 const BlockDecl *block = be->getBlockDecl(); in isCapturedBy()
DCGClass.cpp2934 const BlockDecl *BD = BlockInfo->getBlockDecl(); in EmitLambdaBlockInvokeBody()
DCGObjCMac.cpp2105 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in visitBlock()
2597 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in BuildRCBlockLayout()
/external/clang/lib/StaticAnalyzer/Checkers/
DUndefCapturedBlockVarChecker.cpp54 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
DMallocChecker.cpp2260 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
DRetainCountChecker.cpp2706 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
/external/clang/lib/Analysis/
DCallGraph.cpp49 return Block->getBlockDecl(); in getDeclFromCall()
DAnalysisDeclContext.cpp534 IgnoredContexts.insert(BR->getBlockDecl()); in VisitBlockExpr()
535 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.cpp2350 for (const BlockDecl::Capture &CI : E->getBlockDecl()->captures()) { in VisitBlockExpr()
/external/clang/include/clang/Analysis/
DAnalysisContext.h361 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.cpp3260 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc()
3667 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs()
4354 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr()
4591 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
DRewriteModernObjC.cpp4059 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc()
4489 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs()
5210 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr()
5478 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
/external/clang/lib/AST/
DStmtProfile.cpp969 VisitDecl(S->getBlockDecl()); in VisitBlockExpr()
DASTDumper.cpp2063 dumpDecl(Node->getBlockDecl()); in VisitBlockExpr()
DStmtPrinter.cpp2519 BlockDecl *BD = Node->getBlockDecl(); in VisitBlockExpr()
/external/clang/lib/Sema/
DSemaChecking.cpp289 BlockDecl *BD = cast<BlockExpr>(BlockArg)->getBlockDecl(); in checkOpenCLBlockArgs()
6679 if (cast<BlockExpr>(E)->getBlockDecl()->hasCaptures()) in EvalAddr()
9877 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr()
9878 Visit(block->getBlockDecl()->getBody()); in VisitBlockExpr()
9933 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
9937 visitor.Visit(block->getBlockDecl()->getBody()); in findCapturingExpr()
DSemaExpr.cpp12181 PopFunctionScopeInfo(&WP, Result->getBlockDecl(), Result); in ActOnBlockStmtExpr()
12185 if (Result->getBlockDecl()->hasCaptures()) { in ActOnBlockStmtExpr()
12187 ExprCleanupObjects.push_back(Result->getBlockDecl()); in ActOnBlockStmtExpr()
12192 for (const auto &CI : Result->getBlockDecl()->captures()) { in ActOnBlockStmtExpr()
/external/clang/include/clang/AST/
DExpr.h4581 const BlockDecl *getBlockDecl() const { return TheBlock; } in getBlockDecl() function
4582 BlockDecl *getBlockDecl() { return TheBlock; } in getBlockDecl() function
DRecursiveASTVisitor.h2304 TRY_TO(TraverseDecl(S->getBlockDecl()));
/external/clang/lib/Serialization/
DASTWriterStmt.cpp864 Record.AddDeclRef(E->getBlockDecl()); in VisitBlockExpr()

12