Home
last modified time | relevance | path

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

123

/netbsd/external/apache2/llvm/dist/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.cpp657 if (const BlockExpr *be = dyn_cast<BlockExpr>(e)) { in isAccessedBy()
1644 if (const BlockExpr *BE = dyn_cast<BlockExpr>(E)) { in isCapturedBy()
H A DCGObjC.cpp3035 if (isa<BlockExpr>(e)) in shouldEmitSeparateBlockRetain()
3076 Result visitBlockExpr(const BlockExpr *e);
3153 Result ARCExprEmitter<Impl, Result>::visitBlockExpr(const BlockExpr *e) { in visitBlockExpr()
3301 } else if (auto *be = dyn_cast<BlockExpr>(e)) in visit()
3337 TryEmitResult visitBlockExpr(const BlockExpr *e) { in visitBlockExpr()
H A DCGBlocks.cpp778 llvm::Value *CodeGenFunction::EmitBlockLiteral(const BlockExpr *blockExpr) { in EmitBlockLiteral()
1279 void CodeGenModule::setAddrOfGlobalBlock(const BlockExpr *BE, in setAddrOfGlobalBlock()
1287 CodeGenModule::GetAddrOfGlobalBlock(const BlockExpr *BE, in GetAddrOfGlobalBlock()
/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/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.cpp566 void VisitBlockExpr(BlockExpr *BR) { in VisitBlockExpr()
/netbsd/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DAnalysisBasedWarnings.h21 class BlockExpr; variable
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/
H A DComputeDependence.h46 class BlockExpr; variable
128 ExprDependence computeDependence(BlockExpr *E);
H A DEvaluatedExprVisitor.h48 void VisitBlockExpr(PTR(BlockExpr) E) { } in VisitBlockExpr()
H A DASTNodeTraverser.h676 void VisitBlockExpr(const BlockExpr *Node) { Visit(Node->getBlockDecl()); } in VisitBlockExpr()
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.h243 check::PostStmt<BlockExpr>,
295 void checkPostStmt(const BlockExpr *BE, CheckerContext &C) const;
/netbsd/external/apache2/llvm/dist/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);
3661 if (BlockExpr *CBE = dyn_cast<BlockExpr>(SubStmt)) in GetBlockDeclRefExprs()
3679 if (BlockExpr *CBE = dyn_cast<BlockExpr>(SubStmt)) { in GetInnerBlockDeclRefExprs()
4326 void RewriteObjC::CollectBlockDeclRefInfo(BlockExpr *Exp) { in CollectBlockDeclRefInfo()
4363 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);
4473 if (BlockExpr *CBE = dyn_cast<BlockExpr>(SubStmt)) in GetBlockDeclRefExprs()
4491 if (BlockExpr *CBE = dyn_cast<BlockExpr>(SubStmt)) { in GetInnerBlockDeclRefExprs()
5208 Stmt *RewriteModernObjC::SynthBlockInitExpr(BlockExpr *Exp, in SynthBlockInitExpr()
[all …]
/netbsd/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp142 bool TraverseBlockExpr(BlockExpr *block) { return true; } in TraverseBlockExpr()
/netbsd/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DStmtNodes.td199 def BlockExpr : StmtNode<Expr>;
/netbsd/external/apache2/llvm/dist/clang/lib/AST/
H A DExpr.cpp1437 if (auto *BE = dyn_cast<BlockExpr>(CEE)) in getReferencedDeclOfCallee()
1853 isa<BlockExpr>(SubExpr)) && in getSubExprAsWritten()
2315 const FunctionProtoType *BlockExpr::getFunctionType() const { in getFunctionType()
2321 SourceLocation BlockExpr::getCaretLocation() const { in getCaretLocation()
2324 const Stmt *BlockExpr::getBody() const { in getBody()
2327 Stmt *BlockExpr::getBody() { in getBody()
/netbsd/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h460 void VisitBlockExpr(const BlockExpr *BE, ExplodedNode *Pred,

123