Home
last modified time | relevance | path

Searched refs:FromReg (Results 1 – 14 of 14) 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
91 LiveInterval *FromLI = &LIS.getInterval(FromReg); in replaceDominatedUses()
99 for (auto I = MRI.use_nodbg_begin(FromReg), E = MRI.use_nodbg_end(); in replaceDominatedUses()
141 MI.addRegisterKilled(FromReg, MBB.getParent() in replaceDominatedUses()
169 Register FromReg = MI.getOperand(2).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/lib/MC/
DMCRegisterInfo.cpp76 if (I == M+Size || I->FromReg != RegNum) in getDwarfRegNum()
90 if (I != M + Size && I->FromReg == RegNum) in getLLVMRegNum()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSplitKit.h434 SlotIndex buildCopy(unsigned FromReg, unsigned ToReg, LaneBitmask LaneMask,
438 SlotIndex buildSingleSubRegCopy(unsigned FromReg, unsigned ToReg,
DTwoAddressInstructionPass.cpp129 bool isRevCopyChain(unsigned FromReg, unsigned ToReg, int Maxlen);
364 bool TwoAddressInstructionPass::isRevCopyChain(unsigned FromReg, unsigned ToReg, in isRevCopyChain() argument
366 unsigned TmpReg = FromReg; in isRevCopyChain()
804 unsigned FromReg = 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()
DMachineRegisterInfo.cpp380 void MachineRegisterInfo::replaceRegWith(unsigned FromReg, unsigned ToReg) { in replaceRegWith() argument
381 assert(FromReg != ToReg && "Cannot replace a reg with itself"); in replaceRegWith()
386 for (reg_iterator I = reg_begin(FromReg), E = reg_end(); I != E; ) { in replaceRegWith()
DSplitKit.cpp512 SlotIndex SplitEditor::buildSingleSubRegCopy(unsigned FromReg, unsigned ToReg, in buildSingleSubRegCopy() argument
520 .addReg(FromReg, 0, SubIdx); in buildSingleSubRegCopy()
538 SlotIndex SplitEditor::buildCopy(unsigned FromReg, unsigned ToReg, in buildCopy() argument
542 if (LaneMask.all() || LaneMask == MRI.getMaxLaneMaskForVReg(FromReg)) { in buildCopy()
545 BuildMI(MBB, InsertBefore, DebugLoc(), Desc, ToReg).addReg(FromReg); in buildCopy()
560 const TargetRegisterClass *RC = MRI.getRegClass(FromReg); 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
1146 if (!MO.isReg() || MO.getReg() != FromReg) in substituteRegister()
1152 if (!MO.isReg() || MO.getReg() != FromReg) in substituteRegister()
DModuloSchedule.cpp334 static void replaceRegUsesAfterLoop(unsigned FromReg, unsigned ToReg, in replaceRegUsesAfterLoop() argument
338 for (MachineRegisterInfo::use_iterator I = MRI.use_begin(FromReg), in replaceRegUsesAfterLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCRegisterInfo.h135 unsigned FromReg; member
138 bool operator<(DwarfLLVMRegPair RHS) const { return FromReg < RHS.FromReg; }
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp42 void CombinerHelper::replaceRegWith(MachineRegisterInfo &MRI, Register FromReg, in replaceRegWith() argument
44 Observer.changingAllUsesOfReg(MRI, FromReg); in replaceRegWith()
46 if (MRI.constrainRegAttrs(ToReg, FromReg)) in replaceRegWith()
47 MRI.replaceRegWith(FromReg, ToReg); in replaceRegWith()
49 Builder.buildCopy(ToReg, FromReg); in replaceRegWith()
/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;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonConstPropagation.cpp1881 void replaceAllRegUsesWith(unsigned FromReg, unsigned ToReg);
3122 void HexagonConstEvaluator::replaceAllRegUsesWith(unsigned FromReg, in replaceAllRegUsesWith() argument
3124 assert(Register::isVirtualRegister(FromReg)); in replaceAllRegUsesWith()
3126 for (auto I = MRI->use_begin(FromReg), E = MRI->use_end(); I != E;) { 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,