Searched refs:ToReg (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/CodeGen/ |
D | MachineRegisterInfo.cpp | 106 void MachineRegisterInfo::replaceRegWith(unsigned FromReg, unsigned ToReg) { in replaceRegWith() argument 107 assert(FromReg != ToReg && "Cannot replace a reg with itself"); in replaceRegWith() 113 O.setReg(ToReg); in replaceRegWith()
|
D | TwoAddressInstructionPass.cpp | 706 unsigned ToReg = VirtRegPairs.back(); in ScanUses() local 711 bool isNew = DstRegMap.insert(std::make_pair(FromReg, ToReg)).second; in ScanUses() 713 assert(DstRegMap[FromReg] == ToReg &&"Can't map to two dst registers!"); in ScanUses() 714 ToReg = FromReg; in ScanUses() 716 bool isNew = DstRegMap.insert(std::make_pair(DstReg, ToReg)).second; in ScanUses() 718 assert(DstRegMap[DstReg] == ToReg && "Can't map to two dst registers!"); in ScanUses()
|
D | MachineInstr.cpp | 1121 unsigned ToReg, in substituteRegister() argument 1124 if (TargetRegisterInfo::isPhysicalRegister(ToReg)) { in substituteRegister() 1126 ToReg = RegInfo.getSubReg(ToReg, SubIdx); in substituteRegister() 1131 MO.substPhysReg(ToReg, RegInfo); in substituteRegister() 1138 MO.substVirtReg(ToReg, SubIdx, RegInfo); in substituteRegister()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineRegisterInfo.h | 152 void replaceRegWith(unsigned FromReg, unsigned ToReg);
|
D | MachineInstr.h | 420 void substituteRegister(unsigned FromReg, unsigned ToReg, unsigned SubIdx,
|