Searched defs:IVChain (Results 1 – 1 of 1) sorted by relevance
2098 struct IVChain { struct2099 SmallVector<IVInc, 1> Incs;2100 const SCEV *ExprBase = nullptr;2103 IVChain(const IVInc &Head, const SCEV *Base) in IVChain() function2106 using const_iterator = SmallVectorImpl<IVInc>::const_iterator;2109 const_iterator begin() const { in begin()2113 const_iterator end() const { 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()