| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGBlocks.h | 281 const BlockDecl *getBlockDecl() const { return Block; } in getBlockDecl() function 284 assert(BlockExpression->getBlockDecl() == Block); in getBlockExpr()
|
| H A D | CGBlocks.cpp | 524 const BlockDecl *block = info.getBlockDecl(); in computeBlockInfo() 881 if (cur->getBlockDecl() == block) { in findAndRemoveBlockInfo() 904 if (!blockExpr->getBlockDecl()->hasCaptures()) { in EmitBlockLiteral() 910 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral() 919 blockExpr->getBlockDecl())); in EmitBlockLiteral() 958 llvm::Constant *blockISA = blockInfo.getBlockDecl()->doesNotEscape() in EmitBlockLiteral() 976 if (blockInfo.getBlockDecl()->doesNotEscape()) in EmitBlockLiteral() 1032 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral() 1376 CGBlockInfo blockInfo(BE->getBlockDecl(), Name); in GetAddrOfGlobalBlock() 1529 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction() [all …]
|
| H A D | CGDecl.cpp | 640 const BlockDecl *block = be->getBlockDecl(); in isAccessedBy() 1521 const BlockDecl *Block = BE->getBlockDecl(); in isCapturedBy()
|
| H A D | CGClass.cpp | 2838 const BlockDecl *BD = BlockInfo->getBlockDecl(); in EmitLambdaBlockInvokeBody()
|
| H A D | CGObjCMac.cpp | 2324 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in visitBlock() 2851 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in fillRunSkipBlockVars()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UndefCapturedBlockVarChecker.cpp | 54 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
|
| H A D | MallocChecker.cpp | 2498 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | CallGraph.cpp | 64 return Block->getBlockDecl(); in getDeclFromCall()
|
| H A D | AnalysisDeclContext.cpp | 555 IgnoredContexts.insert(BR->getBlockDecl()); in VisitBlockExpr() 556 Visit(BR->getBlockDecl()->getBody()); in VisitBlockExpr()
|
| H A D | LiveVariables.cpp | 404 LV.analysisContext.getReferencedBlockVars(BE->getBlockDecl())) { in VisitBlockExpr()
|
| H A D | UninitializedValues.cpp | 712 const BlockDecl *bd = be->getBlockDecl(); in VisitBlockExpr()
|
| H A D | CFG.cpp | 3061 for (const BlockDecl::Capture &CI : E->getBlockDecl()->captures()) { in VisitBlockExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/ |
| H A D | AnalysisDeclContext.h | 379 const BlockDecl *getBlockDecl() const { return BD; } in getBlockDecl() function
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineC.cpp | 198 const BlockDecl *BD = BE->getBlockDecl(); in VisitBlockExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 3260 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc() 3667 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs() 4353 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr() 4586 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
|
| H A D | RewriteModernObjC.cpp | 4054 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc() 4484 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs() 5204 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr() 5469 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountChecker.cpp | 214 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ASTDumper.cpp | 1471 dumpDecl(Node->getBlockDecl()); in VisitBlockExpr()
|
| H A D | StmtProfile.cpp | 1258 VisitDecl(S->getBlockDecl()); in VisitBlockExpr()
|
| H A D | StmtPrinter.cpp | 2332 BlockDecl *BD = Node->getBlockDecl(); in VisitBlockExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | Expr.h | 5196 const BlockDecl *getBlockDecl() const { return TheBlock; } in getBlockDecl() function 5197 BlockDecl *getBlockDecl() { return TheBlock; } in getBlockDecl() function
|
| H A D | RecursiveASTVisitor.h | 2451 TRY_TO(TraverseDecl(S->getBlockDecl()));
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 390 BlockDecl *BD = cast<BlockExpr>(BlockArg)->getBlockDecl(); in checkOpenCLBlockArgs() 12712 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr() 12713 Visit(block->getBlockDecl()->getBody()); in VisitBlockExpr() 12770 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr() 12774 visitor.Visit(block->getBlockDecl()->getBody()); in findCapturingExpr()
|
| H A D | SemaExpr.cpp | 5017 BE->getBlockDecl()->setDoesNotEscape(); in GatherArgumentsForCall() 13776 PopFunctionScopeInfo(&WP, Result->getBlockDecl(), Result); in ActOnBlockStmtExpr() 13780 if (Result->getBlockDecl()->hasCaptures()) { in ActOnBlockStmtExpr() 13782 ExprCleanupObjects.push_back(Result->getBlockDecl()); in ActOnBlockStmtExpr() 13787 for (const auto &CI : Result->getBlockDecl()->captures()) { in ActOnBlockStmtExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 966 Record.AddDeclRef(E->getBlockDecl()); in VisitBlockExpr()
|