Home
last modified time | relevance | path

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

12

/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGBlocks.h243 const BlockDecl *getBlockDecl() const { return Block; } in getBlockDecl() function
246 assert(BlockExpression->getBlockDecl() == Block); in getBlockExpr()
H A DCGBlocks.cpp340 const BlockDecl *block = info.getBlockDecl(); in computeBlockInfo()
664 if (cur->getBlockDecl() == block) { in findAndRemoveBlockInfo()
687 if (!blockExpr->getBlockDecl()->hasCaptures()) { in EmitBlockLiteral()
688 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral()
697 blockExpr->getBlockDecl())); in EmitBlockLiteral()
705 bool isLambdaConv = blockInfo.getBlockDecl()->isConversionFromLambda(); in EmitBlockLiteral()
746 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral()
1039 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), name); in GetAddrOfGlobalBlock()
1107 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction()
1346 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateCopyHelperFunction()
[all …]
H A DCGDecl.cpp570 const BlockDecl *block = be->getBlockDecl(); in isAccessedBy()
1027 const BlockDecl *block = be->getBlockDecl(); in isCapturedBy()
H A DCGClass.cpp2206 const BlockDecl *BD = BlockInfo->getBlockDecl(); in EmitLambdaBlockInvokeBody()
H A DCGObjCMac.cpp1955 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in BuildGCBlockLayout()
2464 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in BuildRCBlockLayout()
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DUndefCapturedBlockVarChecker.cpp57 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
H A DMallocChecker.cpp2016 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
H A DRetainCountChecker.cpp2644 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
/minix3/external/bsd/llvm/dist/clang/lib/Analysis/
H A DCallGraph.cpp49 return Block->getBlockDecl(); in getDeclFromCall()
H A DAnalysisDeclContext.cpp492 IgnoredContexts.insert(BR->getBlockDecl()); in VisitBlockExpr()
493 Visit(BR->getBlockDecl()->getBody()); in VisitBlockExpr()
H A DLiveVariables.cpp361 LV.analysisContext.getReferencedBlockVars(BE->getBlockDecl()); in VisitBlockExpr()
H A DUninitializedValues.cpp660 const BlockDecl *bd = be->getBlockDecl(); in VisitBlockExpr()
/minix3/external/bsd/llvm/dist/clang/include/clang/Analysis/
H A DAnalysisContext.h357 const BlockDecl *getBlockDecl() const { return BD; } in getBlockDecl() function
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp193 SVal V = svalBuilder.getBlockPointer(BE->getBlockDecl(), T, in VisitBlockExpr()
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DStmtProfile.cpp708 VisitDecl(S->getBlockDecl()); in VisitBlockExpr()
H A DStmtPrinter.cpp2153 BlockDecl *BD = Node->getBlockDecl(); in VisitBlockExpr()
H A DASTDumper.cpp1853 dumpDecl(Node->getBlockDecl()); in VisitBlockExpr()
/minix3/external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp3280 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc()
3689 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs()
4390 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr()
4629 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
H A DRewriteModernObjC.cpp4149 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc()
4581 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs()
5319 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr()
5588 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaChecking.cpp5071 if (cast<BlockExpr>(E)->getBlockDecl()->hasCaptures()) in EvalAddr()
7963 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr()
7964 Visit(block->getBlockDecl()->getBody()); in VisitBlockExpr()
8019 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
8023 visitor.Visit(block->getBlockDecl()->getBody()); in findCapturingExpr()
H A DSemaExpr.cpp10850 PopFunctionScopeInfo(&WP, Result->getBlockDecl(), Result); in ActOnBlockStmtExpr()
10854 if (Result->getBlockDecl()->hasCaptures()) { in ActOnBlockStmtExpr()
10856 ExprCleanupObjects.push_back(Result->getBlockDecl()); in ActOnBlockStmtExpr()
10861 for (const auto &CI : Result->getBlockDecl()->captures()) { in ActOnBlockStmtExpr()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DExpr.h4548 const BlockDecl *getBlockDecl() const { return TheBlock; } in getBlockDecl() function
4549 BlockDecl *getBlockDecl() { return TheBlock; } in getBlockDecl() function
H A DDataRecursiveASTVisitor.h2179 TRY_TO(TraverseDecl(S->getBlockDecl()));
H A DRecursiveASTVisitor.h2201 TRY_TO(TraverseDecl(S->getBlockDecl()));
/minix3/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTWriterStmt.cpp808 Writer.AddDeclRef(E->getBlockDecl(), Record); in VisitBlockExpr()

12