Home
last modified time | relevance | path

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

/aosp_15_r20/external/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp1581 struct IVChain { struct
1582 SmallVector<IVInc,1> Incs;
1583 const SCEV *ExprBase;
1585 IVChain() : ExprBase(nullptr) {} in IVChain() function
1587 IVChain(const IVInc &Head, const SCEV *Base) in IVChain() function
1590 typedef SmallVectorImpl<IVInc>::const_iterator const_iterator;
1593 const_iterator begin() const { in begin()
1597 const_iterator end() const { in end()
1602 bool hasIncs() const { return Incs.size() >= 2; } in hasIncs()
1605 void add(const IVInc &X) { Incs.push_back(X); } in add()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp1867 struct IVChain { struct
1868 SmallVector<IVInc, 1> Incs;
1869 const SCEV *ExprBase = nullptr;
1872 IVChain(const IVInc &Head, const SCEV *Base) in IVChain() function
1875 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/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() argument
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()