/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
H A D | RegisterSpecSet.java | 92 RegisterSpec spec = specs[i]; 93 int oneHash = (spec == null) ? 0 : spec.hashCode(); 110 RegisterSpec spec = specs[i]; 111 if (spec != null) { 117 sb.append(spec); 178 * spec, if any. This is just a convenient shorthand for 179 * {@code get(spec.getReg())}. 181 * @param spec {@code non-null;} spec wit 185 get(RegisterSpec spec) argument 198 findMatchingLocal(RegisterSpec spec) argument 263 put(RegisterSpec spec) argument [all...] |
H A D | RegisterSpecList.java | 34 * @param spec {@code non-null;} the element 37 public static RegisterSpecList make(RegisterSpec spec) { argument 39 result.set(0, spec); 184 * @param spec {@code non-null;} the value to store 186 public void set(int n, RegisterSpec spec) { argument 187 set0(n, spec); 203 RegisterSpec spec = (RegisterSpec) get0(i); 204 if (spec != null) { 205 int min = spec.getNextReg(); 220 * @param spec { 223 withFirst(RegisterSpec spec) argument [all...] |
H A D | LocalVariableInfo.java | 174 * register spec. This throws an exception if the instruction 177 * <b>Note:</b> Although the instruction contains its own spec for 179 * method, since the spec that is stored here should always have a 184 * @param spec {@code non-null;} the associated register spec 186 public void addAssignment(Insn insn, RegisterSpec spec) { argument 193 if (spec == null) { 194 throw new NullPointerException("spec == null"); 197 insnAssignments.put(insn, spec);
|
H A D | RegisterSpec.java | 171 RegisterSpec spec = (RegisterSpec) other; 172 return equals(spec.reg, spec.type, spec.local); 181 * @param other {@code null-ok;} spec to compare to 198 * @param other {@code null-ok;} spec to compare to 233 * @param other {@code non-null;} spec to compare to 590 * Holder of register spec data for the purposes of comparison (so that 640 RegisterSpec spec = (RegisterSpec) other; 641 return spec [all...] |
H A D | BasicBlockList.java | 386 * Processes the given register spec. 388 * @param spec {@code non-null;} the register spec 390 private void processReg(RegisterSpec spec) { argument 391 int reg = spec.getNextReg();
|
/dalvik/dx/src/com/android/dx/rop/code/ |
H A D | RegisterSpecSet.java | 91 RegisterSpec spec = specs[i]; 92 int oneHash = (spec == null) ? 0 : spec.hashCode(); 109 RegisterSpec spec = specs[i]; 110 if (spec != null) { 116 sb.append(spec); 177 * spec, if any. This is just a convenient shorthand for 178 * {@code get(spec.getReg())}. 180 * @param spec {@code non-null;} spec wit 184 get(RegisterSpec spec) argument 197 findMatchingLocal(RegisterSpec spec) argument 262 put(RegisterSpec spec) argument [all...] |
H A D | RegisterSpecList.java | 35 * @param spec {@code non-null;} the element 38 public static RegisterSpecList make(RegisterSpec spec) { argument 40 result.set(0, spec); 188 * @param spec {@code non-null;} the value to store 190 public void set(int n, RegisterSpec spec) { argument 191 set0(n, spec); 207 RegisterSpec spec = (RegisterSpec) get0(i); 208 if (spec != null) { 209 int min = spec.getNextReg(); 224 * @param spec { 227 withFirst(RegisterSpec spec) argument [all...] |
H A D | LocalVariableInfo.java | 177 * register spec. This throws an exception if the instruction 180 * <b>Note:</b> Although the instruction contains its own spec for 182 * method, since the spec that is stored here should always have a 187 * @param spec {@code non-null;} the associated register spec 189 public void addAssignment(Insn insn, RegisterSpec spec) { argument 196 if (spec == null) { 197 throw new NullPointerException("spec == null"); 200 insnAssignments.put(insn, spec);
|
H A D | RegisterSpec.java | 184 RegisterSpec spec = (RegisterSpec) other; 185 return equals(spec.reg, spec.type, spec.local); 194 * @param other {@code null-ok;} spec to compare to 211 * @param other {@code null-ok;} spec to compare to 247 * @param other {@code non-null;} spec to compare to 626 * Holder of register spec data for the purposes of comparison (so that 676 RegisterSpec spec = (RegisterSpec) other; 677 return spec [all...] |
H A D | BasicBlockList.java | 396 * Processes the given register spec. 398 * @param spec {@code non-null;} the register spec 400 private void processReg(RegisterSpec spec) { argument 401 int reg = spec.getNextReg();
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
H A D | LocalStart.java | 31 * {@code non-null;} register spec representing the local variable introduced 37 * Returns the local variable listing string for a single register spec. 39 * @param spec {@code non-null;} the spec to convert 42 public static String localString(RegisterSpec spec) { argument 43 return spec.regString() + ' ' + spec.getLocalItem().toString() + ": " + 44 spec.getTypeBearer().toHuman(); 52 * @param local {@code non-null;} register spec representing the local 78 * Gets the register spec representin [all...] |
H A D | LocalList.java | 127 /** {@code non-null;} register spec representing the variable */ 128 private final RegisterSpec spec; field in class:LocalList.Entry 130 /** {@code non-null;} variable type (derived from {@code spec}) */ 138 * @param spec {@code non-null;} register spec representing 141 public Entry(int address, Disposition disposition, RegisterSpec spec) { argument 151 if (spec.getLocalItem() == null) { 153 "spec.getLocalItem() == null"); 157 throw new NullPointerException("spec == null"); 162 this.spec 849 add(int address, Disposition disposition, RegisterSpec spec) argument 873 addOrUpdateEnd(int address, Disposition disposition, RegisterSpec spec) argument [all...] |
H A D | LocalSnapshot.java | 87 RegisterSpec spec = locals.get(i); 88 if (spec != null) { 90 sb.append(LocalStart.localString(spec));
|
H A D | OutputFinisher.java | 115 RegisterSpec spec = ((LocalStart) insn).getLocal(); 116 if (hasLocalInfo(spec)) { 126 * register spec. 128 * @param spec {@code non-null;} spec to scrutinize 129 * @return {@code true} iff the spec refers to any 132 private static boolean hasLocalInfo(RegisterSpec spec) { argument 133 return (spec != null) 134 && (spec.getLocalItem().getName() != null); 172 RegisterSpec spec 184 addConstants(HashSet<Constant> result, RegisterSpec spec) argument [all...] |
H A D | RopTranslator.java | 865 RegisterSpec spec = locals.getAssignment(insn); 867 if (spec != null) { 868 addOutput(new LocalStart(insn.getPosition(), spec));
|
/dalvik/dx/src/com/android/dx/dex/code/ |
H A D | LocalStart.java | 32 * {@code non-null;} register spec representing the local variable introduced 38 * Returns the local variable listing string for a single register spec. 40 * @param spec {@code non-null;} the spec to convert 43 public static String localString(RegisterSpec spec) { argument 44 return spec.regString() + ' ' + spec.getLocalItem().toString() + ": " + 45 spec.getTypeBearer().toHuman(); 53 * @param local {@code non-null;} register spec representing the local 79 * Gets the register spec representin [all...] |
H A D | LocalList.java | 126 /** {@code non-null;} register spec representing the variable */ 127 private final RegisterSpec spec; field in class:LocalList.Entry 129 /** {@code non-null;} variable type (derived from {@code spec}) */ 137 * @param spec {@code non-null;} register spec representing 140 public Entry(int address, Disposition disposition, RegisterSpec spec) { argument 150 if (spec.getLocalItem() == null) { 152 "spec.getLocalItem() == null"); 156 throw new NullPointerException("spec == null"); 161 this.spec 848 add(int address, Disposition disposition, RegisterSpec spec) argument 872 addOrUpdateEnd(int address, Disposition disposition, RegisterSpec spec) argument [all...] |
H A D | LocalSnapshot.java | 88 RegisterSpec spec = locals.get(i); 89 if (spec != null) { 91 sb.append(LocalStart.localString(spec));
|
H A D | OutputFinisher.java | 136 RegisterSpec spec = ((LocalStart) insn).getLocal(); 137 if (hasLocalInfo(spec)) { 147 * register spec. 149 * @param spec {@code non-null;} spec to scrutinize 150 * @return {@code true} iff the spec refers to any 153 private static boolean hasLocalInfo(RegisterSpec spec) { argument 154 return (spec != null) 155 && (spec.getLocalItem().getName() != null); 198 RegisterSpec spec 210 addConstants(HashSet<Constant> result, RegisterSpec spec) argument [all...] |
/dalvik/dx/src/com/android/dx/ssa/ |
H A D | LocalVariableInfo.java | 174 * register spec. This throws an exception if the instruction 177 * <b>Note:</b> Although the instruction contains its own spec for 179 * method, since the spec that is stored here should always have a 184 * @param spec {@code non-null;} the associated register spec 186 public void addAssignment(SsaInsn insn, RegisterSpec spec) { argument 193 if (spec == null) { 194 throw new NullPointerException("spec == null"); 197 insnAssignments.put(insn, spec);
|
H A D | LiteralOpUpgrader.java | 66 * @param spec non-null spec 69 private static boolean isConstIntZeroOrKnownNull(RegisterSpec spec) { argument 70 TypeBearer tb = spec.getTypeBearer();
|
/dalvik/dx/src/com/android/dx/cf/code/ |
H A D | OneLocalsArray.java | 142 public void set(RegisterSpec spec) { argument 143 set(spec.getReg(), spec);
|
H A D | LocalsArray.java | 88 * Sets the type for the local indicated by the given register spec 89 * to that register spec (which includes type and optional name 91 * {@code set(spec.getReg(), spec)}. 93 * @param spec {@code non-null;} register spec to use as the basis for the update 95 public abstract void set(RegisterSpec spec); argument
|
H A D | LocalsArraySet.java | 209 public void set(RegisterSpec spec) { argument 210 set(spec.getReg(), spec);
|
/dalvik/dx/src/com/android/dx/ssa/back/ |
H A D | FirstFitLocalCombiningAllocator.java | 335 for (RegisterSpec spec : specs) { 336 if (ssaRegsMapped.get(spec.getReg())) { 341 succeeded = tryMapReg(spec, ropReg, maxAllowedCategory); 346 markReserved(ropReg, spec.getCategory()); 656 for (RegisterSpec spec : specs) { 657 if (ssaRegsMapped.get(spec.getReg())) continue; 658 if (!canMapReg(spec, ropReg)) return false; 668 * @param ssaSpec {@code non-null;} SSA spec 1117 for (RegisterSpec spec : entry.getValue()) { 1118 if (spec [all...] |