Searched refs:FoldMI (Results 1 – 4 of 4) sorted by relevance
209 MachineInstr *FoldMI = TII.foldMemoryOperand(UseMI, Ops, DefMI); in foldAsLoad() local210 if (!FoldMI) in foldAsLoad()212 DEBUG(dbgs() << " folded: " << *FoldMI); in foldAsLoad()213 LIS.ReplaceMachineInstrInMaps(UseMI, FoldMI); in foldAsLoad()
1122 MachineInstr *FoldMI = in foldMemoryOperand() local1125 if (!FoldMI) in foldMemoryOperand()1141 MIBundleOperands(FoldMI).analyzePhysReg(Reg, &TRI); in foldMemoryOperand()1150 LIS.ReplaceMachineInstrInMaps(MI, FoldMI); in foldMemoryOperand()1157 if (&*MII != FoldMI) in foldMemoryOperand()1163 for (unsigned i = FoldMI->getNumOperands(); i; --i) { in foldMemoryOperand()1164 MachineOperand &MO = FoldMI->getOperand(i - 1); in foldMemoryOperand()1168 FoldMI->RemoveOperand(i - 1); in foldMemoryOperand()
1644 MachineInstr *FoldMI = TII->optimizeLoadInstr(MI, MRI, in runOnMachineFunction() local1647 if (FoldMI) { in runOnMachineFunction()1651 DEBUG(dbgs() << " With: " << *FoldMI); in runOnMachineFunction()1654 LocalMIs.insert(FoldMI); in runOnMachineFunction()
5251 MachineInstr *FoldMI = foldMemoryOperand(MI, SrcOperandId, DefMI); in optimizeLoadInstr() local5252 if (FoldMI) { in optimizeLoadInstr()5254 return FoldMI; in optimizeLoadInstr()