Home | History | Annotate | Download | only in Utils

Lines Matching refs:NewVal

443     Value *NewVal = SSA.GetValueInMiddleOfBlock(ALoad->getParent());
444 replaceLoadWithValue(ALoad, NewVal);
447 if (NewVal == ALoad) NewVal = UndefValue::get(NewVal->getType());
448 ALoad->replaceAllUsesWith(NewVal);
449 ReplacedLoads[ALoad] = NewVal;
465 Value *NewVal = ReplacedLoads[User];
466 assert(NewVal && "not a replaced load?");
471 DenseMap<Value*, Value*>::iterator RLI = ReplacedLoads.find(NewVal);
473 NewVal = RLI->second;
474 RLI = ReplacedLoads.find(NewVal);
477 replaceLoadWithValue(cast<LoadInst>(User), NewVal);
478 User->replaceAllUsesWith(NewVal);