Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp113 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()
150 const BlockExpr *Block = getBlockExpr(E); in emitOpenCLEnqueuedBlock()
H A DCGBlocks.h279 const BlockExpr *BlockExpression;
307 const BlockExpr *getBlockExpr() const { in getBlockExpr()
H A DCodeGenModule.h66 class BlockExpr; variable
622 llvm::DenseMap<const BlockExpr *, llvm::Constant *> EmittedGlobalBlocks;
1156 llvm::Constant *GetAddrOfGlobalBlock(const BlockExpr *BE, StringRef Name);
1160 llvm::Constant *getAddrOfGlobalBlockIfEmitted(const BlockExpr *BE) { in getAddrOfGlobalBlockIfEmitted()
1166 void setAddrOfGlobalBlock(const BlockExpr *BE, llvm::Constant *Addr);
H A DCGDecl.cpp679 if (const BlockExpr *be = dyn_cast<BlockExpr>(e)) { in isAccessedBy()
1765 if (const BlockExpr *BE = dyn_cast<BlockExpr>(E)) { in isCapturedBy()
H A DCGObjC.cpp3109 if (isa<BlockExpr>(e)) in shouldEmitSeparateBlockRetain()
3150 Result visitBlockExpr(const BlockExpr *e);
3227 Result ARCExprEmitter<Impl, Result>::visitBlockExpr(const BlockExpr *e) { in visitBlockExpr()
3375 } else if (auto *be = dyn_cast<BlockExpr>(e)) in visit()
3411 TryEmitResult visitBlockExpr(const BlockExpr *e) { in visitBlockExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DFunction.h65 llvm::PointerUnion<const FunctionDecl *, const BlockExpr *>;
112 const BlockExpr *getExpr() const { in getExpr()
113 return dyn_cast<const BlockExpr *>(Source); in getExpr()
H A DContext.h27 class BlockExpr; variable
96 const Function *getOrCreateObjCBlock(const BlockExpr *E);
H A DContext.cpp512 const Function *Context::getOrCreateObjCBlock(const BlockExpr *E) { in getOrCreateObjCBlock()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCUnusedIVarsChecker.cpp45 if (const BlockExpr *BE = dyn_cast<BlockExpr>(S)) { in Scan()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCallGraph.cpp60 if (BlockExpr *Block = dyn_cast<BlockExpr>(CEE)) { in getDeclFromCall()
H A DLiveVariables.cpp172 void VisitBlockExpr(BlockExpr *BE);
408 void TransferFunctions::VisitBlockExpr(BlockExpr *BE) { in VisitBlockExpr()
H A DUninitializedValues.cpp495 void VisitBlockExpr(BlockExpr *be);
707 void TransferFunctions::VisitBlockExpr(BlockExpr *be) { in VisitBlockExpr()
H A DCalledOnceCheck.cpp1118 const Expr *getBlockGuaraneedCallSite(const BlockExpr *Block) const { in getBlockGuaraneedCallSite()
1547 void VisitBlockExpr(const BlockExpr *Block) { in VisitBlockExpr()
H A DAnalysisDeclContext.cpp616 void VisitBlockExpr(BlockExpr *BR) { in VisitBlockExpr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DComputeDependence.h47 class BlockExpr; variable
136 ExprDependence computeDependence(BlockExpr *E,
H A DEvaluatedExprVisitor.h48 void VisitBlockExpr(PTR(BlockExpr) E) { } in VisitBlockExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.h242 check::PostStmt<BlockExpr>,
294 void checkPostStmt(const BlockExpr *BE, CheckerContext &C) const;
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp124 SmallVector<BlockExpr *, 32> Blocks;
137 llvm::DenseMap<BlockExpr *, std::string> RewrittenBlockExprs;
374 std::string SynthesizeBlockHelperFuncs(BlockExpr *CE, int i,
376 std::string SynthesizeBlockFunc(BlockExpr *CE, int i,
378 std::string SynthesizeBlockImpl(BlockExpr *CE,
388 Stmt *SynthBlockInitExpr(BlockExpr *Exp,
400 void CollectBlockDeclRefInfo(BlockExpr *Exp);
3250 std::string RewriteObjC::SynthesizeBlockFunc(BlockExpr *CE, int i, in SynthesizeBlockFunc()
3342 std::string RewriteObjC::SynthesizeBlockHelperFuncs(BlockExpr *CE, int i, in SynthesizeBlockHelperFuncs()
3386 std::string RewriteObjC::SynthesizeBlockImpl(BlockExpr *CE, std::string Tag, in SynthesizeBlockImpl()
[all …]
H A DRewriteModernObjC.cpp134 SmallVector<BlockExpr *, 32> Blocks;
147 llvm::DenseMap<BlockExpr *, std::string> RewrittenBlockExprs;
465 std::string SynthesizeBlockHelperFuncs(BlockExpr *CE, int i,
468 std::string SynthesizeBlockFunc(BlockExpr *CE, int i, StringRef funcName,
470 std::string SynthesizeBlockImpl(BlockExpr *CE, const std::string &Tag,
479 Stmt *SynthBlockInitExpr(BlockExpr *Exp,
490 void CollectBlockDeclRefInfo(BlockExpr *Exp);
4037 std::string RewriteModernObjC::SynthesizeBlockFunc(BlockExpr *CE, int i, in SynthesizeBlockFunc()
4131 BlockExpr *CE, int i, StringRef funcName, const std::string &Tag) { in SynthesizeBlockHelperFuncs()
4173 std::string RewriteModernObjC::SynthesizeBlockImpl(BlockExpr *CE, in SynthesizeBlockImpl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenCL.cpp123 if (isa<BlockExpr>(BlockArg)) { in checkBlockArgs()
124 BlockDecl *BD = cast<BlockExpr>(BlockArg)->getBlockDecl(); in checkBlockArgs()
H A DCheckExprLifetime.cpp1082 if (cast<BlockExpr>(Init)->getBlockDecl()->hasCaptures()) { in visitLocalsRetainedByInitializer()
1084 Visit(Path, Local(cast<BlockExpr>(Init)), RK_ReferenceBinding); in visitLocalsRetainedByInitializer()
1511 } else if (isa<BlockExpr>(L)) { in checkExprLifetimeImpl()
H A DSemaObjC.cpp888 void VisitBlockExpr(BlockExpr *block) { in VisitBlockExpr()
949 BlockExpr *block = dyn_cast<BlockExpr>(e); in findCapturingExpr()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExprConstant.cpp379 ConstantLValue VisitBlockExpr(const BlockExpr *e);
530 ConstantLValue ConstantLValueEmitter::VisitBlockExpr(const BlockExpr *e) { in VisitBlockExpr()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td203 def BlockExpr : StmtNode<Expr>;
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h466 void VisitBlockExpr(const BlockExpr *BE, ExplodedNode *Pred,

123