Home
last modified time | relevance | path

Searched refs:ToReg (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyMemIntrinsicResults.cpp85 unsigned FromReg, unsigned ToReg, in replaceDominatedUses() argument
92 LiveInterval *ToLI = &LIS.getInterval(ToReg); in replaceDominatedUses()
122 O.setReg(ToReg); in replaceDominatedUses()
170 Register ToReg = MI.getOperand(0).getReg(); in optimizeCall() local
171 if (MRI.getRegClass(FromReg) != MRI.getRegClass(ToReg)) in optimizeCall()
174 return replaceDominatedUses(MBB, MI, FromReg, ToReg, MRI, MDT, LIS); in optimizeCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DCombinerHelper.h65 void replaceRegWith(MachineRegisterInfo &MRI, Register FromReg, Register ToReg) const;
70 Register ToReg) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCRegisterInfo.cpp78 return I->ToReg; in getDwarfRegNum()
91 return I->ToReg; in getLLVMRegNum()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineRegisterInfo.cpp380 void MachineRegisterInfo::replaceRegWith(unsigned FromReg, unsigned ToReg) { in replaceRegWith() argument
381 assert(FromReg != ToReg && "Cannot replace a reg with itself"); in replaceRegWith()
389 if (Register::isPhysicalRegister(ToReg)) { in replaceRegWith()
390 O.substPhysReg(ToReg, *TRI); in replaceRegWith()
392 O.setReg(ToReg); in replaceRegWith()
DTwoAddressInstructionPass.cpp129 bool isRevCopyChain(unsigned FromReg, unsigned ToReg, int Maxlen);
364 bool TwoAddressInstructionPass::isRevCopyChain(unsigned FromReg, unsigned ToReg, in isRevCopyChain() argument
374 if (TmpReg == ToReg) in isRevCopyChain()
801 unsigned ToReg = VirtRegPairs.back(); in scanUses() local
806 bool isNew = DstRegMap.insert(std::make_pair(FromReg, ToReg)).second; in scanUses()
808 assert(DstRegMap[FromReg] == ToReg &&"Can't map to two dst registers!"); in scanUses()
809 ToReg = FromReg; in scanUses()
811 bool isNew = DstRegMap.insert(std::make_pair(DstReg, ToReg)).second; in scanUses()
813 assert(DstRegMap[DstReg] == ToReg && "Can't map to two dst registers!"); in scanUses()
DSplitKit.h434 SlotIndex buildCopy(unsigned FromReg, unsigned ToReg, LaneBitmask LaneMask,
438 SlotIndex buildSingleSubRegCopy(unsigned FromReg, unsigned ToReg,
DSplitKit.cpp512 SlotIndex SplitEditor::buildSingleSubRegCopy(unsigned FromReg, unsigned ToReg, in buildSingleSubRegCopy() argument
518 .addReg(ToReg, RegState::Define | getUndefRegState(FirstCopy) in buildSingleSubRegCopy()
538 SlotIndex SplitEditor::buildCopy(unsigned FromReg, unsigned ToReg, in buildCopy() argument
545 BuildMI(MBB, InsertBefore, DebugLoc(), Desc, ToReg).addReg(FromReg); in buildCopy()
561 assert(RC == MRI.getRegClass(ToReg) && "Should have same reg class"); in buildCopy()
589 SlotIndex Def = buildSingleSubRegCopy(FromReg, ToReg, MBB, InsertBefore, in buildCopy()
619 buildSingleSubRegCopy(FromReg, ToReg, MBB, InsertBefore, BestIdx, in buildCopy()
DMachineInstr.cpp1139 void MachineInstr::substituteRegister(Register FromReg, Register ToReg, in substituteRegister() argument
1142 if (Register::isPhysicalRegister(ToReg)) { in substituteRegister()
1144 ToReg = RegInfo.getSubReg(ToReg, SubIdx); in substituteRegister()
1148 MO.substPhysReg(ToReg, RegInfo); in substituteRegister()
1154 MO.substVirtReg(ToReg, SubIdx, RegInfo); in substituteRegister()
DModuloSchedule.cpp334 static void replaceRegUsesAfterLoop(unsigned FromReg, unsigned ToReg, in replaceRegUsesAfterLoop() argument
344 O.setReg(ToReg); in replaceRegUsesAfterLoop()
346 if (!LIS.hasInterval(ToReg)) in replaceRegUsesAfterLoop()
347 LIS.createEmptyInterval(ToReg); in replaceRegUsesAfterLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp43 Register ToReg) const { in replaceRegWith()
46 if (MRI.constrainRegAttrs(ToReg, FromReg)) in replaceRegWith()
47 MRI.replaceRegWith(FromReg, ToReg); in replaceRegWith()
49 Builder.buildCopy(ToReg, FromReg); in replaceRegWith()
56 Register ToReg) const { in replaceRegOpWith()
60 FromRegOp.setReg(ToReg); in replaceRegOpWith()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCRegisterInfo.h136 unsigned ToReg; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonConstPropagation.cpp1881 void replaceAllRegUsesWith(unsigned FromReg, unsigned ToReg);
3123 unsigned ToReg) { in replaceAllRegUsesWith() argument
3125 assert(Register::isVirtualRegister(ToReg)); in replaceAllRegUsesWith()
3129 O.setReg(ToReg); in replaceAllRegUsesWith()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineRegisterInfo.h591 void replaceRegWith(unsigned FromReg, unsigned ToReg);
DMachineInstr.h1394 void substituteRegister(Register FromReg, Register ToReg, unsigned SubIdx,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp4639 SDValue ToReg = DAG.getCopyToReg(Chain, SL, SGPR01, in lowerTRAP() local
4642 ToReg, in lowerTRAP()
4645 ToReg.getValue(1) in lowerTRAP()