Home
last modified time | relevance | path

Searched full:opcodes (Results 1 – 25 of 1538) sorted by relevance

12345678910>>...62

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/filter/
DTryWithResourcesJavacFilterTest.java17 import org.objectweb.asm.Opcodes;
118 m.visitVarInsn(Opcodes.ASTORE, 1); in javac9()
121 m.visitInsn(Opcodes.ACONST_NULL); in javac9()
122 m.visitVarInsn(Opcodes.ASTORE, 2); in javac9()
125 m.visitVarInsn(Opcodes.ASTORE, 3); in javac9()
128 m.visitInsn(Opcodes.ACONST_NULL); in javac9()
129 m.visitVarInsn(Opcodes.ASTORE, 4); in javac9()
132 m.visitInsn(Opcodes.NOP); in javac9()
133 m.visitInsn(Opcodes.ACONST_NULL); in javac9()
134 m.visitVarInsn(Opcodes.ASTORE, 5); in javac9()
[all …]
DTryWithResourcesEcjFilterTest.java17 import org.objectweb.asm.Opcodes;
167 m.visitInsn(Opcodes.ACONST_NULL); in ecj()
168 m.visitVarInsn(Opcodes.ASTORE, 1); in ecj()
170 m.visitInsn(Opcodes.ACONST_NULL); in ecj()
171 m.visitVarInsn(Opcodes.ASTORE, 2); in ecj()
174 m.visitInsn(Opcodes.NOP); in ecj()
180 m.visitVarInsn(Opcodes.ALOAD, 5); in ecj()
182 m.visitJumpInsn(Opcodes.IFNULL, l4); in ecj()
183 m.visitVarInsn(Opcodes.ALOAD, 5); in ecj()
184 m.visitMethodInsn(Opcodes.INVOKEVIRTUAL, "Fun2$Resource", "close", in ecj()
[all …]
DKotlinCoroutineFilterTest.java17 import org.objectweb.asm.Opcodes;
38 m.visitMethodInsn(Opcodes.INVOKESTATIC, in should_filter_suspending_lambdas_generated_by_Kotlin_1_3_30()
41 m.visitVarInsn(Opcodes.ASTORE, 4); in should_filter_suspending_lambdas_generated_by_Kotlin_1_3_30()
43 m.visitVarInsn(Opcodes.ALOAD, 0); in should_filter_suspending_lambdas_generated_by_Kotlin_1_3_30()
45 m.visitFieldInsn(Opcodes.GETFIELD, "Target", "label", "I"); in should_filter_suspending_lambdas_generated_by_Kotlin_1_3_30()
54 m.visitVarInsn(Opcodes.ALOAD, 1); in should_filter_suspending_lambdas_generated_by_Kotlin_1_3_30()
55 m.visitMethodInsn(Opcodes.INVOKESTATIC, "kotlin/ResultKt", in should_filter_suspending_lambdas_generated_by_Kotlin_1_3_30()
61 m.visitInsn(Opcodes.NOP); in should_filter_suspending_lambdas_generated_by_Kotlin_1_3_30()
64 m.visitMethodInsn(Opcodes.INVOKEVIRTUAL, "", "suspendingFunction", in should_filter_suspending_lambdas_generated_by_Kotlin_1_3_30()
67 m.visitInsn(Opcodes.DUP); in should_filter_suspending_lambdas_generated_by_Kotlin_1_3_30()
[all …]
DFinallyFilterTest.java23 import org.objectweb.asm.Opcodes;
66 m.visitJumpInsn(Opcodes.IFEQ, start2); in should_analyze_control_flow()
67 m.visitInsn(Opcodes.NOP); in should_analyze_control_flow()
70 m.visitInsn(Opcodes.NOP); // finally block in should_analyze_control_flow()
72 m.visitInsn(Opcodes.RETURN); in should_analyze_control_flow()
75 m.visitInsn(Opcodes.NOP); in should_analyze_control_flow()
77 m.visitInsn(Opcodes.NOP); // finally block in should_analyze_control_flow()
79 m.visitInsn(Opcodes.RETURN); in should_analyze_control_flow()
82 m.visitVarInsn(Opcodes.ASTORE, 1); in should_analyze_control_flow()
84 m.visitInsn(Opcodes.NOP); // finally block in should_analyze_control_flow()
[all …]
DSynchronizedFilterTest.java17 import org.objectweb.asm.Opcodes;
40 m.visitVarInsn(Opcodes.ALOAD, 0); in javac()
41 m.visitFieldInsn(Opcodes.GETFIELD, "Fun", "lock", "Ljava/lang/Object;"); in javac()
42 m.visitInsn(Opcodes.DUP); in javac()
43 m.visitVarInsn(Opcodes.ASTORE, 1); in javac()
44 m.visitInsn(Opcodes.MONITORENTER); in javac()
46 m.visitInsn(Opcodes.NOP); in javac()
47 m.visitVarInsn(Opcodes.ALOAD, 1); in javac()
48 m.visitInsn(Opcodes.MONITOREXIT); in javac()
51 m.visitJumpInsn(Opcodes.GOTO, exit); in javac()
[all …]
DTryWithResourcesJavac11FilterTest.java17 import org.objectweb.asm.Opcodes;
48 m.visitInsn(Opcodes.NOP); in without_null_check()
50 m.visitVarInsn(Opcodes.ALOAD, 0); in without_null_check()
52 m.visitMethodInsn(Opcodes.INVOKEINTERFACE, "Resource", "close", in without_null_check()
54 m.visitJumpInsn(Opcodes.GOTO, e); in without_null_check()
59 m.visitVarInsn(Opcodes.ASTORE, 1); in without_null_check()
60 m.visitVarInsn(Opcodes.ALOAD, 0); in without_null_check()
61 m.visitMethodInsn(Opcodes.INVOKEINTERFACE, "Resource", "close", in without_null_check()
63 m.visitJumpInsn(Opcodes.GOTO, t); in without_null_check()
65 m.visitVarInsn(Opcodes.ASTORE, 2); in without_null_check()
[all …]
DStringSwitchJavacFilterTest.java17 import org.objectweb.asm.Opcodes;
40 m.visitInsn(Opcodes.ICONST_M1); in createFirstSwitch()
41 m.visitVarInsn(Opcodes.ISTORE, 2); in createFirstSwitch()
43 m.visitVarInsn(Opcodes.ALOAD, 1); in createFirstSwitch()
44 m.visitMethodInsn(Opcodes.INVOKEVIRTUAL, "java/lang/String", "hashCode", in createFirstSwitch()
51 m.visitVarInsn(Opcodes.ALOAD, 1); in createFirstSwitch()
53 m.visitMethodInsn(Opcodes.INVOKEVIRTUAL, "java/lang/String", "equals", in createFirstSwitch()
56 m.visitJumpInsn(Opcodes.IFEQ, h1_2); in createFirstSwitch()
57 m.visitInsn(Opcodes.ICONST_0); in createFirstSwitch()
58 m.visitVarInsn(Opcodes.ISTORE, 2); in createFirstSwitch()
[all …]
DAbstractMatcherTest.java20 import org.objectweb.asm.Opcodes;
37 m.visitFrame(Opcodes.F_FULL, 0, null, 0, null); in skipNonOpcodes()
41 m.visitInsn(Opcodes.NOP); in skipNonOpcodes()
43 // should skip all non opcodes in skipNonOpcodes()
59 m.visitInsn(Opcodes.NOP); in nextIs()
60 m.visitInsn(Opcodes.NOP); in nextIs()
64 matcher.nextIs(Opcodes.ATHROW); in nextIs()
69 matcher.nextIs(Opcodes.NOP); in nextIs()
74 matcher.nextIs(Opcodes.NOP); in nextIs()
80 m.visitInsn(Opcodes.NOP); in nextIsSwitch()
[all …]
DStringSwitchEcjFilterTest.java20 import org.objectweb.asm.Opcodes;
47 m.visitVarInsn(Opcodes.ASTORE, 1); in should_filter()
48 m.visitVarInsn(Opcodes.ALOAD, 1); in should_filter()
51 m.visitInsn(Opcodes.DUP); in should_filter()
52 m.visitVarInsn(Opcodes.ASTORE, 2); in should_filter()
53 m.visitMethodInsn(Opcodes.INVOKEVIRTUAL, "java/lang/String", "hashCode", in should_filter()
60 m.visitVarInsn(Opcodes.ALOAD, 2); in should_filter()
62 m.visitMethodInsn(Opcodes.INVOKEVIRTUAL, "java/lang/String", "equals", in should_filter()
65 m.visitJumpInsn(Opcodes.IFNE, case1); in should_filter()
67 m.visitVarInsn(Opcodes.ALOAD, 2); in should_filter()
[all …]
/external/desugar/java/com/google/devtools/build/android/desugar/
DBytecodeTypeInference.java29 import org.objectweb.asm.Opcodes;
49 super(Opcodes.ASM6); in BytecodeTypeInference()
89 case Opcodes.NOP: in visitInsn()
90 case Opcodes.INEG: in visitInsn()
91 case Opcodes.LNEG: in visitInsn()
92 case Opcodes.FNEG: in visitInsn()
93 case Opcodes.DNEG: in visitInsn()
94 case Opcodes.I2B: in visitInsn()
95 case Opcodes.I2C: in visitInsn()
96 case Opcodes.I2S: in visitInsn()
[all …]
DLambdaDesugaring.java20 import static org.objectweb.asm.Opcodes.ASM6;
41 import org.objectweb.asm.Opcodes;
77 super(Opcodes.ASM6, dest); in LambdaDesugaring()
95 isInterface = BitFlags.isSet(access, Opcodes.ACC_INTERFACE); in visit()
105 neededMethod.getTag() == Opcodes.H_INVOKESTATIC in visitEnd()
106 || neededMethod.getTag() == Opcodes.H_INVOKEVIRTUAL, in visitEnd()
116 int access = Opcodes.ACC_BRIDGE | Opcodes.ACC_SYNTHETIC | Opcodes.ACC_FINAL; in visitEnd()
117 if (neededMethod.getTag() == Opcodes.H_INVOKESTATIC) { in visitEnd()
118 access |= Opcodes.ACC_STATIC; in visitEnd()
129 if (original.getTag() == Opcodes.H_NEWINVOKESPECIAL) { in visitEnd()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/
DMethodInstrumenterTest.java23 import org.objectweb.asm.Opcodes;
53 mv.visitFrame(Opcodes.F_FULL, 0, null, 0, null); in setup()
73 instrumenter.visitInsnWithProbe(Opcodes.RETURN, 3); in testVisitInsnWithProbe()
76 expectedVisitor.visitInsn(Opcodes.RETURN); in testVisitInsnWithProbe()
84 instrumenter.visitJumpInsnWithProbe(Opcodes.GOTO, label, 3, frame); in testVisitJumpInsnWithProbe_GOTO()
87 expectedVisitor.visitJumpInsn(Opcodes.GOTO, label); in testVisitJumpInsnWithProbe_GOTO()
94 testVisitJumpInsnWithProbe(Opcodes.IFEQ, Opcodes.IFNE); in testVisitJumpInsnWithProbe_IFEQ()
99 testVisitJumpInsnWithProbe(Opcodes.IFGE, Opcodes.IFLT); in testVisitJumpInsnWithProbe_IFGE()
104 testVisitJumpInsnWithProbe(Opcodes.IFGT, Opcodes.IFLE); in testVisitJumpInsnWithProbe_IFGT()
109 testVisitJumpInsnWithProbe(Opcodes.IFLE, Opcodes.IFGT); in testVisitJumpInsnWithProbe_IFLE()
[all …]
DProbeInserterTest.java22 import org.objectweb.asm.Opcodes;
59 ProbeInserter pi = new ProbeInserter(Opcodes.ACC_STATIC, "m", "()V", in testVariableStatic()
63 expectedVisitor.visitVarInsn(Opcodes.ALOAD, 0); in testVariableStatic()
64 expectedVisitor.visitInsn(Opcodes.ICONST_0); in testVariableStatic()
65 expectedVisitor.visitInsn(Opcodes.ICONST_1); in testVariableStatic()
66 expectedVisitor.visitInsn(Opcodes.BASTORE); in testVariableStatic()
75 expectedVisitor.visitVarInsn(Opcodes.ALOAD, 1); in testVariableNonStatic()
76 expectedVisitor.visitInsn(Opcodes.ICONST_0); in testVariableNonStatic()
77 expectedVisitor.visitInsn(Opcodes.ICONST_1); in testVariableNonStatic()
78 expectedVisitor.visitInsn(Opcodes.BASTORE); in testVariableNonStatic()
[all …]
DProbeArrayStrategyFactoryTest.java31 import org.objectweb.asm.Opcodes;
51 final IProbeArrayStrategy strategy = test(Opcodes.V1_1, 0, false, true, in testClass1()
60 final IProbeArrayStrategy strategy = test(Opcodes.V1_2, 0, false, true, in testClass2()
69 final IProbeArrayStrategy strategy = test(Opcodes.V1_3, 0, false, true, in testClass3()
78 final IProbeArrayStrategy strategy = test(Opcodes.V1_4, 0, false, true, in testClass4()
87 final IProbeArrayStrategy strategy = test(Opcodes.V1_5, 0, false, true, in testClass5()
96 final IProbeArrayStrategy strategy = test(Opcodes.V1_6, 0, false, true, in testClass6()
105 final IProbeArrayStrategy strategy = test(Opcodes.V1_7, 0, false, true, in testClass7()
114 final IProbeArrayStrategy strategy = test(Opcodes.V1_8, 0, false, true, in testClass8()
126 final IProbeArrayStrategy strategy = test(Opcodes.V1_7, in testInterface7()
[all …]
/external/llvm-project/llvm/tools/llvm-readobj/
DARMWinEHPrinter.h38 bool opcode_0xxxxxxx(const uint8_t *Opcodes, unsigned &Offset,
40 bool opcode_10Lxxxxx(const uint8_t *Opcodes, unsigned &Offset,
42 bool opcode_1100xxxx(const uint8_t *Opcodes, unsigned &Offset,
44 bool opcode_11010Lxx(const uint8_t *Opcodes, unsigned &Offset,
46 bool opcode_11011Lxx(const uint8_t *Opcodes, unsigned &Offset,
48 bool opcode_11100xxx(const uint8_t *Opcodes, unsigned &Offset,
50 bool opcode_111010xx(const uint8_t *Opcodes, unsigned &Offset,
52 bool opcode_1110110L(const uint8_t *Opcodes, unsigned &Offset,
54 bool opcode_11101110(const uint8_t *Opcodes, unsigned &Offset,
56 bool opcode_11101111(const uint8_t *Opcodes, unsigned &Offset,
[all …]
DARMEHABIPrinter.h34 void (OpcodeDecoder::*Routine)(const uint8_t *Opcodes, unsigned &OI);
38 void Decode_00xxxxxx(const uint8_t *Opcodes, unsigned &OI);
39 void Decode_01xxxxxx(const uint8_t *Opcodes, unsigned &OI);
40 void Decode_1000iiii_iiiiiiii(const uint8_t *Opcodes, unsigned &OI);
41 void Decode_10011101(const uint8_t *Opcodes, unsigned &OI);
42 void Decode_10011111(const uint8_t *Opcodes, unsigned &OI);
43 void Decode_1001nnnn(const uint8_t *Opcodes, unsigned &OI);
44 void Decode_10100nnn(const uint8_t *Opcodes, unsigned &OI);
45 void Decode_10101nnn(const uint8_t *Opcodes, unsigned &OI);
46 void Decode_10110000(const uint8_t *Opcodes, unsigned &OI);
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/
DKotlinCoroutineFilter.java17 import org.objectweb.asm.Opcodes;
52 nextIsInvoke(Opcodes.INVOKESTATIC, in match()
61 nextIsInvoke(Opcodes.INVOKESTATIC, in match()
66 nextIsVar(Opcodes.ASTORE, "COROUTINE_SUSPENDED"); in match()
67 nextIsVar(Opcodes.ALOAD, "this"); in match()
68 nextIs(Opcodes.GETFIELD); in match()
69 nextIs(Opcodes.TABLESWITCH); in match()
77 nextIs(Opcodes.ALOAD); in match()
90 nextIsVar(Opcodes.ALOAD, "COROUTINE_SUSPENDED"); in match()
91 nextIs(Opcodes.IF_ACMPNE); in match()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/flow/
DMethodProbesAdapterTest.java24 import org.objectweb.asm.Opcodes;
150 adapter.visitInsn(Opcodes.RETURN); in testVisitInsn1()
152 expectedVisitor.visitInsnWithProbe(Opcodes.RETURN, 1000); in testVisitInsn1()
157 adapter.visitInsn(Opcodes.ICONST_0); in testVisitInsn2()
158 adapter.visitInsn(Opcodes.ICONST_0); in testVisitInsn2()
159 adapter.visitInsn(Opcodes.IADD); in testVisitInsn2()
161 expectedVisitor.visitInsn(Opcodes.ICONST_0); in testVisitInsn2()
162 expectedVisitor.visitInsn(Opcodes.ICONST_0); in testVisitInsn2()
163 expectedVisitor.visitInsn(Opcodes.IADD); in testVisitInsn2()
171 adapter.visitJumpInsn(Opcodes.GOTO, label); in testVisitJumpInsn1()
[all …]
DFrameSnapshotTest.java22 import org.objectweb.asm.Opcodes;
58 analyzer.visitJumpInsn(Opcodes.GOTO, new Label()); in should_not_capture_frame_when_no_frame_is_defined()
64 analyzer.visitInsn(Opcodes.FCONST_0); in should_capture_frame_when_frame_is_defined()
65 analyzer.visitVarInsn(Opcodes.FSTORE, 1); in should_capture_frame_when_frame_is_defined()
66 analyzer.visitInsn(Opcodes.ICONST_0); in should_capture_frame_when_frame_is_defined()
69 expectedVisitor.visitFrame(Opcodes.F_FULL, 2, arr("Foo", Opcodes.FLOAT), in should_capture_frame_when_frame_is_defined()
70 1, arr(Opcodes.INTEGER)); in should_capture_frame_when_frame_is_defined()
75 analyzer.visitInsn(Opcodes.DCONST_0); in should_combine_slots_when_doube_or_long_types_are_given()
76 analyzer.visitVarInsn(Opcodes.DSTORE, 1); in should_combine_slots_when_doube_or_long_types_are_given()
77 analyzer.visitInsn(Opcodes.FCONST_0); in should_combine_slots_when_doube_or_long_types_are_given()
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/instr/
DMethodInstrumenter.java19 import org.objectweb.asm.Opcodes;
59 if (opcode == Opcodes.GOTO) { in visitJumpInsnWithProbe()
61 mv.visitJumpInsn(Opcodes.GOTO, label); in visitJumpInsnWithProbe()
66 mv.visitJumpInsn(Opcodes.GOTO, label); in visitJumpInsnWithProbe()
74 case Opcodes.IFEQ: in getInverted()
75 return Opcodes.IFNE; in getInverted()
76 case Opcodes.IFNE: in getInverted()
77 return Opcodes.IFEQ; in getInverted()
78 case Opcodes.IFLT: in getInverted()
79 return Opcodes.IFGE; in getInverted()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DWalkerFactory.java30 import org.apache.xpath.compiler.OpCodes;
68 if (stepType != OpCodes.ENDOP) in loadOneWalker()
106 while (OpCodes.ENDOP != (stepType = compiler.getOp(stepOpCodePos))) in loadWalkers()
309 case OpCodes.FROM_FOLLOWING : in getAxisFromStep()
311 case OpCodes.FROM_FOLLOWING_SIBLINGS : in getAxisFromStep()
313 case OpCodes.FROM_PRECEDING : in getAxisFromStep()
315 case OpCodes.FROM_PRECEDING_SIBLINGS : in getAxisFromStep()
317 case OpCodes.FROM_PARENT : in getAxisFromStep()
319 case OpCodes.FROM_NAMESPACE : in getAxisFromStep()
321 case OpCodes.FROM_ANCESTORS : in getAxisFromStep()
[all …]
/external/llvm-project/llvm/lib/Target/X86/
DX86InstrFMA3Info.h10 // about existing X86 FMA3 opcodes, classifying and grouping them.
21 /// This class is used to group {132, 213, 231} forms of FMA opcodes together.
22 /// Each of the groups has either 3 opcodes, Also, each group has an attributes
25 /// An array holding 3 forms of FMA opcodes.
26 uint16_t Opcodes[3]; member
29 /// FMA groups of opcodes.
40 /// group of FMA opcodes consists of FMA intrinsic opcodes.
44 /// group of FMA opcodes consists of AVX512 opcodes accepting a k-mask and
50 /// group of FMA opcodes consists of AVX512 opcodes accepting a k-zeromask.
56 return Opcodes[Form132]; in get132Opcode()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrFMA3Info.h10 // about existing X86 FMA3 opcodes, classifying and grouping them.
25 /// This class is used to group {132, 213, 231} forms of FMA opcodes together.
26 /// Each of the groups has either 3 opcodes, Also, each group has an attributes
29 /// An array holding 3 forms of FMA opcodes.
30 uint16_t Opcodes[3]; member
33 /// FMA groups of opcodes.
44 /// group of FMA opcodes consists of FMA intrinsic opcodes.
48 /// group of FMA opcodes consists of AVX512 opcodes accepting a k-mask and
54 /// group of FMA opcodes consists of AVX512 opcodes accepting a k-zeromask.
60 return Opcodes[Form132]; in get132Opcode()
[all …]
/external/llvm/tools/llvm-readobj/
DARMEHABIPrinter.h36 void (OpcodeDecoder::*Routine)(const uint8_t *Opcodes, unsigned &OI);
40 void Decode_00xxxxxx(const uint8_t *Opcodes, unsigned &OI);
41 void Decode_01xxxxxx(const uint8_t *Opcodes, unsigned &OI);
42 void Decode_1000iiii_iiiiiiii(const uint8_t *Opcodes, unsigned &OI);
43 void Decode_10011101(const uint8_t *Opcodes, unsigned &OI);
44 void Decode_10011111(const uint8_t *Opcodes, unsigned &OI);
45 void Decode_1001nnnn(const uint8_t *Opcodes, unsigned &OI);
46 void Decode_10100nnn(const uint8_t *Opcodes, unsigned &OI);
47 void Decode_10101nnn(const uint8_t *Opcodes, unsigned &OI);
48 void Decode_10110000(const uint8_t *Opcodes, unsigned &OI);
[all …]
/external/desugar/test/java/com/google/devtools/build/android/desugar/
DBug62060793TestDataGenerator.java17 import static org.objectweb.asm.Opcodes.ACC_ABSTRACT;
18 import static org.objectweb.asm.Opcodes.ACC_FINAL;
19 import static org.objectweb.asm.Opcodes.ACC_INTERFACE;
20 import static org.objectweb.asm.Opcodes.ACC_PRIVATE;
21 import static org.objectweb.asm.Opcodes.ACC_PUBLIC;
22 import static org.objectweb.asm.Opcodes.ACC_STATIC;
23 import static org.objectweb.asm.Opcodes.ACC_SUPER;
24 import static org.objectweb.asm.Opcodes.ACONST_NULL;
25 import static org.objectweb.asm.Opcodes.ALOAD;
26 import static org.objectweb.asm.Opcodes.ARETURN;
[all …]

12345678910>>...62