Home
last modified time | relevance | path

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

12

/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCGBlocks.h243 const BlockDecl *getBlockDecl() const { return Block; } in getBlockDecl() function
246 assert(BlockExpression->getBlockDecl() == Block); in getBlockExpr()
DCGBlocks.cpp334 const BlockDecl *block = info.getBlockDecl(); in computeBlockInfo()
651 if (cur->getBlockDecl() == block) { in findAndRemoveBlockInfo()
674 if (!blockExpr->getBlockDecl()->hasCaptures()) { in EmitBlockLiteral()
675 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral()
684 blockExpr->getBlockDecl())); in EmitBlockLiteral()
692 bool isLambdaConv = blockInfo.getBlockDecl()->isConversionFromLambda(); in EmitBlockLiteral()
733 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral()
1022 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), name); in GetAddrOfGlobalBlock()
1090 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction()
1326 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateCopyHelperFunction()
[all …]
DCGDecl.cpp532 const BlockDecl *block = be->getBlockDecl(); in isAccessedBy()
992 const BlockDecl *block = be->getBlockDecl(); in isCapturedBy()
DCGClass.cpp2153 const BlockDecl *BD = BlockInfo->getBlockDecl(); in EmitLambdaBlockInvokeBody()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
DUndefCapturedBlockVarChecker.cpp57 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
DMallocChecker.cpp1765 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
DRetainCountChecker.cpp2561 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Analysis/
DCallGraph.cpp49 return Block->getBlockDecl(); in getDeclFromCall()
DAnalysisDeclContext.cpp480 IgnoredContexts.insert(BR->getBlockDecl()); in VisitBlockExpr()
481 Visit(BR->getBlockDecl()->getBody()); in VisitBlockExpr()
DLiveVariables.cpp376 LV.analysisContext.getReferencedBlockVars(BE->getBlockDecl()); in VisitBlockExpr()
DUninitializedValues.cpp632 const BlockDecl *bd = be->getBlockDecl(); in VisitBlockExpr()
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h509 const BlockDecl *getBlockDecl() const { in getBlockDecl() function
517 return RuntimeDefinition(getBlockDecl()); in getRuntimeDefinition()
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Analysis/
DAnalysisContext.h348 const BlockDecl *getBlockDecl() const { return BD; } in getBlockDecl() function
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp554 const BlockDecl *D = getBlockDecl(); in param_begin()
561 const BlockDecl *D = getBlockDecl(); in param_end()
DExprEngineC.cpp186 SVal V = svalBuilder.getBlockPointer(BE->getBlockDecl(), T, in VisitBlockExpr()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
DStmtProfile.cpp524 VisitDecl(S->getBlockDecl()); in VisitBlockExpr()
DStmtPrinter.cpp1949 BlockDecl *BD = Node->getBlockDecl(); in VisitBlockExpr()
DASTDumper.cpp1760 dumpDecl(Node->getBlockDecl()); in VisitBlockExpr()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaChecking.cpp4164 if (cast<BlockExpr>(E)->getBlockDecl()->hasCaptures()) in EvalAddr()
6633 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr()
6634 Visit(block->getBlockDecl()->getBody()); in VisitBlockExpr()
6674 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
6678 visitor.Visit(block->getBlockDecl()->getBody()); in findCapturingExpr()
DSemaExpr.cpp10434 PopFunctionScopeInfo(&WP, Result->getBlockDecl(), Result); in ActOnBlockStmtExpr()
10438 if (Result->getBlockDecl()->hasCaptures()) { in ActOnBlockStmtExpr()
10440 ExprCleanupObjects.push_back(Result->getBlockDecl()); in ActOnBlockStmtExpr()
10446 ci = Result->getBlockDecl()->capture_begin(), in ActOnBlockStmtExpr()
10447 ce = Result->getBlockDecl()->capture_end(); ci != ce; ++ci) { in ActOnBlockStmtExpr()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
DRewriteObjC.cpp3335 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc()
3752 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs()
4456 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr()
4696 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
DRewriteModernObjC.cpp4238 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc()
4678 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs()
5419 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr()
5685 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
DExpr.h4496 const BlockDecl *getBlockDecl() const { return TheBlock; } in getBlockDecl() function
4497 BlockDecl *getBlockDecl() { return TheBlock; } in getBlockDecl() function
DRecursiveASTVisitor.h2216 TRY_TO(TraverseDecl(S->getBlockDecl()));
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Serialization/
DASTWriterStmt.cpp808 Writer.AddDeclRef(E->getBlockDecl(), Record); in VisitBlockExpr()

12