Home
last modified time | relevance | path

Searched refs:LoopStmt (Results 1 – 9 of 9) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp30 const Stmt *LoopStmt; member
34 : K(InK), LoopStmt(S), LCtx(L), maxStep(N) {} in LoopState()
47 const Stmt *getLoopStmt() const { return LoopStmt; } in getLoopStmt()
50 return K == X.K && LoopStmt == X.LoopStmt; in operator ==()
54 ID.AddPointer(LoopStmt); in Profile()
75 ProgramStateRef processLoopEnd(const Stmt *LoopStmt, ProgramStateRef State) { in processLoopEnd() argument
77 if (!LS.isEmpty() && LS.getHead().getLoopStmt() == LoopStmt) in processLoopEnd()
209 bool shouldCompletelyUnroll(const Stmt *LoopStmt, ASTContext &ASTCtx, in shouldCompletelyUnroll() argument
212 if (!isLoopStmt(LoopStmt)) in shouldCompletelyUnroll()
217 auto Matches = match(forLoopMatcher(), *LoopStmt, ASTCtx); in shouldCompletelyUnroll()
[all …]
H A DLoopWidening.cpp28 static const Expr *getLoopCondition(const Stmt *LoopStmt) { in getLoopCondition() argument
29 switch (LoopStmt->getStmtClass()) { in getLoopCondition()
33 return cast<ForStmt>(LoopStmt)->getCond(); in getLoopCondition()
35 return cast<WhileStmt>(LoopStmt)->getCond(); in getLoopCondition()
37 return cast<DoStmt>(LoopStmt)->getCond(); in getLoopCondition()
46 unsigned BlockCount, const Stmt *LoopStmt) { in getWidenedLoopState() argument
48 assert(isa<ForStmt>(LoopStmt) || isa<WhileStmt>(LoopStmt) || in getWidenedLoopState()
49 isa<DoStmt>(LoopStmt)); in getWidenedLoopState()
95 return PrevState->invalidateRegions(Regions, getLoopCondition(LoopStmt), in getWidenedLoopState()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DLoopUnrolling.h38 ProgramStateRef updateLoopStack(const Stmt *LoopStmt, ASTContext &ASTCtx,
43 ProgramStateRef processLoopEnd(const Stmt *LoopStmt, ProgramStateRef State);
H A DLoopWidening.h30 unsigned BlockCount, const Stmt *LoopStmt);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/
H A DProgramPoint.h715 LoopExit(const Stmt *LoopStmt, const LocationContext *LC) in LoopExit() argument
716 : ProgramPoint(LoopStmt, nullptr, LoopExitKind, LC) {} in LoopExit()
H A DCFG.h1158 void appendLoopExit(const Stmt *LoopStmt, BumpVectorContext &C) { in appendLoopExit() argument
1159 Elements.push_back(CFGLoopExit(LoopStmt), C); in appendLoopExit()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCFG.cpp750 void addLoopExit(const Stmt *LoopStmt);
865 void appendLoopExit(CFGBlock *B, const Stmt *LoopStmt) { in appendLoopExit() argument
866 B->appendLoopExit(LoopStmt, cfg->getBumpVectorContext()); in appendLoopExit()
1720 void CFGBuilder::addLoopExit(const Stmt *LoopStmt){ in addLoopExit() argument
1724 appendLoopExit(Block, LoopStmt); in addLoopExit()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmtOpenMP.h163 static OMPCanonicalLoop *create(const ASTContext &Ctx, Stmt *LoopStmt, in create() argument
168 S->setLoopStmt(LoopStmt); in create()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DTreeTransform.h1553 StmtResult RebuildOMPCanonicalLoop(Stmt *LoopStmt) { in RebuildOMPCanonicalLoop() argument
1554 return getSema().ActOnOpenMPCanonicalLoop(LoopStmt); in RebuildOMPCanonicalLoop()