Home
last modified time | relevance | path

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

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