Lines Matching refs:CondUse
1694 bool FindIVUserForCond(ICmpInst *Cond, IVStrideUse *&CondUse);
1695 ICmpInst *OptimizeMax(ICmpInst *Cond, IVStrideUse* &CondUse);
1927 bool LSRInstance::FindIVUserForCond(ICmpInst *Cond, IVStrideUse *&CondUse) { in FindIVUserForCond() argument
1933 CondUse = UI; in FindIVUserForCond()
1989 ICmpInst *LSRInstance::OptimizeMax(ICmpInst *Cond, IVStrideUse* &CondUse) { in OptimizeMax() argument
2089 CondUse->setUser(NewCond); in OptimizeMax()
2124 IVStrideUse *CondUse = nullptr; in OptimizeLoopTermCond() local
2126 if (!FindIVUserForCond(Cond, CondUse)) in OptimizeLoopTermCond()
2135 Cond = OptimizeMax(Cond, CondUse); in OptimizeLoopTermCond()
2149 if (&*UI != CondUse && in OptimizeLoopTermCond()
2153 const SCEV *A = IU.getStride(*CondUse, L); in OptimizeLoopTermCond()
2206 CondUse = &IU.AddUser(Cond, CondUse->getOperandValToReplace()); in OptimizeLoopTermCond()
2214 CondUse->transformToPostInc(L); in OptimizeLoopTermCond()