Home
last modified time | relevance | path

Searched refs:Ins (Results 1 - 25 of 70) sorted by relevance

123

/arkcompiler/ets_frontend/merge_abc/src/
H A DassemblyInsProto.h24 class Ins { class
26 static void Serialize(const panda::pandasm::Ins &insn, protoPanda::Ins &protoInsn);
27 static void Deserialize(const protoPanda::Ins &protoInsn, panda::pandasm::Ins &insn);
H A DassemblyInsProto.cpp19 void Ins::Serialize(const panda::pandasm::Ins &insn, protoPanda::Ins &protoInsn) in Serialize()
47 void Ins::Deserialize(const protoPanda::Ins &protoInsn, panda::pandasm::Ins &insn) in Deserialize()
H A DassemblyDebugProto.h25 static void Serialize(const panda::pandasm::debuginfo::Ins &debug, protoPanda::DebuginfoIns &protoDebug);
26 static void Deserialize(const protoPanda::DebuginfoIns &protoDebug, panda::pandasm::debuginfo::Ins &debug);
H A DassemblyDebugProto.cpp19 void DebuginfoIns::Serialize(const panda::pandasm::debuginfo::Ins &debug, protoPanda::DebuginfoIns &protoDebug) in Serialize()
28 void DebuginfoIns::Deserialize(const protoPanda::DebuginfoIns &protoDebug, panda::pandasm::debuginfo::Ins &debug) in Deserialize()
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
H A Dcodegen.h36 void DoLdaObj(compiler::Register reg, std::vector<pandasm::Ins> &result);
37 void DoLda(compiler::Register reg, std::vector<pandasm::Ins> &result);
38 void DoLda64(compiler::Register reg, std::vector<pandasm::Ins> &result);
39 void DoStaObj(compiler::Register reg, std::vector<pandasm::Ins> &result);
40 void DoSta(compiler::Register reg, std::vector<pandasm::Ins> &result);
41 void DoSta64(compiler::Register reg, std::vector<pandasm::Ins> &result);
42 void DoSta(compiler::DataType::Type type, compiler::Register reg, std::vector<pandasm::Ins> &result);
43 void DoLdaDyn(compiler::Register reg, std::vector<pandasm::Ins> &result);
44 void DoStaDyn(compiler::Register reg, std::vector<pandasm::Ins> &result);
62 std::vector<pandasm::Ins> GetEncodedInstruction
[all...]
H A Dcodegen.cpp20 void DoLdaObj(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoLdaObj()
27 void DoLda(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoLda()
34 void DoLda64(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoLda64()
41 void DoStaObj(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoStaObj()
48 void DoSta(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoSta()
55 void DoSta64(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoSta64()
62 void DoSta(compiler::DataType::Type type, compiler::Register reg, std::vector<pandasm::Ins> &result) in DoSta()
71 void DoLdaDyn(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoLdaDyn()
78 void DoStaDyn(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoStaDyn()
217 pandasm::Ins mov in EncodeSpillFillData()
[all...]
/arkcompiler/runtime_core/assembler/
H A Dassembly-ins.cpp21 std::string panda::pandasm::Ins::RegsToString(bool &first, bool print_args, size_t first_arg_idx) const in RegsToString()
40 std::string panda::pandasm::Ins::ImmsToString(bool &first) const in ImmsToString()
61 std::string panda::pandasm::Ins::IdsToString(bool &first) const in IdsToString()
76 std::string panda::pandasm::Ins::OperandsToString(bool print_args, size_t first_arg_idx) const in OperandsToString()
86 std::string panda::pandasm::Ins::RegToString(size_t idx, bool is_first, bool print_args, in RegToString()
110 std::string panda::pandasm::Ins::ImmToString(size_t idx, bool is_first) const in ImmToString()
134 std::string panda::pandasm::Ins::IdToString(size_t idx, bool is_first) const in IdToString()
H A Dassembly-debug.h23 struct Ins { struct
40 Ins() = default;
41 Ins(size_t l_n, std::string &f_c, size_t b_l, size_t b_r) in Ins() function
/arkcompiler/runtime_core/static_core/assembler/
H A Dassembly-ins.cpp21 std::string ark::pandasm::Ins::RegsToString(bool &first, bool printArgs, size_t firstArgIdx) const in RegsToString()
40 std::string ark::pandasm::Ins::ImmsToString(bool &first) const in ImmsToString()
61 std::string ark::pandasm::Ins::IdsToString(bool &first) const in IdsToString()
76 std::string ark::pandasm::Ins::OperandsToString(bool printArgs, size_t firstArgIdx) const in OperandsToString()
86 std::string ark::pandasm::Ins::RegToString(size_t idx, bool isFirst, bool printArgs, size_t firstArgIdx) const in RegToString()
109 std::string ark::pandasm::Ins::ImmToString(size_t idx, bool isFirst) const in ImmToString()
133 std::string ark::pandasm::Ins::IdToString(size_t idx, bool isFirst) const in IdToString()
H A Dassembly-debug.h25 struct Ins { struct
42 Ins() = default;
43 Ins(size_t lN, std::string &fC, size_t bL, size_t bR) in Ins() function
H A Dassembly-function.h78 std::vector<ark::pandasm::Ins> ins; /* function instruction list */
92 void SetInsDebug(const std::vector<debuginfo::Ins> &insDebug) in SetInsDebug()
100 void AddInstruction(const ark::pandasm::Ins &instruction) in AddInstruction()
179 return std::any_of(ins.cbegin(), ins.cend(), [](const Ins &insn) { return insn.CanThrow(); }); in CanThrow()
184 return std::any_of(ins.cbegin(), ins.cend(), [](const Ins &insn) { return insn.HasDebugInfo(); }); in HasDebugInfo()
/arkcompiler/runtime_core/abc2program/
H A Dprogram_dump.h66 void HandleInvalidopInsLabel(size_t invalid_op_idx, pandasm::Ins &invalid_op_ins);
67 pandasm::Ins *GetNearestValidopIns4InvalidopIns(size_t invalid_op_ins_idx);
69 void UpdateLabels4DumpIns(std::vector<pandasm::Ins*> &dump_ins, const LabelMap &label_map) const;
70 void UpdateLabels4DumpInsAtIndex(size_t idx, std::vector<pandasm::Ins*> &dump_ins,
81 void ReplaceLiteralId4Ins(pandasm::Ins &pa_ins) const;
93 std::vector<pandasm::Ins> original_dump_ins_;
94 std::vector<pandasm::Ins*> original_dump_ins_ptrs_;
95 std::vector<pandasm::Ins*> final_dump_ins_ptrs_;
100 std::unordered_map<pandasm::Ins*, uint32_t> original_ins_index_map_;
101 std::unordered_map<pandasm::Ins*, uint32_
[all...]
H A Ddump_utils.cpp77 bool PandasmDumperUtils::IsMatchLiteralId(const pandasm::Ins &pa_ins) in IsMatchLiteralId()
83 size_t PandasmDumperUtils::GetLiteralIdIndex4Ins(const pandasm::Ins &pa_ins) in GetLiteralIdIndex4Ins()
100 pandasm::Ins PandasmDumperUtils::DeepCopyIns(const pandasm::Ins &input) in DeepCopyIns()
102 pandasm::Ins res{}; in DeepCopyIns()
107 pandasm::Ins::IType new_imm = input.imms[i]; in DeepCopyIns()
H A Ddump_utils.h80 static bool IsMatchLiteralId(const pandasm::Ins &pa_ins);
81 static size_t GetLiteralIdIndex4Ins(const pandasm::Ins &pa_ins);
83 static pandasm::Ins DeepCopyIns(const pandasm::Ins &input);
H A Dprogram_dump.cpp330 for (const pandasm::Ins &pa_ins : function.ins) { in DumpOriginalFunctionIns()
357 for (const pandasm::Ins &pa_ins : function.ins) { in GetOriginalDumpIns()
361 for (pandasm::Ins &pa_ins : original_dump_ins_) { in GetOriginalDumpIns()
373 for (pandasm::Ins *pa_ins : original_dump_ins_ptrs_) { in GetFinalDumpIns()
384 for (pandasm::Ins *pa_ins : final_dump_ins_ptrs_) { in DumpFinalIns()
403 pandasm::Ins &curr_ins = original_dump_ins_[i]; in GetInvalidOpLabelMap()
410 void PandasmProgramDumper::HandleInvalidopInsLabel(size_t invalid_op_idx, pandasm::Ins &invalid_op_ins) in HandleInvalidopInsLabel()
415 pandasm::Ins *nearest_valid_op_ins = GetNearestValidopIns4InvalidopIns(invalid_op_idx); in HandleInvalidopInsLabel()
428 pandasm::Ins *PandasmProgramDumper::GetNearestValidopIns4InvalidopIns(size_t invalid_op_ins_idx) in GetNearestValidopIns4InvalidopIns()
433 pandasm::Ins in GetNearestValidopIns4InvalidopIns()
[all...]
H A Dabc_code_processor.cpp64 pandasm::Ins pa_ins = code_converter_->BytecodeInstructionToPandasmInstruction(bc_ins, method_id_); in FillInsWithoutLabels()
67 * For example, a pandasm::Function has 100 pandasm::Ins with only 4 jump pandasm::Ins. in FillInsWithoutLabels()
69 * we only need to enumerate the 4 jump pandasm::Ins which stored in jump_inst_idx_vec_, in FillInsWithoutLabels()
70 * while no need to enumerate the whole 100 pandasm::Ins. in FillInsWithoutLabels()
104 pandasm::Ins dummy_end_ins{}; in AddDummyEndIns()
136 pandasm::Ins &jump_pa_ins = function_.ins[jump_inst_idx]; in AddJumpLabels()
141 void AbcCodeProcessor::AddJumpLabel4InsAtIndex(uint32_t curr_inst_idx, pandasm::Ins &curr_pa_ins) const in AddJumpLabel4InsAtIndex()
147 pandasm::Ins &dst_pa_ins = function_.ins[dst_inst_idx]; in AddJumpLabel4InsAtIndex()
207 pandasm::Ins in AddLabel4InsAtIndex()
[all...]
/arkcompiler/runtime_core/bytecode_optimizer/
H A Dcodegen.h36 void DoLda(compiler::Register reg, std::vector<pandasm::Ins> &result);
37 void DoSta(compiler::Register reg, std::vector<pandasm::Ins> &result);
52 std::vector<pandasm::Ins> GetEncodedInstructions() const in GetEncodedInstructions()
69 const std::vector<pandasm::Ins> &GetResult() const in GetResult()
74 std::vector<pandasm::Ins> &&GetResult() in GetResult()
86 pandasm::Ins l; in EmitLabel()
142 std::vector<pandasm::Ins> res_;
146 std::vector<pandasm::Ins> result_;
/arkcompiler/runtime_core/disassembler/tests/
H A Ddisassembler_imm_tests.cpp33 const panda::pandasm::Ins &ins = disasm.BytecodeInstructionToPandasmInstruction(inst, method_id); in TEST()
42 const panda::pandasm::Ins &ins = disasm.BytecodeInstructionToPandasmInstruction(inst, method_id); in TEST()
51 const panda::pandasm::Ins &ins = disasm.BytecodeInstructionToPandasmInstruction(inst, method_id); in TEST()
60 const panda::pandasm::Ins &ins = disasm.BytecodeInstructionToPandasmInstruction(inst, method_id); in TEST()
72 const panda::pandasm::Ins &ins = disasm.BytecodeInstructionToPandasmInstruction(inst, method_id); in TEST()
81 const panda::pandasm::Ins &ins = disasm.BytecodeInstructionToPandasmInstruction(inst, method_id); in TEST()
90 const panda::pandasm::Ins &ins = disasm.BytecodeInstructionToPandasmInstruction(inst, method_id); in TEST()
100 const panda::pandasm::Ins &ins = disasm.BytecodeInstructionToPandasmInstruction(inst, method_id); in TEST()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DprogramElement.h23 struct Ins;
36 std::vector<pandasm::Ins *> &LiteralBufferIns();
43 std::vector<pandasm::Ins *> literalBufferIns_;
/arkcompiler/runtime_core/abc2program/tests/cpp_sources/
H A Dhello_world_test.cpp410 const pandasm::Ins &ins0 = function.ins[0]; in HWTEST_F()
416 const pandasm::Ins &ins3 = function.ins[3]; in HWTEST_F()
422 const pandasm::Ins &ins9 = function.ins[9]; in HWTEST_F()
428 const pandasm::Ins &ins11 = function.ins[11]; in HWTEST_F()
447 const pandasm::Ins &ins12 = function.ins[12]; in HWTEST_F()
453 const pandasm::Ins &ins22 = function.ins[22]; in HWTEST_F()
459 const pandasm::Ins &ins26 = function.ins[26]; in HWTEST_F()
465 const pandasm::Ins &ins29 = function.ins[29]; in HWTEST_F()
471 const pandasm::Ins &ins33 = function.ins[33]; in HWTEST_F()
477 const pandasm::Ins in HWTEST_F()
[all...]
/arkcompiler/runtime_core/static_core/abc2program/
H A Dabc_code_processor.h33 std::vector<pandasm::Ins> GetIns() const;
43 std::vector<pandasm::Ins> ins_;
/arkcompiler/ets_frontend/ets2panda/compiler/debugger/
H A DdebuginfoDumper.h39 void WriteIns(const pandasm::Ins &ins);
42 void WritePosInfo(const pandasm::debuginfo::Ins &posInfo);
H A DdebuginfoDumper.cpp63 if constexpr (std::is_same_v<T, pandasm::Ins>) { in WrapArray()
91 void DebugInfoDumper::WriteIns(const pandasm::Ins &ins) in WriteIns()
95 pandasm::Ins insCopy; in WriteIns()
129 void DebugInfoDumper::WritePosInfo(const pandasm::debuginfo::Ins &posInfo) in WritePosInfo()
/arkcompiler/ets_frontend/es2panda/compiler/debugger/
H A DdebuginfoDumper.h39 void WriteIns(const pandasm::Ins &ins);
42 void WritePosInfo(const pandasm::debuginfo::Ins &posInfo);
H A DdebuginfoDumper.cpp63 if constexpr (std::is_same_v<T, pandasm::Ins>) { in WrapArray()
94 void DebugInfoDumper::WriteIns(const pandasm::Ins &ins) in WriteIns()
98 pandasm::Ins insCopy; in WriteIns()
132 void DebugInfoDumper::WritePosInfo(const pandasm::debuginfo::Ins &posInfo) in WritePosInfo()

Completed in 12 milliseconds

123