Home | History | Annotate | Download | only in Utils

Lines Matching refs:NewVal

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