Home
last modified time | relevance | path

Searched refs:ids (Results 1 – 25 of 26) sorted by relevance

12

/arkcompiler/runtime_core/assembler/templates/
Dins_emit.h.erb58 % ops << 'labels.find(ids[0])->second'
74 % ops << "methods.find(ids[#{num_id}])->second->GetIndex(method)"
79 % ops << "strings.find(ids[#{num_id}])->second->GetIndex(method)"
84 % ops << "literalarrays.find(ids[#{num_id}])->second->GetIndex(method)"
100 if ((ids.size() == 0) || (labels.find(ids[0]) == labels.cend())) {
107 if ((ids.size() == 0) || (methods.find(ids[<%= num_id %>]) == methods.cend())) {
112 if ((ids.size() == 0) || (strings.find(ids[<%= num_id %>]) == strings.cend())) {
117 if ((ids.size() == 0) || (literalarrays.find(ids[<%= num_id %>]) == literalarrays.cend())) {
Dins_create_api.h.erb45 <%=group.first.emitter_name%>_.ids.push_back(label);
50 <%=group.first.emitter_name%>_.ids.push_back(<%= o.name %>);
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Dexcluded_keys_test.cpp147 EXPECT_EQ(opt_ins.ids.size(), expected_ins.ids.size());
148 for (size_t k = 0; k < opt_ins.ids.size(); k++) {
149 EXPECT_EQ(opt_ins.ids[k], expected_ins.ids[k]);
Dcodegen_test.cpp113 EXPECT_EQ(bc_gen.GetResult().back().ids[0], "label_6"); in __anon0774c0120102()
115 EXPECT_EQ(bc_gen.GetResult().back().ids[0], "label_3"); in __anon0774c0120102()
/arkcompiler/ets_frontend/merge_abc/src/
DassemblyInsProto.cpp25 for (const auto &str : insn.ids) { in Serialize()
54 insn.ids.reserve(protoInsn.ids_size()); in Deserialize()
55 for (const auto &protoId : protoInsn.ids()) { in Deserialize()
56 insn.ids.push_back(protoId); in Deserialize()
/arkcompiler/runtime_core/assembler/
Dassembly-ins.cpp64 for (const auto &id : this->ids) { in IdsToString()
136 if (idx >= ids.size()) { in IdToString()
148 translator << ids[idx]; in IdToString()
Dassembly-ins.h102 std::vector<std::string> ids; /* list of arguments - identifiers */ member
120 return regs.size() + ids.size() + imms.size(); in OperandListLength()
Dassembly-parser.cpp707 auto func_name = insn_it->ids[0]; in ParseResetFunctionTable()
721 insn_it->ids[0] = program_.function_synonyms.at(func_name)[0]; in ParseResetFunctionTable()
725 …if (insn_it->OperandListLength() - diff < program_.function_table.at(insn_it->ids[0]).GetParamsNum… in ParseResetFunctionTable()
1294 curr_ins_->ids.emplace_back(p); in ParseOperandCall()
1307 const auto it_synonym = program_.function_synonyms.find(curr_ins_->ids.back()); in ParseOperandCall()
1320 curr_ins_->ids.back() += func_signature; in ParseOperandCall()
1322 if (program_.function_table.find(curr_ins_->ids.back()) == program_.function_table.end()) { in ParseOperandCall()
1324 node_handle.key() = curr_ins_->ids.back(); in ParseOperandCall()
1573 curr_ins_->ids.push_back(res.value()); in ParseOperandString()
1694 curr_ins_->ids.emplace_back(p.data(), p.length()); in ParseOperandLabel()
[all …]
Dassembly-emitter.cpp521 ASSERT(idx < insn.ids.size()); in AddDependencyByIndex()
522 const auto &id = insn.ids[idx]; in AddDependencyByIndex()
/arkcompiler/ets_frontend/testTs/instype/
Drecordexport.ts38 ids: number[]; property
/arkcompiler/ets_frontend/ts2panda/src/
Dpandasm.ts50 ids: Array<string> | undefined = undefined,
57 this.id = ids;
/arkcompiler/ets_frontend/es2panda/util/
DpatchFix.cpp170 int64_t bufferIdx = GetLiteralIdxFromStringId(ins.ids[0]); in GenerateFunctionAndClassHash()
173 CollectFunctionsWithDefinedClasses(func->name, ins.ids[0]); in GenerateFunctionAndClassHash()
174 int64_t bufferIdx = GetLiteralIdxFromStringId(ins.ids[1]); in GenerateFunctionAndClassHash()
177 hashList.push_back(std::pair<std::string, std::string>(ins.ids[0], classHash)); in GenerateFunctionAndClassHash()
178 CollectClassMemberFunctions(ins.ids[0], bufferIdx, literalBuffers); in GenerateFunctionAndClassHash()
403 auto &name = funcDefineIns_[i].ids[0]; in CreateFunctionPatchMain0AndMain1()
/arkcompiler/ets_frontend/merge_abc/protos/
DassemblyIns.proto31 repeated bytes ids = 3; field
/arkcompiler/ets_frontend/es2panda/compiler/templates/
Disa.h.erb229 ins->ids.reserve(<%= op_map['str'].length + op_map['lbl'].length %>);
238 ins->ids.emplace_back(<%= str %>.Mutf8());
241 ins->ids.emplace_back(<%= lbl %>->Id());
/arkcompiler/runtime_core/compiler/tests/
Dunit_test.h145 ArenaVector<BasicBlock *> GetBlocksById(Graph *graph, std::vector<size_t> &&ids) const in GetBlocksById() argument
148 for (auto id : ids) { in GetBlocksById()
/arkcompiler/runtime_core/assembler/tests/
Dassembler_ins_test.cpp133 ins.ids.push_back("a1");
216 ins.ids.push_back("a1");
Dparser_test.cpp168 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].ids[0], sig_nain) << "nain expected"; in TEST()
212 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[0].ids[0], "l123") << "l123 expected"; in TEST()
364 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[1].ids[0], "label2"); in TEST()
379 ASSERT_EQ(item.Value().function_table.at(sig_main).ins[4].ids[0], sig_m123); in TEST()
389 ASSERT_EQ(item.Value().function_table.at(sig_m123).ins[3].ids[0], "la1"); in TEST()
1845 ASSERT_EQ(item.Value().function_table.at(sig_f).ins[0].ids.size(), 1U); in TEST()
1846 ASSERT_EQ(item.Value().function_table.at(sig_f).ins[0].ids[0], "i32[][]"); in TEST()
3981 ASSERT_EQ(item.Value().function_table.at(sig_f).ins[0].ids[0], "array"); in TEST()
3984 ASSERT_EQ(item.Value().function_table.at(sig_f).ins[1].ids[0], "array_static"); in TEST()
4082 ASSERT_EQ(res.Value().function_table.at(sig_main).ins[1].ids[0], sig_f); in TEST()
[all …]
Dassembler_parser_test.cpp254 EXPECT_EQ(item.Value().function_table.at(func_name).ins[3].ids[0], "foo") << "nain expected";
315 EXPECT_EQ(item.Value().function_table.at(sig_main).ins[0].ids[0], "l123") << "l123 expected";
591 EXPECT_EQ(func_m123_at[1].ids[0], "la1");
/arkcompiler/runtime_core/libpandafile/templates/
Dbytecode_instruction-inl_gen.h.erb375 % ids = []
378 % ids << "Flags::" + f
382 % if ids.empty?
386 constexpr std::array<Flags, <%= ids.size %>> ids_array { <%= ids.join(', ') %> };
/arkcompiler/runtime_core/disassembler/templates/
Dbc_ins_to_pandasm_ins.cpp.erb48 ins.ids.push_back(IDToString(bc_ins, method_id, <%=id_count%>));
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dir_constructor.h760 IrConstructor &CatchTypeIds(std::vector<uint16_t> &&ids) in CatchTypeIds() argument
765 for (auto id : ids) { in CatchTypeIds()
771 IrConstructor &ThrowableInsts(std::vector<int> &&ids) in ThrowableInsts() argument
776 for (auto id : ids) { in ThrowableInsts()
/arkcompiler/ets_frontend/es2panda/compiler/debugger/
DdebuginfoDumper.cpp106 WrapArray("ids", ins.ids); in WriteIns()
/arkcompiler/runtime_core/tests/cts-generator/
DREADME.md61 -b, --bug_id BUGID Include tests with specified bug ids
/arkcompiler/ets_frontend/ts2panda/ts2abc/
Dts2abc.cpp359 auto ids = ins["id"]; in ParseInstructionIds() local
360 for (Json::ArrayIndex i = 0; i < ids.size(); ++i) { in ParseInstructionIds()
361 if (ids[i].isString()) { in ParseInstructionIds()
362 pandaIns.ids.emplace_back(ParseString(ids[i].asString())); in ParseInstructionIds()
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_manager.cpp911 std::vector<BuiltinTypeId> ids = GetValidTypedArrayIds(); in IsValidTypedArrayType() local
912 for (const auto &id : ids) { in IsValidTypedArrayType()

12