Searched refs:spec (Results 1 - 25 of 34) sorted by relevance

12

/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DRegisterSpecSet.java92 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 DRegisterSpecList.java34 * @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 DLocalVariableInfo.java174 * 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 DRegisterSpec.java171 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 DBasicBlockList.java386 * 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 DRegisterSpecSet.java91 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 DRegisterSpecList.java35 * @param spec {@code non-null;} the element
38 public static RegisterSpecList make(RegisterSpec spec) { argument
40 result.set(0, spec);
185 * @param spec {@code non-null;} the value to store
187 public void set(int n, RegisterSpec spec) { argument
188 set0(n, spec);
204 RegisterSpec spec = (RegisterSpec) get0(i);
205 if (spec != null) {
206 int min = spec.getNextReg();
221 * @param spec {
224 withFirst(RegisterSpec spec) argument
[all...]
H A DLocalVariableInfo.java177 * 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 DRegisterSpec.java175 RegisterSpec spec = (RegisterSpec) other;
176 return equals(spec.reg, spec.type, spec.local);
185 * @param other {@code null-ok;} spec to compare to
202 * @param other {@code null-ok;} spec to compare to
237 * @param other {@code non-null;} spec to compare to
596 * Holder of register spec data for the purposes of comparison (so that
646 RegisterSpec spec = (RegisterSpec) other;
647 return spec
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DLocalStart.java31 * {@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 DLocalList.java127 /** {@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 DLocalSnapshot.java87 RegisterSpec spec = locals.get(i);
88 if (spec != null) {
90 sb.append(LocalStart.localString(spec));
H A DOutputFinisher.java115 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...]
/dalvik/dx/src/com/android/dx/dex/code/
H A DLocalStart.java31 * {@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 DLocalList.java126 /** {@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 DLocalSnapshot.java87 RegisterSpec spec = locals.get(i);
88 if (spec != null) {
90 sb.append(LocalStart.localString(spec));
H A DOutputFinisher.java124 RegisterSpec spec = ((LocalStart) insn).getLocal();
125 if (hasLocalInfo(spec)) {
135 * register spec.
137 * @param spec {@code non-null;} spec to scrutinize
138 * @return {@code true} iff the spec refers to any
141 private static boolean hasLocalInfo(RegisterSpec spec) { argument
142 return (spec != null)
143 && (spec.getLocalItem().getName() != null);
181 RegisterSpec spec
193 addConstants(HashSet<Constant> result, RegisterSpec spec) argument
[all...]
/dalvik/vm/alloc/
H A DHeap.cpp178 const GcSpec *spec = clearSoftReferences ? GC_BEFORE_OOM : GC_FOR_MALLOC; local
179 dvmCollectGarbageInternal(spec);
245 * time. The VM spec requires that all SoftReferences have
446 void dvmCollectGarbageInternal(const GcSpec* spec) argument
466 if (spec == GC_FOR_MALLOC) {
468 } else if (spec == GC_CONCURRENT) {
470 } else if (spec == GC_EXPLICIT) {
472 } else if (spec == GC_BEFORE_OOM) {
488 if (!spec->isConcurrent) {
500 if (!dvmHeapBeginMarkStep(spec
[all...]
H A DHeap.h87 void dvmCollectGarbageInternal(const GcSpec *spec);
H A DHeapSource.h104 size_t dvmHeapSourceGetValue(HeapSourceValueSpec spec,
/dalvik/dx/src/com/android/dx/ssa/
H A DLocalVariableInfo.java174 * 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);
/dalvik/dx/src/com/android/dx/cf/code/
H A DOneLocalsArray.java135 public void set(RegisterSpec spec) { argument
136 set(spec.getReg(), spec);
H A DLocalsArray.java88 * 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 DLocalsArraySet.java208 public void set(RegisterSpec spec) { argument
209 set(spec.getReg(), spec);
/dalvik/dx/src/com/android/dx/ssa/back/
H A DFirstFitLocalCombiningAllocator.java291 for (RegisterSpec spec : specs) {
292 if (ssaRegsMapped.get(spec.getReg())) {
297 succeeded = tryMapReg(spec, ropReg, maxAllowedCategory);
302 markReserved(ropReg, spec.getCategory());
581 for (RegisterSpec spec : specs) {
582 if (ssaRegsMapped.get(spec.getReg())) continue;
583 if (!canMapReg(spec, ropReg)) return false;
593 * @param ssaSpec {@code non-null;} SSA spec
1005 for (RegisterSpec spec : entry.getValue()) {
1006 if (spec
[all...]

Completed in 674 milliseconds

12