Home
last modified time | relevance | path

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

/external/llvm/lib/MC/
DMCRegisterInfo.cpp67 if (I == M+Size || I->FromReg != RegNum) in getDwarfRegNum()
78 assert(I != M+Size && I->FromReg == RegNum && "Invalid RegNum"); in getLLVMRegNum()
/external/llvm/include/llvm/MC/
DMCRegisterInfo.h142 unsigned FromReg; member
145 bool operator<(DwarfLLVMRegPair RHS) const { return FromReg < RHS.FromReg; }
/external/llvm/lib/CodeGen/
DMachineRegisterInfo.cpp288 void MachineRegisterInfo::replaceRegWith(unsigned FromReg, unsigned ToReg) { in replaceRegWith() argument
289 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()
DTwoAddressInstructionPass.cpp693 unsigned FromReg = VirtRegPairs.back(); in scanUses() local
695 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()
DMachineInstr.cpp1199 void MachineInstr::substituteRegister(unsigned FromReg, in substituteRegister() argument
1208 if (!MO.isReg() || MO.getReg() != FromReg) in substituteRegister()
1215 if (!MO.isReg() || MO.getReg() != FromReg) in substituteRegister()
/external/llvm/include/llvm/CodeGen/
DMachineRegisterInfo.h275 void replaceRegWith(unsigned FromReg, unsigned ToReg);
DMachineInstr.h870 void substituteRegister(unsigned FromReg, unsigned ToReg, unsigned SubIdx,