Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRangeEdit.cpp247 MachineInstr *FoldMI = TII.foldMemoryOperand(*UseMI, Ops, *DefMI, &LIS); in foldAsLoad() local
248 if (!FoldMI) in foldAsLoad()
250 LLVM_DEBUG(dbgs() << " folded: " << *FoldMI); in foldAsLoad()
251 LIS.ReplaceMachineInstrInMaps(*UseMI, *FoldMI); in foldAsLoad()
254 UseMI->getMF()->moveAdditionalCallInfo(UseMI, FoldMI); in foldAsLoad()
H A DInlineSpiller.cpp987 MachineInstr *FoldMI = in foldMemoryOperand() local
990 if (!FoldMI) { in foldMemoryOperand()
1008 PhysRegInfo RI = AnalyzePhysRegInBundle(*FoldMI, Reg, &TRI); in foldMemoryOperand()
1021 LIS.ReplaceMachineInstrInMaps(*MI, *FoldMI); in foldMemoryOperand()
1024 MI->getMF()->moveAdditionalCallInfo(MI, FoldMI); in foldMemoryOperand()
1033 auto MakeSubstitution = [this,FoldMI,MI,&Ops]() { in foldMemoryOperand()
1036 unsigned NewNum = FoldMI->getDebugInstrNum(); in foldMemoryOperand()
1055 MF.substituteDebugValuesForInst(*MI, *FoldMI, Ops[0].second); in foldMemoryOperand()
1063 if (&MI != FoldMI) in foldMemoryOperand()
1069 for (unsigned i = FoldMI->getNumOperands(); i; --i) { in foldMemoryOperand()
[all …]
H A DPeepholeOptimizer.cpp1854 if (MachineInstr *FoldMI = in run() local
1859 LLVM_DEBUG(dbgs() << " With: " << *FoldMI); in run()
1862 LocalMIs.insert(FoldMI); in run()
1865 MI->getMF()->moveAdditionalCallInfo(MI, FoldMI); in run()
1874 MI = FoldMI; in run()
H A DTargetInstrInfo.cpp552 if (MachineInstr *FoldMI = foldMemoryOperand(MI, SrcOperandIds, *DefMI)) { in optimizeLoadInstr() local
554 return FoldMI; in optimizeLoadInstr()