Home
last modified time | relevance | path

Searched refs:OldReg (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyExplicitLocals.cpp242 Register OldReg = MI.getOperand(2).getReg(); in runOnMachineFunction() local
243 const TargetRegisterClass *RC = MRI.getRegClass(OldReg); in runOnMachineFunction()
246 if (!MFI.isVRegStackified(OldReg)) { in runOnMachineFunction()
247 unsigned LocalId = getLocalId(Reg2Local, CurLocal, OldReg); in runOnMachineFunction()
276 Register OldReg = MI.getOperand(0).getReg(); in runOnMachineFunction() local
277 if (!MFI.isVRegStackified(OldReg)) { in runOnMachineFunction()
278 const TargetRegisterClass *RC = MRI.getRegClass(OldReg); in runOnMachineFunction()
286 if (UseEmpty[Register::virtReg2Index(OldReg)]) { in runOnMachineFunction()
294 unsigned LocalId = getLocalId(Reg2Local, CurLocal, OldReg); in runOnMachineFunction()
319 Register OldReg = MO.getReg(); in runOnMachineFunction() local
[all …]
DWebAssemblyPeephole.cpp60 static bool maybeRewriteToDrop(unsigned OldReg, unsigned NewReg, in maybeRewriteToDrop() argument
64 if (OldReg == NewReg) { in maybeRewriteToDrop()
66 Register NewReg = MRI.createVirtualRegister(MRI.getRegClass(OldReg)); in maybeRewriteToDrop()
167 Register OldReg = MO.getReg(); in runOnMachineFunction() local
170 if (MRI.getRegClass(NewReg) != MRI.getRegClass(OldReg)) in runOnMachineFunction()
173 Changed |= maybeRewriteToDrop(OldReg, NewReg, MO, MFI, MRI); in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAntiDepBreaker.h59 void UpdateDbgValue(MachineInstr &MI, unsigned OldReg, unsigned NewReg) { in UpdateDbgValue() argument
61 if (MI.getOperand(0).isReg() && MI.getOperand(0).getReg() == OldReg) in UpdateDbgValue()
68 unsigned OldReg, unsigned NewReg) { in UpdateDbgValues() argument
76 UpdateDbgValue(*DbgMI, OldReg, NewReg); in UpdateDbgValues()
DLiveRangeEdit.cpp33 LiveInterval &LiveRangeEdit::createEmptyIntervalFrom(unsigned OldReg, in createEmptyIntervalFrom() argument
35 Register VReg = MRI.createVirtualRegister(MRI.getRegClass(OldReg)); in createEmptyIntervalFrom()
37 VRM->setIsSplitFromReg(VReg, VRM->getOriginal(OldReg)); in createEmptyIntervalFrom()
46 LiveInterval &OldLI = LIS.getInterval(OldReg); in createEmptyIntervalFrom()
54 unsigned LiveRangeEdit::createFrom(unsigned OldReg) { in createFrom() argument
55 Register VReg = MRI.createVirtualRegister(MRI.getRegClass(OldReg)); in createFrom()
57 VRM->setIsSplitFromReg(VReg, VRM->getOriginal(OldReg)); in createFrom()
DMachineCSE.cpp599 Register OldReg = MO.getReg(); in ProcessBlockCSE() local
609 if (MO.isImplicit() && !MO.isDead() && OldReg == NewReg) in ProcessBlockCSE()
610 ImplicitDefs.push_back(OldReg); in ProcessBlockCSE()
612 if (OldReg == NewReg) { in ProcessBlockCSE()
617 assert(Register::isVirtualRegister(OldReg) && in ProcessBlockCSE()
621 if (!isProfitableToCSE(NewReg, OldReg, CSMI->getParent(), MI)) { in ProcessBlockCSE()
630 if (!MRI->constrainRegAttrs(NewReg, OldReg)) { in ProcessBlockCSE()
637 CSEPairs.push_back(std::make_pair(OldReg, NewReg)); in ProcessBlockCSE()
644 unsigned OldReg = CSEPair.first; in ProcessBlockCSE() local
651 MRI->replaceRegWith(OldReg, NewReg); in ProcessBlockCSE()
DOptimizePHIs.cpp180 Register OldReg = MI->getOperand(0).getReg(); in OptimizeBB() local
181 if (!MRI->constrainRegClass(SingleValReg, MRI->getRegClass(OldReg))) in OptimizeBB()
184 MRI->replaceRegWith(OldReg, SingleValReg); in OptimizeBB()
DLiveDebugVariables.cpp340 bool splitRegister(unsigned OldReg, ArrayRef<unsigned> NewRegs,
480 void splitRegister(unsigned OldReg, ArrayRef<unsigned> NewRegs);
1137 UserValue::splitRegister(unsigned OldReg, ArrayRef<unsigned> NewRegs, in splitRegister() argument
1145 if (!Loc->isReg() || Loc->getReg() != OldReg) in splitRegister()
1152 void LDVImpl::splitRegister(unsigned OldReg, ArrayRef<unsigned> NewRegs) { in splitRegister() argument
1154 for (UserValue *UV = lookupVirtReg(OldReg); UV; UV = UV->getNext()) in splitRegister()
1155 DidChange |= UV->splitRegister(OldReg, NewRegs, *LIS); in splitRegister()
1161 UserValue *UV = lookupVirtReg(OldReg); in splitRegister()
1167 splitRegister(unsigned OldReg, ArrayRef<unsigned> NewRegs, LiveIntervals &LIS) { in splitRegister() argument
1169 static_cast<LDVImpl*>(pImpl)->splitRegister(OldReg, NewRegs); in splitRegister()
DLiveDebugVariables.h44 void splitRegister(unsigned OldReg, ArrayRef<unsigned> NewRegs,
DModuloSchedule.cpp1138 unsigned PhiNum, MachineInstr *Phi, unsigned OldReg, unsigned NewReg, in rewriteScheduledInstr() argument
1144 for (MachineRegisterInfo::use_iterator UI = MRI.use_begin(OldReg), in rewriteScheduledInstr()
1155 if (getLoopPhiReg(*UseMI, BB) != OldReg) in rewriteScheduledInstr()
1184 MRI.constrainRegClass(ReplaceReg, MRI.getRegClass(OldReg)); in rewriteScheduledInstr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DLiveRangeEdit.h124 LiveInterval &createEmptyIntervalFrom(unsigned OldReg, bool createSubRanges);
180 unsigned createFrom(unsigned OldReg);
DModuloSchedule.h222 MachineInstr *Phi, unsigned OldReg,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FloatingPoint.cpp960 unsigned OldReg = getStackEntry(FixCount); in shuffleStackTop() local
963 if (Reg == OldReg) in shuffleStackTop()
968 moveToTop(OldReg, I); in shuffleStackTop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUMachineCFGStructurizer.cpp398 void replaceLiveOut(unsigned OldReg, unsigned NewReg);
903 void LinearizedRegion::replaceLiveOut(unsigned OldReg, unsigned NewReg) { in replaceLiveOut() argument
904 if (isLiveOut(OldReg)) { in replaceLiveOut()
905 removeLiveOut(OldReg); in replaceLiveOut()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp4363 int OldReg = Reg; in parseRegisterList() local
4401 MRI->getEncodingValue(Reg) < MRI->getEncodingValue(OldReg)) { in parseRegisterList()
4410 Reg != OldReg + 1) in parseRegisterList()
4644 int OldReg = Reg; in parseVectorList() local
4673 if (Reg != OldReg + 1) { in parseVectorList()
4696 Spacing = 1 + (Reg == OldReg + 2); in parseVectorList()
4699 if (Reg != OldReg + Spacing) { in parseVectorList()