Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Analysis/
DIVUsers.h36 class IVStrideUse : public CallbackVH, public ilist_node<IVStrideUse> {
39 IVStrideUse(IVUsers *P, Instruction* U, Value *O) in IVStrideUse() function
92 template<> struct ilist_traits<IVStrideUse>
93 : public ilist_default_traits<IVStrideUse> {
98 IVStrideUse *createSentinel() const {
107 return static_cast<IVStrideUse*>(&Sentinel);
109 static void destroySentinel(IVStrideUse*) {}
111 IVStrideUse *provideInitialHead() const { return createSentinel(); }
112 IVStrideUse *ensureHead(IVStrideUse*) const { return createSentinel(); }
113 static void noteHead(IVStrideUse*, IVStrideUse*) {}
[all …]
/external/llvm/lib/Analysis/
DIVUsers.cpp192 IVStrideUse &NewUse = AddUser(User, I); in AddUsersImpl()
236 IVStrideUse &IVUsers::AddUser(Instruction *User, Value *Operand) { in AddUser()
237 IVUses.push_back(new IVStrideUse(this, User, Operand)); in AddUser()
278 for (ilist<IVStrideUse>::const_iterator UI = IVUses.begin(), in print()
312 const SCEV *IVUsers::getReplacementExpr(const IVStrideUse &IU) const { in getReplacementExpr()
317 const SCEV *IVUsers::getExpr(const IVStrideUse &IU) const { in getExpr()
343 const SCEV *IVUsers::getStride(const IVStrideUse &IU, const Loop *L) const { in getStride()
349 void IVStrideUse::transformToPostInc(const Loop *L) { in transformToPostInc()
353 void IVStrideUse::deleted() { in deleted()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1694 bool FindIVUserForCond(ICmpInst *Cond, IVStrideUse *&CondUse);
1695 ICmpInst *OptimizeMax(ICmpInst *Cond, IVStrideUse* &CondUse);
1927 bool LSRInstance::FindIVUserForCond(ICmpInst *Cond, IVStrideUse *&CondUse) { in FindIVUserForCond()
1989 ICmpInst *LSRInstance::OptimizeMax(ICmpInst *Cond, IVStrideUse* &CondUse) { in OptimizeMax()
2124 IVStrideUse *CondUse = nullptr; in OptimizeLoopTermCond()