HomeSort by relevance Sort by last modified time
    Searched refs:ToReg (Results 1 - 7 of 7) sorted by null

  /external/llvm/lib/MC/
MCRegisterInfo.cpp 69 return I->ToReg;
79 return I->ToReg;
  /external/llvm/lib/CodeGen/
MachineRegisterInfo.cpp 279 /// replaceRegWith - Replace all instances of FromReg with ToReg in the
282 /// If ToReg is a physical register we apply the sub register to obtain the
284 void MachineRegisterInfo::replaceRegWith(unsigned FromReg, unsigned ToReg) {
285 assert(FromReg != ToReg && "Cannot replace a reg with itself");
293 if (TargetRegisterInfo::isPhysicalRegister(ToReg)) {
294 O.substPhysReg(ToReg, *TRI);
296 O.setReg(ToReg);
TwoAddressInstructionPass.cpp 106 bool isRevCopyChain(unsigned FromReg, unsigned ToReg, int Maxlen);
331 /// Check if there is a reversed copy chain from FromReg to ToReg:
334 /// %ToReg = add %FromReg ...
335 /// %Tmp2 = copy %ToReg;
338 bool TwoAddressInstructionPass::isRevCopyChain(unsigned FromReg, unsigned ToReg,
348 if (TmpReg == ToReg)
764 unsigned ToReg = VirtRegPairs.back();
769 bool isNew = DstRegMap.insert(std::make_pair(FromReg, ToReg)).second;
771 assert(DstRegMap[FromReg] == ToReg &&"Can't map to two dst registers!");
772 ToReg = FromReg
    [all...]
MachineInstr.cpp     [all...]
  /external/llvm/include/llvm/MC/
MCRegisterInfo.h 143 unsigned ToReg;
  /external/llvm/include/llvm/CodeGen/
MachineInstr.h     [all...]
MachineRegisterInfo.h 527 /// replaceRegWith - Replace all instances of FromReg with ToReg in the
531 /// Note that it is usually necessary to first constrain ToReg's register
534 /// constrainRegClass(ToReg, getRegClass(FromReg))
539 /// Note that if ToReg is a physical register the function will replace and
540 /// apply sub registers to ToReg in order to obtain a final/proper physical
542 void replaceRegWith(unsigned FromReg, unsigned ToReg);
    [all...]

Completed in 288 milliseconds