Searched refs:variableIndex (Results 1 - 25 of 33) sorted by relevance

12

/external/proguard/src/proguard/optimize/evaluation/
H A DLivenessAnalyzer.java95 public boolean isAliveBefore(int instructionOffset, int variableIndex) argument
97 return variableIndex >= MAX_VARIABLES_SIZE ||
98 (isAliveBefore[instructionOffset] & (1L << variableIndex)) != 0;
106 public void setAliveBefore(int instructionOffset, int variableIndex, boolean alive) argument
108 if (variableIndex < MAX_VARIABLES_SIZE)
112 isAliveBefore[instructionOffset] |= 1L << variableIndex;
116 isAliveBefore[instructionOffset] &= ~(1L << variableIndex);
126 public boolean isAliveAfter(int instructionOffset, int variableIndex) argument
128 return variableIndex >= MAX_VARIABLES_SIZE ||
129 (isAliveAfter[instructionOffset] & (1L << variableIndex)) !
137 setAliveAfter(int instructionOffset, int variableIndex, boolean alive) argument
157 isCategory2(int instructionOffset, int variableIndex) argument
168 setCategory2(int instructionOffset, int variableIndex, boolean category2) argument
[all...]
H A DEvaluationSimplifier.java245 int variableIndex = variableInstruction.variableIndex;
254 replaceIntegerPushInstruction(clazz, offset, variableInstruction, variableIndex);
262 replaceLongPushInstruction(clazz, offset, variableInstruction, variableIndex);
270 replaceFloatPushInstruction(clazz, offset, variableInstruction, variableIndex);
278 replaceDoublePushInstruction(clazz, offset, variableInstruction, variableIndex);
458 for (int variableIndex = 0; variableIndex < maxVariableIndex; variableIndex++)
460 if (pushedValue.equals(variables.load(variableIndex)))
732 replaceVariablePushInstruction(Clazz clazz, int offset, Instruction instruction, byte replacementOpcode, int variableIndex) argument
[all...]
H A DVariableOptimizer.java319 private int firstLiveness(int startOffset, int endOffset, int variableIndex) argument
324 livenessAnalyzer.isAliveBefore(offset, variableIndex))
338 private int lastLiveness(int startOffset, int endOffset, int variableIndex) argument
346 if (livenessAnalyzer.isAliveBefore(offset, variableIndex))
/external/proguard/src/proguard/classfile/instruction/
H A DVariableInstruction.java36 public int variableIndex; field in class:VariableInstruction
59 int variableIndex)
61 this(opcode, variableIndex, 0);
66 int variableIndex,
70 this.variableIndex = variableIndex;
85 this.variableIndex = variableInstruction.variableIndex;
224 if (variableIndex <= 3)
228 case InstructionConstants.OP_ILOAD: opcode = (byte)(InstructionConstants.OP_ILOAD_0 + variableIndex); brea
58 VariableInstruction(byte opcode, int variableIndex) argument
65 VariableInstruction(byte opcode, int variableIndex, int constant) argument
[all...]
/external/proguard/src/proguard/optimize/peephole/
H A DVariableShrinker.java104 for (int variableIndex = parameterSize; variableIndex < maxLocals; variableIndex++)
107 if (!variableUsageMarker.isVariableUsed(variableIndex))
111 System.out.println(" Deleting local variable #"+variableIndex);
115 variableEditor.deleteVariable(variableIndex);
/external/proguard/src/proguard/optimize/info/
H A DVariableUsageMarker.java49 public boolean isVariableUsed(int variableIndex) argument
51 return variableUsed[variableIndex];
88 variableUsed[variableInstruction.variableIndex] = true;
93 variableUsed[variableInstruction.variableIndex + 1] = true;
H A DParameterUsageMarker.java193 int parameterIndex = variableInstruction.variableIndex;
243 public static void markParameterUsed(Method method, int variableIndex) argument
248 info.setParameterUsed(variableIndex);
269 public static boolean isParameterUsed(Method method, int variableIndex) argument
273 info.isParameterUsed(variableIndex);
/external/proguard/src/proguard/optimize/
H A DParameterShrinker.java134 for (int variableIndex = oldParameterSize; variableIndex < maxLocals; variableIndex++)
136 variableMap[variableIndex] = variableIndex;
/external/proguard/src/proguard/classfile/attribute/preverification/
H A DDoubleType.java54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument
56 verificationTypeVisitor.visitVariablesDoubleType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
H A DFloatType.java54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument
56 verificationTypeVisitor.visitVariablesFloatType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
H A DIntegerType.java54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument
56 verificationTypeVisitor.visitVariablesIntegerType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
H A DLongType.java54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument
56 verificationTypeVisitor.visitVariablesLongType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
H A DNullType.java54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument
56 verificationTypeVisitor.visitVariablesNullType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
H A DTopType.java54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument
56 verificationTypeVisitor.visitVariablesTopType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
H A DUninitializedThisType.java54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument
56 verificationTypeVisitor.visitVariablesUninitializedThisType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
H A DObjectType.java75 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument
77 verificationTypeVisitor.visitVariablesObjectType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
H A DUninitializedType.java74 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument
76 verificationTypeVisitor.visitVariablesUninitializedType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
H A DVerificationType.java74 public abstract void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor); argument
/external/proguard/src/proguard/classfile/editor/
H A DVariableEditor.java73 * @param variableIndex the index of the variable to be deleted.
75 public void deleteVariable(int variableIndex) argument
77 deleted[variableIndex] = true;
H A DVariableRemapper.java132 int oldVariableIndex = variableInstruction.variableIndex;
152 private int remapVariable(int variableIndex) argument
154 return variableMap[variableIndex];
H A DVariableSizeUpdater.java89 int variableSize = variableInstruction.variableIndex + 1;
H A DInstructionWriter.java137 variableInstruction.variableIndex,
148 variableInstruction.variableIndex = 0;
/external/proguard/src/proguard/evaluation/
H A DBasicInvocationUnit.java84 int variableIndex = 0;
97 variables.store(variableIndex++, value);
121 variables.store(variableIndex++, value);
126 variableIndex++;
H A DProcessor.java634 int variableIndex = variableInstruction.variableIndex;
643 stack.push(variables.iload(variableIndex));
651 stack.push(variables.lload(variableIndex));
659 stack.push(variables.fload(variableIndex));
667 stack.push(variables.dload(variableIndex));
675 stack.push(variables.aload(variableIndex));
683 variables.store(variableIndex, stack.ipop());
691 variables.store(variableIndex, stack.lpop());
699 variables.store(variableIndex, stac
[all...]
/external/chromium_org/third_party/angle/src/compiler/translator/
H A DVariableInfo.cpp428 for (size_t variableIndex = 0; variableIndex < compact.size(); variableIndex++)
430 const ShaderVariable &variable = compact[variableIndex];

Completed in 666 milliseconds

12