Searched defs:IVChain (Results 1 – 1 of 1) sorted by relevance
1867 struct IVChain { struct1868 SmallVector<IVInc, 1> Incs;1869 const SCEV *ExprBase = nullptr;1872 IVChain(const IVInc &Head, const SCEV *Base) in IVChain() argument1875 using const_iterator = SmallVectorImpl<IVInc>::const_iterator;1878 const_iterator begin() const { in begin()1882 const_iterator end() const { in end()1887 bool hasIncs() const { return Incs.size() >= 2; } in hasIncs()1890 void add(const IVInc &X) { Incs.push_back(X); } in add()1893 Instruction *tailUserInst() const { return Incs.back().UserInst; } in tailUserInst()