Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/compiler/tests/
Dcompiler_basicblock_test.cpp52 std::string pfile = GRAPH_TEST_ABC_DIR "moduleTryCatch.abc"; variable
53 graph_test_.TestBuildGraphFromFile(pfile, [&](Graph* graph, std::string &method_name) { in __anon9f1e038e0102()
79 std::string pfile = GRAPH_TEST_ABC_DIR "moduleTryCatch.abc"; variable
82 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon9f1e038e0202()
108 std::string pfile = GRAPH_TEST_ABC_DIR "moduleTryCatch.abc"; variable
111 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon9f1e038e0302()
134 std::string pfile = GRAPH_TEST_ABC_DIR "moduleTryCatch.abc"; variable
137 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon9f1e038e0402()
156 std::string pfile = GRAPH_TEST_ABC_DIR "moduleTryCatch.abc"; variable
159 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon9f1e038e0502()
[all …]
Dcompiler_graph_test.cpp65 std::string pfile = GRAPH_TEST_ABC_DIR "styleTryCatch.abc"; variable
68 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon65fffef30102()
90 std::string pfile = GRAPH_TEST_ABC_DIR "styleTryCatch.abc"; variable
93 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon65fffef30202()
121 std::string pfile = GRAPH_TEST_ABC_DIR "styleTryCatch.abc"; variable
124 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon65fffef30302()
143 std::string pfile = GRAPH_TEST_ABC_DIR "styleTryCatch.abc"; variable
146 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon65fffef30402()
178 std::string pfile = GRAPH_TEST_ABC_DIR "testTryCatch.abc"; variable
181 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon65fffef30502()
[all …]
Dloop_analyzer_new_test.cpp46 std::string pfile = GRAPH_TEST_ABC_DIR "dominatorsTryCatch.abc"; variable
50 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon55843b6f0102()
69 std::string pfile = GRAPH_TEST_ABC_DIR "dominatorsTryCatch.abc"; variable
73 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon55843b6f0202()
103 std::string pfile = GRAPH_TEST_ABC_DIR "dominatorsTryCatch.abc"; variable
107 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon55843b6f0302()
137 std::string pfile = GRAPH_TEST_ABC_DIR "dominatorsTryCatch.abc"; variable
141 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon55843b6f0402()
171 std::string pfile = GRAPH_TEST_ABC_DIR "dominatorsTryCatch.abc"; variable
175 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon55843b6f0502()
[all …]
Dliveness_analyzer_new_test.cpp46 std::string pfile = GRAPH_TEST_ABC_DIR "dominatorsTryCatch.abc"; variable
50 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon8a63221e0102()
76 std::string pfile = GRAPH_TEST_ABC_DIR "dominatorsTryCatch.abc"; variable
80 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon8a63221e0202()
218 std::string pfile = GRAPH_TEST_ABC_DIR "dominatorsTryCatch.abc"; variable
222 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon8a63221e0302()
251 std::string pfile = GRAPH_TEST_ABC_DIR "dominatorsTryCatch.abc"; variable
255 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon8a63221e0402()
288 std::string pfile = GRAPH_TEST_ABC_DIR "dominatorsTryCatch.abc"; variable
292 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon8a63221e0502()
[all …]
Dgraph_test.h48 auto pfile = panda_file::OpenPandaFile(pfile_name); in TestBuildGraphFromFile() local
49 for (uint32_t id : pfile->GetClasses()) { in TestBuildGraphFromFile()
51 if (pfile->IsExternal(record_id)) { in TestBuildGraphFromFile()
55 panda_file::ClassDataAccessor cda {*pfile, record_id}; in TestBuildGraphFromFile()
56 cda.EnumerateMethods([&pfile, &cb](panda_file::MethodDataAccessor &mda) { in TestBuildGraphFromFile()
68 … auto method_name = std::string(utf::Mutf8AsCString(pfile->GetStringData(mda.GetNameId()).data)); in TestBuildGraphFromFile()
Dcompiler_inst_test.cpp75 std::string pfile = GRAPH_TEST_ABC_DIR "styleTryCatch.abc"; variable
78 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon7b7a1abf0102()
127 std::string pfile = GRAPH_TEST_ABC_DIR "styleTryCatch.abc"; variable
130 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon7b7a1abf0202()
167 std::string pfile = GRAPH_TEST_ABC_DIR "moduleTryCatch.abc"; variable
169 graph_test_.TestBuildGraphFromFile(pfile, [&](Graph* graph, std::string &method_name) { in __anon7b7a1abf0302()
195 std::string pfile = GRAPH_TEST_ABC_DIR "moduleTryCatch.abc"; variable
197 graph_test_.TestBuildGraphFromFile(pfile, [&](Graph* graph, std::string &method_name) { in __anon7b7a1abf0402()
225 std::string pfile = GRAPH_TEST_ABC_DIR "styleTryCatch.abc"; variable
228 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon7b7a1abf0502()
[all …]
Dlinear_order_new_test.cpp46 std::string pfile = GRAPH_TEST_ABC_DIR "dominatorsTryCatch.abc"; variable
50 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon08df7aa60102()
69 std::string pfile = GRAPH_TEST_ABC_DIR "dominatorsTryCatch.abc"; variable
73 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon08df7aa60202()
98 std::string pfile = GRAPH_TEST_ABC_DIR "dominatorsTryCatch.abc"; variable
102 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon08df7aa60302()
Ddump_test.cpp58 std::string pfile = GRAPH_TEST_ABC_DIR "styleTryCatch.abc"; variable
62 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anonb8e9e89d0102()
92 std::string pfile = GRAPH_TEST_ABC_DIR "moduleTryCatch.abc"; variable
95 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anonb8e9e89d0202()
168 std::string pfile = GRAPH_TEST_ABC_DIR "moduleTryCatch.abc"; variable
171 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anonb8e9e89d0302()
287 std::string pfile = GRAPH_TEST_ABC_DIR "moduleTryCatch.abc"; variable
290 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anonb8e9e89d0402()
367 std::string pfile = GRAPH_TEST_ABC_DIR "moduleTryCatch.abc"; variable
370 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anonb8e9e89d0502()
[all …]
Dcompiler_regalloc_test.cpp78 std::string pfile = GRAPH_TEST_ABC_DIR "regallocTest.abc"; variable
81 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon5d7559aa0302()
117 std::string pfile = GRAPH_TEST_ABC_DIR "regallocTest.abc"; variable
120 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon5d7559aa0402()
145 std::string pfile = GRAPH_TEST_ABC_DIR "regallocTest.abc"; variable
148 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon5d7559aa0502()
180 std::string pfile = GRAPH_TEST_ABC_DIR "regallocTest.abc"; variable
183 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon5d7559aa0602()
214 std::string pfile = GRAPH_TEST_ABC_DIR "regallocTest.abc"; variable
217 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon5d7559aa0702()
[all …]
Ddominators_tree_new_test.cpp45 std::string pfile = GRAPH_TEST_ABC_DIR "dominatorsTryCatch.abc"; variable
49 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anona6f8c39f0102()
80 std::string pfile = GRAPH_TEST_ABC_DIR "dominatorsTryCatch.abc"; variable
84 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anona6f8c39f0202()
114 std::string pfile = GRAPH_TEST_ABC_DIR "dominatorsTryCatch.abc"; variable
118 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anona6f8c39f0302()
Dcompiler_optimizations_test.cpp75 std::string pfile = GRAPH_TEST_ABC_DIR "regallocTest.abc"; variable
79 graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status, &status1](Graph* graph,
162 std::string pfile = GRAPH_TEST_ABC_DIR "regallocTryTest.abc"; variable
165 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon2e732b7b0202()
198 std::string pfile = GRAPH_TEST_ABC_DIR "regallocTest.abc"; variable
201 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon2e732b7b0302()
220 std::string pfile = GRAPH_TEST_ABC_DIR "regallocTryTest.abc"; variable
223 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon2e732b7b0402()
243 std::string pfile = GRAPH_TEST_ABC_DIR "regallocTryTest.abc"; variable
246 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon2e732b7b0502()
Dclass_hash_table_test.cpp247 auto pfile = panda_file::OpenPandaFile(panda_fname.GetFileName()); in TEST_F() local
263 pfile->SetClassHashTable(aot_panda_file.GetClassHashTable()); in TEST_F()
265 ASSERT(!pfile->GetClassHashTable().empty()); in TEST_F()
266 ASSERT_EQ(pfile->GetClassHashTable().size(), aot_panda_file.GetClassHashTable().size()); in TEST_F()
285 auto pfile = panda_file::OpenPandaFile(panda_fname.GetFileName()); in TEST_F() local
326 auto pfile = panda_file::OpenPandaFile(panda_fname.GetFileName()); in TEST_F() local
334 auto class_id1_A = pfile->GetClassId(descriptor_A); in TEST_F()
335 auto class_id1_B = pfile->GetClassId(descriptor_B); in TEST_F()
336 auto class_id1_C = pfile->GetClassId(descriptor_C); in TEST_F()
337 auto class_id1_D = pfile->GetClassId(descriptor_D); in TEST_F()
[all …]
Dgraph_checker_test.cpp55 std::string pfile = GRAPH_TEST_ABC_DIR "styleTryCatch.abc"; variable
58 …graphTest_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &m… in __anon6c66d38d0102()
Dunit_test.cpp101 auto pfile = ParseToFile(source, file_name); in Parse() local
102 if (pfile == nullptr) { in Parse()
106 GetClassLinker()->AddPandaFile(std::move(pfile)); in Parse()
DirBuilder_tests.cpp55 auto pfile = pandasm::AsmEmitter::Emit(prog, &maps); in TestBuildGraphFromFunc() local
56 for (uint32_t id : pfile->GetClasses()) { in TestBuildGraphFromFunc()
58 panda_file::ClassDataAccessor cda {*pfile, record_id}; in TestBuildGraphFromFunc()
84 auto pfile = panda_file::OpenPandaFile(pFileName); in TestBuildGraphFromFile() local
85 for (uint32_t id : pfile->GetClasses()) { in TestBuildGraphFromFile()
88 if (pfile->IsExternal(record_id)) { in TestBuildGraphFromFile()
92 panda_file::ClassDataAccessor cda {*pfile, record_id}; in TestBuildGraphFromFile()
93 cda.EnumerateMethods([&pfile, &cb](panda_file::MethodDataAccessor &mda) { in TestBuildGraphFromFile()
105 … auto methodName = std::string(utf::Mutf8AsCString(pfile->GetStringData(mda.GetNameId()).data)); in TestBuildGraphFromFile()
Daot_test.cpp249 auto pfile = aot_manager.FindPandaFile(tmpfile_pf); in TEST_F() local
250 ASSERT_NE(pfile, nullptr); in TEST_F()
251 auto cls = pfile->GetClass(13); in TEST_F()
595 auto pfile = aot_manager->FindPandaFile(tmpfile_pf); in TEST_F() local
596 ASSERT_NE(pfile, nullptr); in TEST_F()
597 auto cls = pfile->GetClass(13); in TEST_F()
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Dgraph_test.h48 auto pfile = panda_file::OpenPandaFile(pfile_name); in TestBuildGraphFromFile() local
49 for (uint32_t id : pfile->GetClasses()) { in TestBuildGraphFromFile()
51 if (pfile->IsExternal(record_id)) { in TestBuildGraphFromFile()
55 panda_file::ClassDataAccessor cda {*pfile, record_id}; in TestBuildGraphFromFile()
56 cda.EnumerateMethods([&pfile, &cb](panda_file::MethodDataAccessor &mda) { in TestBuildGraphFromFile()
68 … auto method_name = std::string(utf::Mutf8AsCString(pfile->GetStringData(mda.GetNameId()).data)); in TestBuildGraphFromFile()
81 auto pfile = pandasm::AsmEmitter::Emit(prog, &maps); in TestBuildGraphFromFunc() local
82 for (uint32_t id : pfile->GetClasses()) { in TestBuildGraphFromFunc()
84 panda_file::ClassDataAccessor cda {*pfile, record_id}; in TestBuildGraphFromFunc()
Dcodegen_test.cpp93 std::string pfile = GRAPH_TEST_ABC_DIR "codegenTryCatch.abc"; variable
97 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon0774c0120102()
130 std::string pfile = GRAPH_TEST_ABC_DIR "codegenTryCatch.abc"; variable
134 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon0774c0120202()
167 std::string pfile = GRAPH_TEST_ABC_DIR "codegenTryCatch.abc"; variable
171 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon0774c0120302()
230 std::string pfile = GRAPH_TEST_ABC_DIR "codegenTryCatch.abc"; variable
234 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon0774c0120402()
266 std::string pfile = GRAPH_TEST_ABC_DIR "codegenTryCatch.abc"; variable
270 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon0774c0120502()
[all …]
/arkcompiler/runtime_core/bytecode_optimizer/
Doptimize_bytecode.cpp360 auto pfile = panda_file::OpenPandaFile(pfile_name); in OptimizePandaFile() local
361 if (!pfile) { in OptimizePandaFile()
367 for (uint32_t id : pfile->GetClasses()) { in OptimizePandaFile()
370 if (pfile->IsExternal(record_id)) { in OptimizePandaFile()
374 panda_file::ClassDataAccessor cda {*pfile, record_id}; in OptimizePandaFile()