Home
last modified time | relevance | path

Searched defs:IVChain (Results 1 – 1 of 1) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp1912 struct IVChain { struct
1913 SmallVector<IVInc, 1> Incs;
1914 const SCEV *ExprBase = nullptr;
1917 IVChain(const IVInc &Head, const SCEV *Base) in IVChain() function
1920 using const_iterator = SmallVectorImpl<IVInc>::const_iterator;
1923 const_iterator begin() const { in begin()
1927 const_iterator end() const { in end()
1932 bool hasIncs() const { return Incs.size() >= 2; } in hasIncs()
1935 void add(const IVInc &X) { Incs.push_back(X); } in add()
1938 Instruction *tailUserInst() const { return Incs.back().UserInst; } in tailUserInst()