Home
last modified time | relevance | path

Searched refs:pc_inc (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/runtime_core/libpandafile/tests/
Dfile_items_test.cpp42 for (auto [pc_inc, line_inc] : incs) {
43 ASSERT_TRUE(item.EmitSpecialOpcode(pc_inc, line_inc));
44 …data.push_back((line_inc - LineNumberProgramItem::LINE_BASE) + (pc_inc * LineNumberProgramItem::LI…
/arkcompiler/runtime_core/assembler/
Dassembly-function.h172 … std::vector<uint8_t> *constant_pool, uint32_t &pc_inc, size_t instruction_number,
174 …r(panda_file::LineNumberProgramItem *program, std::vector<uint8_t> *constant_pool, uint32_t pc_inc,
177 … int32_t &prev_line_number, uint32_t &pc_inc, size_t instruction_number) const;
181 … uint32_t &prev_column_number, uint32_t &pc_inc, size_t instruction_number) const;
Dassembly-emitter.cpp1516 uint32_t &pc_inc) in TryEmitPc() argument
1518 if (pc_inc) { in TryEmitPc()
1519 program->EmitAdvancePc(constant_pool, pc_inc); in TryEmitPc()
1520 pc_inc = 0; in TryEmitPc()
1525 … std::vector<uint8_t> *constant_pool, uint32_t &pc_inc, size_t instruction_number, in EmitLocalVariable() argument
1532 TryEmitPc(program, constant_pool, pc_inc); in EmitLocalVariable()
1544 TryEmitPc(program, constant_pool, pc_inc); in EmitLocalVariable()
1560 uint32_t pc_inc, int32_t line_inc) const in EmitNumber() argument
1562 if (!program->EmitSpecialOpcode(pc_inc, line_inc)) { in EmitNumber()
1563 if (pc_inc) { in EmitNumber()
[all …]
/arkcompiler/runtime_core/assembler/tests/
Demitter_test.cpp182 uint8_t GetSpecialOpcode(uint32_t pc_inc, int32_t line_inc) in GetSpecialOpcode() argument
185 …(pc_inc * panda_file::LineNumberProgramItem::LINE_RANGE) + panda_file::LineNumberProgramItem::OPCO… in GetSpecialOpcode()
257 uint32_t pc_inc; in TEST() local
258 …std::tie(pc_inc, size, is_full) = leb128::DecodeUnsigned<uint32_t>(&constant_pool[constant_pool_of… in TEST()
261 EXPECT_EQ(pc_inc, 9U); in TEST()
Dassembler_emitter_test.cpp48 uint8_t GetSpecialOpcode(uint32_t pc_inc, int32_t line_inc) in GetSpecialOpcode() argument
51 static_cast<uint8_t>(pc_inc * panda_file::LineNumberProgramItem::LINE_RANGE) + in GetSpecialOpcode()
286 uint32_t pc_inc; in __anon9d5bb8020902() local
287 …std::tie(pc_inc, size, is_full) = leb128::DecodeUnsigned<uint32_t>(&constant_pool[constant_pool_of… in __anon9d5bb8020902()
290 EXPECT_EQ(pc_inc, 0U); in __anon9d5bb8020902()
/arkcompiler/runtime_core/libpandafile/
Dfile_items.cpp1471 void LineNumberProgramItem::EmitColumn(std::vector<uint8_t> *constant_pool, uint32_t pc_inc, uint32… in EmitColumn() argument
1473 if (pc_inc != 0U) { in EmitColumn()
1474 EmitAdvancePc(constant_pool, pc_inc); in EmitColumn()
1516 bool LineNumberProgramItem::EmitSpecialOpcode(uint32_t pc_inc, int32_t line_inc) in EmitSpecialOpcode() argument
1522 …auto opcode = static_cast<size_t>(line_inc - LINE_BASE) + static_cast<size_t>(pc_inc * LINE_RANGE)… in EmitSpecialOpcode()
Dfile_items.h618 void EmitColumn(std::vector<uint8_t> *constant_pool, uint32_t pc_inc, uint32_t column);
630 bool EmitSpecialOpcode(uint32_t pc_inc, int32_t line_inc);