Home
last modified time | relevance | path

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

12

/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()
190 public void set(int n, RegisterSpec spec) { in set() argument
191 set0(n, spec); in set()
207 RegisterSpec spec = (RegisterSpec) get0(i); in getRegistersSize() local
208 if (spec != null) { in getRegistersSize()
209 int min = spec.getNextReg(); in getRegistersSize()
227 public RegisterSpecList withFirst(RegisterSpec spec) { in withFirst() argument
235 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.java184 RegisterSpec spec = (RegisterSpec) other; in equals() local
185 return equals(spec.reg, spec.type, spec.local); in equals()
676 RegisterSpec spec = (RegisterSpec) other; in equals() local
677 return spec.equals(reg, type, local); in equals()
DBasicBlockList.java400 private void processReg(RegisterSpec spec) { in processReg() argument
401 int reg = spec.getNextReg(); in processReg()
/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/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()
169 spec; in toString()
205 return spec.compareTo(other.spec); in compareTo()
242 return spec.getLocalItem().getName(); in getName()
251 return spec.getLocalItem().getSignature(); in getSignature()
270 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.java136 RegisterSpec spec = ((LocalStart) insn).getLocal(); in hasLocalInfo() local
137 if (hasLocalInfo(spec)) { in hasLocalInfo()
153 private static boolean hasLocalInfo(RegisterSpec spec) { in hasLocalInfo() argument
154 return (spec != null) in hasLocalInfo()
155 && (spec.getLocalItem().getName() != null); in hasLocalInfo()
198 RegisterSpec spec = ((LocalStart) insn).getLocal(); in addConstants() local
199 addConstants(result, spec); in addConstants()
211 RegisterSpec spec) { in addConstants() argument
212 if (spec == null) { in addConstants()
216 LocalItem local = spec.getLocalItem(); in addConstants()
[all …]
/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()
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 …]
DLocalSnapshot.java87 RegisterSpec spec = locals.get(i); in listingString0() local
88 if (spec != null) { in listingString0()
90 sb.append(LocalStart.localString(spec)); in listingString0()
/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.java657 public boolean isRegALocal(RegisterSpec spec) { in isRegALocal() argument
658 SsaInsn defn = getDefinitionForRegister(spec.getReg()); in isRegALocal()
669 for (SsaInsn use : getUseListForRegister(spec.getReg())) { in isRegALocal()
/dalvik/dx/src/com/android/dx/cf/code/
DOneLocalsArray.java142 public void set(RegisterSpec spec) { in set() argument
143 set(spec.getReg(), spec); in set() local
DLocalsArray.java95 public abstract void set(RegisterSpec spec); in set() argument
DLocalsArraySet.java209 public void set(RegisterSpec spec) { in set() argument
210 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()
1117 for (RegisterSpec spec : entry.getValue()) { in getLocalItemForReg()
1118 if (spec.getReg() == ssaReg) { in getLocalItemForReg()

12