Searched refs:FoldMI (Results 1 - 4 of 4) sorted by relevance

/external/llvm/lib/CodeGen/
H A DLiveRangeEdit.cpp206 MachineInstr *FoldMI = TII.foldMemoryOperand(UseMI, Ops, DefMI);
207 if (!FoldMI)
209 DEBUG(dbgs() << " folded: " << *FoldMI);
210 LIS.ReplaceMachineInstrInMaps(UseMI, FoldMI);
H A DPeepholeOptimizer.cpp555 MachineInstr *FoldMI = TII->optimizeLoadInstr(MI, MRI, local
557 if (FoldMI) {
558 // Update LocalMIs since we replaced MI with FoldMI and deleted DefMI.
560 DEBUG(dbgs() << " With: " << *FoldMI);
563 LocalMIs.insert(FoldMI);
568 // MI is replaced with FoldMI.
H A DInlineSpiller.cpp1052 MachineInstr *FoldMI = local
1055 if (!FoldMI)
1058 // Remove LIS for any dead defs in the original MI not in FoldMI.
1068 MIBundleOperands(FoldMI).analyzePhysReg(Reg, &TRI);
1075 // FoldMI does not define this physreg. Remove the LI segment.
1085 LIS.ReplaceMachineInstrInMaps(MI, FoldMI);
1091 for (unsigned i = FoldMI->getNumOperands(); i; --i) {
1092 MachineOperand &MO = FoldMI->getOperand(i - 1);
1096 FoldMI->RemoveOperand(i - 1);
1099 DEBUG(dbgs() << "\tfolded: " << LIS.getInstructionIndex(FoldMI) << '\
[all...]
/external/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp3657 MachineInstr *FoldMI = foldMemoryOperand(MI, Ops, DefMI); local
3658 if (FoldMI) {
3660 return FoldMI;

Completed in 283 milliseconds