Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBlocks.h281 const BlockDecl *getBlockDecl() const { return Block; } in getBlockDecl() function
284 assert(BlockExpression->getBlockDecl() == Block); in getBlockExpr()
H A DCGBlocks.cpp524 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 DCGDecl.cpp640 const BlockDecl *block = be->getBlockDecl(); in isAccessedBy()
1521 const BlockDecl *Block = BE->getBlockDecl(); in isCapturedBy()
H A DCGClass.cpp2838 const BlockDecl *BD = BlockInfo->getBlockDecl(); in EmitLambdaBlockInvokeBody()
H A DCGObjCMac.cpp2324 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 DUndefCapturedBlockVarChecker.cpp54 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
H A DMallocChecker.cpp2498 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DCallGraph.cpp64 return Block->getBlockDecl(); in getDeclFromCall()
H A DAnalysisDeclContext.cpp555 IgnoredContexts.insert(BR->getBlockDecl()); in VisitBlockExpr()
556 Visit(BR->getBlockDecl()->getBody()); in VisitBlockExpr()
H A DLiveVariables.cpp404 LV.analysisContext.getReferencedBlockVars(BE->getBlockDecl())) { in VisitBlockExpr()
H A DUninitializedValues.cpp712 const BlockDecl *bd = be->getBlockDecl(); in VisitBlockExpr()
H A DCFG.cpp3061 for (const BlockDecl::Capture &CI : E->getBlockDecl()->captures()) { in VisitBlockExpr()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/
H A DAnalysisDeclContext.h379 const BlockDecl *getBlockDecl() const { return BD; } in getBlockDecl() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp198 const BlockDecl *BD = BE->getBlockDecl(); in VisitBlockExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp3260 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 DRewriteModernObjC.cpp4054 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 DRetainCountChecker.cpp214 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTDumper.cpp1471 dumpDecl(Node->getBlockDecl()); in VisitBlockExpr()
H A DStmtProfile.cpp1258 VisitDecl(S->getBlockDecl()); in VisitBlockExpr()
H A DStmtPrinter.cpp2332 BlockDecl *BD = Node->getBlockDecl(); in VisitBlockExpr()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DExpr.h5196 const BlockDecl *getBlockDecl() const { return TheBlock; } in getBlockDecl() function
5197 BlockDecl *getBlockDecl() { return TheBlock; } in getBlockDecl() function
H A DRecursiveASTVisitor.h2451 TRY_TO(TraverseDecl(S->getBlockDecl()));
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaChecking.cpp390 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 DSemaExpr.cpp5017 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 DASTWriterStmt.cpp966 Record.AddDeclRef(E->getBlockDecl()); in VisitBlockExpr()

12