Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRangeEdit.cpp251 MachineInstr *FoldMI = TII.foldMemoryOperand(*UseMI, Ops, *DefMI, &LIS); in foldAsLoad() local
252 if (!FoldMI) in foldAsLoad()
254 LLVM_DEBUG(dbgs() << " folded: " << *FoldMI); in foldAsLoad()
255 LIS.ReplaceMachineInstrInMaps(*UseMI, *FoldMI); in foldAsLoad()
258 UseMI->getMF()->moveCallSiteInfo(UseMI, FoldMI); in foldAsLoad()
H A DInlineSpiller.cpp968 MachineInstr *FoldMI = in foldMemoryOperand() local
971 if (!FoldMI) { in foldMemoryOperand()
989 PhysRegInfo RI = AnalyzePhysRegInBundle(*FoldMI, Reg, &TRI); in foldMemoryOperand()
1002 LIS.ReplaceMachineInstrInMaps(*MI, *FoldMI); in foldMemoryOperand()
1005 MI->getMF()->moveCallSiteInfo(MI, FoldMI); in foldMemoryOperand()
1014 auto MakeSubstitution = [this,FoldMI,MI,&Ops]() { in foldMemoryOperand()
1017 unsigned NewNum = FoldMI->getDebugInstrNum(); in foldMemoryOperand()
1036 MF.substituteDebugValuesForInst(*MI, *FoldMI, Ops[0].second); in foldMemoryOperand()
1044 if (&MI != FoldMI) in foldMemoryOperand()
1050 for (unsigned i = FoldMI->getNumOperands(); i; --i) { in foldMemoryOperand()
[all …]
H A DPeepholeOptimizer.cpp1842 if (MachineInstr *FoldMI = in runOnMachineFunction() local
1847 LLVM_DEBUG(dbgs() << " With: " << *FoldMI); in runOnMachineFunction()
1850 LocalMIs.insert(FoldMI); in runOnMachineFunction()
1853 MI->getMF()->moveCallSiteInfo(MI, FoldMI); in runOnMachineFunction()
1862 MI = FoldMI; in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.cpp643 if (MachineInstr *FoldMI = in optimizeLoadInstr() local
646 return FoldMI; in optimizeLoadInstr()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp5612 if (MachineInstr *FoldMI = foldMemoryOperand(MI, SrcOperandIds, *DefMI)) { in optimizeLoadInstr() local
5614 return FoldMI; in optimizeLoadInstr()