Home
last modified time | relevance | path

Searched refs:ClonedValue (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopVersioning.cpp166 Value *ClonedValue = PN->getIncomingValue(0); in addPHINodes() local
167 auto Mapped = VMap.find(ClonedValue); in addPHINodes()
169 ClonedValue = Mapped->second; in addPHINodes()
171 PN->addIncoming(ClonedValue, NonVersionedLoop->getExitingBlock()); in addPHINodes()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp1382 Instruction *ClonedValue = Instr->clone(); in rematerializeChain() local
1383 ClonedValue->insertBefore(InsertBefore); in rematerializeChain()
1384 ClonedValue->setName(Instr->getName() + ".remat"); in rematerializeChain()
1390 ClonedValue->replaceUsesOfWith(LastValue, LastClonedValue); in rematerializeChain()
1392 for (auto *OpValue : ClonedValue->operand_values()) { in rematerializeChain()
1409 ClonedValue->replaceUsesOfWith(RootOfChain, AlternateLiveBase); in rematerializeChain()
1412 LastClonedValue = ClonedValue; in rematerializeChain()