Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp166 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()
[all …]