Searched refs:local (Results 1 - 24 of 24) sorted by relevance

/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DLocalEnd.java25 * register to a named local variable. That is, an instance of this
31 * {@code non-null;} register spec representing the local variable ended
34 * is implicit in the ambient local variable state, but other code
37 private final RegisterSpec local; field in class:LocalEnd
44 * @param local {@code non-null;} register spec representing the local
47 public LocalEnd(SourcePosition position, RegisterSpec local) { argument
50 if (local == null) {
51 throw new NullPointerException("local == null");
54 this.local
[all...]
H A DLocalStart.java24 * Pseudo-instruction which is used to introduce a new local variable. That
31 * {@code non-null;} register spec representing the local variable introduced
34 private final RegisterSpec local; field in class:LocalStart
37 * Returns the local variable listing string for a single register spec.
52 * @param local {@code non-null;} register spec representing the local
55 public LocalStart(SourcePosition position, RegisterSpec local) { argument
58 if (local == null) {
59 throw new NullPointerException("local == null");
62 this.local
[all...]
H A DLocalList.java31 * List of local variables. Each local variable entry indicates a
89 * Disposition of a local entry.
92 /** local started (introduced) */
95 /** local ended without being replaced */
98 /** local ended because it was directly replaced */
101 /** local ended because it was moved to a different register */
105 * local ended because the previous local clobbered this one
111 * local ende
[all...]
H A DOutputFinisher.java51 /** whether any instruction has local variable info */
89 * Returns whether this instance has any local variable information.
91 * @return whether this instance has any local variable information
99 * instruction for local variable information.
190 LocalItem local = spec.getLocalItem();
191 CstUtf8 name = local.getName();
192 CstUtf8 signature = local.getSignature();
231 * which updates the position and local info flags.
/dalvik/dx/src/com/android/dx/dex/code/
H A DLocalStart.java25 * Pseudo-instruction which is used to introduce a new local variable. That
32 * {@code non-null;} register spec representing the local variable introduced
35 private final RegisterSpec local; field in class:LocalStart
38 * Returns the local variable listing string for a single register spec.
53 * @param local {@code non-null;} register spec representing the local
56 public LocalStart(SourcePosition position, RegisterSpec local) { argument
59 if (local == null) {
60 throw new NullPointerException("local == null");
63 this.local
[all...]
H A DOutputFinisher.java59 /** whether any instruction has local variable info */
111 * Returns whether this instance has any local variable information.
113 * @return whether this instance has any local variable information
121 * instruction for local variable information.
217 LocalItem local = spec.getLocalItem();
218 CstString name = local.getName();
219 CstString signature = local.getSignature();
262 * which updates the position and local info flags.
H A DLocalList.java30 * List of local variables. Each local variable entry indicates a
88 * Disposition of a local entry.
91 /** local started (introduced) */
94 /** local ended without being replaced */
97 /** local ended because it was directly replaced */
100 /** local ended because it was moved to a different register */
104 * local ended because the previous local clobbered this one
110 * local ende
[all...]
/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DRegisterSpec.java49 /** {@code null-ok;} local variable info associated with this register, if any */
50 private final LocalItem local; field in class:RegisterSpec
58 * @param local {@code null-ok;} the associated local variable, if any
62 LocalItem local) {
63 theInterningItem.set(reg, type, local);
97 * @param local {@code non-null;} the associated local variable
101 LocalItem local) {
102 if (local
61 intern(int reg, TypeBearer type, LocalItem local) argument
100 make(int reg, TypeBearer type, LocalItem local) argument
121 makeLocalOptional( int reg, TypeBearer type, LocalItem local) argument
146 RegisterSpec(int reg, TypeBearer type, LocalItem local) argument
222 equals(int reg, TypeBearer type, LocalItem local) argument
273 hashCodeOf(int reg, TypeBearer type, LocalItem local) argument
547 withLocalItem(LocalItem local) argument
605 private LocalItem local; field in class:RegisterSpec.ForComparison
617 set(int reg, TypeBearer type, LocalItem local) argument
[all...]
H A DLocalItem.java22 * A local variable item: either a name or a signature or both.
25 /** {@code null-ok;} local variable name */
28 /** {@code null-ok;} local variable signature */
36 * @param name {@code null-ok;} local variable name
37 * @param signature {@code null-ok;} local variable signature
51 * @param name {@code null-ok;} local variable name
52 * @param signature {@code null-ok;} local variable signature
66 LocalItem local = (LocalItem) other;
68 return 0 == compareTo(local);
91 public int compareTo(LocalItem local) { argument
[all...]
H A DRegisterSpecSet.java191 * given local (type, name, and signature), or {@code null} if there is
195 * @param spec {@code non-null;} local to look for
218 * local (name and signature), or {@code null} if there is none.
220 * @param local {@code non-null;} local item to search for
223 public RegisterSpec localItemToSpec(LocalItem local) { argument
229 if ((spec != null) && local.equals(spec.getLocalItem())) {
316 * @param localPrimary whether local variables are primary to
/dalvik/dx/src/com/android/dx/rop/code/
H A DRegisterSpec.java50 * {@code null-ok;} local variable info associated with this register,
53 private final LocalItem local; field in class:RegisterSpec
61 * @param local {@code null-ok;} the associated local variable, if any
65 LocalItem local) {
67 theInterningItem.set(reg, type, local);
102 * @param local {@code non-null;} the associated local variable
106 LocalItem local) {
107 if (local
64 intern(int reg, TypeBearer type, LocalItem local) argument
105 make(int reg, TypeBearer type, LocalItem local) argument
126 makeLocalOptional( int reg, TypeBearer type, LocalItem local) argument
151 RegisterSpec(int reg, TypeBearer type, LocalItem local) argument
227 equals(int reg, TypeBearer type, LocalItem local) argument
279 hashCodeOf(int reg, TypeBearer type, LocalItem local) argument
559 withLocalItem(LocalItem local) argument
629 private LocalItem local; field in class:RegisterSpec.ForComparison
641 set(int reg, TypeBearer type, LocalItem local) argument
[all...]
H A DLocalItem.java22 * A local variable item: either a name or a signature or both.
25 /** {@code null-ok;} local variable name */
28 /** {@code null-ok;} local variable signature */
36 * @param name {@code null-ok;} local variable name
37 * @param signature {@code null-ok;} local variable signature
51 * @param name {@code null-ok;} local variable name
52 * @param signature {@code null-ok;} local variable signature
66 LocalItem local = (LocalItem) other;
68 return 0 == compareTo(local);
91 public int compareTo(LocalItem local) { argument
[all...]
H A DRegisterSpecSet.java190 * given local (type, name, and signature), or {@code null} if there is
194 * @param spec {@code non-null;} local to look for
217 * local (name and signature), or {@code null} if there is none.
219 * @param local {@code non-null;} local item to search for
222 public RegisterSpec localItemToSpec(LocalItem local) { argument
228 if ((spec != null) && local.equals(spec.getLocalItem())) {
315 * @param localPrimary whether local variables are primary to
/dalvik/dx/src/com/android/dx/cf/code/
H A DExecutionStack.java38 * in the local variable table
40 private final boolean[] local; field in class:ExecutionStack
56 local = new boolean[maxStack];
69 System.arraycopy(local, 0, result.local, 0, local.length);
141 local[i] = false;
182 * Flags the next value pushed onto the stack as having local info.
187 local[stackPtr] = true;
214 * stack, returning whether or not it has local inf
[all...]
H A DMachine.java107 * Loads the local variable with the given index as the sole argument in
111 * @param idx {@code >= 0;} the local variable index
116 * Used to specify if a loaded local variable has info in the local
119 * @param local {@code true} if local arg has info in local variable table
121 public void localInfo(boolean local); argument
198 * Indicates that the target of this operation is the given local.
200 * @param idx {@code >= 0;} the local variabl
204 localTarget(int idx, Type type, LocalItem local) argument
[all...]
H A DBaseMachine.java63 /** {@code >= -1;} last local accessed */
66 /** specifies if local has info in the local variable table */
69 /** {@code null-ok;} local target spec, if salient and calculated */
217 public final void localInfo(boolean local) { argument
218 localInfo = local;
260 public final void localTarget(int idx, Type type, LocalItem local) { argument
261 localTarget = RegisterSpec.makeLocalOptional(idx, type, local);
362 * Gets the last local index accessed.
364 * @return {@code >= -1;} the salient local inde
569 throwLocalMismatch(TypeBearer found, TypeBearer local) argument
[all...]
H A DSimulator.java44 * {@code non-null;} canned error message for local variable
49 "local variable information.";
57 /** {@code non-null;} local variable information */
393 * if it has local info.
574 * the local variable table, though we still need to check
579 * the local type becomes valid. On the other hand, the
585 LocalVariableList.Item local =
589 if (local != null) {
590 localType = local.getType();
593 // wrong type, ignore local variabl
[all...]
H A DRopper.java1120 LocalVariableList.Item local =
1122 RegisterSpec result = (local == null) ?
1124 RegisterSpec.makeLocalOptional(at, one, local.getLocalItem());
/dalvik/dx/src/com/android/dx/ssa/
H A DSsaInsn.java136 * Sets the local association for the result of this insn. This is
139 * @param local {@code null-ok;} new debug/local variable info
141 public final void setResultLocal(LocalItem local) { argument
144 if (local != oldItem && (local == null
145 || !local.equals(result.getLocalItem()))) {
147 result.getReg(), result.getType(), local);
191 * Gets the spec of a local variable assignment that occurs at this
192 * instruction, or null if no local variabl
[all...]
H A DNormalSsaInsn.java78 * the type or local var name so don't update use list
158 LocalItem local = assignment.getLocalItem();
160 if (local == null) {
H A DPhiInsn.java90 * Note that local association of operands are preserved in this step.
110 * @param local {@code null-ok;} new local info, if available
112 public void changeResultType(TypeBearer type, LocalItem local) { argument
114 getResult().getReg(), type, local));
H A DConstCollector.java60 * If true, allow one local var to be involved with a collected const.
164 * Each collected constant can be used by just one local
209 * TODO: Might be nice to try and figure out which local
217 // Count one local usage only.
269 * the definition of {@code origReg} is associated with a local
270 * variable, then insert a mark-local for {@code newReg} just below
288 * This is a mark-local. it will be updated when all uses
294 LocalItem local = localAssignment.getLocalItem();
299 // Now add a mark-local to the new reg immediately after.
300 newReg = newReg.withLocalItem(local);
[all...]
H A DSsaRenamer.java85 /** map of SSA register number to debug (local var names) or null of n/a */
207 * Gets a local variable item for a specified register.
221 * Records a debug (local variable) name for a specified register.
227 LocalItem local = ssaReg.getLocalItem();
234 ssaRegToLocalItems.set(reg, local);
290 * contains the set of moves we need to keep to preserve local
417 * an SSA register spec has received or lost a local variable name,
419 * lose its local variable name as well.
420 * <li> Records the local name associated with the
422 * local
[all...]
/dalvik/dx/src/com/android/dx/ssa/back/
H A DFirstFitLocalCombiningAllocator.java44 * method parameters and all SSAregisters representing the same local variable
91 /** local debug flag */
94 /** maps local variable to a list of associated SSA registers */
115 /** set of rop registers reserved for parameters or local variables */
177 if (DEBUG) System.out.println("--->Mapping local-associated params");
187 System.out.println("--->Mapping local-associated non-params");
204 * Dumps local variable table to stdout for debugging.
207 System.out.println("Printing local vars");
225 * Maps all local-associated parameters to rop registers.
233 // First, find out if this local variabl
[all...]

Completed in 1325 milliseconds