Searched refs:FromReg (Results 1 – 7 of 7) sorted by relevance
67 if (I == M+Size || I->FromReg != RegNum) in getDwarfRegNum()78 assert(I != M+Size && I->FromReg == RegNum && "Invalid RegNum"); in getLLVMRegNum()
142 unsigned FromReg; member145 bool operator<(DwarfLLVMRegPair RHS) const { return FromReg < RHS.FromReg; }
288 void MachineRegisterInfo::replaceRegWith(unsigned FromReg, unsigned ToReg) { in replaceRegWith() argument289 assert(FromReg != ToReg && "Cannot replace a reg with itself"); in replaceRegWith()292 for (reg_iterator I = reg_begin(FromReg), E = reg_end(); I != E; ) { in replaceRegWith()
693 unsigned FromReg = VirtRegPairs.back(); in scanUses() local695 bool isNew = DstRegMap.insert(std::make_pair(FromReg, ToReg)).second; in scanUses()697 assert(DstRegMap[FromReg] == ToReg &&"Can't map to two dst registers!"); in scanUses()698 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()
275 void replaceRegWith(unsigned FromReg, unsigned ToReg);
870 void substituteRegister(unsigned FromReg, unsigned ToReg, unsigned SubIdx,