HomeSort by relevance Sort by last modified time
    Searched refs:variableIndex (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/proguard/src/proguard/optimize/evaluation/
LivenessAnalyzer.java 95 public boolean isAliveBefore(int instructionOffset, int variableIndex)
97 return variableIndex >= MAX_VARIABLES_SIZE ||
98 (isAliveBefore[instructionOffset] & (1L << variableIndex)) != 0;
106 public void setAliveBefore(int instructionOffset, int variableIndex, boolean alive)
108 if (variableIndex < MAX_VARIABLES_SIZE)
112 isAliveBefore[instructionOffset] |= 1L << variableIndex;
116 isAliveBefore[instructionOffset] &= ~(1L << variableIndex);
126 public boolean isAliveAfter(int instructionOffset, int variableIndex)
128 return variableIndex >= MAX_VARIABLES_SIZE ||
129 (isAliveAfter[instructionOffset] & (1L << variableIndex)) != 0
    [all...]
EvaluationSimplifier.java 244 int variableIndex = variableInstruction.variableIndex;
253 replaceIntegerPushInstruction(clazz, offset, variableInstruction, variableIndex);
261 replaceLongPushInstruction(clazz, offset, variableInstruction, variableIndex);
269 replaceFloatPushInstruction(clazz, offset, variableInstruction, variableIndex);
277 replaceDoublePushInstruction(clazz, offset, variableInstruction, variableIndex);
492 for (int variableIndex = 0; variableIndex < maxVariableIndex; variableIndex++)
494 if (pushedValue.equals(variables.load(variableIndex)))
    [all...]
VariableOptimizer.java 319 private int firstLiveness(int startOffset, int endOffset, int variableIndex)
324 livenessAnalyzer.isAliveBefore(offset, variableIndex))
338 private int lastLiveness(int startOffset, int endOffset, int variableIndex)
346 if (livenessAnalyzer.isAliveBefore(offset, variableIndex))
SimpleEnumUseSimplifier.java 195 int variableIndex = variableInstruction.variableIndex;
212 variableIndex));
219 variableIndex);
237 variableIndex));
797 int variableIndex)
800 partialEvaluator.getVariablesBefore(consumerOffset).getProducerValue(variableIndex).instructionOffsetValue();
807 partialEvaluator.getVariablesAfter(producerOffset).getValue(variableIndex).referenceValue().isNull() == Value.ALWAYS)
812 new VariableInstruction(InstructionConstants.OP_ASTORE, variableIndex),
813 new VariableInstruction(InstructionConstants.OP_ISTORE, variableIndex));
    [all...]
SimpleEnumUseChecker.java 509 for (int variableIndex = 0; variableIndex < variablesSize; variableIndex++)
512 Value variable = variablesBefore.getValue(variableIndex);
518 variablesBefore.getProducerValue(variableIndex).instructionOffsetValue();
540 partialEvaluator.getVariablesAfter(producerOffset).getValue(variableIndex).referenceValue();
549 markStoredComplexEnumType(producerOffset, variableIndex);
740 private void markStoredComplexEnumType(int offset, int variableIndex)
743 partialEvaluator.getVariablesAfter(offset).getValue(variableIndex).referenceValue();
  /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 49 public boolean isVariableUsed(int variableIndex)
51 return variableUsed[variableIndex];
88 variableUsed[variableInstruction.variableIndex] = true;
93 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 138 for (int variableIndex = oldParameterSize; variableIndex < maxLocals; variableIndex++)
140 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 73 * @param variableIndex the index of the variable to be deleted.
75 public void deleteVariable(int variableIndex)
77 deleted[variableIndex] = true;
VariableRemapper.java 190 int oldVariableIndex = variableInstruction.variableIndex;
210 private int remapVariable(int variableIndex)
212 return variableMap[variableIndex];
VariableSizeUpdater.java 89 int variableSize = variableInstruction.variableIndex + 1;
  /external/proguard/src/proguard/evaluation/
BasicInvocationUnit.java 84 int variableIndex = 0;
97 variables.store(variableIndex++, value);
121 variables.store(variableIndex++, value);
126 variableIndex++;
Processor.java 653 int variableIndex = variableInstruction.variableIndex;
662 stack.push(variables.iload(variableIndex));
670 stack.push(variables.lload(variableIndex));
678 stack.push(variables.fload(variableIndex));
686 stack.push(variables.dload(variableIndex));
694 stack.push(variables.aload(variableIndex));
702 variables.store(variableIndex, stack.ipop());
710 variables.store(variableIndex, stack.lpop());
718 variables.store(variableIndex, stack.fpop())
    [all...]

Completed in 577 milliseconds

1 2 3