Home
last modified time | relevance | path

Searched refs:spec (Results 1 – 25 of 29) sorted by relevance

12

/dalvik/dexgen/src/com/android/dexgen/rop/code/
DRegisterSpecSet.java92 RegisterSpec spec = specs[i]; in hashCode() local
93 int oneHash = (spec == null) ? 0 : spec.hashCode(); in hashCode()
110 RegisterSpec spec = specs[i]; in toString() local
111 if (spec != null) { in toString()
117 sb.append(spec); in toString()
185 public RegisterSpec get(RegisterSpec spec) { in get() argument
186 return get(spec.getReg()); in get()
198 public RegisterSpec findMatchingLocal(RegisterSpec spec) { in findMatchingLocal() argument
208 if (spec.matchesVariable(s)) { in findMatchingLocal()
227 RegisterSpec spec = specs[reg]; in localItemToSpec() local
[all …]
DRegisterSpecList.java37 public static RegisterSpecList make(RegisterSpec spec) { in make() argument
39 result.set(0, spec); in make()
186 public void set(int n, RegisterSpec spec) { in set() argument
187 set0(n, spec); in set()
203 RegisterSpec spec = (RegisterSpec) get0(i); in getRegistersSize() local
204 if (spec != null) { in getRegistersSize()
205 int min = spec.getNextReg(); in getRegistersSize()
223 public RegisterSpecList withFirst(RegisterSpec spec) { in withFirst() argument
231 result.set0(0, spec); in withFirst()
DLocalVariableInfo.java186 public void addAssignment(Insn insn, RegisterSpec spec) { in addAssignment() argument
193 if (spec == null) { in addAssignment()
197 insnAssignments.put(insn, spec); in addAssignment()
DRegisterSpec.java171 RegisterSpec spec = (RegisterSpec) other; in equals() local
172 return equals(spec.reg, spec.type, spec.local); in equals()
640 RegisterSpec spec = (RegisterSpec) other; in equals() local
641 return spec.equals(reg, type, local); in equals()
DBasicBlockList.java390 private void processReg(RegisterSpec spec) { in processReg() argument
391 int reg = spec.getNextReg(); in processReg()
/dalvik/dx/src/com/android/dx/rop/code/
DRegisterSpecSet.java91 RegisterSpec spec = specs[i]; in hashCode() local
92 int oneHash = (spec == null) ? 0 : spec.hashCode(); in hashCode()
109 RegisterSpec spec = specs[i]; in toString() local
110 if (spec != null) { in toString()
116 sb.append(spec); in toString()
184 public RegisterSpec get(RegisterSpec spec) { in get() argument
185 return get(spec.getReg()); in get()
197 public RegisterSpec findMatchingLocal(RegisterSpec spec) { in findMatchingLocal() argument
207 if (spec.matchesVariable(s)) { in findMatchingLocal()
226 RegisterSpec spec = specs[reg]; in localItemToSpec() local
[all …]
DRegisterSpecList.java38 public static RegisterSpecList make(RegisterSpec spec) { in make() argument
40 result.set(0, spec); in make()
187 public void set(int n, RegisterSpec spec) { in set() argument
188 set0(n, spec); in set()
204 RegisterSpec spec = (RegisterSpec) get0(i); in getRegistersSize() local
205 if (spec != null) { in getRegistersSize()
206 int min = spec.getNextReg(); in getRegistersSize()
224 public RegisterSpecList withFirst(RegisterSpec spec) { in withFirst() argument
232 result.set0(0, spec); in withFirst()
DLocalVariableInfo.java189 public void addAssignment(Insn insn, RegisterSpec spec) { in addAssignment() argument
196 if (spec == null) { in addAssignment()
200 insnAssignments.put(insn, spec); in addAssignment()
DRegisterSpec.java176 RegisterSpec spec = (RegisterSpec) other; in equals() local
177 return equals(spec.reg, spec.type, spec.local); in equals()
664 RegisterSpec spec = (RegisterSpec) other; in equals() local
665 return spec.equals(reg, type, local); in equals()
DBasicBlockList.java393 private void processReg(RegisterSpec spec) { in processReg() argument
394 int reg = spec.getNextReg(); in processReg()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DLocalList.java128 private final RegisterSpec spec; field in LocalList.Entry
141 public Entry(int address, Disposition disposition, RegisterSpec spec) { in Entry() argument
151 if (spec.getLocalItem() == null) { in Entry()
162 this.spec = spec; in Entry()
163 this.type = CstType.intern(spec.getType()); in Entry()
169 spec; in toString()
203 return spec.compareTo(other.spec); in compareTo()
240 return spec.getLocalItem().getName(); in getName()
249 return spec.getLocalItem().getSignature(); in getSignature()
268 return spec.getReg(); in getRegister()
[all …]
DLocalStart.java42 public static String localString(RegisterSpec spec) { in localString() argument
43 return spec.regString() + ' ' + spec.getLocalItem().toString() + ": " + in localString()
44 spec.getTypeBearer().toHuman(); in localString()
DLocalSnapshot.java87 RegisterSpec spec = locals.get(i); in listingString0() local
88 if (spec != null) { in listingString0()
90 sb.append(LocalStart.localString(spec)); in listingString0()
DOutputFinisher.java115 RegisterSpec spec = ((LocalStart) insn).getLocal(); in hasLocalInfo() local
116 if (hasLocalInfo(spec)) { in hasLocalInfo()
132 private static boolean hasLocalInfo(RegisterSpec spec) { in hasLocalInfo() argument
133 return (spec != null) in hasLocalInfo()
134 && (spec.getLocalItem().getName() != null); in hasLocalInfo()
172 RegisterSpec spec = ((LocalStart) insn).getLocal(); in addConstants() local
173 addConstants(result, spec); in addConstants()
185 RegisterSpec spec) { in addConstants() argument
186 if (spec == null) { in addConstants()
190 LocalItem local = spec.getLocalItem(); in addConstants()
[all …]
/dalvik/dx/src/com/android/dx/dex/code/
DLocalList.java127 private final RegisterSpec spec; field in LocalList.Entry
140 public Entry(int address, Disposition disposition, RegisterSpec spec) { in Entry() argument
150 if (spec.getLocalItem() == null) { in Entry()
161 this.spec = spec; in Entry()
162 this.type = CstType.intern(spec.getType()); in Entry()
168 spec; in toString()
202 return spec.compareTo(other.spec); in compareTo()
239 return spec.getLocalItem().getName(); in getName()
248 return spec.getLocalItem().getSignature(); in getSignature()
267 return spec.getReg(); in getRegister()
[all …]
DLocalStart.java43 public static String localString(RegisterSpec spec) { in localString() argument
44 return spec.regString() + ' ' + spec.getLocalItem().toString() + ": " + in localString()
45 spec.getTypeBearer().toHuman(); in localString()
DLocalSnapshot.java88 RegisterSpec spec = locals.get(i); in listingString0() local
89 if (spec != null) { in listingString0()
91 sb.append(LocalStart.localString(spec)); in listingString0()
DOutputFinisher.java137 RegisterSpec spec = ((LocalStart) insn).getLocal(); in hasLocalInfo() local
138 if (hasLocalInfo(spec)) { in hasLocalInfo()
154 private static boolean hasLocalInfo(RegisterSpec spec) { in hasLocalInfo() argument
155 return (spec != null) in hasLocalInfo()
156 && (spec.getLocalItem().getName() != null); in hasLocalInfo()
199 RegisterSpec spec = ((LocalStart) insn).getLocal(); in addConstants() local
200 addConstants(result, spec); in addConstants()
212 RegisterSpec spec) { in addConstants() argument
213 if (spec == null) { in addConstants()
217 LocalItem local = spec.getLocalItem(); in addConstants()
[all …]
/dalvik/dx/src/com/android/dx/ssa/
DLocalVariableInfo.java186 public void addAssignment(SsaInsn insn, RegisterSpec spec) { in addAssignment() argument
193 if (spec == null) { in addAssignment()
197 insnAssignments.put(insn, spec); in addAssignment()
DLiteralOpUpgrader.java69 private static boolean isConstIntZeroOrKnownNull(RegisterSpec spec) { in isConstIntZeroOrKnownNull() argument
70 TypeBearer tb = spec.getTypeBearer(); in isConstIntZeroOrKnownNull()
DSsaMethod.java674 public boolean isRegALocal(RegisterSpec spec) { in isRegALocal() argument
675 SsaInsn defn = getDefinitionForRegister(spec.getReg()); in isRegALocal()
686 for (SsaInsn use : getUseListForRegister(spec.getReg())) { in isRegALocal()
/dalvik/dx/src/com/android/dx/cf/code/
DOneLocalsArray.java135 public void set(RegisterSpec spec) { in set() argument
136 set(spec.getReg(), spec); in set() local
DLocalsArray.java95 public abstract void set(RegisterSpec spec); in set() argument
DLocalsArraySet.java208 public void set(RegisterSpec spec) { in set() argument
209 set(spec.getReg(), spec); in set() local
/dalvik/dx/src/com/android/dx/ssa/back/
DFirstFitLocalCombiningAllocator.java335 for (RegisterSpec spec : specs) { in tryMapRegs()
336 if (ssaRegsMapped.get(spec.getReg())) { in tryMapRegs()
341 succeeded = tryMapReg(spec, ropReg, maxAllowedCategory); in tryMapRegs()
346 markReserved(ropReg, spec.getCategory()); in tryMapRegs()
656 for (RegisterSpec spec : specs) { in canMapRegs()
657 if (ssaRegsMapped.get(spec.getReg())) continue; in canMapRegs()
658 if (!canMapReg(spec, ropReg)) return false; in canMapRegs()
1114 for (RegisterSpec spec : entry.getValue()) { in getLocalItemForReg()
1115 if (spec.getReg() == ssaReg) { in getLocalItemForReg()

12