/arkcompiler/runtime_core/assembler/templates/ |
D | ins_emit.h.erb | 58 % 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())) {
|
D | ins_create_api.h.erb | 45 <%=group.first.emitter_name%>_.ids.push_back(label); 50 <%=group.first.emitter_name%>_.ids.push_back(<%= o.name %>);
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
D | excluded_keys_test.cpp | 147 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]);
|
D | codegen_test.cpp | 113 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/ |
D | assemblyInsProto.cpp | 25 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/ |
D | assembly-ins.cpp | 64 for (const auto &id : this->ids) { in IdsToString() 136 if (idx >= ids.size()) { in IdToString() 148 translator << ids[idx]; in IdToString()
|
D | assembly-ins.h | 102 std::vector<std::string> ids; /* list of arguments - identifiers */ member 120 return regs.size() + ids.size() + imms.size(); in OperandListLength()
|
D | assembly-parser.cpp | 707 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 …]
|
D | assembly-emitter.cpp | 521 ASSERT(idx < insn.ids.size()); in AddDependencyByIndex() 522 const auto &id = insn.ids[idx]; in AddDependencyByIndex()
|
/arkcompiler/ets_frontend/testTs/instype/ |
D | recordexport.ts | 38 ids: number[]; property
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | pandasm.ts | 50 ids: Array<string> | undefined = undefined, 57 this.id = ids;
|
/arkcompiler/ets_frontend/es2panda/util/ |
D | patchFix.cpp | 170 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/ |
D | assemblyIns.proto | 31 repeated bytes ids = 3; field
|
/arkcompiler/ets_frontend/es2panda/compiler/templates/ |
D | isa.h.erb | 229 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/ |
D | unit_test.h | 145 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/ |
D | assembler_ins_test.cpp | 133 ins.ids.push_back("a1"); 216 ins.ids.push_back("a1");
|
D | parser_test.cpp | 168 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 …]
|
D | assembler_parser_test.cpp | 254 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/ |
D | bytecode_instruction-inl_gen.h.erb | 375 % 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/ |
D | bc_ins_to_pandasm_ins.cpp.erb | 48 ins.ids.push_back(IDToString(bc_ins, method_id, <%=id_count%>));
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
D | ir_constructor.h | 760 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/ |
D | debuginfoDumper.cpp | 106 WrapArray("ids", ins.ids); in WriteIns()
|
/arkcompiler/runtime_core/tests/cts-generator/ |
D | README.md | 61 -b, --bug_id BUGID Include tests with specified bug ids
|
/arkcompiler/ets_frontend/ts2panda/ts2abc/ |
D | ts2abc.cpp | 359 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/ |
D | ts_manager.cpp | 911 std::vector<BuiltinTypeId> ids = GetValidTypedArrayIds(); in IsValidTypedArrayType() local 912 for (const auto &id : ids) { in IsValidTypedArrayType()
|