Home | History | Annotate | Download | only in code

Lines Matching defs:RegisterSpec

30 public final class RegisterSpec
31 implements TypeBearer, ToHuman, Comparable<RegisterSpec> {
36 private static final ConcurrentHashMap<Object, RegisterSpec> theInterns =
37 new ConcurrentHashMap<Object, RegisterSpec>(10_000, 0.75f);
69 private static RegisterSpec intern(int reg, TypeBearer type,
73 RegisterSpec found = theInterns.get(interningItem);
76 RegisterSpec existing = theInterns.putIfAbsent(found, found);
94 public static RegisterSpec make(int reg, TypeBearer type) {
109 public static RegisterSpec make(int reg, TypeBearer type,
130 public static RegisterSpec makeLocalOptional(
155 private RegisterSpec(int reg, TypeBearer type, LocalItem local) {
176 if (!(other instanceof RegisterSpec)) {
184 RegisterSpec spec = (RegisterSpec) other;
198 public boolean equalsUsingSimpleType(RegisterSpec other) {
215 public boolean matchesVariable(RegisterSpec other) {
227 * {@link com.android.dx.rop.code.RegisterSpec.ForComparison#equals},
251 public int compareTo(RegisterSpec other) {
283 * {@link com.android.dx.rop.code.RegisterSpec.ForComparison#hashCode},
455 public RegisterSpec intersect(RegisterSpec other, boolean localPrimary) {
501 RegisterSpec withReg(int newReg) {
516 public RegisterSpec withType(TypeBearer newType) {
527 public RegisterSpec withOffset(int delta) {
543 public RegisterSpec withSimpleType() {
571 public RegisterSpec withLocalItem(LocalItem local) {
627 * {@code RegisterSpec} itself can still keep {@code final}
660 * Construct a {@code RegisterSpec} of this instance's
665 public RegisterSpec toRegisterSpec() {
666 return new RegisterSpec(reg, type, local);
672 if (!(other instanceof RegisterSpec)) {
676 RegisterSpec spec = (RegisterSpec) other;