Searched refs:BytecodeEmitter (Results 1 – 9 of 9) sorted by relevance
| /arkcompiler/runtime_core/libpandafile/tests/ |
| D | bytecode_emitter_tests.cpp | 102 HWTEST(BytecodeEmitter, JmpBwd_IMM8, testing::ext::TestSize.Level0) 104 BytecodeEmitter emitter; 113 ASSERT_EQ(BytecodeEmitter::ErrorCode::SUCCESS, emitter.Build(&out)); 122 HWTEST(BytecodeEmitter, JmpFwd_IMM8, testing::ext::TestSize.Level0) 124 BytecodeEmitter emitter; 136 ASSERT_EQ(BytecodeEmitter::ErrorCode::SUCCESS, emitter.Build(&out)); 145 HWTEST(BytecodeEmitter, JmpBwd_IMM16, testing::ext::TestSize.Level0) 148 BytecodeEmitter emitter; 157 ASSERT_EQ(BytecodeEmitter::ErrorCode::SUCCESS, emitter.Build(&out)); 166 BytecodeEmitter emitter; [all …]
|
| /arkcompiler/runtime_core/libpandafile/ |
| D | bytecode_emitter.h | 30 class BytecodeEmitter; variable 52 friend class BytecodeEmitter; variable 55 class BytecodeEmitter { 73 BytecodeEmitter() : pc_(0) {} in BytecodeEmitter() function 75 ~BytecodeEmitter() = default; 77 NO_COPY_SEMANTIC(BytecodeEmitter); 78 NO_MOVE_SEMANTIC(BytecodeEmitter); 113 …BytecodeInstruction::Opcode GetSuitableJump(BytecodeInstruction::Opcode opcode, BytecodeEmitter::B…
|
| D | bytecode_emitter.cpp | 26 using BitImmSize = BytecodeEmitter::BitImmSize; 123 void BytecodeEmitter::Bind(const Label &label) in Bind() 129 BytecodeEmitter::ErrorCode BytecodeEmitter::Build(std::vector<uint8_t> *output) in Build() 156 BytecodeEmitter::ErrorCode BytecodeEmitter::ReserveSpaceForOffsets() in ReserveSpaceForOffsets() 191 BytecodeEmitter::ErrorCode BytecodeEmitter::DoReserveSpaceForOffset(const BytecodeInstruction &insn… in DoReserveSpaceForOffset() 223 BytecodeEmitter::ErrorCode BytecodeEmitter::UpdateBranches() in UpdateBranches() 234 void BytecodeEmitter::UpdateLabelTargets(uint32_t pc, size_t bias) in UpdateLabelTargets() 250 int32_t BytecodeEmitter::EstimateMaxDistance(uint32_t insn_pc, uint32_t target_pc, uint32_t bias) c… in EstimateMaxDistance() 277 BytecodeEmitter::ErrorCode BytecodeEmitter::CheckLabels() in CheckLabels()
|
| /arkcompiler/runtime_core/libpandafile/templates/ |
| D | bytecode_emitter_gen.h.erb | 65 void BytecodeEmitter::<%= emitter_name %>(<%= signature_str %>) { 113 size_t BytecodeEmitter::GetSizeByOpcode(<%= OPCODE_TYPE %> opcode) { 149 void BytecodeEmitter::UpdateBranchOffs(uint8_t *insn, int32_t offs) { 166 BytecodeEmitter::BitImmSize BytecodeEmitter::GetBitImmSizeByOpcode(<%= OPCODE_TYPE %> opcode) { 171 return BytecodeEmitter::BitImmSize::BITSIZE_<%= insn.operands.select(&:imm?).first.width %>; 176 …return BytecodeEmitter::BitImmSize::BITSIZE_32; // Any return value will do, we are broken here a… 182 <%= OPCODE_TYPE %> BytecodeEmitter::RevertConditionCode(<%= OPCODE_TYPE %> opcode) { 209 <%= OPCODE_TYPE %> BytecodeEmitter::GetLongestJump(<%= OPCODE_TYPE %> opcode) { 228 <%= OPCODE_TYPE %> BytecodeEmitter::GetSuitableJump(<%= OPCODE_TYPE %> opcode, BytecodeEmitter::Bit… 244 case BytecodeEmitter::BitImmSize::BITSIZE_<%= w %>:
|
| /arkcompiler/runtime_core/libpandafile/templates/tests/ |
| D | bytecode_emitter_tests_gen.h.erb | 250 HWTEST(BytecodeEmitter, <%= emitter_name %>, testing::ext::TestSize.Level0) 252 TestNoneFormat(Opcode::<%= i.opcode.upcase %>, [](BytecodeEmitter* emitter) { 262 HWTEST(BytecodeEmitter, <%= emitter_name %>_<%= pretty_format %>_AUTO, testing::ext::TestSize.Level… 264 …Jmpz_<%= pretty_format %>(Opcode::<%= opcode %>, [](BytecodeEmitter* emitter, const Label &label) { 275 HWTEST(BytecodeEmitter, <%= emitter_name %>_<%= pretty_format %>_AUTO, testing::ext::TestSize.Level… 277 …Jmp_<%= pretty_format %>(Opcode::<%= opcode %>, [](BytecodeEmitter* emitter, uint8_t reg, const La… 286 HWTEST(BytecodeEmitter, <%= emitter_name %>_<%= i.format.pretty.upcase %>_AUTO, testing::ext::TestS… 322 BytecodeEmitter emitter; 325 ASSERT_EQ(BytecodeEmitter::ErrorCode::SUCCESS, emitter.Build(&out));
|
| /arkcompiler/runtime_core/assembler/ |
| D | assembly-ins.h | 110 bool Emit(BytecodeEmitter &emitter, panda_file::MethodItem *method,
|
| D | assembly-function.h | 154 bool Emit(BytecodeEmitter &emitter, panda_file::MethodItem *method,
|
| D | assembly-emitter.cpp | 1244 auto emitter = BytecodeEmitter {}; in EmitFunctions() 1262 if (status != BytecodeEmitter::ErrorCode::SUCCESS) { in EmitFunctions() 1483 bool Function::Emit(BytecodeEmitter &emitter, panda_file::MethodItem *method, in Emit()
|
| /arkcompiler/runtime_core/assembler/templates/ |
| D | ins_emit.h.erb | 20 bool Ins::Emit(BytecodeEmitter& emitter, panda_file::MethodItem *method,
|