/** * Changes the result register if this insn has a result. This is used * during renaming. * * @param reg new result register */ public void changeResultReg(int reg) { if (result != null) { result = result.withReg(reg); } }
/** * Changes the result register if this insn has a result. This is used * during renaming. * * @param reg new result register */ public void changeResultReg(int reg) { if (result != null) { result = result.withReg(reg); } }
/** * Changes the result register if this insn has a result. This is used * during renaming. * * @param reg new result register */ public void changeResultReg(int reg) { if (result != null) { result = result.withReg(reg); } }
/** * Changes the result register if this insn has a result. This is used * during renaming. * * @param reg new result register */ public void changeResultReg(int reg) { if (result != null) { result = result.withReg(reg); } }
/** * Changes the result register if this insn has a result. This is used * during renaming. * * @param reg new result register */ public void changeResultReg(int reg) { if (result != null) { result = result.withReg(reg); } }
/** * Changes the result register if this insn has a result. This is used * during renaming. * * @param reg new result register */ public void changeResultReg(int reg) { if (result != null) { result = result.withReg(reg); } }
/** * Changes the result register if this insn has a result. This is used * during renaming. * * @param reg new result register */ public void changeResultReg(int reg) { if (result != null) { result = result.withReg(reg); } }
/** * Returns an instance that is identical to this one, except that the * register number is offset by the given amount. * * @param delta the amount to offset the register number by * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec withOffset(int delta) { if (delta == 0) { return this; } return withReg(reg + delta); }
/** * Changes the result register if this insn has a result. This is used * during renaming. * * @param reg new result register */ public void changeResultReg(int reg) { if (result != null) { result = result.withReg(reg); } }
/** * Returns an instance that is identical to this one, except that the * register number is offset by the given amount. * * @param delta the amount to offset the register number by * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec withOffset(int delta) { if (delta == 0) { return this; } return withReg(reg + delta); }
/** * Returns an instance that is identical to this one, except that the * register number is offset by the given amount. * * @param delta the amount to offset the register number by * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec withOffset(int delta) { if (delta == 0) { return this; } return withReg(reg + delta); }
/** * Returns an instance that is identical to this one, except that the * register number is offset by the given amount. * * @param delta the amount to offset the register number by * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec withOffset(int delta) { if (delta == 0) { return this; } return withReg(reg + delta); }
/** * Returns an instance that is identical to this one, except that the * register number is offset by the given amount. * * @param delta the amount to offset the register number by * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec withOffset(int delta) { if (delta == 0) { return this; } return withReg(reg + delta); }
/** * Returns an instance that is identical to this one, except that the * register number is offset by the given amount. * * @param delta the amount to offset the register number by * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec withOffset(int delta) { if (delta == 0) { return this; } return withReg(reg + delta); }
/** * Returns an instance that is identical to this one, except that the * register number is offset by the given amount. * * @param delta the amount to offset the register number by * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec withOffset(int delta) { if (delta == 0) { return this; } return withReg(reg + delta); }
/** * Returns an instance that is identical to this one, except that the * register number is offset by the given amount. * * @param delta the amount to offset the register number by * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec withOffset(int delta) { if (delta == 0) { return this; } return withReg(reg + delta); }
private void expandRegister(int regIdx, RegisterSpec registerToExpand) { boolean replace = (compatRegs == null) ? true : !compatRegs.get(regIdx); RegisterSpec expandedReg; if (replace) { expandedReg = registerToExpand.withReg(base); if (!duplicateFirst) { base += expandedReg.getCategory(); } duplicateFirst = false; } else { expandedReg = registerToExpand; } result.set0(regIdx, expandedReg); }
private void expandRegister(int regIdx, RegisterSpec registerToExpand) { boolean replace = (compatRegs == null) ? true : !compatRegs.get(regIdx); RegisterSpec expandedReg; if (replace) { expandedReg = registerToExpand.withReg(base); if (!duplicateFirst) { base += expandedReg.getCategory(); } duplicateFirst = false; } else { expandedReg = registerToExpand; } result.set0(regIdx, expandedReg); }
private void expandRegister(int regIdx, RegisterSpec registerToExpand) { boolean replace = (compatRegs == null) ? true : !compatRegs.get(regIdx); RegisterSpec expandedReg; if (replace) { expandedReg = registerToExpand.withReg(base); if (!duplicateFirst) { base += expandedReg.getCategory(); } } else { expandedReg = registerToExpand; } // Reset duplicateFirst when the first register has been dealt with. duplicateFirst = false; result.set0(regIdx, expandedReg); }
private void expandRegister(int regIdx, RegisterSpec registerToExpand) { boolean replace = (compatRegs == null) ? true : !compatRegs.get(regIdx); RegisterSpec expandedReg; if (replace) { expandedReg = registerToExpand.withReg(base); if (!duplicateFirst) { base += expandedReg.getCategory(); } } else { expandedReg = registerToExpand; } // Reset duplicateFirst when the first register has been dealt with. duplicateFirst = false; result.set0(regIdx, expandedReg); }