Lines Matching refs:FoldMI
882 MachineInstr *FoldMI = in foldMemoryOperand() local
885 if (!FoldMI) { in foldMemoryOperand()
903 PhysRegInfo RI = AnalyzePhysRegInBundle(*FoldMI, Reg, &TRI); in foldMemoryOperand()
916 LIS.ReplaceMachineInstrInMaps(*MI, *FoldMI); in foldMemoryOperand()
919 MI->getMF()->moveCallSiteInfo(MI, FoldMI); in foldMemoryOperand()
928 auto MakeSubstitution = [this,FoldMI,MI,&Ops]() { in foldMemoryOperand()
931 unsigned NewNum = FoldMI->getDebugInstrNum(); in foldMemoryOperand()
950 MF.substituteDebugValuesForInst(*MI, *FoldMI, Ops[0].second); in foldMemoryOperand()
958 if (&MI != FoldMI) in foldMemoryOperand()
964 for (unsigned i = FoldMI->getNumOperands(); i; --i) { in foldMemoryOperand()
965 MachineOperand &MO = FoldMI->getOperand(i - 1); in foldMemoryOperand()
969 FoldMI->removeOperand(i - 1); in foldMemoryOperand()
983 HSpiller.addToMergeableSpills(*FoldMI, StackSlot, Original); in foldMemoryOperand()