Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.h306 const BlockDecl *getBlockDecl() const { return Block; } in getBlockDecl() function
309 assert(BlockExpression->getBlockDecl() == Block); in getBlockExpr()
H A DCGBlocks.cpp557 const BlockDecl *block = info.getBlockDecl(); in computeBlockInfo()
769 if (!blockExpr->getBlockDecl()->hasCaptures()) in EmitBlockLiteral()
775 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral()
792 bool isLambdaConv = blockInfo.getBlockDecl()->isConversionFromLambda(); in EmitBlockLiteral()
917 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral()
1290 CGBlockInfo blockInfo(BE->getBlockDecl(), Name); in GetAddrOfGlobalBlock()
1459 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction()
H A DCGDecl.cpp680 const BlockDecl *block = be->getBlockDecl(); in isAccessedBy()
1766 const BlockDecl *Block = BE->getBlockDecl(); in isCapturedBy()
H A DCGOpenMPRuntimeGPU.cpp384 for (const BlockDecl::Capture &C : E->getBlockDecl()->captures()) { in VisitBlockExpr()
H A DCGClass.cpp3026 const BlockDecl *BD = BlockInfo->getBlockDecl(); in EmitLambdaBlockInvokeBody()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCallGraph.cpp62 return Block->getBlockDecl(); in getDeclFromCall()
H A DAnalysisDeclContext.cpp618 IgnoredContexts.insert(BR->getBlockDecl()); in VisitBlockExpr()
619 Visit(BR->getBlockDecl()->getBody()); in VisitBlockExpr()
H A DCalledOnceCheck.cpp1567 Handler.handleBlockThatIsGuaranteedToBeCalledOnce(Block->getBlockDecl()); in VisitBlockExpr()
1569 Handler.handleBlockWithNoGuarantees(Block->getBlockDecl()); in VisitBlockExpr()
1572 for (const auto &Capture : Block->getBlockDecl()->captures()) { in VisitBlockExpr()
H A DLiveVariables.cpp410 LV.analysisContext.getReferencedBlockVars(BE->getBlockDecl())) { in VisitBlockExpr()
H A DUninitializedValues.cpp708 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.cpp890 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr()
891 Visit(block->getBlockDecl()->getBody()); in VisitBlockExpr()
950 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
954 visitor.Visit(block->getBlockDecl()->getBody()); in findCapturingExpr()
H A DSemaOpenCL.cpp124 BlockDecl *BD = cast<BlockExpr>(BlockArg)->getBlockDecl(); in checkBlockArgs()
H A DCheckExprLifetime.cpp1082 if (cast<BlockExpr>(Init)->getBlockDecl()->hasCaptures()) { in visitLocalsRetainedByInitializer()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DContext.cpp513 const BlockDecl *BD = E->getBlockDecl(); in getOrCreateObjCBlock()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTNodeTraverser.h887 void VisitBlockExpr(const BlockExpr *Node) { Visit(Node->getBlockDecl()); } in VisitBlockExpr()
H A DExpr.h6564 const BlockDecl *getBlockDecl() const { return TheBlock; } in getBlockDecl() function
6565 BlockDecl *getBlockDecl() { return TheBlock; } in getBlockDecl() function
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DComputeDependence.cpp258 if (E->getBlockDecl()->isDependentContext()) in computeDependence()
H A DStmtProfile.cpp1645 VisitDecl(S->getBlockDecl()); in VisitBlockExpr()
H A DStmtPrinter.cpp2886 BlockDecl *BD = Node->getBlockDecl(); in VisitBlockExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp202 const BlockDecl *BD = BE->getBlockDecl(); in VisitBlockExpr()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp3259 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc()
3660 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs()
4334 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr()
4568 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
H A DRewriteModernObjC.cpp4050 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc()
4463 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs()
5171 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr()
5429 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp151 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp3220 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()

12