Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp130 static const BlockExpr *getBlockExpr(const Expr *E) { in getBlockExpr()
132 while(!isa<BlockExpr>(E) && E != Prev) { in getBlockExpr()
139 return cast<BlockExpr>(E); in getBlockExpr()
144 void CGOpenCLRuntime::recordBlockInfo(const BlockExpr *E, in recordBlockInfo()
166 const BlockExpr *Block = getBlockExpr(E); in emitOpenCLEnqueuedBlock()
H A DCGOpenCLRuntime.h26 class BlockExpr; variable
92 void recordBlockInfo(const BlockExpr *E, llvm::Function *InvokeF,
H A DCGBlocks.h247 const BlockExpr *BlockExpression;
277 const BlockExpr *getBlockExpr() const { in getBlockExpr()
H A DCodeGenModule.h63 class BlockExpr; variable
539 llvm::DenseMap<const BlockExpr *, llvm::Constant *> EmittedGlobalBlocks;
951 llvm::Constant *GetAddrOfGlobalBlock(const BlockExpr *BE, StringRef Name);
955 llvm::Constant *getAddrOfGlobalBlockIfEmitted(const BlockExpr *BE) { in getAddrOfGlobalBlockIfEmitted()
961 void setAddrOfGlobalBlock(const BlockExpr *BE, llvm::Constant *Addr);
H A DCGDecl.cpp662 if (const BlockExpr *be = dyn_cast<BlockExpr>(e)) { in isAccessedBy()
1647 if (const BlockExpr *BE = dyn_cast<BlockExpr>(E)) { in isCapturedBy()
H A DCGObjC.cpp3041 if (isa<BlockExpr>(e)) in shouldEmitSeparateBlockRetain()
3082 Result visitBlockExpr(const BlockExpr *e);
3159 Result ARCExprEmitter<Impl, Result>::visitBlockExpr(const BlockExpr *e) { in visitBlockExpr()
3307 } else if (auto *be = dyn_cast<BlockExpr>(e)) in visit()
3343 TryEmitResult visitBlockExpr(const BlockExpr *e) { in visitBlockExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUndefCapturedBlockVarChecker.cpp28 : public Checker< check::PostStmt<BlockExpr> > {
32 void checkPostStmt(const BlockExpr *BE, CheckerContext &C) const;
51 UndefCapturedBlockVarChecker::checkPostStmt(const BlockExpr *BE, in checkPostStmt()
H A DObjCUnusedIVarsChecker.cpp45 if (const BlockExpr *BE = dyn_cast<BlockExpr>(S)) { in Scan()
H A DMallocChecker.cpp292 check::NewAllocator, check::PostStmt<BlockExpr>,
324 void checkPostStmt(const BlockExpr *BE, CheckerContext &C) const;
2749 void MallocChecker::checkPostStmt(const BlockExpr *BE, in checkPostStmt()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DAnalysisBasedWarnings.h21 class BlockExpr; variable
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DCallGraph.cpp61 if (BlockExpr *Block = dyn_cast<BlockExpr>(CEE)) { in getDeclFromCall()
H A DLiveVariables.cpp165 void VisitBlockExpr(BlockExpr *BE);
361 void TransferFunctions::VisitBlockExpr(BlockExpr *BE) { in VisitBlockExpr()
H A DUninitializedValues.cpp487 void VisitBlockExpr(BlockExpr *be);
708 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.cpp619 void VisitBlockExpr(BlockExpr *BR) { in VisitBlockExpr()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DComputeDependence.h46 class BlockExpr; variable
130 ExprDependence computeDependence(BlockExpr *E);
H A DEvaluatedExprVisitor.h48 void VisitBlockExpr(PTR(BlockExpr) E) { } in VisitBlockExpr()
H A DASTNodeTraverser.h700 void VisitBlockExpr(const BlockExpr *Node) { Visit(Node->getBlockDecl()); } in VisitBlockExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.h243 check::PostStmt<BlockExpr>,
295 void checkPostStmt(const BlockExpr *BE, CheckerContext &C) const;
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp142 bool TraverseBlockExpr(BlockExpr *block) { return true; } in TraverseBlockExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp123 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 DRewriteModernObjC.cpp132 SmallVector<BlockExpr *, 32> Blocks;
147 llvm::DenseMap<BlockExpr *, std::string> RewrittenBlockExprs;
466 std::string SynthesizeBlockHelperFuncs(BlockExpr *CE, int i,
468 std::string SynthesizeBlockFunc(BlockExpr *CE, int i,
470 std::string SynthesizeBlockImpl(BlockExpr *CE,
480 Stmt *SynthBlockInitExpr(BlockExpr *Exp,
491 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-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td200 def BlockExpr : StmtNode<Expr>;
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h459 void VisitBlockExpr(const BlockExpr *BE, ExplodedNode *Pred,
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp1503 if (auto *BE = dyn_cast<BlockExpr>(CEE)) in getReferencedDeclOfCallee()
1922 isa<BlockExpr>(SubExpr)) && in getSubExprAsWritten()
2387 const FunctionProtoType *BlockExpr::getFunctionType() const { in getFunctionType()
2393 SourceLocation BlockExpr::getCaretLocation() const { in getCaretLocation()
2396 const Stmt *BlockExpr::getBody() const { in getBody()
2399 Stmt *BlockExpr::getBody() { in getBody()

123