/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenCLRuntime.cpp | 113 static const BlockExpr *getBlockExpr(const Expr *E) { in getBlockExpr() 115 while(!isa<BlockExpr>(E) && E != Prev) { in getBlockExpr() 122 return cast<BlockExpr>(E); in getBlockExpr() 127 void CGOpenCLRuntime::recordBlockInfo(const BlockExpr *E, in recordBlockInfo() 149 const BlockExpr *Block = getBlockExpr(E); in emitOpenCLEnqueuedBlock()
|
H A D | CGOpenCLRuntime.h | 27 class BlockExpr; variable 95 void recordBlockInfo(const BlockExpr *E, llvm::Function *InvokeF,
|
H A D | CGBlocks.h | 277 const BlockExpr *BlockExpression; 305 const BlockExpr *getBlockExpr() const { in getBlockExpr()
|
H A D | CodeGenModule.h | 66 class BlockExpr; variable 563 llvm::DenseMap<const BlockExpr *, llvm::Constant *> EmittedGlobalBlocks; 1017 llvm::Constant *GetAddrOfGlobalBlock(const BlockExpr *BE, StringRef Name); 1021 llvm::Constant *getAddrOfGlobalBlockIfEmitted(const BlockExpr *BE) { in getAddrOfGlobalBlockIfEmitted() 1027 void setAddrOfGlobalBlock(const BlockExpr *BE, llvm::Constant *Addr);
|
H A D | CGDecl.cpp | 690 if (const BlockExpr *be = dyn_cast<BlockExpr>(e)) { in isAccessedBy() 1711 if (const BlockExpr *BE = dyn_cast<BlockExpr>(E)) { in isCapturedBy()
|
H A D | CGObjC.cpp | 3065 if (isa<BlockExpr>(e)) in shouldEmitSeparateBlockRetain() 3106 Result visitBlockExpr(const BlockExpr *e); 3183 Result ARCExprEmitter<Impl, Result>::visitBlockExpr(const BlockExpr *e) { in visitBlockExpr() 3331 } else if (auto *be = dyn_cast<BlockExpr>(e)) in visit() 3367 TryEmitResult visitBlockExpr(const BlockExpr *e) { in visitBlockExpr()
|
H A D | CGBlocks.cpp | 758 llvm::Value *CodeGenFunction::EmitBlockLiteral(const BlockExpr *blockExpr) { in EmitBlockLiteral() 1248 void CodeGenModule::setAddrOfGlobalBlock(const BlockExpr *BE, in setAddrOfGlobalBlock() 1256 CodeGenModule::GetAddrOfGlobalBlock(const BlockExpr *BE, in GetAddrOfGlobalBlock()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | UndefCapturedBlockVarChecker.cpp | 29 : public Checker< check::PostStmt<BlockExpr> > { 33 void checkPostStmt(const BlockExpr *BE, CheckerContext &C) const; 52 UndefCapturedBlockVarChecker::checkPostStmt(const BlockExpr *BE, in checkPostStmt()
|
H A D | ObjCUnusedIVarsChecker.cpp | 46 if (const BlockExpr *BE = dyn_cast<BlockExpr>(S)) { in Scan()
|
H A D | MallocChecker.cpp | 303 check::NewAllocator, check::PostStmt<BlockExpr>, 337 void checkPostStmt(const BlockExpr *BE, CheckerContext &C) const; 2958 void MallocChecker::checkPostStmt(const BlockExpr *BE, in checkPostStmt()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CallGraph.cpp | 61 if (BlockExpr *Block = dyn_cast<BlockExpr>(CEE)) { in getDeclFromCall()
|
H A D | LiveVariables.cpp | 171 void VisitBlockExpr(BlockExpr *BE); 371 void TransferFunctions::VisitBlockExpr(BlockExpr *BE) { in VisitBlockExpr()
|
H A D | UninitializedValues.cpp | 502 void VisitBlockExpr(BlockExpr *be); 701 void TransferFunctions::VisitBlockExpr(BlockExpr *be) { in VisitBlockExpr()
|
H A D | CalledOnceCheck.cpp | 1119 const Expr *getBlockGuaraneedCallSite(const BlockExpr *Block) const { in getBlockGuaraneedCallSite() 1548 void VisitBlockExpr(const BlockExpr *Block) { in VisitBlockExpr()
|
H A D | AnalysisDeclContext.cpp | 618 void VisitBlockExpr(BlockExpr *BR) { in VisitBlockExpr()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ComputeDependence.h | 47 class BlockExpr; variable 134 ExprDependence computeDependence(BlockExpr *E);
|
H A D | EvaluatedExprVisitor.h | 48 void VisitBlockExpr(PTR(BlockExpr) E) { } in VisitBlockExpr()
|
H A D | ASTNodeTraverser.h | 732 void VisitBlockExpr(const BlockExpr *Node) { Visit(Node->getBlockDecl()); } in VisitBlockExpr()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
H A D | RetainCountChecker.h | 242 check::PostStmt<BlockExpr>, 294 void checkPostStmt(const BlockExpr *BE, CheckerContext &C) const;
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransZeroOutPropsInDealloc.cpp | 142 bool TraverseBlockExpr(BlockExpr *block) { return true; } in TraverseBlockExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteObjC.cpp | 123 SmallVector<BlockExpr *, 32> Blocks; 138 llvm::DenseMap<BlockExpr *, std::string> RewrittenBlockExprs; 378 std::string SynthesizeBlockFunc(BlockExpr *CE, int i, 380 std::string SynthesizeBlockImpl(BlockExpr *CE, 390 Stmt *SynthBlockInitExpr(BlockExpr *Exp, 402 void CollectBlockDeclRefInfo(BlockExpr *Exp); 3649 if (BlockExpr *CBE = dyn_cast<BlockExpr>(SubStmt)) in GetBlockDeclRefExprs() 3667 if (BlockExpr *CBE = dyn_cast<BlockExpr>(SubStmt)) { in GetInnerBlockDeclRefExprs() 4312 void RewriteObjC::CollectBlockDeclRefInfo(BlockExpr *Exp) { in CollectBlockDeclRefInfo() 4349 Stmt *RewriteObjC::SynthBlockInitExpr(BlockExpr *Exp, in SynthBlockInitExpr() [all …]
|
H A D | RewriteModernObjC.cpp | 133 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); 4462 if (BlockExpr *CBE = dyn_cast<BlockExpr>(SubStmt)) in GetBlockDeclRefExprs() 4480 if (BlockExpr *CBE = dyn_cast<BlockExpr>(SubStmt)) { in GetInnerBlockDeclRefExprs() 5195 Stmt *RewriteModernObjC::SynthBlockInitExpr(BlockExpr *Exp, in SynthBlockInitExpr() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | StmtNodes.td | 201 def BlockExpr : StmtNode<Expr>;
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | ExprEngine.h | 466 void VisitBlockExpr(const BlockExpr *BE, ExplodedNode *Pred,
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Expr.cpp | 1542 if (auto *BE = dyn_cast<BlockExpr>(CEE)) in getReferencedDeclOfCallee() 1968 assert((isa<CXXMemberCallExpr>(SubExpr) || isa<BlockExpr>(SubExpr)) && in getSubExprAsWritten() 2477 const FunctionProtoType *BlockExpr::getFunctionType() const { in getFunctionType() 2483 SourceLocation BlockExpr::getCaretLocation() const { in getCaretLocation() 2486 const Stmt *BlockExpr::getBody() const { in getBody() 2489 Stmt *BlockExpr::getBody() { in getBody()
|