Searched refs:variableInstruction (Results 1 - 24 of 24) sorted by relevance

/external/proguard/src/proguard/classfile/editor/
H A DVariableSizeUpdater.java87 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
89 int variableSize = variableInstruction.variableIndex + 1;
90 if (variableInstruction.isCategory2())
101 System.out.println(" Max locals: "+codeAttribute.u2maxLocals+" <- "+variableInstruction.toString(offset));
H A DInstructionWriter.java125 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
130 variableInstruction.write(codeAttribute, offset);
136 new VariableInstruction(variableInstruction.opcode,
137 variableInstruction.variableIndex,
138 variableInstruction.constant);
144 System.out.println(" "+variableInstruction.toString(offset)+" will be widened to "+replacementInstruction.toString());
148 variableInstruction.variableIndex = 0;
149 variableInstruction.constant = 0;
150 variableInstruction.write(codeAttribute, offset);
H A DVariableRemapper.java187 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
190 int oldVariableIndex = variableInstruction.variableIndex;
196 new VariableInstruction(variableInstruction.opcode,
198 variableInstruction.constant);
H A DCodeAttributeEditor.java839 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
846 variableInstruction);
848 newOffset += variableInstruction.length(newOffset);
/external/proguard/src/proguard/optimize/info/
H A DVariableUsageMarker.java85 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
88 variableUsed[variableInstruction.variableIndex] = true;
91 if (variableInstruction.isCategory2())
93 variableUsed[variableInstruction.variableIndex + 1] = true;
H A DParameterUsageMarker.java188 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
191 variableInstruction.isLoad())
193 int parameterIndex = variableInstruction.variableIndex;
205 if (variableInstruction.isCategory2())
H A DSideEffectInstructionChecker.java158 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
160 byte opcode = variableInstruction.opcode;
/external/proguard/src/proguard/classfile/instruction/visitor/
H A DInstructionVisitor.java37 public void visitVariableInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction); argument
H A DMultiInstructionVisitor.java92 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
96 instructionVisitors[index].visitVariableInstruction(clazz, method, codeAttribute, offset, variableInstruction);
/external/proguard/src/proguard/classfile/instruction/
H A DVariableInstruction.java79 * @param variableInstruction the instruction to be copied.
82 public VariableInstruction copy(VariableInstruction variableInstruction) argument
84 this.opcode = variableInstruction.opcode;
85 this.variableIndex = variableInstruction.variableIndex;
86 this.constant = variableInstruction.constant;
87 this.wide = variableInstruction.wide;
/external/proguard/src/proguard/preverify/
H A DCodeSubroutineInliner.java249 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
251 byte opcode = variableInstruction.opcode;
255 if (branchTargetFinder.subroutineEnd(offset) == offset + variableInstruction.length(offset))
284 System.out.println(" Replacing first subroutine instruction "+variableInstruction.toString(offset)+" by a label");
294 codeAttributeComposer.appendInstruction(offset, variableInstruction);
/external/proguard/src/proguard/optimize/peephole/
H A DReachableCodeMarker.java136 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
138 if (variableInstruction.opcode == InstructionConstants.OP_RET)
H A DInstructionSequenceReplacer.java271 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
274 new VariableInstruction(variableInstruction.opcode,
275 instructionSequenceMatcher.matchedArgument(variableInstruction.variableIndex),
276 instructionSequenceMatcher.matchedArgument(variableInstruction.constant));
H A DBranchTargetFinder.java527 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
535 if (variableInstruction.opcode == InstructionConstants.OP_RET)
547 markAfterBranchOrigin(offset + variableInstruction.length(offset));
H A DMethodInliner.java403 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
409 variableInstruction.variableIndex += variableOffset;
412 codeAttributeComposer.appendInstruction(offset, variableInstruction);
/external/proguard/src/proguard/classfile/util/
H A DInstructionSequenceMatcher.java244 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
250 matchingOpcodes(variableInstruction, patternInstruction) &&
251 matchingArguments(variableInstruction.variableIndex,
253 matchingArguments(variableInstruction.constant,
262 variableInstruction);
H A DSimplifiedVisitor.java591 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
593 visitAnyInstruction(clazz, method, codeAttribute, offset, variableInstruction);
/external/proguard/src/proguard/optimize/evaluation/
H A DEvaluationSimplifier.java242 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
244 int variableIndex = variableInstruction.variableIndex;
246 switch (variableInstruction.opcode)
253 replaceIntegerPushInstruction(clazz, offset, variableInstruction, variableIndex);
261 replaceLongPushInstruction(clazz, offset, variableInstruction, variableIndex);
269 replaceFloatPushInstruction(clazz, offset, variableInstruction, variableIndex);
277 replaceDoublePushInstruction(clazz, offset, variableInstruction, variableIndex);
285 replaceReferencePushInstruction(clazz, offset, variableInstruction);
293 deleteReferencePopInstruction(clazz, offset, variableInstruction);
297 replaceBranchInstruction(clazz, offset, variableInstruction);
[all...]
H A DLivenessAnalyzer.java348 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
350 int variableIndex = variableInstruction.variableIndex;
356 if (variableInstruction.isLoad())
H A DSimpleEnumUseSimplifier.java193 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
195 int variableIndex = variableInstruction.variableIndex;
197 switch (variableInstruction.opcode)
210 variableInstruction,
235 variableInstruction,
H A DEvaluationShrinker.java640 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
643 if (variableInstruction.isLoad())
645 markVariableProducers(offset, variableInstruction.variableIndex);
649 markStackProducers(clazz, offset, variableInstruction);
697 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
700 if (variableInstruction.isLoad())
704 markVariableInitializersBefore(offset, variableInstruction.variableIndex);
H A DSimpleEnumUseChecker.java207 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
/external/proguard/src/proguard/classfile/attribute/visitor/
H A DStackSizeComputer.java183 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
185 byte opcode = variableInstruction.opcode;
/external/proguard/src/proguard/evaluation/
H A DProcessor.java651 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
653 int variableIndex = variableInstruction.variableIndex;
655 switch (variableInstruction.opcode)
743 valueFactory.createIntegerValue(variableInstruction.constant)));
758 throw new IllegalArgumentException("Unknown variable instruction ["+variableInstruction.opcode+"]");

Completed in 7122 milliseconds