Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLiveRangeEdit.cpp229 MachineInstr *FoldMI = TII.foldMemoryOperand(*UseMI, Ops, *DefMI, &LIS); in foldAsLoad() local
230 if (!FoldMI) in foldAsLoad()
232 LLVM_DEBUG(dbgs() << " folded: " << *FoldMI); in foldAsLoad()
233 LIS.ReplaceMachineInstrInMaps(*UseMI, *FoldMI); in foldAsLoad()
235 UseMI->getMF()->moveCallSiteInfo(UseMI, FoldMI); in foldAsLoad()
DInlineSpiller.cpp836 MachineInstr *FoldMI = in foldMemoryOperand() local
839 if (!FoldMI) in foldMemoryOperand()
853 PhysRegInfo RI = AnalyzePhysRegInBundle(*FoldMI, Reg, &TRI); in foldMemoryOperand()
866 LIS.ReplaceMachineInstrInMaps(*MI, *FoldMI); in foldMemoryOperand()
868 MI->getMF()->moveCallSiteInfo(MI, FoldMI); in foldMemoryOperand()
874 if (&MI != FoldMI) in foldMemoryOperand()
880 for (unsigned i = FoldMI->getNumOperands(); i; --i) { in foldMemoryOperand()
881 MachineOperand &MO = FoldMI->getOperand(i - 1); in foldMemoryOperand()
885 FoldMI->RemoveOperand(i - 1); in foldMemoryOperand()
895 HSpiller.addToMergeableSpills(*FoldMI, StackSlot, Original); in foldMemoryOperand()
DPeepholeOptimizer.cpp1770 if (MachineInstr *FoldMI = in runOnMachineFunction() local
1775 LLVM_DEBUG(dbgs() << " With: " << *FoldMI); in runOnMachineFunction()
1778 LocalMIs.insert(FoldMI); in runOnMachineFunction()
1780 MI->getMF()->moveCallSiteInfo(MI, FoldMI); in runOnMachineFunction()
1789 MI = FoldMI; in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrInfo.cpp3860 if (MachineInstr *FoldMI = foldMemoryOperand(MI, SrcOperandIds, *DefMI)) { in optimizeLoadInstr() local
3862 return FoldMI; in optimizeLoadInstr()