Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DIVUsers.h37 class IVStrideUse : public CallbackVH, public ilist_node<IVStrideUse> {
40 IVStrideUse(IVUsers *P, Instruction* U, Value *O) in IVStrideUse() function
93 template<> struct ilist_traits<IVStrideUse>
94 : public ilist_default_traits<IVStrideUse> {
99 IVStrideUse *createSentinel() const {
108 return static_cast<IVStrideUse*>(&Sentinel);
110 static void destroySentinel(IVStrideUse*) {}
112 IVStrideUse *provideInitialHead() const { return createSentinel(); }
113 IVStrideUse *ensureHead(IVStrideUse*) const { return createSentinel(); }
114 static void noteHead(IVStrideUse*, IVStrideUse*) {}
[all …]
/external/llvm/include/llvm/Analysis/
DIVUsers.h37 class IVStrideUse final : public CallbackVH, public ilist_node<IVStrideUse> {
40 IVStrideUse(IVUsers *P, Instruction* U, Value *O) in IVStrideUse() function
93 template<> struct ilist_traits<IVStrideUse>
94 : public ilist_default_traits<IVStrideUse> {
99 IVStrideUse *createSentinel() const {
108 return static_cast<IVStrideUse*>(&Sentinel);
110 static void destroySentinel(IVStrideUse*) {}
112 IVStrideUse *provideInitialHead() const { return createSentinel(); }
113 IVStrideUse *ensureHead(IVStrideUse*) const { return createSentinel(); }
114 static void noteHead(IVStrideUse*, IVStrideUse*) {}
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DIVUsers.cpp140 IVUses.push_back(new IVStrideUse(this, User, I)); in AddUsersIfInteresting()
141 IVStrideUse &NewUse = IVUses.back(); in AddUsersIfInteresting()
156 IVStrideUse &IVUsers::AddUser(Instruction *User, Value *Operand) { in AddUser()
157 IVUses.push_back(new IVStrideUse(this, User, Operand)); in AddUser()
199 for (ilist<IVStrideUse>::const_iterator UI = IVUses.begin(), in print()
228 const SCEV *IVUsers::getReplacementExpr(const IVStrideUse &IU) const { in getReplacementExpr()
233 const SCEV *IVUsers::getExpr(const IVStrideUse &IU) const { in getExpr()
259 const SCEV *IVUsers::getStride(const IVStrideUse &IU, const Loop *L) const { in getStride()
265 void IVStrideUse::transformToPostInc(const Loop *L) { in transformToPostInc()
269 void IVStrideUse::deleted() { in deleted()
/external/llvm/lib/Analysis/
DIVUsers.cpp200 IVStrideUse &NewUse = AddUser(User, I); in AddUsersImpl()
244 IVStrideUse &IVUsers::AddUser(Instruction *User, Value *Operand) { in AddUser()
245 IVUses.push_back(new IVStrideUse(this, User, Operand)); in AddUser()
293 for (const IVStrideUse &IVUse : IVUses) { in print()
324 const SCEV *IVUsers::getReplacementExpr(const IVStrideUse &IU) const { in getReplacementExpr()
329 const SCEV *IVUsers::getExpr(const IVStrideUse &IU) const { in getExpr()
355 const SCEV *IVUsers::getStride(const IVStrideUse &IU, const Loop *L) const { in getStride()
361 void IVStrideUse::transformToPostInc(const Loop *L) { in transformToPostInc()
365 void IVStrideUse::deleted() { in deleted()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1667 bool FindIVUserForCond(ICmpInst *Cond, IVStrideUse *&CondUse);
1668 ICmpInst *OptimizeMax(ICmpInst *Cond, IVStrideUse* &CondUse);
1896 bool LSRInstance::FindIVUserForCond(ICmpInst *Cond, IVStrideUse *&CondUse) { in FindIVUserForCond()
1897 for (IVStrideUse &U : IU) in FindIVUserForCond()
1957 ICmpInst *LSRInstance::OptimizeMax(ICmpInst *Cond, IVStrideUse* &CondUse) { in OptimizeMax()
2090 IVStrideUse *CondUse = nullptr; in OptimizeLoopTermCond()
2349 for (const IVStrideUse &U : IU) { in CollectInterestingTypesAndFactors()
2932 for (const IVStrideUse &U : IU) { in CollectFixupsAndInitialFormulae()
4784 for (const IVStrideUse &U : IU) { in LSRInstance()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1363 bool FindIVUserForCond(ICmpInst *Cond, IVStrideUse *&CondUse);
1364 ICmpInst *OptimizeMax(ICmpInst *Cond, IVStrideUse* &CondUse);
1581 bool LSRInstance::FindIVUserForCond(ICmpInst *Cond, IVStrideUse *&CondUse) { in FindIVUserForCond()
1643 ICmpInst *LSRInstance::OptimizeMax(ICmpInst *Cond, IVStrideUse* &CondUse) { in OptimizeMax()
1780 IVStrideUse *CondUse = 0; in OptimizeLoopTermCond()