Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.h305 const BlockDecl *getBlockDecl() const { return Block; } in getBlockDecl() function
308 assert(BlockExpression->getBlockDecl() == Block); in getBlockExpr()
H A DCGBlocks.cpp557 const BlockDecl *block = info.getBlockDecl(); in computeBlockInfo()
770 if (!blockExpr->getBlockDecl()->hasCaptures()) in EmitBlockLiteral()
776 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral()
793 bool isLambdaConv = blockInfo.getBlockDecl()->isConversionFromLambda(); in EmitBlockLiteral()
888 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral()
1271 CGBlockInfo blockInfo(BE->getBlockDecl(), Name); in GetAddrOfGlobalBlock()
1427 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction()
H A DCGDecl.cpp695 const BlockDecl *block = be->getBlockDecl(); in isAccessedBy()
1717 const BlockDecl *Block = BE->getBlockDecl(); in isCapturedBy()
H A DCGOpenMPRuntimeGPU.cpp384 for (const BlockDecl::Capture &C : E->getBlockDecl()->captures()) { in VisitBlockExpr()
H A DCGClass.cpp3004 const BlockDecl *BD = BlockInfo->getBlockDecl(); in EmitLambdaBlockInvokeBody()
H A DCGObjCMac.cpp2369 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in visitBlock()
2893 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in fillRunSkipBlockVars()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp620 IgnoredContexts.insert(BR->getBlockDecl()); in VisitBlockExpr()
621 Visit(BR->getBlockDecl()->getBody()); in VisitBlockExpr()
H A DCalledOnceCheck.cpp1569 Handler.handleBlockThatIsGuaranteedToBeCalledOnce(Block->getBlockDecl()); in VisitBlockExpr()
1571 Handler.handleBlockWithNoGuarantees(Block->getBlockDecl()); in VisitBlockExpr()
1574 for (const auto &Capture : Block->getBlockDecl()->captures()) { in VisitBlockExpr()
H A DLiveVariables.cpp373 LV.analysisContext.getReferencedBlockVars(BE->getBlockDecl())) { in VisitBlockExpr()
H A DUninitializedValues.cpp702 const BlockDecl *bd = be->getBlockDecl(); in VisitBlockExpr()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnalysisDeclContext.h369 const BlockDecl *getBlockDecl() const { return BD; } in getBlockDecl() function
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjC.cpp894 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr()
895 Visit(block->getBlockDecl()->getBody()); in VisitBlockExpr()
954 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
958 visitor.Visit(block->getBlockDecl()->getBody()); in findCapturingExpr()
H A DSemaOpenCL.cpp124 BlockDecl *BD = cast<BlockExpr>(BlockArg)->getBlockDecl(); in checkBlockArgs()
H A DCheckExprLifetime.cpp896 if (cast<BlockExpr>(Init)->getBlockDecl()->hasCaptures()) { in visitLocalsRetainedByInitializer()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTNodeTraverser.h828 void VisitBlockExpr(const BlockExpr *Node) { Visit(Node->getBlockDecl()); } in VisitBlockExpr()
H A DExpr.h6367 const BlockDecl *getBlockDecl() const { return TheBlock; } in getBlockDecl() function
6368 BlockDecl *getBlockDecl() { return TheBlock; } in getBlockDecl() function
H A DRecursiveASTVisitor.h2771 TRY_TO(TraverseDecl(S->getBlockDecl()));
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DComputeDependence.cpp257 if (E->getBlockDecl()->isDependentContext()) in computeDependence()
H A DStmtProfile.cpp1604 VisitDecl(S->getBlockDecl()); in VisitBlockExpr()
H A DStmtPrinter.cpp2748 BlockDecl *BD = Node->getBlockDecl(); in VisitBlockExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp198 const BlockDecl *BD = BE->getBlockDecl(); in VisitBlockExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp152 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp4050 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc()
4479 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs()
5195 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr()
5463 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp3018 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp1329 Record.AddDeclRef(E->getBlockDecl()); in VisitBlockExpr()

12