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()
1121 MachineInstr *FoldMI = in foldMemoryOperand() local1124 if (!FoldMI) in foldMemoryOperand()1140 MIBundleOperands(FoldMI).analyzePhysReg(Reg, &TRI); in foldMemoryOperand()1149 LIS.ReplaceMachineInstrInMaps(MI, FoldMI); in foldMemoryOperand()1156 if (&*MII != FoldMI) in foldMemoryOperand()1162 for (unsigned i = FoldMI->getNumOperands(); i; --i) { in foldMemoryOperand()1163 MachineOperand &MO = FoldMI->getOperand(i - 1); in foldMemoryOperand()1167 FoldMI->RemoveOperand(i - 1); in foldMemoryOperand()
1164 MachineInstr *FoldMI = TII->optimizeLoadInstr(MI, MRI, in runOnMachineFunction() local1167 if (FoldMI) { in runOnMachineFunction()1171 DEBUG(dbgs() << " With: " << *FoldMI); in runOnMachineFunction()1174 LocalMIs.insert(FoldMI); in runOnMachineFunction()
4606 MachineInstr *FoldMI = foldMemoryOperand(MI, SrcOperandId, DefMI); in optimizeLoadInstr() local4607 if (FoldMI) { in optimizeLoadInstr()4609 return FoldMI; in optimizeLoadInstr()