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.java36 * @param spec {@code non-null;} the element
39 public static RegisterSpecList make(RegisterSpec spec) { argument
41 result.set(0, spec);
186 * @param spec {@code non-null;} the value to store
188 public void set(int n, RegisterSpec spec) { argument
189 set0(n, spec);
205 RegisterSpec spec = (RegisterSpec) get0(i);
206 if (spec != null) {
207 int min = spec.getNextReg();
222 * @param spec {
225 withFirst(RegisterSpec spec) argument
[all...]
H A DLocalVariableInfo.java178 * register spec. This throws an exception if the instruction
181 * <b>Note:</b> Although the instruction contains its own spec for
183 * method, since the spec that is stored here should always have a
188 * @param spec {@code non-null;} the associated register spec
190 public void addAssignment(Insn insn, RegisterSpec spec) { argument
197 if (spec == null) {
198 throw new NullPointerException("spec == null");
201 insnAssignments.put(insn, spec);
H A DRegisterSpec.java176 RegisterSpec spec = (RegisterSpec) other;
177 return equals(spec.reg, spec.type, spec.local);
186 * @param other {@code null-ok;} spec to compare to
203 * @param other {@code null-ok;} spec to compare to
238 * @param other {@code non-null;} spec to compare to
597 * Holder of register spec data for the purposes of comparison (so that
647 RegisterSpec spec = (RegisterSpec) other;
648 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.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.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.h87 void dvmCollectGarbageInternal(const GcSpec *spec);
H A DHeap.cpp172 const GcSpec *spec = clearSoftReferences ? GC_BEFORE_OOM : GC_FOR_MALLOC; local
173 dvmCollectGarbageInternal(spec);
239 * time. The VM spec requires that all SoftReferences have
440 void dvmCollectGarbageInternal(const GcSpec* spec) argument
468 if (!spec->isConcurrent) {
480 if (!dvmHeapBeginMarkStep(spec->isPartial)) {
499 if (spec->isConcurrent) {
517 if (spec->isConcurrent) {
549 spec->doPreserve == false,
582 if (spec
[all...]
H A DHeapSource.h104 size_t dvmHeapSourceGetValue(HeapSourceValueSpec spec,
/dalvik/dx/src/com/android/dx/ssa/
H A DLocalVariableInfo.java175 * register spec. This throws an exception if the instruction
178 * <b>Note:</b> Although the instruction contains its own spec for
180 * method, since the spec that is stored here should always have a
185 * @param spec {@code non-null;} the associated register spec
187 public void addAssignment(SsaInsn insn, RegisterSpec spec) { argument
194 if (spec == null) {
195 throw new NullPointerException("spec == null");
198 insnAssignments.put(insn, spec);
/dalvik/dx/src/com/android/dx/cf/code/
H A DOneLocalsArray.java136 public void set(RegisterSpec spec) { argument
137 set(spec.getReg(), spec);
H A DLocalsArray.java89 * Sets the type for the local indicated by the given register spec
90 * to that register spec (which includes type and optional name
92 * {@code set(spec.getReg(), spec)}.
94 * @param spec {@code non-null;} register spec to use as the basis for the update
96 public abstract void set(RegisterSpec spec); argument
H A DLocalsArraySet.java210 public void set(RegisterSpec spec) { argument
211 set(spec.getReg(), spec);
/dalvik/dx/src/com/android/dx/ssa/back/
H A DFirstFitLocalCombiningAllocator.java287 for (RegisterSpec spec : specs) {
288 if (ssaRegsMapped.get(spec.getReg())) {
293 succeeded = tryMapReg(spec, ropReg, maxAllowedCategory);
298 markReserved(ropReg, spec.getCategory());
577 for (RegisterSpec spec : specs) {
578 if (ssaRegsMapped.get(spec.getReg())) continue;
579 if (!canMapReg(spec, ropReg)) return false;
589 * @param ssaSpec {@code non-null;} SSA spec
1001 for (RegisterSpec spec : entry.getValue()) {
1002 if (spec
[all...]

Completed in 353 milliseconds

12