Lines Matching refs:reg

44     private final int reg;
58 * @param reg {@code >= 0;} the register number
64 private static RegisterSpec intern(int reg, TypeBearer type,
67 theInterningItem.set(reg, type, local);
85 * @param reg {@code >= 0;} the register number
90 public static RegisterSpec make(int reg, TypeBearer type) {
91 return intern(reg, type, null);
99 * @param reg {@code >= 0;} the register number
105 public static RegisterSpec make(int reg, TypeBearer type,
111 return intern(reg, type, local);
119 * @param reg {@code >= 0;} the register number
127 int reg, TypeBearer type, LocalItem local) {
129 return intern(reg, type, local);
135 * @param reg {@code >= 0;} the register number
138 public static String regString(int reg) {
139 return PREFIX + reg;
146 * @param reg {@code >= 0;} the register number
151 private RegisterSpec(int reg, TypeBearer type, LocalItem local) {
152 if (reg < 0) {
153 throw new IllegalArgumentException("reg < 0");
160 this.reg = reg;
171 return equals(fc.reg, fc.type, fc.local);
177 return equals(spec.reg, spec.type, spec.local);
195 return (reg == other.reg);
221 * @param reg value of the instance variable, for another instance
227 private boolean equals(int reg, TypeBearer type, LocalItem local) {
228 return (this.reg == reg)
242 if (this.reg < other.reg) {
244 } else if (this.reg > other.reg) {
266 return hashCodeOf(reg, type, local);
273 * @param reg value of the instance variable
278 private static int hashCodeOf(int reg, TypeBearer type, LocalItem local) {
281 hash = (hash * 31 + type.hashCode()) * 31 + reg;
327 return reg;
360 return reg + getCategory();
405 return regString(reg);
442 if ((other == null) || (reg != other.getReg())) {
471 return (resultLocal == null) ? make(reg, resultTypeBearer) :
472 make(reg, resultTypeBearer, resultLocal);
483 if (reg == newReg) {
498 return makeLocalOptional(reg, newType, local);
513 return withReg(reg + delta);
542 return makeLocalOptional(reg, newType, local);
559 return makeLocalOptional(reg, type, local);
603 private int reg;
617 * @param reg {@code >= 0;} the register number
624 public void set(int reg, TypeBearer type, LocalItem local) {
625 this.reg = reg;
637 return new RegisterSpec(reg, type, local);
648 return spec.equals(reg, type, local);
654 return hashCodeOf(reg, type, local);