Home
last modified time | relevance | path

Searched refs:Opcode (Results 1 – 25 of 116) sorted by relevance

12345

/arkcompiler/runtime_core/compiler/tests/
Dvn_test.cpp49 INST(6, Opcode::Add).u64().Inputs(0, 1); in TEST_F()
50 INST(7, Opcode::Sub).u32().Inputs(1, 0); in TEST_F()
51 INST(8, Opcode::Mul).f32().Inputs(4, 5); in TEST_F()
52 INST(9, Opcode::Div).f64().Inputs(3, 2); in TEST_F()
53 INST(10, Opcode::Sub).u32().Inputs(1, 0); in TEST_F()
54 INST(11, Opcode::Div).f64().Inputs(3, 2); in TEST_F()
55 INST(12, Opcode::Mul).f32().Inputs(4, 5); in TEST_F()
56 INST(13, Opcode::Add).u64().Inputs(0, 1); in TEST_F()
57 INST(20, Opcode::SaveState).NoVregs(); in TEST_F()
58 INST(14, Opcode::CallStatic).b().InputsAutoType(6, 7, 8, 9, 10, 11, 12, 13, 20); in TEST_F()
[all …]
Dgraph_cloner_test.cpp42 INST(44, Opcode::LoadAndInitClass).ref().Inputs().TypeId(68); in TEST_F()
43 INST(3, Opcode::NewArray).ref().Inputs(44, 2); in TEST_F()
44 INST(14, Opcode::Compare).CC(ConditionCode::CC_LT).b().Inputs(0, 13); // i < X in TEST_F()
45 INST(15, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(14); in TEST_F()
49 INST(4, Opcode::Phi).s32().Inputs(0, 10); in TEST_F()
50 INST(7, Opcode::SaveState).Inputs(0, 1, 2, 3).SrcVregs({0, 1, 2, 3}); in TEST_F()
51 INST(8, Opcode::BoundsCheck).s32().Inputs(2, 4, 7); in TEST_F()
52 INST(9, Opcode::StoreArray).s32().Inputs(3, 8, 0); // a[i] = 0 in TEST_F()
53 INST(10, Opcode::Add).s32().Inputs(4, 1); // i++ in TEST_F()
54 INST(5, Opcode::Compare).CC(ConditionCode::CC_LT).b().Inputs(10, 13); // i < X in TEST_F()
[all …]
Dinst_generator.h87 std::vector<Inst *> &Generate(Opcode OpCode);
98 int GetPossibleInstToGenerateNumber(Opcode OpCode) in GetPossibleInstToGenerateNumber()
103 std::map<Opcode, std::vector<DataType::Type>> &GetMap() in GetMap()
115 std::vector<Inst *> &GenerateOperations(Opcode OpCode);
118 std::vector<Inst *> &GenerateOperationsImm(Opcode OpCode);
121 std::vector<Inst *> &GenerateOperationsShiftedRegister(Opcode OpCode);
125 auto inst = Inst::New<IntrinsicInst>(&allocator_, Opcode::Intrinsic); in GenerateIntrinsic()
153 std::map<Opcode, std::vector<DataType::Type>> opcode_x_possible_types_ = {
154 {Opcode::Neg, numeric_types_},
155 {Opcode::Abs, numeric_types_},
[all …]
Dmove_constants_test.cpp33 INST(2, Opcode::IfImm).CC(CC_GE).Imm(5).Inputs(0); in TEST_F()
38 INST(3, Opcode::ReturnI).u64().Imm(0); in TEST_F()
43 INST(4, Opcode::IfImm).CC(CC_LE).Imm(10).Inputs(0); in TEST_F()
48 INST(6, Opcode::Return).ref().Inputs(1); in TEST_F()
53 INST(8, Opcode::Return).ref().Inputs(1); in TEST_F()
63 INST(2, Opcode::IfImm).CC(CC_GE).Imm(5).Inputs(0); in TEST_F()
68 INST(3, Opcode::ReturnI).u64().Imm(0); in TEST_F()
74 INST(4, Opcode::IfImm).CC(CC_LE).Imm(10).Inputs(0); in TEST_F()
79 INST(6, Opcode::Return).ref().Inputs(1); in TEST_F()
84 INST(8, Opcode::Return).ref().Inputs(1); in TEST_F()
[all …]
Dcleanup_test.cpp31 INST(0, Opcode::ReturnVoid); in TEST_F()
42 INST(0, Opcode::ReturnVoid); in TEST_F()
56 INST(2, Opcode::If).SrcType(DataType::Type::INT64).CC(CC_LE).Inputs(0, 1); in TEST_F()
60 INST(3, Opcode::If).SrcType(DataType::Type::INT64).CC(CC_EQ).Inputs(0, 1); in TEST_F()
64 INST(4, Opcode::Add).s64().Inputs(0, 1); in TEST_F()
68 INST(5, Opcode::Phi).s64().Inputs({{3, 1}, {4, 4}}); in TEST_F()
72 INST(6, Opcode::Phi).s64().Inputs({{2, 0}, {5, 5}}); in TEST_F()
73 INST(7, Opcode::Return).s64().Inputs(6); in TEST_F()
86 INST(2, Opcode::If).SrcType(DataType::Type::INT64).CC(CC_LE).Inputs(0, 1); in TEST_F()
90 INST(3, Opcode::If).SrcType(DataType::Type::INT64).CC(CC_EQ).Inputs(0, 1); in TEST_F()
[all …]
Dir_builder_test.cpp75 INST(1, Opcode::Return).Inputs(0); in CheckSimple()
116 INST(1, Opcode::Return).Inputs(0); in CheckSimpleWithImm()
152 INST(2, Opcode::Cmp).s32().Inputs(0, 1); in CheckCmp()
153 INST(3, Opcode::Return).s32().Inputs(2); in CheckCmp()
184 INST(2, Opcode::Cmp).s32().SrcType(data_type).Fcmpg(fcmpg).Inputs(0, 1); in CheckFloatCmp()
185 INST(3, Opcode::Return).s32().Inputs(2); in CheckFloatCmp()
246 INST(2, Opcode::Compare).b().CC(CC).Inputs(0, 1); in CheckCondJump()
247 INST(3, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(2); in CheckCondJump()
252 INST(4, Opcode::ReturnVoid).v0id(); in CheckCondJump()
312 INST(1, Opcode::Compare).b().CC(CC).Inputs(0, 2); in CheckCondJumpWithZero()
[all …]
Dsplit_resolver_test.cpp65 ASSERT_EQ(inst->GetOpcode(), Opcode::SpillFill); in CheckSpillFills()
99 INST(1, Opcode::Add).u64().Inputs(0, 0); in TEST_F()
100 INST(2, Opcode::Return).u64().Inputs(1); in TEST_F()
120 AFTER_SPLIT_RESOLUTION(INST(4, Opcode::SpillFill)); in TEST_F()
121 INST(1, Opcode::Add).u64().Inputs(0, 0); in TEST_F()
122 AFTER_SPLIT_RESOLUTION(INST(5, Opcode::SpillFill)); in TEST_F()
123 INST(2, Opcode::Add).u64().Inputs(0, 1); in TEST_F()
124 INST(3, Opcode::Return).u64().Inputs(2); in TEST_F()
153 INST(1, Opcode::Compare).b().SrcType(DataType::Type::UINT64).Inputs(0, 0); in TEST_F()
154 INST(2, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(1); in TEST_F()
[all …]
Dbasicblock_test.cpp94 INST(18, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
95 INST(19, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(18); in TEST_F()
100 INST(22, Opcode::Mul).u64().Inputs(20, 20); in TEST_F()
101 INST(3, Opcode::Not).u64().Inputs(0); in TEST_F()
102 INST(17, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
103 INST(11, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(17); in TEST_F()
107 INST(4, Opcode::Add).u64().Inputs(0, 1); in TEST_F()
111 INST(5, Opcode::Sub).u64().Inputs(1, 0); in TEST_F()
115 INST(6, Opcode::Div).u64().Inputs(22, 21); in TEST_F()
119 INST(8, Opcode::Phi).u64().Inputs({{3, 4}, {6, 5}, {7, 6}}); in TEST_F()
[all …]
Dgraph_comparator_test.cpp33 INST(3, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(2); in CreateGraph()
37 INST(4, Opcode::Add).s32().Inputs(0, 1); in CreateGraph()
41 INST(5, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(2); in CreateGraph()
45 INST(6, Opcode::Sub).s32().Inputs(0, 1); in CreateGraph()
49 INST(7, Opcode::Mul).s32().Inputs(0, 1); in CreateGraph()
53 INST(8, Opcode::Phi).s32().Inputs(inputs); in CreateGraph()
54 INST(9, Opcode::Return).s32().Inputs(8); in CreateGraph()
71 INST(2, Opcode::Add).s32().Inputs(0, 1); in TEST_F()
75 INST(4, Opcode::Return).s32().Inputs(2); in TEST_F()
85 INST(6, Opcode::Add).s32().Inputs(23, 3); in TEST_F()
[all …]
Dreg_alloc_common_test.cpp54 INST(30, Opcode::SaveState).Inputs(0).SrcVregs({0}); in TestParametersLocations()
55 INST(11, Opcode::NullCheck).ref().Inputs(0, 30); in TestParametersLocations()
56 INST(12, Opcode::StoreObject).u64().Inputs(11, 1); in TestParametersLocations()
57 INST(13, Opcode::StoreObject).u64().Inputs(11, 2); in TestParametersLocations()
58 INST(14, Opcode::StoreObject).u64().Inputs(11, 3); in TestParametersLocations()
59 INST(15, Opcode::StoreObject).u64().Inputs(11, 4); in TestParametersLocations()
60 INST(16, Opcode::StoreObject).u64().Inputs(11, 5); in TestParametersLocations()
61 INST(17, Opcode::StoreObject).u64().Inputs(11, 6); in TestParametersLocations()
62 INST(18, Opcode::StoreObject).u64().Inputs(11, 7); in TestParametersLocations()
63 INST(19, Opcode::StoreObject).u64().Inputs(11, 8); in TestParametersLocations()
[all …]
Dbranch_elimination_test.cpp103 INST(19, Opcode::Compare).b().CC(CC_EQ).Inputs(0, 1); in BuildTestGraph()
104 INST(4, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(19); in BuildTestGraph()
108 INST(5, Opcode::Add).u64().Inputs(0, 1); in BuildTestGraph()
109 INST(6, Opcode::Add).u64().Inputs(5, 2); in BuildTestGraph()
113 INST(9, Opcode::Compare).b().CC(CC_EQ).Inputs(0, 2); in BuildTestGraph()
114 INST(10, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(9); in BuildTestGraph()
118 INST(11, Opcode::Sub).u64().Inputs(0, 1); in BuildTestGraph()
119 INST(12, Opcode::Sub).u64().Inputs(11, 2); in BuildTestGraph()
123 INST(14, Opcode::Mul).u64().Inputs(0, 1); in BuildTestGraph()
124 INST(15, Opcode::Mul).u64().Inputs(14, 2); in BuildTestGraph()
[all …]
Dliveness_analyzer_test.cpp77 INST(2, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
78 INST(3, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(2); in TEST_F()
83 INST(5, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
84 INST(6, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(5); in TEST_F()
91 INST(10, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
92 INST(11, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(10); in TEST_F()
98 INST(14, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
99 INST(15, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(14); in TEST_F()
104 INST(17, Opcode::ReturnVoid); in TEST_F()
125 INST(2, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
[all …]
Dinst_test.cpp56 INST(2, Opcode::Add).u64().Inputs(0, 1); in TEST_F()
57 INST(8, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
58 INST(9, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(8); in TEST_F()
62 INST(3, Opcode::Not).u64().Inputs(0); in TEST_F()
66 INST(4, Opcode::Not).u64().Inputs(1); in TEST_F()
67 INST(11, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
68 INST(12, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(11); in TEST_F()
72 INST(7, Opcode::Sub).u64().Inputs(3, 2); in TEST_F()
77 INST(5, Opcode::Not).u64().Inputs(4); in TEST_F()
81 INST(6, Opcode::Phi).u64().Inputs({{5, 3}, {4, 4}, {7, 5}}); in TEST_F()
[all …]
Dloop_analyzer_test.cpp130 INST(5, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
131 INST(6, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(5); in TEST_F()
137 INST(9, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
138 INST(10, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(9); in TEST_F()
142 INST(11, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
143 INST(12, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(11); in TEST_F()
147 INST(13, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
148 INST(14, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(13); in TEST_F()
154 INST(17, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
155 INST(18, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(17); in TEST_F()
[all …]
Dreg_alloc_graph_coloring_test.cpp54 INST(3, Opcode::Compare).b().CC(CC_LT).SrcType(DataType::Type::UINT64).Inputs(2, 0); in TEST_F()
55 INST(4, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(3); in TEST_F()
60 INST(5, Opcode::Add).u64().Inputs(0, 2); in TEST_F()
65 INST(6, Opcode::Phi).u64().Inputs(2, 5); in TEST_F()
66 INST(7, Opcode::Add).u64().Inputs(6, 1); in TEST_F()
67 INST(8, Opcode::Return).u64().Inputs(7); in TEST_F()
102 INST(3, Opcode::Compare).b().CC(CC_LT).SrcType(DataType::Type::UINT64).Inputs(2, 0); in TEST_F()
103 INST(4, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(3); in TEST_F()
108 INST(5, Opcode::Add).u64().Inputs(0, 2); in TEST_F()
113 INST(7, Opcode::Compare).b().CC(CC_LT).SrcType(DataType::Type::UINT64).Inputs(1, 0); in TEST_F()
[all …]
/arkcompiler/ets_runtime/ecmascript/jspandafile/bytecode_inst/
Dold_instruction.h30 inline typename OldBytecodeInst::Opcode GetOpcode() const in GetOpcode()
35 return static_cast<Opcode>((secondary << 8U) | primary); in GetOpcode()
37 return static_cast<Opcode>(primary); in GetOpcode()
450 static constexpr Format GetFormat(Opcode opcode) in GetFormat()
453 case Opcode::NOP: in GetFormat()
455 case Opcode::MOV_V4_V4: in GetFormat()
457 case Opcode::MOV_V8_V8: in GetFormat()
459 case Opcode::MOV_V16_V16: in GetFormat()
461 case Opcode::MOV_64_V4_V4: in GetFormat()
463 case Opcode::MOV_64_V16_V16: in GetFormat()
[all …]
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Dconst_array_resolver_test.cpp31 INST(20, Opcode::SaveState).NoVregs(); in TEST_F()
32 INST(4, Opcode::LoadAndInitClass).ref().Inputs(20).TypeId(68); in TEST_F()
33 INST(3, Opcode::NewArray).ref().Inputs(4, 1, 20); in TEST_F()
34 INST(11, Opcode::StoreArray).u64().Inputs(3, 2, 2); in TEST_F()
35 INST(13, Opcode::StoreArray).u64().Inputs(3, 2, 2); in TEST_F()
36 INST(10, Opcode::Return).ref().Inputs(3); in TEST_F()
54 INST(20, Opcode::SaveState).NoVregs(); in TEST_F()
55 INST(4, Opcode::LoadAndInitClass).ref().Inputs(20).TypeId(68); in TEST_F()
56 INST(22, Opcode::SaveState).NoVregs(); in TEST_F()
57 INST(21, Opcode::LoadConstArray).ref().Inputs(22); in TEST_F()
[all …]
Dbitops_bitwise_and_test.cpp85 INST(0, Opcode::SaveStateDeoptimize).NoVregs(); in TEST_F()
86 INST(26, Opcode::SpillFill); in TEST_F()
90 INST(4, Opcode::Phi).s64().Inputs(1, 10); in TEST_F()
91 INST(5, Opcode::Phi).s32().Inputs(2, 20); in TEST_F()
92 INST(19, Opcode::If).CC(compiler::CC_GE).SrcType(INT32).Inputs(5, 23); in TEST_F()
96 INST(9, Opcode::Cast).s64().SrcType(INT32).Inputs(5); in TEST_F()
97 INST(10, Opcode::And).s64().Inputs(9, 4); in TEST_F()
98 INST(20, Opcode::AddI).s32().Inputs(5).Imm(1); in TEST_F()
103 INST(13, Opcode::Cmp).s32().Inputs(4, 22); in TEST_F()
104 INST(15, Opcode::IfImm).SrcType(INT32).CC(compiler::CC_EQ).Imm(0).Inputs(13); in TEST_F()
[all …]
Dcanonicalization_test.cpp31 INST(2, Opcode::Add).s32().Inputs(0, 1); in TEST_F()
32 INST(3, Opcode::Compare).b().Inputs(0, 2); in TEST_F()
33 INST(4, Opcode::Return).b().Inputs(3); in TEST_F()
47 INST(2, Opcode::Add).s32().Inputs(0, 1); in TEST_F()
48 INST(3, Opcode::Compare).b().Inputs(2, 0); in TEST_F()
49 INST(4, Opcode::Return).b().Inputs(3); in TEST_F()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dir_constructor.h215 case Opcode::Intrinsic: in Inputs()
218 case Opcode::CallIndirect: in Inputs()
221 case Opcode::Builtin: in Inputs()
224 case Opcode::InitObject: in Inputs()
268 case Opcode::StoreObject:
271 case Opcode::LoadObject:
274 case Opcode::StoreStatic:
277 case Opcode::LoadStatic:
280 case Opcode::Store:
283 case Opcode::Load:
[all …]
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dpanda_file_translator.cpp320 case OldBytecodeInst::Opcode::MOV_V4_V4: { in FixOpcode()
324 case OldBytecodeInst::Opcode::MOV_DYN_V8_V8: { in FixOpcode()
328 case OldBytecodeInst::Opcode::MOV_DYN_V16_V16: { in FixOpcode()
332 case OldBytecodeInst::Opcode::LDA_STR_ID32: { in FixOpcode()
345 case OldBytecodeInst::Opcode::JMP_IMM8: { in FixOpcode()
349 case OldBytecodeInst::Opcode::JMP_IMM16: { in FixOpcode()
353 case OldBytecodeInst::Opcode::JMP_IMM32: { in FixOpcode()
357 case OldBytecodeInst::Opcode::JEQZ_IMM8: { in FixOpcode()
361 case OldBytecodeInst::Opcode::JEQZ_IMM16: { in FixOpcode()
365 case OldBytecodeInst::Opcode::JNEZ_IMM8: { in FixOpcode()
[all …]
/arkcompiler/runtime_core/libpandafile/
Dline_number_program.h140 while (opcode != Opcode::END_SEQUENCE) { in Process()
142 case Opcode::ADVANCE_LINE: { in Process()
146 case Opcode::ADVANCE_PC: { in Process()
150 case Opcode::SET_FILE: { in Process()
154 case Opcode::SET_SOURCE_CODE: { in Process()
158 case Opcode::SET_PROLOGUE_END: in Process()
159 case Opcode::SET_EPILOGUE_BEGIN: in Process()
161 case Opcode::START_LOCAL: { in Process()
165 case Opcode::START_LOCAL_EXTENDED: { in Process()
169 case Opcode::RESTART_LOCAL: { in Process()
[all …]
Dbytecode_emitter.h108 static size_t GetSizeByOpcode(BytecodeInstruction::Opcode opcode);
109 static BytecodeInstruction::Opcode RevertConditionCode(BytecodeInstruction::Opcode opcode);
111 static BitImmSize GetBitImmSizeByOpcode(BytecodeInstruction::Opcode opcode);
112 static BytecodeInstruction::Opcode GetLongestJump(BytecodeInstruction::Opcode opcode);
113 …BytecodeInstruction::Opcode GetSuitableJump(BytecodeInstruction::Opcode opcode, BytecodeEmitter::B…
/arkcompiler/ets_runtime/ecmascript/compiler/
Dbytecode_info_collector.cpp396 … BytecodeInstruction::Opcode opcode = static_cast<BytecodeInstruction::Opcode>(bcIns.GetOpcode()); in CollectMethodInfoFromBC()
399 case BytecodeInstruction::Opcode::DEFINEFUNC_IMM8_ID16_IMM8: in CollectMethodInfoFromBC()
400 case BytecodeInstruction::Opcode::DEFINEFUNC_IMM16_ID16_IMM8: { in CollectMethodInfoFromBC()
407 case BytecodeInstruction::Opcode::DEFINEMETHOD_IMM8_ID16_IMM8: in CollectMethodInfoFromBC()
408 case BytecodeInstruction::Opcode::DEFINEMETHOD_IMM16_ID16_IMM8: { in CollectMethodInfoFromBC()
414 case BytecodeInstruction::Opcode::DEFINECLASSWITHBUFFER_IMM8_ID16_ID16_IMM16_V8:{ in CollectMethodInfoFromBC()
427 case BytecodeInstruction::Opcode::DEFINECLASSWITHBUFFER_IMM16_ID16_ID16_IMM16_V8: { in CollectMethodInfoFromBC()
440 case BytecodeInstruction::Opcode::CREATEARRAYWITHBUFFER_IMM8_ID16: in CollectMethodInfoFromBC()
441 case BytecodeInstruction::Opcode::CREATEARRAYWITHBUFFER_IMM16_ID16: { in CollectMethodInfoFromBC()
447 case BytecodeInstruction::Opcode::DEPRECATED_CREATEARRAYWITHBUFFER_PREF_IMM16: { in CollectMethodInfoFromBC()
[all …]
/arkcompiler/runtime_core/libpandafile/tests/
Dbytecode_emitter_tests.cpp27 using Opcode = BytecodeInstruction::Opcode; typedef
59 static std::vector<uint8_t> &operator<<(std::vector<uint8_t> &out, Opcode op);
116 expected << Opcode::RETURN;
118 expected << Opcode::JMP_IMM8 << -num_ret;
138 expected << Opcode::JMP_IMM8 << num_ret + globals::IMM_2;
140 expected << Opcode::RETURN;
160 expected << Opcode::RETURN;
162 expected << Opcode::JMP_IMM16 << Split16(-num_ret);
178 expected << Opcode::RETURN;
180 expected << Opcode::JMP_IMM16 << Split16(-num_ret);
[all …]

12345