Searched refs:ClonedValue (Results 1 – 2 of 2) sorted by relevance
166 Value *ClonedValue = PN->getIncomingValue(0); in addPHINodes() local167 auto Mapped = VMap.find(ClonedValue); in addPHINodes()169 ClonedValue = Mapped->second; in addPHINodes()171 PN->addIncoming(ClonedValue, NonVersionedLoop->getExitingBlock()); in addPHINodes()
2333 Instruction *ClonedValue = Instr->clone(); in rematerializeLiveValues() local2334 ClonedValue->insertBefore(InsertBefore); in rematerializeLiveValues()2335 ClonedValue->setName(Instr->getName() + ".remat"); in rematerializeLiveValues()2341 ClonedValue->replaceUsesOfWith(LastValue, LastClonedValue); in rematerializeLiveValues()2343 for (auto OpValue : ClonedValue->operand_values()) { in rematerializeLiveValues()2360 ClonedValue->replaceUsesOfWith(RootOfChain, AlternateLiveBase); in rematerializeLiveValues()2363 LastClonedValue = ClonedValue; in rematerializeLiveValues()