/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | pandagen.cpp | 389 ra_.Emit<Sta>(node, vreg); in StoreAccumulator() 495 ra_.Emit<Tryldglobalbyname>(node, 0, name); in TryLoadGlobalByName() 524 ra_.Emit<Trystglobalbyname>(node, 0, name); in TryStoreGlobalByName() 532 ra_.Emit<Ldobjbyname>(node, 0, prop); in LoadObjByName() 538 ra_.Emit<Stobjbyname>(node, 0, prop, obj); in StoreObjByName() 546 ra_.Emit<Ldobjbyindex>(node, 0, index); in LoadObjByIndex() 550 ra_.Emit<WideLdobjbyindex>(node, index); in LoadObjByIndex() 555 ra_.Emit<Ldobjbyvalue>(node, 0, obj); // prop is in acc in LoadObjByValue() 560 ra_.Emit<Stobjbyvalue>(node, 0, obj, prop); in StoreObjByValue() 566 ra_.Emit<Stobjbyindex>(node, 0, obj, index); in StoreObjByIndex() [all …]
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | dyn_chunk.h | 44 int Emit(const uint8_t *data, size_t len); 54 return Emit(reinterpret_cast<uint8_t *>(&data), U16_SIZE); in EmitU16() 59 return Emit(reinterpret_cast<uint8_t *>(&data), U32_SIZE); in EmitU32() 64 return Emit(reinterpret_cast<uint8_t *>(&data), U64_SIZE); in EmitU64()
|
D | dyn_chunk.cpp | 71 int DynChunk::Emit(const uint8_t *data, size_t length) in Emit() function in panda::ecmascript::DynChunk 89 return Emit(&c, 1); in EmitChar() 112 return Emit(reinterpret_cast<const uint8_t *>(str), strlen(str) + 1); in EmitStr()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/ |
D | js_pandafile_manager_test.cpp | 75 std::unique_ptr<const File> pfPtr = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0() 98 EXPECT_TRUE(pandasm::AsmEmitter::Emit(filename, res.Value())); in HWTEST_F_L0() 120 std::unique_ptr<const File> pfPtr1 = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0() 121 std::unique_ptr<const File> pfPtr2 = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0() 149 std::unique_ptr<const File> pfPtr1 = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0() 150 std::unique_ptr<const File> pfPtr2 = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0() 192 std::unique_ptr<const File> pfPtr = pandasm::AsmEmitter::Emit(res.Value()); in CreateJSPandaFileAndConstpool() 223 std::unique_ptr<const File> pfPtr1 = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0() 224 std::unique_ptr<const File> pfPtr2 = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0() 255 std::unique_ptr<const File> pfPtr = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0() [all …]
|
D | js_pandafile_executor_test.cpp | 72 std::unique_ptr<const File> pfPtr = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0() 108 std::unique_ptr<const File> pfPtr = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0() 146 std::unique_ptr<const File> pfPtr = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0()
|
D | panda_file_translator_test.cpp | 73 std::unique_ptr<const File> pfPtr = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0() 116 std::unique_ptr<const File> pfPtr = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0()
|
D | quick_fix_test.cpp | 147 std::unique_ptr<const File> basePF = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0() 148 std::unique_ptr<const File> patchPF = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/assembler/tests/ |
D | assembler_emitter_test.cpp | 72 auto pf = AsmEmitter::Emit(res.Value()); 113 auto pf = AsmEmitter::Emit(res.Value()); 246 auto pf = AsmEmitter::Emit(res.Value()); 358 auto pf = AsmEmitter::Emit(res.Value()); 426 auto pf = AsmEmitter::Emit(res.Value()); 440 auto pf = AsmEmitter::Emit(res.Value()); 454 auto pf = AsmEmitter::Emit(res.Value()); 468 auto pf = AsmEmitter::Emit(res.Value()); 483 auto pf = AsmEmitter::Emit(res.Value()); 505 auto pf = AsmEmitter::Emit(res.Value()); [all …]
|
D | emitter_test.cpp | 69 auto pf = AsmEmitter::Emit(res.Value()); in TEST() 215 auto pf = AsmEmitter::Emit(res.Value()); in TEST() 304 auto pf = AsmEmitter::Emit(res.Value()); in TEST() 364 auto pf = AsmEmitter::Emit(res.Value()); in TEST() 378 auto pf = AsmEmitter::Emit(res.Value()); in TEST() 392 auto pf = AsmEmitter::Emit(res.Value()); in TEST() 406 auto pf = AsmEmitter::Emit(res.Value()); in TEST() 421 auto pf = AsmEmitter::Emit(res.Value()); in TEST() 438 auto pf = AsmEmitter::Emit(res.Value()); in TEST() 466 auto pf = AsmEmitter::Emit(res.Value()); in TEST() [all …]
|
/arkcompiler/runtime_core/compiler/tests/ |
D | class_hash_table_test.cpp | 108 ASSERT_TRUE(pandasm::AsmEmitter::Emit(panda_fname.GetFileName(), res.Value())); in TEST_F() 147 ASSERT_TRUE(pandasm::AsmEmitter::Emit(panda_fname1.GetFileName(), res.Value())); in TEST_F() 166 ASSERT_TRUE(pandasm::AsmEmitter::Emit(panda_fname2.GetFileName(), res.Value())); in TEST_F() 213 ASSERT_TRUE(pandasm::AsmEmitter::Emit(panda_fname.GetFileName(), res.Value())); in TEST_F() 244 ASSERT_TRUE(pandasm::AsmEmitter::Emit(panda_fname.GetFileName(), res.Value())); in TEST_F() 282 ASSERT_TRUE(pandasm::AsmEmitter::Emit(panda_fname.GetFileName(), res.Value())); in TEST_F() 323 ASSERT_TRUE(pandasm::AsmEmitter::Emit(panda_fname.GetFileName(), res.Value())); in TEST_F()
|
D | aot_test.cpp | 104 ASSERT_TRUE(pandasm::AsmEmitter::Emit(panda_fname.GetFileName(), res.Value())); in TEST_F() 141 ASSERT_TRUE(pandasm::AsmEmitter::Emit(panda_fname.GetFileName(), res.Value())); in TEST_F() 321 ASSERT_TRUE(pandasm::AsmEmitter::Emit(panda_fname.GetFileName(), res.Value())); in TEST_F() 365 ASSERT_TRUE(pandasm::AsmEmitter::Emit(panda_fname1.GetFileName(), res.Value())); in TEST_F() 382 ASSERT_TRUE(pandasm::AsmEmitter::Emit(panda_fname2.GetFileName(), res.Value())); in TEST_F() 427 ASSERT_TRUE(pandasm::AsmEmitter::Emit(panda_fname.GetFileName(), res.Value())); in TEST_F() 479 ASSERT_TRUE(pandasm::AsmEmitter::Emit(panda_fname.GetFileName(), res.Value())); in TEST_F() 710 ASSERT_TRUE(pandasm::AsmEmitter::Emit(panda_fname.GetFileName(), res.Value())); in TEST_F() 774 ASSERT_TRUE(pandasm::AsmEmitter::Emit(panda_fname1.GetFileName(), res.Value())); in TEST_F() 791 ASSERT_TRUE(pandasm::AsmEmitter::Emit(panda_fname2.GetFileName(), res.Value())); in TEST_F()
|
D | panda_runner.h | 49 file_ = pandasm::AsmEmitter::Emit(res.Value()); in Parse() 95 auto pf = pandasm::AsmEmitter::Emit(res.Value()); in Run()
|
D | unit_test.cpp | 96 return pandasm::AsmEmitter::Emit(res.Value()); in ParseToFile()
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
D | optimize_bytecode_test.cpp | 40 …EXPECT_TRUE(panda::pandasm::AsmEmitter::Emit(abc_file_name, program, nullptr, &panda_file_to_asm_m… in EmitAndOptimize() 157 …EXPECT_TRUE(panda::pandasm::AsmEmitter::Emit(abc_file_name, program, nullptr, &panda_file_to_asm_m… 221 …EXPECT_TRUE(panda::pandasm::AsmEmitter::Emit(abc_file_name, program, nullptr, &panda_file_to_asm_m…
|
D | graph_test.h | 81 auto pfile = pandasm::AsmEmitter::Emit(prog, &maps); in TestBuildGraphFromFunc()
|
D | excluded_keys_test.cpp | 37 …EXPECT_TRUE(panda::pandasm::AsmEmitter::Emit(abc_file_name, program, nullptr, &panda_file_to_asm_m… in EmitAndOptimize()
|
D | common.h | 200 pfile_ = pandasm::AsmEmitter::Emit(*prog, &maps_); in ParseToGraph() 733 auto pf = pandasm::AsmEmitter::Emit(*prog); in CheckOtherPasses() 765 ASSERT(pandasm::AsmEmitter::Emit(class_name + ".panda", *prog, nullptr, nullptr, false)); in CheckConstArrayFilling() 775 …panda::pandasm::AsmEmitter::Emit(std::string(class_name) + ".panda", *prog, nullptr, nullptr, fals… in CheckConstArray() 809 … ASSERT(pandasm::AsmEmitter::Emit("LiteralArrayIntAccess.panda", *prog, nullptr, nullptr, false)); in CheckConstArray()
|
/arkcompiler/runtime_core/libpandafile/ |
D | bytecode_emitter.cpp | 121 static size_t Emit(It out, Types... args); 213 Emit<Format::IMM32>(bytecode_.begin() + *target_ptr, Opcode::JMP_IMM32, 0); in DoReserveSpaceForOffset() 216 Emit<BytecodeInstruction::Format::PREF_NONE>(bytecode_.begin() + insn_pc, upd_op); in DoReserveSpaceForOffset() 218 Emit<BytecodeInstruction::Format::NONE>(bytecode_.begin() + insn_pc, upd_op); in DoReserveSpaceForOffset()
|
/arkcompiler/runtime_core/assembler/ |
D | assembly-emitter.h | 52 …static bool Emit(panda_file::ItemContainer *items, const Program &program, PandaFileToPandaAsmMaps… 55 …static bool Emit(panda_file::Writer *writer, const Program &program, std::map<std::string, size_t>… 59 …static bool Emit(const std::string &filename, const Program &program, std::map<std::string, size_t… 65 static std::unique_ptr<const panda_file::File> Emit(const Program &program,
|
/arkcompiler/runtime_core/libpandafile/templates/ |
D | bytecode_emitter_gen.h.erb | 19 static size_t Emit(It out, Types... args) { // NOLINT(readability-function-size) 76 pc_ += Emit<<%= format %>>(std::back_inserter(bytecode_), <%= jmp_args.join(', ') %>); 80 pc_ += Emit<<%= format %>>(std::back_inserter(bytecode_), <%= jmp_args.join(', ') %>); 102 …pc_ += Emit<<%= format %>>(std::back_inserter(bytecode_), <%= opcode %>, <%= method_args.join(', '…
|
/arkcompiler/ets_runtime/ecmascript/ts_types/tests/ |
D | ts_type_parser_test.cpp | 129 EXPECT_TRUE(pandasm::AsmEmitter::Emit(abcFileName, program, statp, mapsp, false)); in HWTEST_F_L0() 202 EXPECT_TRUE(pandasm::AsmEmitter::Emit(abcFileName, program, statp, mapsp, false)); in HWTEST_F_L0() 268 EXPECT_TRUE(pandasm::AsmEmitter::Emit(abcFileName, program, statp, mapsp, false)); in HWTEST_F_L0() 329 EXPECT_TRUE(pandasm::AsmEmitter::Emit(abcFileName, program, statp, mapsp, false)); in HWTEST_F_L0() 395 EXPECT_TRUE(pandasm::AsmEmitter::Emit(abcFileName, program, statp, mapsp, false)); in HWTEST_F_L0()
|
D | ts_type_table_generator_test.cpp | 105 EXPECT_TRUE(pandasm::AsmEmitter::Emit(abcFileName, program, statp, mapsp, false)); in HWTEST_F_L0()
|
/arkcompiler/ets_frontend/es2panda/aot/ |
D | emitFiles.cpp | 69 …if (!panda::pandasm::AsmEmitter::Emit(panda::os::file::File::GetExtendedFilePath(outputFileName_),… in Run()
|
/arkcompiler/ets_runtime/ecmascript/module/tests/ |
D | ecma_module_test.cpp | 301 std::unique_ptr<const File> pfPtr = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0() 332 std::unique_ptr<const File> pfPtr = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0() 367 std::unique_ptr<const File> pfPtr = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0() 382 std::unique_ptr<const File> pfPtr2 = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0() 408 std::unique_ptr<const File> pfPtr = pandasm::AsmEmitter::Emit(res.Value()); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/libziparchive/tests/ |
D | libziparchive_tests.cpp | 516 auto pf = pandasm::AsmEmitter::Emit(res.Value()); 592 auto pf = pandasm::AsmEmitter::Emit(res.Value()); 647 auto pf = pandasm::AsmEmitter::Emit(res.Value()); 693 auto pf = pandasm::AsmEmitter::Emit(res.Value());
|