Lib/Target/instr/Instr.cpp
/**
 * Rename a destination register in an instruction
 *
 * @return true if anything replaced, false otherwise
 */
Rename a destination register in an instruction
@return true if anything replaced, false otherwise
Rename a destination register in an instruction @return true if anything replaced false otherwise
bool Instr::rename_dest(Reg const &current, Reg const &replace_with) {
  assert(current != replace_with);  
  if (!has_dest()) return false;
  if (dest() == current) {
    dest(replace_with);
    return true;
  }
  return false;
}
bool Instr :: rename_dest ( Reg const & current , Reg const & replace_with ) { assert ( current != replace_with ) ; if ( ! has_dest ( ) ) return false ; if ( dest ( ) == current ) { dest ( replace_with ) ; return true ; } return false ; }
Rename a destination register in an instruction
 @return true if anything replaced, false otherwise
Rename a destination register in an instruction @return true if anything replaced false otherwise
// Otherwise subst is senseless