Home
last modified time | relevance | path

Searched refs:simpleInstruction (Results 1 – 20 of 20) sorted by relevance

/external/proguard/src/proguard/optimize/peephole/
DNopRemover.java74 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
77 if (simpleInstruction.opcode == InstructionConstants.OP_NOP && in visitSimpleInstruction()
85 …InstructionVisitor.visitSimpleInstruction(clazz, method, codeAttribute, offset, simpleInstruction); in visitSimpleInstruction()
DInstructionSequenceReplacer.java263 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
266 new SimpleInstruction(simpleInstruction.opcode, in visitSimpleInstruction()
267 matchedArgument(clazz, simpleInstruction.constant)); in visitSimpleInstruction()
DReachableCodeMarker.java115 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
117 byte opcode = simpleInstruction.opcode; in visitSimpleInstruction()
DBranchTargetFinder.java455 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
463 byte opcode = simpleInstruction.opcode; in visitSimpleInstruction()
475 markAfterBranchOrigin(offset + simpleInstruction.length(offset)); in visitSimpleInstruction()
DMethodInliner.java363 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
369 switch (simpleInstruction.opcode) in visitSimpleInstruction()
399 codeAttributeComposer.appendInstruction(offset, simpleInstruction); in visitSimpleInstruction()
/external/proguard/src/proguard/classfile/instruction/
DSimpleInstruction.java68 public SimpleInstruction copy(SimpleInstruction simpleInstruction) in copy() argument
70 this.opcode = simpleInstruction.opcode; in copy()
71 this.constant = simpleInstruction.constant; in copy()
/external/proguard/src/proguard/optimize/evaluation/
DEvaluationShrinker.java589 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
591 switch (simpleInstruction.opcode) in visitSimpleInstruction()
634 markStackProducers(clazz, offset, simpleInstruction); in visitSimpleInstruction()
928 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
931 isDupOrSwap(simpleInstruction)) in visitSimpleInstruction()
938 int popCount = simpleInstruction.stackPopCount(clazz); in visitSimpleInstruction()
956 byte oldOpcode = simpleInstruction.opcode; in visitSimpleInstruction()
965 …throw new UnsupportedOperationException("Can't handle "+simpleInstruction.toString()+" instruction… in visitSimpleInstruction()
983 …if (DEBUG) System.out.println(" Deleting marked instruction "+simpleInstruction.toString(offset)); in visitSimpleInstruction()
990 …if (DEBUG) System.out.println(" Marking unchanged instruction "+simpleInstruction.toString(offset… in visitSimpleInstruction()
[all …]
DSimpleEnumUseSimplifier.java142 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
144 switch (simpleInstruction.opcode) in visitSimpleInstruction()
153 simpleInstruction, in visitSimpleInstruction()
166 simpleInstruction, in visitSimpleInstruction()
181 simpleInstruction, in visitSimpleInstruction()
DEvaluationSimplifier.java160 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
162 switch (simpleInstruction.opcode) in visitSimpleInstruction()
187 replaceIntegerPushInstruction(clazz, offset, simpleInstruction); in visitSimpleInstruction()
206 replaceLongPushInstruction(clazz, offset, simpleInstruction); in visitSimpleInstruction()
219 replaceFloatPushInstruction(clazz, offset, simpleInstruction); in visitSimpleInstruction()
232 replaceDoublePushInstruction(clazz, offset, simpleInstruction); in visitSimpleInstruction()
236 replaceReferencePushInstruction(clazz, offset, simpleInstruction); in visitSimpleInstruction()
DSimpleEnumUseChecker.java143 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
145 switch (simpleInstruction.opcode) in visitSimpleInstruction()
/external/proguard/src/proguard/evaluation/
DProcessor.java79 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
81 switch (simpleInstruction.opcode) in visitSimpleInstruction()
99 stack.push(valueFactory.createIntegerValue(simpleInstruction.constant)); in visitSimpleInstruction()
104 stack.push(valueFactory.createLongValue(simpleInstruction.constant)); in visitSimpleInstruction()
110 stack.push(valueFactory.createFloatValue((float)simpleInstruction.constant)); in visitSimpleInstruction()
115 stack.push(valueFactory.createDoubleValue((double)simpleInstruction.constant)); in visitSimpleInstruction()
542 …eValue(String.valueOf(InstructionUtil.internalTypeFromArrayType((byte)simpleInstruction.constant)), in visitSimpleInstruction()
565 … throw new IllegalArgumentException("Unknown simple instruction ["+simpleInstruction.opcode+"]"); in visitSimpleInstruction()
/external/proguard/src/proguard/classfile/instruction/visitor/
DMultiInstructionVisitor.java84 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
88 …ionVisitors[index].visitSimpleInstruction(clazz, method, codeAttribute, offset, simpleInstruction); in visitSimpleInstruction()
DInstructionVisitor.java36 …Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction); in visitSimpleInstruction() argument
/external/proguard/src/proguard/optimize/info/
DExceptionInstructionChecker.java137 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
145 switch (simpleInstruction.opcode) in visitSimpleInstruction()
DSideEffectInstructionChecker.java101 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
103 byte opcode = simpleInstruction.opcode; in visitSimpleInstruction()
/external/proguard/src/proguard/classfile/util/
DInstructionSequenceMatcher.java224 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
230 matchingOpcodes(simpleInstruction, patternInstruction) && in visitSimpleInstruction()
231 matchingArguments(simpleInstruction.constant, in visitSimpleInstruction()
240 simpleInstruction); in visitSimpleInstruction()
DSimplifiedVisitor.java585 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
587 visitAnyInstruction(clazz, method, codeAttribute, offset, simpleInstruction); in visitSimpleInstruction()
/external/proguard/src/proguard/classfile/editor/
DInstructionWriter.java87 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
91 simpleInstruction.write(codeAttribute, offset); in visitSimpleInstruction()
DCodeAttributeEditor.java813 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
820 simpleInstruction); in visitSimpleInstruction()
822 newOffset += simpleInstruction.length(newOffset); in visitSimpleInstruction()
/external/proguard/src/proguard/classfile/attribute/visitor/
DStackSizeComputer.java162 …clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) in visitSimpleInstruction() argument
164 byte opcode = simpleInstruction.opcode; in visitSimpleInstruction()