Home
last modified time | relevance | path

Searched refs:BytecodeInstructionSafe (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/runtime_core/static_core/libpandafile/tests/
Dbytecode_instruction_tests.cpp259 TEST(BytecodeInstructionSafe, Parse) in TEST() argument
265 BytecodeInstructionSafe inst(bytecode, &bytecode[0], &bytecode[sizeof(bytecode)]); in TEST()
267 EXPECT_EQ((inst.GetVReg<BytecodeInstructionSafe::Format::V4_IMM4, 0>()), 1); in TEST()
268 EXPECT_EQ((inst.GetImm<BytecodeInstructionSafe::Format::V4_IMM4, 0>()), -6); in TEST()
273 BytecodeInstructionSafe inst(bytecode, &bytecode[0], &bytecode[sizeof(bytecode)]); in TEST()
275 EXPECT_EQ((inst.GetVReg<BytecodeInstructionSafe::Format::V4_IMM4, 0>()), 0xf); in TEST()
276 EXPECT_EQ((inst.GetImm<BytecodeInstructionSafe::Format::V4_IMM4, 0>()), 0x2); in TEST()
282 BytecodeInstructionSafe inst(bytecode, &bytecode[0], &bytecode[sizeof(bytecode)]); in TEST()
284 … EXPECT_EQ((inst.GetImm<BytecodeInstructionSafe::Format::IMM8, 0>()), static_cast<int8_t>(0xf2)); in TEST()
289 BytecodeInstructionSafe inst(bytecode, &bytecode[0], &bytecode[sizeof(bytecode)]); in TEST()
[all …]
/arkcompiler/runtime_core/libpandafile/tests/
Dbytecode_instruction_tests.cpp290 BytecodeInstructionSafe inst(bytecode, &bytecode[0], &bytecode[sizeof(bytecode) - 1]); in TEST()
292 EXPECT_EQ((inst.GetVReg<BytecodeInstructionSafe::Format::V4_IMM4, 0>()), 1); in TEST()
293 EXPECT_EQ((inst.GetImm<BytecodeInstructionSafe::Format::V4_IMM4, 0>()), -6); in TEST()
298 BytecodeInstructionSafe inst(bytecode, &bytecode[0], &bytecode[sizeof(bytecode) - 1]); in TEST()
300 EXPECT_EQ((inst.GetVReg<BytecodeInstructionSafe::Format::V4_IMM4, 0>()), 0xf); in TEST()
301 EXPECT_EQ((inst.GetImm<BytecodeInstructionSafe::Format::V4_IMM4, 0>()), 0x2); in TEST()
310 BytecodeInstructionSafe inst(bytecode, &bytecode[0], &bytecode[sizeof(bytecode) - 1]); in TEST()
312 … EXPECT_EQ((inst.GetImm<BytecodeInstructionSafe::Format::IMM8, 0>()), static_cast<int8_t>(0xf2)); in TEST()
317 BytecodeInstructionSafe inst(bytecode, &bytecode[0], &bytecode[sizeof(bytecode) - 1]); in TEST()
319 EXPECT_EQ((inst.GetImm<BytecodeInstructionSafe::Format::IMM8, 0>()), 0x21); in TEST()
[all …]
/arkcompiler/runtime_core/static_core/verification/absint/
Dabs_int_inl.h305 template <BytecodeInstructionSafe::Format FORMAT>
324 template <BytecodeInstructionSafe::Format FORMAT>
343 template <BytecodeInstructionSafe::Format FORMAT>
361 template <BytecodeInstructionSafe::Format FORMAT>
372 template <BytecodeInstructionSafe::Format FORMAT>
382 template <BytecodeInstructionSafe::Format FORMAT>
394 template <BytecodeInstructionSafe::Format FORMAT>
406 template <BytecodeInstructionSafe::Format FORMAT>
418 template <BytecodeInstructionSafe::Format FORMAT>
430 template <BytecodeInstructionSafe::Format FORMAT>
[all …]
/arkcompiler/runtime_core/static_core/verification/gen/templates/
Dhandle_gen.h.erb100 template <BytecodeInstructionSafe::Format FORMAT>
119 template <BytecodeInstructionSafe::Format FORMAT>
139 template <BytecodeInstructionSafe::Format FORMAT>
159 template <BytecodeInstructionSafe::Format FORMAT>
179 template <BytecodeInstructionSafe::Format FORMAT>
190 template <BytecodeInstructionSafe::Format FORMAT>
205 template <BytecodeInstructionSafe::Format FORMAT>
216 template <BytecodeInstructionSafe::Format FORMAT>
238 template <BytecodeInstructionSafe::Format FORMAT>
247 template <BytecodeInstructionSafe::Format FORMAT>
Dcflow_iterate_inl_gen.h.erb43 % value_dispatch = %(template <BytecodeInstructionSafe::Format FORMAT> \n) +
154 template <BytecodeInstructionSafe::Format FORMAT>
161 BytecodeInstructionSafe inst_;
210 % status = "handler.template " + name_to_past + %(<BytecodeInstructionSafe::Format::) + i.for…
Djob_fill_gen.h.erb60 BytecodeInstructionSafe inst{start, start, end};
199 % if (UNLIKELY((opcode == BytecodeInstructionSafe::Opcode::INITOBJ_SHORT_V4_V4_ID16 ||
200 % opcode == BytecodeInstructionSafe::Opcode::INITOBJ_V4_V4_V4_V4_ID16 ||
201 % opcode == BytecodeInstructionSafe::Opcode::INITOBJ_RANGE_V8_ID16) &&
Dabs_int_inl_gen.h.erb52 …if (!handler.template Handle<%= mnemonic %><BytecodeInstructionSafe::Format::<%= i.format.pretty.u…
/arkcompiler/runtime_core/static_core/verification/value/
Dabstract_typed_value.h30 using ValueOrigin = Origin<ark::BytecodeInstructionSafe>;
44 AbstractTypedValue(const AbstractTypedValue &atv, const ark::BytecodeInstructionSafe &inst) in AbstractTypedValue()
48 AbstractTypedValue(Type type, AbstractValue value, const ark::BytecodeInstructionSafe &inst) in AbstractTypedValue()
/arkcompiler/runtime_core/libpandafile/
Dbytecode_instruction.h410 using BytecodeInstructionSafe = BytecodeInst<BytecodeInstMode::SAFE>; variable
/arkcompiler/runtime_core/static_core/libpandafile/
Dbytecode_instruction.h431 using BytecodeInstructionSafe = BytecodeInst<BytecodeInstMode::SAFE>; variable