Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DLiveRangeEdit.cpp230 MachineInstr *FoldMI = TII.foldMemoryOperand(*UseMI, Ops, *DefMI, &LIS); in foldAsLoad() local
231 if (!FoldMI) in foldAsLoad()
233 LLVM_DEBUG(dbgs() << " folded: " << *FoldMI); in foldAsLoad()
234 LIS.ReplaceMachineInstrInMaps(*UseMI, *FoldMI); in foldAsLoad()
237 UseMI->getMF()->moveCallSiteInfo(UseMI, FoldMI); in foldAsLoad()
DInlineSpiller.cpp893 MachineInstr *FoldMI = in foldMemoryOperand() local
896 if (!FoldMI) { in foldMemoryOperand()
914 PhysRegInfo RI = AnalyzePhysRegInBundle(*FoldMI, Reg, &TRI); in foldMemoryOperand()
927 LIS.ReplaceMachineInstrInMaps(*MI, *FoldMI); in foldMemoryOperand()
930 MI->getMF()->moveCallSiteInfo(MI, FoldMI); in foldMemoryOperand()
936 if (&MI != FoldMI) in foldMemoryOperand()
942 for (unsigned i = FoldMI->getNumOperands(); i; --i) { in foldMemoryOperand()
943 MachineOperand &MO = FoldMI->getOperand(i - 1); in foldMemoryOperand()
947 FoldMI->RemoveOperand(i - 1); in foldMemoryOperand()
961 HSpiller.addToMergeableSpills(*FoldMI, StackSlot, Original); in foldMemoryOperand()
DPeepholeOptimizer.cpp1784 if (MachineInstr *FoldMI = in runOnMachineFunction() local
1789 LLVM_DEBUG(dbgs() << " With: " << *FoldMI); in runOnMachineFunction()
1792 LocalMIs.insert(FoldMI); in runOnMachineFunction()
1795 MI->getMF()->moveCallSiteInfo(MI, FoldMI); in runOnMachineFunction()
1804 MI = FoldMI; in runOnMachineFunction()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
DX86InstrInfo.cpp4508 if (MachineInstr *FoldMI = foldMemoryOperand(MI, SrcOperandIds, *DefMI)) { in optimizeLoadInstr() local
4510 return FoldMI; in optimizeLoadInstr()