Searched refs:FromReg (Results 1 – 7 of 7) sorted by relevance
55 if (I == M+Size || I->FromReg != RegNum) in getDwarfRegNum()66 assert(I != M+Size && I->FromReg == RegNum && "Invalid RegNum"); in getLLVMRegNum()
146 unsigned FromReg; member149 bool operator<(DwarfLLVMRegPair RHS) const { return FromReg < RHS.FromReg; }
230 void MachineRegisterInfo::replaceRegWith(unsigned FromReg, unsigned ToReg) { in replaceRegWith() argument231 assert(FromReg != ToReg && "Cannot replace a reg with itself"); in replaceRegWith()234 for (reg_iterator I = reg_begin(FromReg), E = reg_end(); I != E; ) { in replaceRegWith()
689 unsigned FromReg = VirtRegPairs.back(); in scanUses() local691 bool isNew = DstRegMap.insert(std::make_pair(FromReg, ToReg)).second; in scanUses()693 assert(DstRegMap[FromReg] == ToReg &&"Can't map to two dst registers!"); in scanUses()694 ToReg = FromReg; in scanUses()
1199 void MachineInstr::substituteRegister(unsigned FromReg, in substituteRegister() argument1208 if (!MO.isReg() || MO.getReg() != FromReg) in substituteRegister()1215 if (!MO.isReg() || MO.getReg() != FromReg) in substituteRegister()
264 void replaceRegWith(unsigned FromReg, unsigned ToReg);
870 void substituteRegister(unsigned FromReg, unsigned ToReg, unsigned SubIdx,