Home
last modified time | relevance | path

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

123

/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()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DNoEscapeCheck.cpp33 const BlockDecl *EscapingBlockDecl = MatchedEscapingBlock->getBlockDecl(); in check()
/external/llvm-project/clang/lib/CodeGen/
DCGBlocks.h276 const BlockDecl *getBlockDecl() const { return Block; } in getBlockDecl() function
279 assert(BlockExpression->getBlockDecl() == Block); in getBlockExpr()
DCGBlocks.cpp525 const BlockDecl *block = info.getBlockDecl(); in computeBlockInfo()
781 if (!blockExpr->getBlockDecl()->hasCaptures()) in EmitBlockLiteral()
787 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral()
806 bool isLambdaConv = blockInfo.getBlockDecl()->isConversionFromLambda(); in EmitBlockLiteral()
829 llvm::Constant *blockISA = blockInfo.getBlockDecl()->doesNotEscape() in EmitBlockLiteral()
847 if (blockInfo.getBlockDecl()->doesNotEscape()) in EmitBlockLiteral()
900 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral()
1289 CGBlockInfo blockInfo(BE->getBlockDecl(), Name); in GetAddrOfGlobalBlock()
1444 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction()
1677 for (const auto &CI : BlockInfo.getBlockDecl()->captures()) { in findBlockCapturedManagedEntities()
DCGDecl.cpp656 const BlockDecl *block = be->getBlockDecl(); in isAccessedBy()
1642 const BlockDecl *Block = BE->getBlockDecl(); in isCapturedBy()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DUndefCapturedBlockVarChecker.cpp53 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
/external/clang/lib/StaticAnalyzer/Checkers/
DUndefCapturedBlockVarChecker.cpp54 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()
/external/llvm-project/clang/lib/Analysis/
DCallGraph.cpp63 return Block->getBlockDecl(); in getDeclFromCall()
DAnalysisDeclContext.cpp568 IgnoredContexts.insert(BR->getBlockDecl()); in VisitBlockExpr()
569 Visit(BR->getBlockDecl()->getBody()); in VisitBlockExpr()
DLiveVariables.cpp358 LV.analysisContext.getReferencedBlockVars(BE->getBlockDecl())) { in VisitBlockExpr()
DUninitializedValues.cpp709 const BlockDecl *bd = be->getBlockDecl(); in VisitBlockExpr()
/external/clang/include/clang/Analysis/
DAnalysisContext.h361 const BlockDecl *getBlockDecl() const { return BD; } in getBlockDecl() function
/external/llvm-project/clang/include/clang/Analysis/
DAnalysisDeclContext.h363 const BlockDecl *getBlockDecl() const { return BD; } in getBlockDecl() function
/external/llvm-project/clang/include/clang/AST/
DASTNodeTraverser.h673 void VisitBlockExpr(const BlockExpr *Node) { Visit(Node->getBlockDecl()); } in VisitBlockExpr()
/external/llvm-project/clang/lib/AST/
DComputeDependence.cpp209 if (E->getBlockDecl()->isDependentContext()) in computeDependence()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp192 const BlockDecl *BD = BE->getBlockDecl(); in VisitBlockExpr()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp201 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()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp3273 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc()
3680 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs()
4365 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr()
4601 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()

123