Home
last modified time | relevance | path

Searched refs:InstructionConstants (Results 1 – 25 of 55) sorted by relevance

123

/external/proguard/src/proguard/classfile/instruction/
DInstructionFactory.java42 if (opcode == InstructionConstants.OP_WIDE) in create()
51 case InstructionConstants.OP_NOP: in create()
52 case InstructionConstants.OP_ACONST_NULL: in create()
53 case InstructionConstants.OP_ICONST_M1: in create()
54 case InstructionConstants.OP_ICONST_0: in create()
55 case InstructionConstants.OP_ICONST_1: in create()
56 case InstructionConstants.OP_ICONST_2: in create()
57 case InstructionConstants.OP_ICONST_3: in create()
58 case InstructionConstants.OP_ICONST_4: in create()
59 case InstructionConstants.OP_ICONST_5: in create()
[all …]
DVariableInstruction.java101 case InstructionConstants.OP_ILOAD_1: in embeddedVariable()
102 case InstructionConstants.OP_LLOAD_1: in embeddedVariable()
103 case InstructionConstants.OP_FLOAD_1: in embeddedVariable()
104 case InstructionConstants.OP_DLOAD_1: in embeddedVariable()
105 case InstructionConstants.OP_ALOAD_1: in embeddedVariable()
106 case InstructionConstants.OP_ISTORE_1: in embeddedVariable()
107 case InstructionConstants.OP_LSTORE_1: in embeddedVariable()
108 case InstructionConstants.OP_FSTORE_1: in embeddedVariable()
109 case InstructionConstants.OP_DSTORE_1: in embeddedVariable()
110 case InstructionConstants.OP_ASTORE_1: return 1; in embeddedVariable()
[all …]
DSimpleInstruction.java85 case InstructionConstants.OP_ICONST_M1: return -1; in embeddedConstant()
87 case InstructionConstants.OP_ICONST_1: in embeddedConstant()
88 case InstructionConstants.OP_LCONST_1: in embeddedConstant()
89 case InstructionConstants.OP_FCONST_1: in embeddedConstant()
90 case InstructionConstants.OP_DCONST_1: return 1; in embeddedConstant()
92 case InstructionConstants.OP_ICONST_2: in embeddedConstant()
93 case InstructionConstants.OP_FCONST_2: return 2; in embeddedConstant()
95 case InstructionConstants.OP_ICONST_3: return 3; in embeddedConstant()
97 case InstructionConstants.OP_ICONST_4: return 4; in embeddedConstant()
99 case InstructionConstants.OP_ICONST_5: return 5; in embeddedConstant()
[all …]
DConstantInstruction.java97 opcode == InstructionConstants.OP_LDC_W ? InstructionConstants.OP_LDC : in canonicalOpcode()
107 if (opcode == InstructionConstants.OP_LDC_W) in shrink()
109 opcode = InstructionConstants.OP_LDC; in shrink()
115 if (opcode == InstructionConstants.OP_LDC) in shrink()
117 opcode = InstructionConstants.OP_LDC_W; in shrink()
168 case InstructionConstants.OP_MULTIANEWARRAY: in stackPopCount()
173 case InstructionConstants.OP_PUTSTATIC: in stackPopCount()
174 case InstructionConstants.OP_PUTFIELD: in stackPopCount()
180 case InstructionConstants.OP_INVOKEVIRTUAL: in stackPopCount()
181 case InstructionConstants.OP_INVOKESPECIAL: in stackPopCount()
[all …]
DBranchInstruction.java72 case InstructionConstants.OP_GOTO_W: return InstructionConstants.OP_GOTO; in canonicalOpcode()
74 case InstructionConstants.OP_JSR_W: return InstructionConstants.OP_JSR; in canonicalOpcode()
86 if (opcode == InstructionConstants.OP_GOTO_W) in shrink()
88 opcode = InstructionConstants.OP_GOTO; in shrink()
90 else if (opcode == InstructionConstants.OP_JSR_W) in shrink()
92 opcode = InstructionConstants.OP_JSR; in shrink()
98 if (opcode == InstructionConstants.OP_GOTO) in shrink()
100 opcode = InstructionConstants.OP_GOTO_W; in shrink()
102 else if (opcode == InstructionConstants.OP_JSR) in shrink()
104 opcode = InstructionConstants.OP_JSR_W; in shrink()
[all …]
DInstructionUtil.java56 case InstructionConstants.ARRAY_T_BOOLEAN: return ClassConstants.TYPE_BOOLEAN; in internalTypeFromArrayType()
57 case InstructionConstants.ARRAY_T_CHAR: return ClassConstants.TYPE_CHAR; in internalTypeFromArrayType()
58 case InstructionConstants.ARRAY_T_FLOAT: return ClassConstants.TYPE_FLOAT; in internalTypeFromArrayType()
59 case InstructionConstants.ARRAY_T_DOUBLE: return ClassConstants.TYPE_DOUBLE; in internalTypeFromArrayType()
60 case InstructionConstants.ARRAY_T_BYTE: return ClassConstants.TYPE_BYTE; in internalTypeFromArrayType()
61 case InstructionConstants.ARRAY_T_SHORT: return ClassConstants.TYPE_SHORT; in internalTypeFromArrayType()
62 case InstructionConstants.ARRAY_T_INT: return ClassConstants.TYPE_INT; in internalTypeFromArrayType()
63 case InstructionConstants.ARRAY_T_LONG: return ClassConstants.TYPE_LONG; in internalTypeFromArrayType()
/external/proguard/src/proguard/optimize/peephole/
DInstructionSequenceConstants.java391 new SimpleInstruction(InstructionConstants.OP_NOP),
398 new VariableInstruction(InstructionConstants.OP_ILOAD, X),
399 new SimpleInstruction(InstructionConstants.OP_POP),
406 new VariableInstruction(InstructionConstants.OP_LLOAD, X),
407 new SimpleInstruction(InstructionConstants.OP_POP2),
414 new VariableInstruction(InstructionConstants.OP_FLOAD, X),
415 new SimpleInstruction(InstructionConstants.OP_POP),
422 new VariableInstruction(InstructionConstants.OP_DLOAD, X),
423 new SimpleInstruction(InstructionConstants.OP_POP2),
430 new VariableInstruction(InstructionConstants.OP_ALOAD, X),
[all …]
DGotoReturnReplacer.java79 if (opcode == InstructionConstants.OP_GOTO || in visitBranchInstruction()
80 opcode == InstructionConstants.OP_GOTO_W) in visitBranchInstruction()
92 case InstructionConstants.OP_IRETURN: in visitBranchInstruction()
93 case InstructionConstants.OP_LRETURN: in visitBranchInstruction()
94 case InstructionConstants.OP_FRETURN: in visitBranchInstruction()
95 case InstructionConstants.OP_DRETURN: in visitBranchInstruction()
96 case InstructionConstants.OP_ARETURN: in visitBranchInstruction()
97 case InstructionConstants.OP_RETURN: in visitBranchInstruction()
DReachableCodeMarker.java118 if (opcode == InstructionConstants.OP_IRETURN || in visitSimpleInstruction()
119 opcode == InstructionConstants.OP_LRETURN || in visitSimpleInstruction()
120 opcode == InstructionConstants.OP_FRETURN || in visitSimpleInstruction()
121 opcode == InstructionConstants.OP_DRETURN || in visitSimpleInstruction()
122 opcode == InstructionConstants.OP_ARETURN || in visitSimpleInstruction()
123 opcode == InstructionConstants.OP_RETURN || in visitSimpleInstruction()
124 opcode == InstructionConstants.OP_ATHROW) in visitSimpleInstruction()
138 if (variableInstruction.opcode == InstructionConstants.OP_RET) in visitVariableInstruction()
154 if (opcode == InstructionConstants.OP_GOTO || in visitBranchInstruction()
155 opcode == InstructionConstants.OP_GOTO_W) in visitBranchInstruction()
DMethodInliner.java297 opcode = InstructionConstants.OP_ISTORE; in storeParameters()
301 opcode = InstructionConstants.OP_LSTORE; in storeParameters()
305 opcode = InstructionConstants.OP_FSTORE; in storeParameters()
309 opcode = InstructionConstants.OP_DSTORE; in storeParameters()
313 opcode = InstructionConstants.OP_ASTORE; in storeParameters()
326 … new VariableInstruction(InstructionConstants.OP_ASTORE, variableOffset)); in storeParameters()
371 case InstructionConstants.OP_IRETURN: in visitSimpleInstruction()
372 case InstructionConstants.OP_LRETURN: in visitSimpleInstruction()
373 case InstructionConstants.OP_FRETURN: in visitSimpleInstruction()
374 case InstructionConstants.OP_DRETURN: in visitSimpleInstruction()
[all …]
DBranchTargetFinder.java464 if (opcode == InstructionConstants.OP_IRETURN || in visitSimpleInstruction()
465 opcode == InstructionConstants.OP_LRETURN || in visitSimpleInstruction()
466 opcode == InstructionConstants.OP_FRETURN || in visitSimpleInstruction()
467 opcode == InstructionConstants.OP_DRETURN || in visitSimpleInstruction()
468 opcode == InstructionConstants.OP_ARETURN || in visitSimpleInstruction()
469 opcode == InstructionConstants.OP_ATHROW) in visitSimpleInstruction()
489 if (opcode == InstructionConstants.OP_NEW) in visitConstantInstruction()
494 else if (opcode == InstructionConstants.OP_INVOKESPECIAL) in visitConstantInstruction()
535 if (variableInstruction.opcode == InstructionConstants.OP_RET) in visitVariableInstruction()
567 if (opcode == InstructionConstants.OP_JSR || in visitBranchInstruction()
[all …]
/external/proguard/src/proguard/evaluation/
DProcessor.java83 case InstructionConstants.OP_NOP: in visitSimpleInstruction()
86 case InstructionConstants.OP_ACONST_NULL: in visitSimpleInstruction()
90 case InstructionConstants.OP_ICONST_M1: in visitSimpleInstruction()
91 case InstructionConstants.OP_ICONST_0: in visitSimpleInstruction()
92 case InstructionConstants.OP_ICONST_1: in visitSimpleInstruction()
93 case InstructionConstants.OP_ICONST_2: in visitSimpleInstruction()
94 case InstructionConstants.OP_ICONST_3: in visitSimpleInstruction()
95 case InstructionConstants.OP_ICONST_4: in visitSimpleInstruction()
96 case InstructionConstants.OP_ICONST_5: in visitSimpleInstruction()
97 case InstructionConstants.OP_BIPUSH: in visitSimpleInstruction()
[all …]
/external/proguard/src/proguard/optimize/info/
DExceptionInstructionChecker.java147 case InstructionConstants.OP_IDIV: in visitSimpleInstruction()
148 case InstructionConstants.OP_LDIV: in visitSimpleInstruction()
149 case InstructionConstants.OP_IREM: in visitSimpleInstruction()
150 case InstructionConstants.OP_LREM: in visitSimpleInstruction()
151 case InstructionConstants.OP_IALOAD: in visitSimpleInstruction()
152 case InstructionConstants.OP_LALOAD: in visitSimpleInstruction()
153 case InstructionConstants.OP_FALOAD: in visitSimpleInstruction()
154 case InstructionConstants.OP_DALOAD: in visitSimpleInstruction()
155 case InstructionConstants.OP_AALOAD: in visitSimpleInstruction()
156 case InstructionConstants.OP_BALOAD: in visitSimpleInstruction()
[all …]
DSideEffectInstructionChecker.java108 case InstructionConstants.OP_IDIV: in visitSimpleInstruction()
109 case InstructionConstants.OP_LDIV: in visitSimpleInstruction()
110 case InstructionConstants.OP_IREM: in visitSimpleInstruction()
111 case InstructionConstants.OP_LREM: in visitSimpleInstruction()
112 case InstructionConstants.OP_IALOAD: in visitSimpleInstruction()
113 case InstructionConstants.OP_LALOAD: in visitSimpleInstruction()
114 case InstructionConstants.OP_FALOAD: in visitSimpleInstruction()
115 case InstructionConstants.OP_DALOAD: in visitSimpleInstruction()
116 case InstructionConstants.OP_AALOAD: in visitSimpleInstruction()
117 case InstructionConstants.OP_BALOAD: in visitSimpleInstruction()
[all …]
DReadWriteFieldMarker.java60 case InstructionConstants.OP_LDC: in visitConstantInstruction()
61 case InstructionConstants.OP_LDC_W: in visitConstantInstruction()
68 case InstructionConstants.OP_GETSTATIC: in visitConstantInstruction()
69 case InstructionConstants.OP_GETFIELD: in visitConstantInstruction()
76 case InstructionConstants.OP_PUTSTATIC: in visitConstantInstruction()
77 case InstructionConstants.OP_PUTFIELD: in visitConstantInstruction()
/external/proguard/src/proguard/optimize/evaluation/
DEvaluationSimplifier.java164 case InstructionConstants.OP_IALOAD: in visitSimpleInstruction()
165 case InstructionConstants.OP_BALOAD: in visitSimpleInstruction()
166 case InstructionConstants.OP_CALOAD: in visitSimpleInstruction()
167 case InstructionConstants.OP_SALOAD: in visitSimpleInstruction()
168 case InstructionConstants.OP_IADD: in visitSimpleInstruction()
169 case InstructionConstants.OP_ISUB: in visitSimpleInstruction()
170 case InstructionConstants.OP_IMUL: in visitSimpleInstruction()
171 case InstructionConstants.OP_IDIV: in visitSimpleInstruction()
172 case InstructionConstants.OP_IREM: in visitSimpleInstruction()
173 case InstructionConstants.OP_INEG: in visitSimpleInstruction()
[all …]
DSimpleEnumUseSimplifier.java146 case InstructionConstants.OP_AALOAD: in visitSimpleInstruction()
155 InstructionConstants.OP_IALOAD)); in visitSimpleInstruction()
159 case InstructionConstants.OP_AASTORE: in visitSimpleInstruction()
167 new SimpleInstruction(InstructionConstants.OP_IASTORE)); in visitSimpleInstruction()
174 case InstructionConstants.OP_ARETURN: in visitSimpleInstruction()
182 new SimpleInstruction(InstructionConstants.OP_IRETURN)); in visitSimpleInstruction()
199 case InstructionConstants.OP_ALOAD: in visitVariableInstruction()
200 case InstructionConstants.OP_ALOAD_0: in visitVariableInstruction()
201 case InstructionConstants.OP_ALOAD_1: in visitVariableInstruction()
202 case InstructionConstants.OP_ALOAD_2: in visitVariableInstruction()
[all …]
DSimpleEnumClassSimplifier.java93 new ConstantInstruction(InstructionConstants.OP_NEW, CLASS_ENUM),
94 new SimpleInstruction(InstructionConstants.OP_DUP),
95 new ConstantInstruction(InstructionConstants.OP_LDC, STRING_ENUM_CONSTANT_NAME),
96 new SimpleInstruction(InstructionConstants.OP_ICONST_0, ENUM_CONSTANT_ORDINAL),
97 new ConstantInstruction(InstructionConstants.OP_INVOKESPECIAL, METHOD_ENUM_INIT),
102 new SimpleInstruction(InstructionConstants.OP_SIPUSH, ENUM_CONSTANT_ORDINAL),
103 new SimpleInstruction(InstructionConstants.OP_ICONST_1),
104 new SimpleInstruction(InstructionConstants.OP_IADD),
DEvaluationShrinker.java58 private static final int NOP = InstructionConstants.OP_NOP & 0xff;
59 private static final int POP = InstructionConstants.OP_POP & 0xff;
60 private static final int POP2 = InstructionConstants.OP_POP2 & 0xff;
61 private static final int DUP = InstructionConstants.OP_DUP & 0xff;
62 private static final int DUP_X1 = InstructionConstants.OP_DUP_X1 & 0xff;
63 private static final int DUP_X2 = InstructionConstants.OP_DUP_X2 & 0xff;
64 private static final int DUP2 = InstructionConstants.OP_DUP2 & 0xff;
65 private static final int DUP2_X1 = InstructionConstants.OP_DUP2_X1 & 0xff;
66 private static final int DUP2_X2 = InstructionConstants.OP_DUP2_X2 & 0xff;
67 private static final int SWAP = InstructionConstants.OP_SWAP & 0xff;
[all …]
/external/proguard/src/proguard/classfile/util/
DDynamicMemberReferenceInitializer.java165 new ConstantInstruction(InstructionConstants.OP_LDC, CLASS_INDEX),
166 new ConstantInstruction(InstructionConstants.OP_LDC, MEMBER_NAME_INDEX),
167 new ConstantInstruction(InstructionConstants.OP_INVOKEVIRTUAL, 0),
212 new ConstantInstruction(InstructionConstants.OP_LDC, CLASS_INDEX),
213 new ConstantInstruction(InstructionConstants.OP_LDC, MEMBER_NAME_INDEX),
214 new SimpleInstruction(InstructionConstants.OP_ICONST_0),
215 new ConstantInstruction(InstructionConstants.OP_ANEWARRAY, 1),
216 new ConstantInstruction(InstructionConstants.OP_INVOKEVIRTUAL, 0),
222 new ConstantInstruction(InstructionConstants.OP_LDC, CLASS_INDEX),
223 new ConstantInstruction(InstructionConstants.OP_LDC, MEMBER_NAME_INDEX),
[all …]
DDynamicClassReferenceInitializer.java89 new ConstantInstruction(InstructionConstants.OP_LDC, X),
90 new ConstantInstruction(InstructionConstants.OP_INVOKESTATIC, 0),
96 new ConstantInstruction(InstructionConstants.OP_INVOKESTATIC, 0),
97 new ConstantInstruction(InstructionConstants.OP_INVOKEVIRTUAL, 6),
98 new ConstantInstruction(InstructionConstants.OP_CHECKCAST, X),
120 new ConstantInstruction(InstructionConstants.OP_LDC, X),
121 new ConstantInstruction(InstructionConstants.OP_INVOKESTATIC, 0),
143 new ConstantInstruction(InstructionConstants.OP_LDC, X),
144 new SimpleInstruction(InstructionConstants.OP_ICONST_0),
145 new ConstantInstruction(InstructionConstants.OP_INVOKESTATIC, 0),
[all …]
/external/proguard/src/proguard/classfile/editor/
DInstructionWriter.java166 new BranchInstruction(InstructionConstants.OP_GOTO_W, in visitBranchInstruction()
183 case InstructionConstants.OP_IFEQ: in visitBranchInstruction()
184 case InstructionConstants.OP_IFNE: in visitBranchInstruction()
185 case InstructionConstants.OP_IFLT: in visitBranchInstruction()
186 case InstructionConstants.OP_IFGE: in visitBranchInstruction()
187 case InstructionConstants.OP_IFGT: in visitBranchInstruction()
188 case InstructionConstants.OP_IFLE: in visitBranchInstruction()
189 case InstructionConstants.OP_IFICMPEQ: in visitBranchInstruction()
190 case InstructionConstants.OP_IFICMPNE: in visitBranchInstruction()
191 case InstructionConstants.OP_IFICMPLT: in visitBranchInstruction()
[all …]
DMethodInvocationFixer.java98 if (opcode != InstructionConstants.OP_INVOKESTATIC) in visitConstantInstruction()
102 new ConstantInstruction(InstructionConstants.OP_INVOKESTATIC, in visitConstantInstruction()
119 if (opcode != InstructionConstants.OP_INVOKESPECIAL) in visitConstantInstruction()
123 new ConstantInstruction(InstructionConstants.OP_INVOKESPECIAL, in visitConstantInstruction()
143 if (opcode != InstructionConstants.OP_INVOKEINTERFACE || in visitConstantInstruction()
148 new ConstantInstruction(InstructionConstants.OP_INVOKEINTERFACE, in visitConstantInstruction()
167 if (opcode != InstructionConstants.OP_INVOKEVIRTUAL && in visitConstantInstruction()
168 (opcode != InstructionConstants.OP_INVOKESPECIAL || in visitConstantInstruction()
174 new ConstantInstruction(InstructionConstants.OP_INVOKEVIRTUAL, in visitConstantInstruction()
/external/proguard/src/proguard/optimize/
DTailRecursionSimplifier.java149 case InstructionConstants.OP_INVOKEVIRTUAL: in visitConstantInstruction()
150 case InstructionConstants.OP_INVOKESPECIAL: in visitConstantInstruction()
151 case InstructionConstants.OP_INVOKESTATIC: in visitConstantInstruction()
167 case InstructionConstants.OP_IRETURN: in visitConstantInstruction()
168 case InstructionConstants.OP_LRETURN: in visitConstantInstruction()
169 case InstructionConstants.OP_FRETURN: in visitConstantInstruction()
170 case InstructionConstants.OP_DRETURN: in visitConstantInstruction()
171 case InstructionConstants.OP_ARETURN: in visitConstantInstruction()
172 case InstructionConstants.OP_RETURN: in visitConstantInstruction()
193 … new BranchInstruction(InstructionConstants.OP_GOTO, -gotoOffset)); in visitConstantInstruction()
[all …]
/external/proguard/src/proguard/classfile/attribute/visitor/
DStackSizeComputer.java168 opcode == InstructionConstants.OP_IRETURN || in visitSimpleInstruction()
169 opcode == InstructionConstants.OP_LRETURN || in visitSimpleInstruction()
170 opcode == InstructionConstants.OP_FRETURN || in visitSimpleInstruction()
171 opcode == InstructionConstants.OP_DRETURN || in visitSimpleInstruction()
172 opcode == InstructionConstants.OP_ARETURN || in visitSimpleInstruction()
173 opcode == InstructionConstants.OP_RETURN || in visitSimpleInstruction()
174 opcode == InstructionConstants.OP_ATHROW; in visitSimpleInstruction()
189 opcode == InstructionConstants.OP_RET; in visitVariableInstruction()
204 if (opcode == InstructionConstants.OP_JSR || in visitBranchInstruction()
205 opcode == InstructionConstants.OP_JSR_W) in visitBranchInstruction()
[all …]

123