| /arkcompiler/runtime_core/compiler/tests/ |
| D | asm_caller.cpp | 44 #define C_EXTERN_ONE_PARAM(opc, param) \ argument 45 extern "C" std::uint8_t test_##opc##_8(std::uint8_t); \ 46 extern "C" std::uint16_t test_##opc##_16(std::uint16_t); \ 47 extern "C" std::uint32_t test_##opc##_32(std::uint32_t); \ 48 extern "C" std::uint64_t test_##opc##_64(std::uint64_t); 52 #define C_EXTERN_TWO_PARAM(opc, param) \ argument 53 extern "C" std::uint8_t test_##opc##_8(std::uint8_t, std::uint8_t); \ 54 extern "C" std::uint16_t test_##opc##_16(std::uint16_t, std::uint16_t); \ 55 extern "C" std::uint32_t test_##opc##_32(std::uint32_t, std::uint32_t); \ 56 extern "C" std::uint64_t test_##opc##_64(std::uint64_t, std::uint64_t); [all …]
|
| D | graph_comparator.h | 119 #define CAST(Opc) CastTo##Opc() in Compare() argument 121 #define CHECK(Opc, Getter) … in Compare() argument 122 …if (inst1->GetOpcode() == Opcode::Opc && inst1->CAST(Opc)->Getter() != inst2->CAST(Opc)->Getter())… in Compare()
|
| /arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
| D | inst_templates.yaml | 17 % opc = inst.stripped_mnemonic.match regex_arithm 18 % raise "Wrong binop instruction" unless opc 19 % opc = opc[1].capitalize.gsub('Ashr', 'AShr').gsub('Fdiv', 'Div').gsub('Fmod', 'Mod') 20 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres… 24 % opc = inst.stripped_mnemonic =~ /div/ ? 'Div' : 'Mod' 37 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres…
|
| D | inst_builder.cpp | 265 SaveStateInst *InstBuilder::CreateSaveState(Opcode opc, size_t pc) in CreateSaveState() argument 267 ASSERT(opc == Opcode::SaveState); in CreateSaveState()
|
| D | inst_builder.h | 119 SaveStateInst *CreateSaveState(Opcode opc, size_t pc);
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | graph_checker.h | 32 for (auto opc : opcs) { variable 33 os << GetOpcodeString(opc) << " ";
|
| D | dump.cpp | 172 ArenaString opc(GetOpcodeString(opcode), adapter); in DumpTypedFieldOpcode() local 174 (*out) << std::setw(INDENT_OPCODE) << opc + space + id + space + field_name + space; in DumpTypedFieldOpcode() 180 ArenaString opc(GetOpcodeString(opcode), allocator->Adapter()); in DumpTypedOpcode() local 182 (*out) << std::setw(INDENT_OPCODE) << opc + space + id; in DumpTypedOpcode()
|
| D | graph_checker.cpp | 270 [[maybe_unused]] Opcode opc = inst->GetOpcode(); in CheckStartBlock() local 272 opc == Opcode::Constant || opc == Opcode::Parameter || opc == Opcode::SpillFill, in CheckStartBlock() 276 if (opc == Opcode::Parameter) { in CheckStartBlock() 547 [[maybe_unused]] auto opc = last_inst->GetOpcode(); in CheckBlockEdges() local
|
| D | inst.cpp | 209 template <Opcode opc, size_t input_idx> 213 for (Opcode opcode = input_inst->GetOpcode(); opcode == opc; opcode = input_inst->GetOpcode()) { in SkipInstructions()
|
| D | graph.h | 830 [[nodiscard]] Inst* CreateInst(Opcode opc) const in CreateInst() argument 832 switch (opc) { in CreateInst()
|
| D | ir_constructor.h | 212 auto opc = CurrentInst()->GetOpcode(); in Inputs() local 214 switch (opc) { in Inputs()
|
| D | inst.h | 184 constexpr const char *GetOpcodeString(Opcode opc) in GetOpcodeString() argument 186 ASSERT(static_cast<int>(opc) < static_cast<int>(Opcode::NUM_OPCODES)); in GetOpcodeString() 187 return OPCODE_NAMES[static_cast<int>(opc)]; in GetOpcodeString()
|
| /arkcompiler/runtime_core/compiler/optimizer/templates/ |
| D | inst_builder_gen.cpp.erb | 255 % opc = inst.opcode.upcase 256 % name = opc 260 % iname = inst.intrinsic_name ? inst.intrinsic_name : opc 262 % intrinsic_external_js_id = "compiler::RuntimeInterface::IntrinsicId::" + opc 263 case BytecodeInstruction::Opcode::<%= opc %>: {
|
| /arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/ |
| D | assembler_aarch64.cpp | 193 uint32_t opc = GetOpcFromScale(vt.GetScale(), true); in Ldp() local 194 uint32_t instructionCode = opc | op | LoadAndStorePairImm(imm) | Rt2(vt2.GetId()) | in Ldp() 239 uint32_t opc = GetOpcFromScale(vt.GetScale(), true); in Stp() local 240 uint32_t instructionCode = opc | op | LoadAndStorePairImm(imm) | Rt2(vt2.GetId()) | in Stp() 251 uint32_t opc = 0; in GetOpcFromScale() local 256 opc = 1; in GetOpcFromScale() 259 opc = ispair ? 0 : 1; in GetOpcFromScale() 262 opc = 1; in GetOpcFromScale() 265 // 3 : means opc bit is 11 in GetOpcFromScale() 266 opc = ispair ? 1 : 3; in GetOpcFromScale() [all …]
|
| D | assembler_aarch64_constants.h | 285 V(LDR_STR, Opc, 23, 22) \ 297 V(LDP_STP, Opc, 31, 30) \
|
| /arkcompiler/runtime_core/bytecode_optimizer/tests/ |
| D | common.h | 355 #define CAST(Opc) CastTo##Opc() in Compare() argument 357 #define CHECK(Opc, Getter) … in Compare() argument 358 …if (inst1->GetOpcode() == Opcode::Opc && inst1->CAST(Opc)->Getter() != inst2->CAST(Opc)->Getter())… in Compare()
|
| /arkcompiler/runtime_core/bytecode_optimizer/ |
| D | codegen.cpp | 316 pandasm::Opcode opc; in EncodeSta() local 319 opc = pandasm::Opcode::STA; in EncodeSta() 327 sta.opcode = opc; in EncodeSta()
|