Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DLiveRangeEdit.cpp209 MachineInstr *FoldMI = TII.foldMemoryOperand(UseMI, Ops, DefMI); in foldAsLoad() local
210 if (!FoldMI) in foldAsLoad()
212 DEBUG(dbgs() << " folded: " << *FoldMI); in foldAsLoad()
213 LIS.ReplaceMachineInstrInMaps(UseMI, FoldMI); in foldAsLoad()
DInlineSpiller.cpp1122 MachineInstr *FoldMI = in foldMemoryOperand() local
1125 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()
DPeepholeOptimizer.cpp1644 MachineInstr *FoldMI = TII->optimizeLoadInstr(MI, MRI, in runOnMachineFunction() local
1647 if (FoldMI) { in runOnMachineFunction()
1651 DEBUG(dbgs() << " With: " << *FoldMI); in runOnMachineFunction()
1654 LocalMIs.insert(FoldMI); in runOnMachineFunction()
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp5251 MachineInstr *FoldMI = foldMemoryOperand(MI, SrcOperandId, DefMI); in optimizeLoadInstr() local
5252 if (FoldMI) { in optimizeLoadInstr()
5254 return FoldMI; in optimizeLoadInstr()