Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp2099 SmallVector<IVInc, 1> Incs; member
2104 : Incs(1, Head), ExprBase(Base) {} in IVChain()
2110 assert(!Incs.empty()); in begin()
2111 return std::next(Incs.begin()); in begin()
2114 return Incs.end(); in end()
2118 bool hasIncs() const { return Incs.size() >= 2; } in hasIncs()
2121 void add(const IVInc &X) { Incs.push_back(X); } in add()
2124 Instruction *tailUserInst() const { return Incs.back().UserInst; } in tailUserInst()
3046 const SCEV *HeadExpr = SE.getSCEV(getWideOperand(Incs[0].IVOperand)); in isProfitableIncrement()
3076 LLVM_DEBUG(dbgs() << "Chain: " << *Chain.Incs[0].UserInst << " users:\n"; in isProfitableChain()
[all …]