Searched refs:FromReg (Results 1 - 7 of 7) sorted by relevance

/external/llvm/lib/MC/
H A DMCRegisterInfo.cpp67 if (I == M+Size || I->FromReg != RegNum)
78 assert(I != M+Size && I->FromReg == RegNum && "Invalid RegNum");
/external/llvm/include/llvm/MC/
H A DMCRegisterInfo.h142 unsigned FromReg; member in struct:llvm::MCRegisterInfo::DwarfLLVMRegPair
145 bool operator<(DwarfLLVMRegPair RHS) const { return FromReg < RHS.FromReg; }
/external/llvm/lib/CodeGen/
H A DMachineRegisterInfo.cpp283 /// replaceRegWith - Replace all instances of FromReg with ToReg in the
286 void MachineRegisterInfo::replaceRegWith(unsigned FromReg, unsigned ToReg) { argument
287 assert(FromReg != ToReg && "Cannot replace a reg with itself");
290 for (reg_iterator I = reg_begin(FromReg), E = reg_end(); I != E; ) {
H A DTwoAddressInstructionPass.cpp692 unsigned FromReg = VirtRegPairs.back(); local
694 bool isNew = DstRegMap.insert(std::make_pair(FromReg, ToReg)).second;
696 assert(DstRegMap[FromReg] == ToReg &&"Can't map to two dst registers!");
697 ToReg = FromReg;
H A DMachineInstr.cpp1267 void MachineInstr::substituteRegister(unsigned FromReg, argument
1276 if (!MO.isReg() || MO.getReg() != FromReg)
1283 if (!MO.isReg() || MO.getReg() != FromReg)
/external/llvm/include/llvm/CodeGen/
H A DMachineInstr.h968 /// substituteRegister - Replace all occurrences of FromReg with ToReg:SubIdx,
970 void substituteRegister(unsigned FromReg, unsigned ToReg, unsigned SubIdx,
H A DMachineRegisterInfo.h507 /// replaceRegWith - Replace all instances of FromReg with ToReg in the
512 /// class to match the FromReg constraints using:
514 /// constrainRegClass(ToReg, getRegClass(FromReg))
518 void replaceRegWith(unsigned FromReg, unsigned ToReg);

Completed in 601 milliseconds