Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp32 const Stmt *LoopStmt; member
36 : K(InK), LoopStmt(S), LCtx(L), maxStep(N) {} in LoopState()
49 const Stmt *getLoopStmt() const { return LoopStmt; } in getLoopStmt()
52 return K == X.K && LoopStmt == X.LoopStmt; in operator ==()
56 ID.AddPointer(LoopStmt); in Profile()
78 ProgramStateRef processLoopEnd(const Stmt *LoopStmt, ProgramStateRef State) { in processLoopEnd() argument
80 if (!LS.isEmpty() && LS.getHead().getLoopStmt() == LoopStmt) in processLoopEnd()
251 bool shouldCompletelyUnroll(const Stmt *LoopStmt, ASTContext &ASTCtx, in shouldCompletelyUnroll() argument
254 if (!isLoopStmt(LoopStmt)) in shouldCompletelyUnroll()
259 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, WhileStmt, DoStmt>(LoopStmt))); in getWidenedLoopState()
94 return PrevState->invalidateRegions(Regions, getLoopCondition(LoopStmt), in getWidenedLoopState()
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DLoopUnrolling.h37 ProgramStateRef updateLoopStack(const Stmt *LoopStmt, ASTContext &ASTCtx,
42 ProgramStateRef processLoopEnd(const Stmt *LoopStmt, ProgramStateRef State);
H A DLoopWidening.h30 unsigned BlockCount, const Stmt *LoopStmt);
/openbsd-src/gnu/llvm/clang/include/clang/Analysis/
H A DProgramPoint.h713 LoopExit(const Stmt *LoopStmt, const LocationContext *LC) in LoopExit() argument
714 : 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()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DCFG.cpp758 void addLoopExit(const Stmt *LoopStmt);
873 void appendLoopExit(CFGBlock *B, const Stmt *LoopStmt) { in appendLoopExit() argument
874 B->appendLoopExit(LoopStmt, cfg->getBumpVectorContext()); in appendLoopExit()
1794 void CFGBuilder::addLoopExit(const Stmt *LoopStmt){ in addLoopExit() argument
1798 appendLoopExit(Block, LoopStmt); in addLoopExit()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DTreeTransform.h1618 StmtResult RebuildOMPCanonicalLoop(Stmt *LoopStmt) { in RebuildOMPCanonicalLoop() argument
1619 return getSema().ActOnOpenMPCanonicalLoop(LoopStmt); in RebuildOMPCanonicalLoop()