/external/proguard/src/proguard/optimize/evaluation/ |
H A D | LivenessAnalyzer.java | 85 public boolean isAliveBefore(int instructionOffset, int variableIndex) argument 87 return variableIndex >= MAX_VARIABLES_SIZE || 88 (isAliveBefore[instructionOffset] & (1L << variableIndex)) != 0; 96 public void setAliveBefore(int instructionOffset, int variableIndex, boolean alive) argument 98 if (variableIndex < MAX_VARIABLES_SIZE) 102 isAliveBefore[instructionOffset] |= 1L << variableIndex; 106 isAliveBefore[instructionOffset] &= ~(1L << variableIndex); 116 public boolean isAliveAfter(int instructionOffset, int variableIndex) argument 118 return variableIndex >= MAX_VARIABLES_SIZE || 119 (isAliveAfter[instructionOffset] & (1L << variableIndex)) ! 127 setAliveAfter(int instructionOffset, int variableIndex, boolean alive) argument 147 isCategory2(int instructionOffset, int variableIndex) argument 158 setCategory2(int instructionOffset, int variableIndex, boolean category2) argument [all...] |
H A D | 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))) 712 replaceVariablePushInstruction(Clazz clazz, int offset, Instruction instruction, byte replacementOpcode, int variableIndex) argument [all...] |
H A D | EvaluationShrinker.java | 281 int variableIndex = partialEvaluator.initializedVariable(offset); 282 if (variableIndex >= 0 && 287 variableIndex)) 620 markVariableProducers(offset, variableInstruction.variableIndex); 831 * @param variableIndex the index of the variable to be marked. 834 int variableIndex) 840 markVariableProducers(tracedVariables.getProducerValue(variableIndex).instructionOffsetValue(), 841 variableIndex); 848 * @param variableIndex the index of the variable to be marked. 851 int variableIndex) 833 markVariableProducers(int consumerOffset, int variableIndex) argument 850 markVariableProducers(InstructionOffsetValue producerOffsets, int variableIndex) argument 1676 isVariableInitializationNecessary(Clazz clazz, Method method, CodeAttribute codeAttribute, int initializationOffset, int variableIndex) argument 1733 markVariableAfter(int instructionOffset, int variableIndex) argument 1754 isVariableNecessaryAfterAny(int startOffset, int endOffset, int variableIndex) argument 1774 isVariableNecessaryAfterAny(InstructionOffsetValue instructionOffsetValue, int variableIndex) argument 1792 isVariableNecessaryAfter(int instructionOffset, int variableIndex) argument [all...] |
/external/proguard/src/proguard/classfile/instruction/ |
H A D | VariableInstruction.java | 36 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 D | 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/ |
H A D | VariableUsageMarker.java | 47 public boolean isVariableUsed(int variableIndex) argument 49 return variableUsed[variableIndex]; 87 variableUsed[variableInstruction.variableIndex] = true; 92 variableUsed[variableInstruction.variableIndex + 1] = true;
|
H A D | ParameterUsageMarker.java | 193 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 D | ParameterShrinker.java | 134 for (int variableIndex = oldParameterSize; variableIndex < maxLocals; variableIndex++) 136 variableMap[variableIndex] = variableIndex;
|
/external/proguard/src/proguard/classfile/attribute/preverification/ |
H A D | DoubleType.java | 54 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 D | FloatType.java | 54 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 D | IntegerType.java | 54 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 D | LongType.java | 54 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 D | NullType.java | 54 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 D | TopType.java | 54 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 D | UninitializedThisType.java | 54 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 D | ObjectType.java | 75 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 D | UninitializedType.java | 74 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 D | VerificationType.java | 74 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 D | VariableEditor.java | 72 * @param variableIndex the index of the variable to be deleted. 74 public void deleteVariable(int variableIndex) argument 76 deleted[variableIndex] = true;
|
H A D | VariableRemapper.java | 129 int oldVariableIndex = variableInstruction.variableIndex; 149 private int remapVariable(int variableIndex) argument 151 return variableMap[variableIndex];
|
H A D | VariableSizeUpdater.java | 82 int variableSize = variableInstruction.variableIndex + 1;
|
H A D | InstructionWriter.java | 111 variableInstruction.variableIndex, 117 variableInstruction.variableIndex = 0;
|
/external/proguard/src/proguard/evaluation/ |
H A D | BasicInvocationUnit.java | 84 int variableIndex = 0; 97 variables.store(variableIndex++, value); 121 variables.store(variableIndex++, value); 126 variableIndex++;
|
H A D | 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, stac [all...] |
/external/proguard/src/proguard/classfile/util/ |
H A D | InstructionSequenceMatcher.java | 212 matchingArguments(variableInstruction.variableIndex, 213 ((VariableInstruction)patternInstruction).variableIndex) &&
|