Home
last modified time | relevance | path

Searched refs:BlockExpr (Results 1 – 25 of 58) sorted by relevance

123

/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp135 static const BlockExpr *getBlockExpr(const Expr *E) { in getBlockExpr()
137 while(!isa<BlockExpr>(E) && E != Prev) { in getBlockExpr()
144 return cast<BlockExpr>(E); in getBlockExpr()
149 void CGOpenCLRuntime::recordBlockInfo(const BlockExpr *E, in recordBlockInfo()
172 const BlockExpr *Block = getBlockExpr(E); in emitOpenCLEnqueuedBlock()
H A DCGOpenCLRuntime.h27 class BlockExpr; variable
96 void recordBlockInfo(const BlockExpr *E, llvm::Function *InvokeF,
H A DCGBlocks.h277 const BlockExpr *BlockExpression;
311 const BlockExpr *getBlockExpr() const { in getBlockExpr()
H A DCodeGenModule.h64 class BlockExpr; variable
551 llvm::DenseMap<const BlockExpr *, llvm::Constant *> EmittedGlobalBlocks;
1002 llvm::Constant *GetAddrOfGlobalBlock(const BlockExpr *BE, StringRef Name);
1006 llvm::Constant *getAddrOfGlobalBlockIfEmitted(const BlockExpr *BE) { in getAddrOfGlobalBlockIfEmitted()
1012 void setAddrOfGlobalBlock(const BlockExpr *BE, llvm::Constant *Addr);
H A DCGDecl.cpp677 if (const BlockExpr *be = dyn_cast<BlockExpr>(e)) { in isAccessedBy()
1664 if (const BlockExpr *BE = dyn_cast<BlockExpr>(E)) { in isCapturedBy()
H A DCGObjC.cpp3090 if (isa<BlockExpr>(e)) in shouldEmitSeparateBlockRetain()
3131 Result visitBlockExpr(const BlockExpr *e);
3208 Result ARCExprEmitter<Impl, Result>::visitBlockExpr(const BlockExpr *e) { in visitBlockExpr()
3356 } else if (auto *be = dyn_cast<BlockExpr>(e)) in visit()
3392 TryEmitResult visitBlockExpr(const BlockExpr *e) { in visitBlockExpr()
H A DCGBlocks.cpp783 llvm::Value *CodeGenFunction::EmitBlockLiteral(const BlockExpr *blockExpr) { in EmitBlockLiteral()
1280 void CodeGenModule::setAddrOfGlobalBlock(const BlockExpr *BE, in setAddrOfGlobalBlock()
1288 CodeGenModule::GetAddrOfGlobalBlock(const BlockExpr *BE, in GetAddrOfGlobalBlock()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DUndefCapturedBlockVarChecker.cpp29 : public Checker< check::PostStmt<BlockExpr> > {
33 void checkPostStmt(const BlockExpr *BE, CheckerContext &C) const;
52 UndefCapturedBlockVarChecker::checkPostStmt(const BlockExpr *BE, in checkPostStmt()
H A DObjCUnusedIVarsChecker.cpp45 if (const BlockExpr *BE = dyn_cast<BlockExpr>(S)) { in Scan()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DCallGraph.cpp61 if (BlockExpr *Block = dyn_cast<BlockExpr>(CEE)) { in getDeclFromCall()
H A DLiveVariables.cpp171 void VisitBlockExpr(BlockExpr *BE);
371 void TransferFunctions::VisitBlockExpr(BlockExpr *BE) { in VisitBlockExpr()
H A DUninitializedValues.cpp484 void VisitBlockExpr(BlockExpr *be);
705 void TransferFunctions::VisitBlockExpr(BlockExpr *be) { in VisitBlockExpr()
H A DCalledOnceCheck.cpp1119 const Expr *getBlockGuaraneedCallSite(const BlockExpr *Block) const { in getBlockGuaraneedCallSite()
1548 void VisitBlockExpr(const BlockExpr *Block) { in VisitBlockExpr()
H A DAnalysisDeclContext.cpp618 void VisitBlockExpr(BlockExpr *BR) { in VisitBlockExpr()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DComputeDependence.h47 class BlockExpr; variable
134 ExprDependence computeDependence(BlockExpr *E);
H A DEvaluatedExprVisitor.h48 void VisitBlockExpr(PTR(BlockExpr) E) { } in VisitBlockExpr()
H A DASTNodeTraverser.h726 void VisitBlockExpr(const BlockExpr *Node) { Visit(Node->getBlockDecl()); } in VisitBlockExpr()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.h243 check::PostStmt<BlockExpr>,
295 void checkPostStmt(const BlockExpr *BE, CheckerContext &C) const;
/openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp123 SmallVector<BlockExpr *, 32> Blocks;
138 llvm::DenseMap<BlockExpr *, std::string> RewrittenBlockExprs;
376 std::string SynthesizeBlockHelperFuncs(BlockExpr *CE, int i,
378 std::string SynthesizeBlockFunc(BlockExpr *CE, int i,
380 std::string SynthesizeBlockImpl(BlockExpr *CE,
390 Stmt *SynthBlockInitExpr(BlockExpr *Exp,
402 void CollectBlockDeclRefInfo(BlockExpr *Exp);
3252 std::string RewriteObjC::SynthesizeBlockFunc(BlockExpr *CE, int i, in SynthesizeBlockFunc()
3344 std::string RewriteObjC::SynthesizeBlockHelperFuncs(BlockExpr *CE, int i, in SynthesizeBlockHelperFuncs()
3388 std::string RewriteObjC::SynthesizeBlockImpl(BlockExpr *CE, std::string Tag, in SynthesizeBlockImpl()
[all …]
H A DRewriteModernObjC.cpp133 SmallVector<BlockExpr *, 32> Blocks;
148 llvm::DenseMap<BlockExpr *, std::string> RewrittenBlockExprs;
467 std::string SynthesizeBlockHelperFuncs(BlockExpr *CE, int i,
469 std::string SynthesizeBlockFunc(BlockExpr *CE, int i,
471 std::string SynthesizeBlockImpl(BlockExpr *CE,
481 Stmt *SynthBlockInitExpr(BlockExpr *Exp,
492 void CollectBlockDeclRefInfo(BlockExpr *Exp);
4039 std::string RewriteModernObjC::SynthesizeBlockFunc(BlockExpr *CE, int i, in SynthesizeBlockFunc()
4135 std::string RewriteModernObjC::SynthesizeBlockHelperFuncs(BlockExpr *CE, int i, in SynthesizeBlockHelperFuncs()
4179 std::string RewriteModernObjC::SynthesizeBlockImpl(BlockExpr *CE, std::string Tag, in SynthesizeBlockImpl()
[all …]
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp142 bool TraverseBlockExpr(BlockExpr *block) { return true; } in TraverseBlockExpr()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DStmtNodes.td201 def BlockExpr : StmtNode<Expr>;
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExpr.cpp1558 if (auto *BE = dyn_cast<BlockExpr>(CEE)) in getReferencedDeclOfCallee()
1986 assert((isa<CXXMemberCallExpr>(SubExpr) || isa<BlockExpr>(SubExpr)) && in getSubExprAsWritten()
2483 const FunctionProtoType *BlockExpr::getFunctionType() const { in getFunctionType()
2489 SourceLocation BlockExpr::getCaretLocation() const { in getCaretLocation()
2492 const Stmt *BlockExpr::getBody() const { in getBody()
2495 Stmt *BlockExpr::getBody() { in getBody()
H A DComputeDependence.cpp255 ExprDependence clang::computeDependence(BlockExpr *E) { in computeDependence()
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h466 void VisitBlockExpr(const BlockExpr *BE, ExplodedNode *Pred,

123