Home
last modified time | relevance | path

Searched refs:ToReg (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/CodeGen/
DMachineRegisterInfo.cpp106 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()
DTwoAddressInstructionPass.cpp706 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()
DMachineInstr.cpp1121 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/
DMachineRegisterInfo.h152 void replaceRegWith(unsigned FromReg, unsigned ToReg);
DMachineInstr.h420 void substituteRegister(unsigned FromReg, unsigned ToReg, unsigned SubIdx,