/arkcompiler/runtime_core/libpandafile/tests/ |
D | bytecode_instruction_tests.cpp | 35 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::V4_IMM4, 0>()), -6); in TEST() 43 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::V4_IMM4, 0>()), 0x2); in TEST() 51 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8, 0>()), static_cast<int8_t>(0xf2)); in TEST() 58 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8, 0>()), 0x21); in TEST() 67 … EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::V8_IMM8, 0>()), static_cast<int8_t>(0xf2)); in TEST() 75 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::V8_IMM8, 0>()), 0x12); in TEST() 83 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM16, 0>()), 0x12f2); in TEST() 90 … EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM16, 0>()), static_cast<int16_t>(0xf212)); in TEST() 99 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::V8_IMM16, 0>()), 0x12f2); in TEST() 107 …EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::V8_IMM16, 0>()), static_cast<int16_t>(0xf212)); in TEST() [all …]
|
/arkcompiler/runtime_core/compiler/tests/ |
D | graph_comparator.h | 136 CHECK(IfImm, GetImm) in Compare() 143 CHECK(SelectImm, GetImm) in Compare() 146 CHECK(LoadArrayI, GetImm) in Compare() 147 CHECK(LoadArrayPairI, GetImm) in Compare() 148 CHECK(LoadPairPart, GetImm) in Compare() 149 CHECK(StoreArrayI, GetImm) in Compare() 150 CHECK(StoreArrayPairI, GetImm) in Compare() 151 CHECK(BoundsCheckI, GetImm) in Compare() 152 CHECK(ReturnI, GetImm) in Compare() 153 CHECK(AddI, GetImm) in Compare() [all …]
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
D | common.h | 375 CHECK(IfImm, GetImm) in Compare() 378 CHECK(LoadArrayI, GetImm) in Compare() 379 CHECK(LoadArrayPairI, GetImm) in Compare() 380 CHECK(LoadPairPart, GetImm) in Compare() 381 CHECK(StoreArrayI, GetImm) in Compare() 382 CHECK(StoreArrayPairI, GetImm) in Compare() 383 CHECK(BoundsCheckI, GetImm) in Compare() 384 CHECK(ReturnI, GetImm) in Compare() 385 CHECK(AddI, GetImm) in Compare() 386 CHECK(SubI, GetImm) in Compare() [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | bytecode_info_collector.cpp | 448 auto imm = bcIns.GetImm<BytecodeInstruction::Format::PREF_IMM16>(); in CollectMethodInfoFromBC() 460 auto imm = bcIns.GetImm<BytecodeInstruction::Format::PREF_IMM16>(); in CollectMethodInfoFromBC() 465 auto imm = bcIns.GetImm<BytecodeInstruction::Format::IMM8>(); in CollectMethodInfoFromBC() 470 auto imm = bcIns.GetImm<BytecodeInstruction::Format::IMM8_ID16>(); in CollectMethodInfoFromBC() 475 auto imm = bcIns.GetImm<BytecodeInstruction::Format::PREF_IMM16>(); in CollectMethodInfoFromBC() 480 auto imm = bcIns.GetImm<BytecodeInstruction::Format::PREF_IMM16_ID16>(); in CollectMethodInfoFromBC() 514 auto imm = bcIns.GetImm<BytecodeInstruction::Format::IMM8>(); in CollectModuleInfoFromBC() 522 auto imm = bcIns.GetImm<BytecodeInstruction::Format::PREF_IMM16>(); in CollectModuleInfoFromBC() 529 auto imm = bcIns.GetImm<BytecodeInstruction::Format::IMM8>(); in CollectModuleInfoFromBC() 534 auto imm = bcIns.GetImm<BytecodeInstruction::Format::PREF_IMM16>(); in CollectModuleInfoFromBC()
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
D | lowering.cpp | 81 ASSERT(inst->GetImm() == 0); in LowerIf() 113 if (inst->GetCc() == ConditionCode::CC_EQ && inst->GetImm() == 0) { in LowerIf()
|
/arkcompiler/runtime_core/disassembler/templates/ |
D | bc_ins_to_pandasm_ins.cpp.erb | 38 …ins.imms.push_back(static_cast<int64_t>(bc_ins.GetImm<BytecodeInstruction::Format::<%=i.format.pre… 40 …ins.imms.push_back(bc_ins.GetImm<BytecodeInstruction::Format::<%=i.format.pretty.upcase%>, <%=imm_…
|
/arkcompiler/runtime_core/compiler/optimizer/templates/ |
D | inst_builder_gen.cpp.erb | 41 …return "FindOrCreateConstant(instruction->GetImm<#{get_format}, #{get_input_idx(index, :imm?)}>())… 193 return inst->GetImm<BytecodeInstruction::Format::<%= inst.format.pretty.upcase %>, 0>(); 294 …size_t args_count = <%= num_inputs %>U + static_cast<size_t>(bc_inst->GetImm<<%= format %>, <%= ha… 317 …auto imm<%= imm_index %> = static_cast<uint32_t>(bc_inst->GetImm<<%= format %>, <%= imm_index %>>(…
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
D | panda_file_translator.cpp | 1153 … uint16_t imm = static_cast<uint16_t>(inst.GetImm<OldBytecodeInst::Format::PREF_IMM16_V8>() - 1); in FixOpcode() 1342 … uint16_t imm = static_cast<uint16_t>(inst.GetImm<OldBytecodeInst::Format::PREF_ID16_IMM16_V8>()); in FixOpcode() 1361 … uint16_t imm = static_cast<uint16_t>(inst.GetImm<OldBytecodeInst::Format::PREF_ID16_IMM16_V8>()); in FixOpcode() 1555 auto imm = bcIns.GetImm<OldBytecodeInst::Format::PREF_IMM16>(); in TranslateBytecode() 1562 auto imm = bcIns.GetImm<OldBytecodeInst::Format::PREF_IMM16>(); in TranslateBytecode() 1572 auto imm = bcIns.GetImm<OldBytecodeInst::Format::PREF_ID16_IMM16_IMM16_V8_V8>(); in TranslateBytecode()
|
/arkcompiler/runtime_core/libpandafile/ |
D | bytecode_instruction.h | 249 auto GetImm() const;
|
/arkcompiler/runtime_core/libpandafile/templates/ |
D | bytecode_instruction-inl_gen.h.erb | 248 inline auto BytecodeInst<Mode>::GetImm() const { // NOLINTNEXTLINE(readability-function-size) 436 % op_str = "\"#{sep}\" << inst.template GetImm<BytecodeInst<Mode>::Format::#{inst.format.pretty…
|
/arkcompiler/runtime_core/compiler/docs/ |
D | ir_builder.md | 135 …inst->SetInput(1, FindOrCreateConstant(instruction->GetImm<BytecodeInstruction::Format::IMM8, 0>()…
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
D | inst.cpp | 470 ASSERT(GetImm() == 0); in GetTrueInputEdgeIdx()
|
D | dump.cpp | 231 (*out) << ", 0x" << std::hex << GetImm() << std::dec; in DumpInputs()
|
D | graph_checker.cpp | 803 [[maybe_unused]] auto op2 = inst->CastToIfImm()->GetImm(); in VisitIfImm()
|
D | inst.h | 1554 auto GetImm() const in GetImm() function 2752 clone->CastToIfImm()->SetImm(GetImm()); in Clone()
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
D | codegen.cpp | 441 auto imm = inst->GetImm(); in VisitIfImm()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/bytecode_inst/ |
D | old_instruction.h | 107 auto GetImm() const in GetImm() function
|