Home
last modified time | relevance | path

Searched refs:literalarray_table (Results 1 – 19 of 19) sorted by relevance

/arkcompiler/runtime_core/assembler/tests/
Dassembler_parser_test.cpp1843 …EXPECT_EQ(item.Value().literalarray_table.at("array").literals_[0].tag_, panda::panda_file::Litera…
1845 …static_cast<uint64_t>(std::get<bool>(item.Value().literalarray_table.at("array").literals_[0].valu…
1846 …EXPECT_EQ(item.Value().literalarray_table.at("array").literals_[1].tag_, panda::panda_file::Litera…
1850 …static_cast<uint8_t>(std::get<uint8_t>(item.Value().literalarray_table.at("array").literals_[1].va…
1851 …EXPECT_EQ(item.Value().literalarray_table.at("array").literals_[2].tag_, panda::panda_file::Litera…
1852 …EXPECT_EQ(static_cast<int8_t>(std::get<uint8_t>(item.Value().literalarray_table.at("array").litera…
1854 …EXPECT_EQ(item.Value().literalarray_table.at("array").literals_[3].tag_, panda::panda_file::Litera…
1858 …static_cast<uint16_t>(std::get<uint16_t>(item.Value().literalarray_table.at("array").literals_[3].…
1860 …EXPECT_EQ(item.Value().literalarray_table.at("array").literals_[4].tag_, panda::panda_file::Litera…
1861 …EXPECT_EQ(static_cast<int16_t>(std::get<uint16_t>(item.Value().literalarray_table.at("array").lite…
[all …]
Dparser_test.cpp3568 …ASSERT_EQ(item.Value().literalarray_table.at("array").literals_[0].tag_, panda::panda_file::Litera… in TEST()
3569 … ASSERT_EQ(std::get<bool>(item.Value().literalarray_table.at("array").literals_[0].value_), true); in TEST()
3570 …ASSERT_EQ(item.Value().literalarray_table.at("array").literals_[1].tag_, panda::panda_file::Litera… in TEST()
3571 … ASSERT_EQ(std::get<uint8_t>(item.Value().literalarray_table.at("array").literals_[1].value_), 2); in TEST()
3572 …ASSERT_EQ(item.Value().literalarray_table.at("array").literals_[2].tag_, panda::panda_file::Litera… in TEST()
3573 …ASSERT_EQ(static_cast<int8_t>(std::get<uint8_t>(item.Value().literalarray_table.at("array").litera… in TEST()
3575 …ASSERT_EQ(item.Value().literalarray_table.at("array").literals_[3].tag_, panda::panda_file::Litera… in TEST()
3576 …ASSERT_EQ(std::get<uint16_t>(item.Value().literalarray_table.at("array").literals_[3].value_), 400… in TEST()
3577 …ASSERT_EQ(item.Value().literalarray_table.at("array").literals_[4].tag_, panda::panda_file::Litera… in TEST()
3578 …ASSERT_EQ(static_cast<int16_t>(std::get<uint16_t>(item.Value().literalarray_table.at("array").lite… in TEST()
[all …]
Dassembler_emitter_test.cpp984 …program.Value().literalarray_table.at("array").literals_[0].tag_ = panda_file::LiteralTag::LITERAL…
985 … program.Value().literalarray_table.at("array").literals_[0].value_.emplace<std::string>("array");
1046 item.Value().literalarray_table.at("array").literals_[0].tag_ = panda_file::LiteralTag::BOOL;
1047 item.Value().literalarray_table.at("array").literals_[0].value_.emplace<0>(true);
1049 …item.Value().literalarray_table.at("array").literals_[1].tag_ = panda_file::LiteralTag::METHODAFFI…
1050 item.Value().literalarray_table.at("array").literals_[1].value_.emplace<uint16_t>(1);
1052 item.Value().literalarray_table.at("array").literals_[2].tag_ = panda_file::LiteralTag::FLOAT;
1053 item.Value().literalarray_table.at("array").literals_[2].value_.emplace<float>(1.0);
1055 item.Value().literalarray_table.at("array").literals_[3].tag_ = panda_file::LiteralTag::DOUBLE;
1056 item.Value().literalarray_table.at("array").literals_[3].value_.emplace<double>(1.0);
[all …]
/arkcompiler/runtime_core/bytecode_optimizer/
Dir_interface.h67 auto it = prog_->literalarray_table.find(id); in GetLiteralArrayIdByOffset()
68 ASSERT(it != prog_->literalarray_table.end()); in GetLiteralArrayIdByOffset()
69 … return it != prog_->literalarray_table.end() ? std::optional<std::string>(id) : std::nullopt; in GetLiteralArrayIdByOffset()
129 prog_->literalarray_table.emplace(id, std::move(literalarray)); in StoreLiteralArray()
138 return prog_->literalarray_table.size(); in GetLiteralArrayTableSize()
Doptimize_bytecode.cpp130 auto array_iter = prog->literalarray_table.find(key); in ExtractTypeInfo()
131 ASSERT(array_iter != prog->literalarray_table.end()); in ExtractTypeInfo()
Dcodegen.cpp188 auto &litarr_table = GetProgram()->literalarray_table; in UpdateTypeInfoIndexAnnotation()
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Dcommon.h740 if (prog->literalarray_table.size() == 1) { in CheckConstArrayFilling()
741 … EXPECT_TRUE(prog->literalarray_table["0"].literals_[0].tag_ == panda_file::LiteralTag::TAGVALUE); in CheckConstArrayFilling()
742 … EXPECT_TRUE(prog->literalarray_table["0"].literals_[1].tag_ == panda_file::LiteralTag::INTEGER); in CheckConstArrayFilling()
743 … EXPECT_TRUE(prog->literalarray_table["0"].literals_[2].tag_ == panda_file::LiteralTag::ARRAY_I32); in CheckConstArrayFilling()
746 EXPECT_TRUE(prog->literalarray_table.size() == 8); in CheckConstArrayFilling()
747 for (const auto &elem : prog->literalarray_table) { in CheckConstArrayFilling()
752 … EXPECT_TRUE(prog->literalarray_table["7"].literals_[2].tag_ == panda_file::LiteralTag::ARRAY_U1); in CheckConstArrayFilling()
753 … EXPECT_TRUE(prog->literalarray_table["6"].literals_[2].tag_ == panda_file::LiteralTag::ARRAY_I8); in CheckConstArrayFilling()
754 … EXPECT_TRUE(prog->literalarray_table["5"].literals_[2].tag_ == panda_file::LiteralTag::ARRAY_I16); in CheckConstArrayFilling()
755 … EXPECT_TRUE(prog->literalarray_table["4"].literals_[2].tag_ == panda_file::LiteralTag::ARRAY_I32); in CheckConstArrayFilling()
[all …]
Dbcopt_type_adaption_test.cpp45 auto array_liter = prog.literalarray_table.find(key); in ExtractTypeinfo()
46 EXPECT_NE(array_liter, prog.literalarray_table.end()); in ExtractTypeinfo()
110 auto id = std::to_string(program.literalarray_table.size()); in SetTypeAnnotationForFunc()
111 program.literalarray_table.emplace(id, arr); in SetTypeAnnotationForFunc()
138 const std::string litKey = std::to_string(program.literalarray_table.size()); in AddAnTypeLiteralArray()
139 program.literalarray_table.emplace(litKey, arr); in AddAnTypeLiteralArray()
Dcodegen_test.cpp547 prog.literalarray_table[key] = lit; in __anon0774c0120802()
/arkcompiler/ets_frontend/merge_abc/src/
DassemblyProgramProto.cpp37 for (const auto &[name, array] : program.literalarray_table) { in Serialize()
80 program.literalarray_table.insert({name, std::move(literalArray)}); in Deserialize()
/arkcompiler/runtime_core/assembler/
Dassembly-program.h37 std::map<std::string, panda::pandasm::LiteralArray> literalarray_table; member
Dassembly-parser.cpp1791 if (program_.literalarray_table.find(array_id) == program_.literalarray_table.end()) { in ParseOperandLiteralArray()
2051 …program_.literalarray_table.find(std::string(context_.GiveToken().data(), context_.GiveToken().len… in ParseArrayName()
2052 if (iter == program_.literalarray_table.end()) { in ParseArrayName()
2068 …program_.literalarray_table.try_emplace(std::string(context_.GiveToken().data(), context_.GiveToke… in SetArrayInformation()
2072 …&(program_.literalarray_table.at(std::string(context_.GiveToken().data(), context_.GiveToken().len… in SetArrayInformation()
Dassembly-emitter.cpp573 for (const auto &[id, l] : program.literalarray_table) { in MakeLiteralItems()
578 for (const auto &[id, l] : program.literalarray_table) { in MakeLiteralItems()
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
DtypeExtractorEmitter.cpp136 prog->literalarray_table.emplace(literalId, std::move(literalArrayInstance)); in GenFunctionTypeInfo()
175 prog->literalarray_table.emplace(literalId, std::move(literalArrayInstance)); in GenImportOrDeclareTypeInfo()
246 prog->literalarray_table.emplace(literalId, std::move(literalArrayInstance)); in GenTypeLiteralBuffers()
Demitter.cpp392 prog_->literalarray_table.emplace(litId, std::move(literalArrayInstance)); in AddFunction()
436 …prog_->literalarray_table.emplace(static_cast<std::string_view>(moduleLiteral), std::move(literalA… in AddSourceTextModuleRecord()
/arkcompiler/ets_runtime/ecmascript/ts_types/tests/
Dts_type_test_helper.h40 program.literalarray_table.emplace(literalId, literalArray); in AddLiteral()
/arkcompiler/ets_frontend/es2panda/aot/
Dmain.cpp116 … panda::es2panda::util::Dumper::DumpLiterals(progInfo.second->program.literalarray_table); in DumpProgramInfos()
/arkcompiler/ets_frontend/ts2panda/ts2abc/
Dts2abc.cpp694 prog.literalarray_table.emplace(litId, std::move(literalarrayInstance)); in ParseFunctionTypeInfo()
756 prog.literalarray_table.emplace(litId, std::move(literalarrayInstance)); in CreateLiteralArrayForType()
1130 prog.literalarray_table.emplace(litId, std::move(literalarrayInstance)); in ParseSingleLiteralBuf()
1255 prog.literalarray_table.emplace(moduleId, std::move(moduleLiteralarrayInstance)); in ParseSingleModule()
/arkcompiler/runtime_core/disassembler/
Ddisassembler.cpp89 for (const auto &[key, lit_arr] : prog_.literalarray_table) { in Serialize()
358 prog_.literalarray_table.emplace(ss.str(), lit_arr); in GetLiteralArrays()