Searched refs:NewDefTarget (Results 1 – 2 of 2) sorted by relevance
534 MemoryAccess *NewDefTarget = nullptr; in removeMemoryAccess() local541 NewDefTarget = onlySingleValue(MP); in removeMemoryAccess()542 assert((NewDefTarget || MP->use_empty()) && in removeMemoryAccess()545 NewDefTarget = cast<MemoryUseOrDef>(MA)->getDefiningAccess(); in removeMemoryAccess()559 ValueHandleBase::ValueIsRAUWd(MA, NewDefTarget); in removeMemoryAccess()567 U.set(NewDefTarget); in removeMemoryAccess()
640 MemoryAccess *NewDefTarget = nullptr; in removeMemoryAccess() local647 NewDefTarget = onlySingleValue(MP); in removeMemoryAccess()648 assert((NewDefTarget || MP->use_empty()) && in removeMemoryAccess()651 NewDefTarget = cast<MemoryUseOrDef>(MA)->getDefiningAccess(); in removeMemoryAccess()656 MA->replaceAllUsesWith(NewDefTarget); in removeMemoryAccess()