Lines Matching refs:PeelCounter
166 using PeelCounter = std::optional<unsigned>; typedef in __anon41601d4e0111::PhiAnalyzer
167 const PeelCounter Unknown = std::nullopt;
170 PeelCounter addOne(PeelCounter PC) const { in addOne()
173 return (*PC + 1 <= MaxIterations) ? PeelCounter{*PC + 1} : Unknown; in addOne()
178 PeelCounter calculate(const Value &);
184 SmallDenseMap<const Value *, PeelCounter> IterationsToInvariance;
207 PhiAnalyzer::PeelCounter PhiAnalyzer::calculate(const Value &V) { in calculate()
228 PeelCounter Iterations = calculate(*Input); in calculate()
236 PeelCounter LHS = calculate(*I->getOperand(0)); in calculate()
239 PeelCounter RHS = calculate(*I->getOperand(1)); in calculate()
258 PeelCounter ToInvariance = calculate(PHI); in calculateIterationsToPeel()