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.cpp170 using PeelCounter = std::optional<unsigned>; typedef in __anon41601d4e0111::PhiAnalyzer
171 const PeelCounter Unknown = std::nullopt;
174 PeelCounter addOne(PeelCounter PC) const { in addOne()
177 return (*PC + 1 <= MaxIterations) ? PeelCounter{*PC + 1} : Unknown; in addOne()
182 PeelCounter calculate(const Value &);
188 SmallDenseMap<const Value *, PeelCounter> IterationsToInvariance;
211 PhiAnalyzer::PeelCounter PhiAnalyzer::calculate(const Value &V) { in calculate()
230 PeelCounter Iterations = calculate(*Input); in calculate()
238 PeelCounter LHS = calculate(*I->getOperand(0)); in calculate()
241 PeelCounter RHS = calculate(*I->getOperand(1)); in calculate()
[all …]