patches/llvm/src/lib/CodeGen/StackTransformMetadata.cpp
void StackTransformMetadata::dumpReg(unsigned Reg, const Value *IRVal) const {
  IRVal->printAsOperand(dbgs());
  if(TargetRegisterInfo::isPhysicalRegister(Reg))
    dbgs() << ": in register " << PrintReg(Reg, TRI);
  else {
    assert(VRM->hasPhys(Reg) && "Invalid virtual register");
    unsigned Phys = VRM->getPhys(Reg);
    dbgs() << ": in register " << PrintReg(Phys, TRI)
           << " (vreg " << TargetRegisterInfo::virtReg2Index(Reg) << ")";
  }
  dbgs() << "\n";
}
/// Print information about a virtual register and it's associated IR value
Print information about a virtual register and it's associated IR value
Print information about a virtual register and it ' s associated IR value
void StackTransformMetadata::dumpReg(unsigned Reg, const Value *IRVal) const {
  IRVal->printAsOperand(dbgs());
  if(TargetRegisterInfo::isPhysicalRegister(Reg))
    dbgs() << ": in register " << PrintReg(Reg, TRI);
  else {
    assert(VRM->hasPhys(Reg) && "Invalid virtual register");
    unsigned Phys = VRM->getPhys(Reg);
    dbgs() << ": in register " << PrintReg(Phys, TRI)
           << " (vreg " << TargetRegisterInfo::virtReg2Index(Reg) << ")";
  }
  dbgs() << "\n";
}
void StackTransformMetadata :: dumpReg ( unsigned Reg , const Value * IRVal ) const { IRVal -> printAsOperand ( dbgs ( ) ) ; if ( TargetRegisterInfo :: isPhysicalRegister ( Reg ) ) dbgs ( ) << " " << PrintReg ( Reg , TRI ) ; else { assert ( VRM -> hasPhys ( Reg ) && " " ) ; unsigned Phys = VRM -> getPhys ( Reg ) ; dbgs ( ) << " " << PrintReg ( Phys , TRI ) << " " << TargetRegisterInfo :: virtReg2Index ( Reg ) << " " ; } dbgs ( ) << " \n " ; }
Print information about a virtual register and it's associated IR value
Print information about a virtual register and it ' s associated IR value