Home
last modified time | relevance | path

Searched full:opc (Results 1 – 17 of 17) sorted by relevance

/arkcompiler/runtime_core/compiler/tests/
Dasm_caller.cpp44 #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 …]
Dgraph_comparator.h119 #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/
Dinst_templates.yaml17 % 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…
Dinst_builder.cpp265 SaveStateInst *InstBuilder::CreateSaveState(Opcode opc, size_t pc) in CreateSaveState() argument
267 ASSERT(opc == Opcode::SaveState); in CreateSaveState()
Dinst_builder.h119 SaveStateInst *CreateSaveState(Opcode opc, size_t pc);
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph_checker.h32 for (auto opc : opcs) { variable
33 os << GetOpcodeString(opc) << " ";
Ddump.cpp172 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()
Dgraph_checker.cpp270 [[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
Dinst.cpp209 template <Opcode opc, size_t input_idx>
213 for (Opcode opcode = input_inst->GetOpcode(); opcode == opc; opcode = input_inst->GetOpcode()) { in SkipInstructions()
Dgraph.h830 [[nodiscard]] Inst* CreateInst(Opcode opc) const in CreateInst() argument
832 switch (opc) { in CreateInst()
Dir_constructor.h212 auto opc = CurrentInst()->GetOpcode(); in Inputs() local
214 switch (opc) { in Inputs()
Dinst.h184 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/
Dinst_builder_gen.cpp.erb255 % 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/
Dassembler_aarch64.cpp193 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 …]
Dassembler_aarch64_constants.h285 V(LDR_STR, Opc, 23, 22) \
297 V(LDP_STP, Opc, 31, 30) \
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Dcommon.h355 #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/
Dcodegen.cpp316 pandasm::Opcode opc; in EncodeSta() local
319 opc = pandasm::Opcode::STA; in EncodeSta()
327 sta.opcode = opc; in EncodeSta()