/external/proguard/src/proguard/optimize/evaluation/ |
LivenessAnalyzer.java | 85 public boolean isAliveBefore(int instructionOffset, int variableIndex) 87 return variableIndex >= MAX_VARIABLES_SIZE || 88 (isAliveBefore[instructionOffset] & (1L << variableIndex)) != 0; 96 public void setAliveBefore(int instructionOffset, int variableIndex, boolean alive) 98 if (variableIndex < MAX_VARIABLES_SIZE) 102 isAliveBefore[instructionOffset] |= 1L << variableIndex; 106 isAliveBefore[instructionOffset] &= ~(1L << variableIndex); 116 public boolean isAliveAfter(int instructionOffset, int variableIndex) 118 return variableIndex >= MAX_VARIABLES_SIZE || 119 (isAliveAfter[instructionOffset] & (1L << variableIndex)) != 0 [all...] |
EvaluationSimplifier.java | 242 int variableIndex = variableInstruction.variableIndex; 251 replaceIntegerPushInstruction(clazz, offset, variableInstruction, variableIndex); 259 replaceLongPushInstruction(clazz, offset, variableInstruction, variableIndex); 267 replaceFloatPushInstruction(clazz, offset, variableInstruction, variableIndex); 275 replaceDoublePushInstruction(clazz, offset, variableInstruction, variableIndex); 453 for (int variableIndex = 0; variableIndex < maxVariableIndex; variableIndex++) 455 if (pushedValue.equals(variables.load(variableIndex))) [all...] |
EvaluationShrinker.java | 281 int variableIndex = partialEvaluator.initializedVariable(offset); 282 if (variableIndex >= 0 && 287 variableIndex)) 620 markVariableProducers(offset, variableInstruction.variableIndex); [all...] |
/external/proguard/src/proguard/classfile/instruction/ |
VariableInstruction.java | 36 public int variableIndex; 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); break [all...] |
/external/proguard/src/proguard/optimize/peephole/ |
VariableShrinker.java | 104 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/ |
VariableUsageMarker.java | 47 public boolean isVariableUsed(int variableIndex) 49 return variableUsed[variableIndex]; 87 variableUsed[variableInstruction.variableIndex] = true; 92 variableUsed[variableInstruction.variableIndex + 1] = true;
|
ParameterUsageMarker.java | 193 int parameterIndex = variableInstruction.variableIndex; 243 public static void markParameterUsed(Method method, int variableIndex) 248 info.setParameterUsed(variableIndex); 269 public static boolean isParameterUsed(Method method, int variableIndex) 273 info.isParameterUsed(variableIndex);
|
/external/proguard/src/proguard/optimize/ |
ParameterShrinker.java | 134 for (int variableIndex = oldParameterSize; variableIndex < maxLocals; variableIndex++) 136 variableMap[variableIndex] = variableIndex;
|
/external/proguard/src/proguard/classfile/attribute/preverification/ |
DoubleType.java | 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesDoubleType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
FloatType.java | 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesFloatType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
IntegerType.java | 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesIntegerType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
LongType.java | 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesLongType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
NullType.java | 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesNullType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
TopType.java | 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesTopType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
UninitializedThisType.java | 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesUninitializedThisType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
ObjectType.java | 75 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 77 verificationTypeVisitor.visitVariablesObjectType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
UninitializedType.java | 74 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 76 verificationTypeVisitor.visitVariablesUninitializedType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
VerificationType.java | 74 public abstract void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor);
|
/external/proguard/src/proguard/classfile/editor/ |
VariableEditor.java | 72 * @param variableIndex the index of the variable to be deleted. 74 public void deleteVariable(int variableIndex) 76 deleted[variableIndex] = true;
|
VariableRemapper.java | 129 int oldVariableIndex = variableInstruction.variableIndex; 149 private int remapVariable(int variableIndex) 151 return variableMap[variableIndex];
|
VariableSizeUpdater.java | 82 int variableSize = variableInstruction.variableIndex + 1;
|
InstructionWriter.java | 111 variableInstruction.variableIndex, 117 variableInstruction.variableIndex = 0;
|
/external/proguard/src/proguard/evaluation/ |
Processor.java | 636 int variableIndex = variableInstruction.variableIndex; 645 stack.push(variables.iload(variableIndex)); 653 stack.push(variables.lload(variableIndex)); 661 stack.push(variables.fload(variableIndex)); 669 stack.push(variables.dload(variableIndex)); 677 stack.push(variables.aload(variableIndex)); 685 variables.store(variableIndex, stack.ipop()); 693 variables.store(variableIndex, stack.lpop()); 701 variables.store(variableIndex, stack.fpop()) [all...] |
BasicInvocationUnit.java | 84 int variableIndex = 0; 97 variables.store(variableIndex++, value); 121 variables.store(variableIndex++, value); 126 variableIndex++;
|
/external/proguard/src/proguard/classfile/util/ |
InstructionSequenceMatcher.java | 212 matchingArguments(variableInstruction.variableIndex, 213 ((VariableInstruction)patternInstruction).variableIndex) &&
|