/external/proguard/src/proguard/optimize/evaluation/ |
H A D | LivenessAnalyzer.java | 95 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 D | EvaluationSimplifier.java | 245 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 D | VariableOptimizer.java | 319 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 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 | 49 public boolean isVariableUsed(int variableIndex) argument 51 return variableUsed[variableIndex]; 88 variableUsed[variableInstruction.variableIndex] = true; 93 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 | 73 * @param variableIndex the index of the variable to be deleted. 75 public void deleteVariable(int variableIndex) argument 77 deleted[variableIndex] = true;
|
H A D | VariableRemapper.java | 132 int oldVariableIndex = variableInstruction.variableIndex; 152 private int remapVariable(int variableIndex) argument 154 return variableMap[variableIndex];
|
H A D | VariableSizeUpdater.java | 89 int variableSize = variableInstruction.variableIndex + 1;
|
H A D | InstructionWriter.java | 137 variableInstruction.variableIndex, 148 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 | 634 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 D | VariableInfo.cpp | 428 for (size_t variableIndex = 0; variableIndex < compact.size(); variableIndex++) 430 const ShaderVariable &variable = compact[variableIndex];
|