Home
last modified time | relevance | path

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

123

/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCGOpenCLRuntime.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()
149 const BlockExpr *Block = getBlockExpr(E); in emitOpenCLEnqueuedBlock()
HDCGOpenCLRuntime.h27 class BlockExpr; variable
95 void recordBlockInfo(const BlockExpr *E, llvm::Function *InvokeF,
HDCGBlocks.h278 const BlockExpr *BlockExpression;
306 const BlockExpr *getBlockExpr() const { in getBlockExpr()
HDCodeGenModule.h65 class BlockExpr; variable
576 llvm::DenseMap<const BlockExpr *, llvm::Constant *> EmittedGlobalBlocks;
1096 llvm::Constant *GetAddrOfGlobalBlock(const BlockExpr *BE, StringRef Name);
1100 llvm::Constant *getAddrOfGlobalBlockIfEmitted(const BlockExpr *BE) { in getAddrOfGlobalBlockIfEmitted()
1106 void setAddrOfGlobalBlock(const BlockExpr *BE, llvm::Constant *Addr);
HDCGDecl.cpp694 if (const BlockExpr *be = dyn_cast<BlockExpr>(e)) { in isAccessedBy()
1716 if (const BlockExpr *BE = dyn_cast<BlockExpr>(E)) { in isCapturedBy()
HDCGObjC.cpp3063 if (isa<BlockExpr>(e)) in shouldEmitSeparateBlockRetain()
3104 Result visitBlockExpr(const BlockExpr *e);
3181 Result ARCExprEmitter<Impl, Result>::visitBlockExpr(const BlockExpr *e) { in visitBlockExpr()
3329 } else if (auto *be = dyn_cast<BlockExpr>(e)) in visit()
3365 TryEmitResult visitBlockExpr(const BlockExpr *e) { in visitBlockExpr()
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDUndefCapturedBlockVarChecker.cpp29 : public Checker< check::PostStmt<BlockExpr> > {
33 void checkPostStmt(const BlockExpr *BE, CheckerContext &C) const;
52 UndefCapturedBlockVarChecker::checkPostStmt(const BlockExpr *BE, in checkPostStmt()
HDObjCUnusedIVarsChecker.cpp46 if (const BlockExpr *BE = dyn_cast<BlockExpr>(S)) { in Scan()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
HDCallGraph.cpp61 if (BlockExpr *Block = dyn_cast<BlockExpr>(CEE)) { in getDeclFromCall()
HDLiveVariables.cpp171 void VisitBlockExpr(BlockExpr *BE);
371 void TransferFunctions::VisitBlockExpr(BlockExpr *BE) { in VisitBlockExpr()
HDUninitializedValues.cpp502 void VisitBlockExpr(BlockExpr *be);
701 void TransferFunctions::VisitBlockExpr(BlockExpr *be) { in VisitBlockExpr()
HDCalledOnceCheck.cpp1120 const Expr *getBlockGuaraneedCallSite(const BlockExpr *Block) const { in getBlockGuaraneedCallSite()
1549 void VisitBlockExpr(const BlockExpr *Block) { in VisitBlockExpr()
HDAnalysisDeclContext.cpp618 void VisitBlockExpr(BlockExpr *BR) { in VisitBlockExpr()
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
HDComputeDependence.h47 class BlockExpr; variable
135 ExprDependence computeDependence(BlockExpr *E);
HDEvaluatedExprVisitor.h48 void VisitBlockExpr(PTR(BlockExpr) E) { } in VisitBlockExpr()
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
HDRetainCountChecker.h242 check::PostStmt<BlockExpr>,
294 void checkPostStmt(const BlockExpr *BE, CheckerContext &C) const;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
HDRewriteObjC.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 …]
HDRewriteModernObjC.cpp133 SmallVector<BlockExpr *, 32> Blocks;
148 llvm::DenseMap<BlockExpr *, std::string> RewrittenBlockExprs;
466 std::string SynthesizeBlockHelperFuncs(BlockExpr *CE, int i,
469 std::string SynthesizeBlockFunc(BlockExpr *CE, int i, StringRef funcName,
471 std::string SynthesizeBlockImpl(BlockExpr *CE, const std::string &Tag,
480 Stmt *SynthBlockInitExpr(BlockExpr *Exp,
491 void CollectBlockDeclRefInfo(BlockExpr *Exp);
4037 std::string RewriteModernObjC::SynthesizeBlockFunc(BlockExpr *CE, int i, in SynthesizeBlockFunc()
4134 BlockExpr *CE, int i, StringRef funcName, const std::string &Tag) { in SynthesizeBlockHelperFuncs()
4176 std::string RewriteModernObjC::SynthesizeBlockImpl(BlockExpr *CE, in SynthesizeBlockImpl()
[all …]
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
HDTransZeroOutPropsInDealloc.cpp142 bool TraverseBlockExpr(BlockExpr *block) { return true; } in TraverseBlockExpr()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaOpenCL.cpp123 if (isa<BlockExpr>(BlockArg)) { in checkBlockArgs()
124 BlockDecl *BD = cast<BlockExpr>(BlockArg)->getBlockDecl(); in checkBlockArgs()
HDCheckExprLifetime.cpp896 if (cast<BlockExpr>(Init)->getBlockDecl()->hasCaptures()) { in visitLocalsRetainedByInitializer()
898 Visit(Path, Local(cast<BlockExpr>(Init)), RK_ReferenceBinding); in visitLocalsRetainedByInitializer()
1204 } else if (isa<BlockExpr>(L)) { in checkExprLifetimeImpl()
HDSemaObjC.cpp892 void VisitBlockExpr(BlockExpr *block) { in VisitBlockExpr()
953 BlockExpr *block = dyn_cast<BlockExpr>(e); in findCapturingExpr()
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/
HDStmtNodes.td202 def BlockExpr : StmtNode<Expr>;
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
HDExprEngine.h458 void VisitBlockExpr(const BlockExpr *BE, ExplodedNode *Pred,
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
HDExpr.cpp1572 if (auto *BE = dyn_cast<BlockExpr>(CEE)) in getReferencedDeclOfCallee()
1993 assert((isa<CXXMemberCallExpr>(SubExpr) || isa<BlockExpr>(SubExpr)) && in getSubExprAsWritten()
2513 const FunctionProtoType *BlockExpr::getFunctionType() const { in getFunctionType()
2519 SourceLocation BlockExpr::getCaretLocation() const { in getCaretLocation()
2522 const Stmt *BlockExpr::getBody() const { in getBody()
2525 Stmt *BlockExpr::getBody() { in getBody()

123