Searched refs:CurrentMaterialization (Results 1 – 1 of 1) sorted by relevance
765 Instruction *CurrentMaterialization = nullptr; in rewriteMaterializableInstructions() local773 CurrentMaterialization = nullptr; in rewriteMaterializableInstructions()779 CurrentMaterialization = cast<Instruction>(CurrentDef)->clone(); in rewriteMaterializableInstructions()780 CurrentMaterialization->setName(CurrentDef->getName()); in rewriteMaterializableInstructions()781 CurrentMaterialization->insertBefore( in rewriteMaterializableInstructions()788 PN->replaceAllUsesWith(CurrentMaterialization); in rewriteMaterializableInstructions()795 E.user()->replaceUsesOfWith(CurrentDef, CurrentMaterialization); in rewriteMaterializableInstructions()