Lines Matching defs:NewVal
232 Value *NewVal = GetValueAtEndOfBlock(UserBB);
233 DbgValue->replaceVariableLocationOp(I, NewVal);
241 Value *NewVal = GetValueAtEndOfBlock(UserBB);
242 DVR->replaceVariableLocationOp(I, NewVal);
490 Value *NewVal = SSA.GetValueInMiddleOfBlock(ALoad->getParent());
491 replaceLoadWithValue(ALoad, NewVal);
494 if (NewVal == ALoad) NewVal = PoisonValue::get(NewVal->getType());
495 ALoad->replaceAllUsesWith(NewVal);
496 ReplacedLoads[ALoad] = NewVal;
513 Value *NewVal = ReplacedLoads[User];
514 assert(NewVal && "not a replaced load?");
519 DenseMap<Value*, Value*>::iterator RLI = ReplacedLoads.find(NewVal);
521 NewVal = RLI->second;
522 RLI = ReplacedLoads.find(NewVal);
525 replaceLoadWithValue(cast<LoadInst>(User), NewVal);
526 User->replaceAllUsesWith(NewVal);