Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGBlocks.h276 const BlockDecl *getBlockDecl() const { return Block; } in getBlockDecl() function
279 assert(BlockExpression->getBlockDecl() == Block); in getBlockExpr()
H A DCGBlocks.cpp525 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 DCGDecl.cpp658 const BlockDecl *block = be->getBlockDecl(); in isAccessedBy()
1645 const BlockDecl *Block = BE->getBlockDecl(); in isCapturedBy()
H A DCGClass.cpp2907 const BlockDecl *BD = BlockInfo->getBlockDecl(); in EmitLambdaBlockInvokeBody()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DUndefCapturedBlockVarChecker.cpp53 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
H A DMallocChecker.cpp2754 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp568 IgnoredContexts.insert(BR->getBlockDecl()); in VisitBlockExpr()
569 Visit(BR->getBlockDecl()->getBody()); in VisitBlockExpr()
H A DCallGraph.cpp63 return Block->getBlockDecl(); in getDeclFromCall()
H A DCalledOnceCheck.cpp1568 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 DLiveVariables.cpp363 LV.analysisContext.getReferencedBlockVars(BE->getBlockDecl())) { in VisitBlockExpr()
H A DUninitializedValues.cpp709 const BlockDecl *bd = be->getBlockDecl(); in VisitBlockExpr()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/
H A DAnalysisDeclContext.h363 const BlockDecl *getBlockDecl() const { return BD; } in getBlockDecl() function
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DASTNodeTraverser.h676 void VisitBlockExpr(const BlockExpr *Node) { Visit(Node->getBlockDecl()); } in VisitBlockExpr()
H A DExpr.h5903 const BlockDecl *getBlockDecl() const { return TheBlock; } in getBlockDecl() function
5904 BlockDecl *getBlockDecl() { return TheBlock; } in getBlockDecl() function
H A DRecursiveASTVisitor.h2579 TRY_TO(TraverseDecl(S->getBlockDecl()));
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DComputeDependence.cpp239 if (E->getBlockDecl()->isDependentContext()) in computeDependence()
H A DStmtProfile.cpp1447 VisitDecl(S->getBlockDecl()); in VisitBlockExpr()
H A DStmtPrinter.cpp2492 BlockDecl *BD = Node->getBlockDecl(); in VisitBlockExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp201 const BlockDecl *BD = BE->getBlockDecl(); in VisitBlockExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp3273 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc()
3680 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs()
4365 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr()
4601 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
H A DRewriteModernObjC.cpp4062 BlockDecl *BD = CE->getBlockDecl(); in SynthesizeBlockFunc()
4492 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl())); in GetInnerBlockDeclRefExprs()
5210 const BlockDecl *block = Exp->getBlockDecl(); in SynthBlockInitExpr()
5477 InnerContexts.insert(BE->getBlockDecl()); in RewriteFunctionBodyOrGlobalInitializer()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp151 if (!BE->getBlockDecl()->hasCaptures()) in checkPostStmt()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaChecking.cpp826 BlockDecl *BD = cast<BlockExpr>(BlockArg)->getBlockDecl(); in checkOpenCLBlockArgs()
14853 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr()
14854 Visit(block->getBlockDecl()->getBody()); in VisitBlockExpr()
14912 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
14916 visitor.Visit(block->getBlockDecl()->getBody()); in findCapturingExpr()
H A DSemaExpr.cpp5931 BE->getBlockDecl()->setDoesNotEscape(); in GatherArgumentsForCall()
14043 BE->getBlockDecl()->setCanAvoidCopyToHeap(); in CreateBuiltinBinOp()
15595 if (Result->getBlockDecl()->hasCaptures()) { in ActOnBlockStmtExpr()
15597 ExprCleanupObjects.push_back(Result->getBlockDecl()); in ActOnBlockStmtExpr()
15602 for (const auto &CI : Result->getBlockDecl()->captures()) { in ActOnBlockStmtExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriterStmt.cpp1212 Record.AddDeclRef(E->getBlockDecl()); in VisitBlockExpr()

12