| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBlocks.h | 276 const BlockDecl *getBlockDecl() const { return Block; } in getBlockDecl() function 279 assert(BlockExpression->getBlockDecl() == Block); in getBlockExpr()
|
| H A D | CGBlocks.cpp | 525 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() 1292 CGBlockInfo blockInfo(BE->getBlockDecl(), Name); in GetAddrOfGlobalBlock() 1447 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction() 1680 for (const auto &CI : BlockInfo.getBlockDecl()->captures()) { in findBlockCapturedManagedEntities()
|
| H A D | CGDecl.cpp | 663 const BlockDecl *block = be->getBlockDecl(); in isAccessedBy() 1648 const BlockDecl *Block = BE->getBlockDecl(); in isCapturedBy()
|
| H A D | CGClass.cpp | 2907 const BlockDecl *BD = BlockInfo->getBlockDecl(); in EmitLambdaBlockInvokeBody()
|
| H A D | CGObjCMac.cpp | 2429 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in visitBlock() 2953 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in fillRunSkipBlockVars()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UndefCapturedBlockVarChecker.cpp | 53 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
|
| H A D | MallocChecker.cpp | 2754 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CallGraph.cpp | 63 return Block->getBlockDecl(); in getDeclFromCall()
|
| H A D | AnalysisDeclContext.cpp | 621 IgnoredContexts.insert(BR->getBlockDecl()); in VisitBlockExpr() 622 Visit(BR->getBlockDecl()->getBody()); in VisitBlockExpr()
|
| H A D | CalledOnceCheck.cpp | 1568 Handler.handleBlockThatIsGuaranteedToBeCalledOnce(Block->getBlockDecl()); in VisitBlockExpr() 1570 Handler.handleBlockWithNoGuarantees(Block->getBlockDecl()); in VisitBlockExpr() 1573 for (const auto &Capture : Block->getBlockDecl()->captures()) { in VisitBlockExpr()
|
| H A D | LiveVariables.cpp | 363 LV.analysisContext.getReferencedBlockVars(BE->getBlockDecl())) { in VisitBlockExpr()
|
| H A D | UninitializedValues.cpp | 709 const BlockDecl *bd = be->getBlockDecl(); in VisitBlockExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | AnalysisDeclContext.h | 365 const BlockDecl *getBlockDecl() const { return BD; } in getBlockDecl() function
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTNodeTraverser.h | 700 void VisitBlockExpr(const BlockExpr *Node) { Visit(Node->getBlockDecl()); } in VisitBlockExpr()
|
| H A D | Expr.h | 5970 const BlockDecl *getBlockDecl() const { return TheBlock; } in getBlockDecl() function 5971 BlockDecl *getBlockDecl() { return TheBlock; } in getBlockDecl() function
|
| H A D | RecursiveASTVisitor.h | 2593 TRY_TO(TraverseDecl(S->getBlockDecl()));
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ComputeDependence.cpp | 239 if (E->getBlockDecl()->isDependentContext()) in computeDependence()
|
| H A D | StmtProfile.cpp | 1464 VisitDecl(S->getBlockDecl()); in VisitBlockExpr()
|
| H A D | StmtPrinter.cpp | 2505 BlockDecl *BD = Node->getBlockDecl(); in VisitBlockExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineC.cpp | 201 const BlockDecl *BD = BE->getBlockDecl(); in VisitBlockExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 3261 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc() 3668 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs() 4351 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr() 4589 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
|
| H A D | RewriteModernObjC.cpp | 4051 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc() 4481 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs() 5197 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr() 5466 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountChecker.cpp | 151 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 826 BlockDecl *BD = cast<BlockExpr>(BlockArg)->getBlockDecl(); in checkOpenCLBlockArgs() 15194 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr() 15195 Visit(block->getBlockDecl()->getBody()); in VisitBlockExpr() 15253 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr() 15257 visitor.Visit(block->getBlockDecl()->getBody()); in findCapturingExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 1223 Record.AddDeclRef(E->getBlockDecl()); in VisitBlockExpr()
|