Lines Matching defs:User
21 /// IVUseShouldUsePostIncValue - We have discovered a "User" of an IV expression
29 static bool IVUseShouldUsePostIncValue(Instruction *User, Value *Operand,
32 if (L->contains(User)) return false;
40 if (DT->dominates(LatchBlock, User->getParent()))
47 PHINode *PN = dyn_cast<PHINode>(User);
80 const SCEV *TransformSubExpr(const SCEV *S, Instruction *User,
84 const SCEV *TransformImpl(const SCEV *S, Instruction *User,
92 TransformImpl(const SCEV *S, Instruction *User, Value *OperandValToReplace) {
96 const SCEV *N = TransformSubExpr(O, User, OperandValToReplace);
133 IVUseShouldUsePostIncValue(User, OperandValToReplace, L, &DT)) {
136 User, OperandValToReplace);
145 assert(S == TransformSubExpr(Result, User, OperandValToReplace) &&
167 User, OperandValToReplace);
172 assert(S == TransformSubExpr(Result, User, OperandValToReplace) &&
182 User, OperandValToReplace);
197 const SCEV *N = TransformSubExpr(O, User, OperandValToReplace);
216 const SCEV *LN = TransformSubExpr(LO, User, OperandValToReplace);
217 const SCEV *RN = TransformSubExpr(RO, User, OperandValToReplace);
229 TransformSubExpr(const SCEV *S, Instruction *User, Value *OperandValToReplace) {
238 Result = TransformImpl(S, User, OperandValToReplace);
247 Instruction *User,
253 return Transform.TransformSubExpr(S, User, OperandValToReplace);