Lines Matching defs:NewVal
233 Value *NewVal = GetValueAtEndOfBlock(UserBB);
234 DbgValue->replaceVariableLocationOp(I, NewVal);
242 Value *NewVal = GetValueAtEndOfBlock(UserBB);
243 DVR->replaceVariableLocationOp(I, NewVal);
484 Value *NewVal = SSA.GetValueInMiddleOfBlock(ALoad->getParent());
485 replaceLoadWithValue(ALoad, NewVal);
488 if (NewVal == ALoad) NewVal = PoisonValue::get(NewVal->getType());
489 ALoad->replaceAllUsesWith(NewVal);
490 ReplacedLoads[ALoad] = NewVal;
507 Value *NewVal = ReplacedLoads[User];
508 assert(NewVal && "not a replaced load?");
513 DenseMap<Value*, Value*>::iterator RLI = ReplacedLoads.find(NewVal);
515 NewVal = RLI->second;
516 RLI = ReplacedLoads.find(NewVal);
519 replaceLoadWithValue(cast<LoadInst>(User), NewVal);
520 User->replaceAllUsesWith(NewVal);