Home
last modified time | relevance | path

Searched refs:Emit (Results 1 – 25 of 46) sorted by relevance

12

/arkcompiler/ets_frontend/es2panda/compiler/core/
Dpandagen.cpp389 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/
Ddyn_chunk.h44 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()
Ddyn_chunk.cpp71 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/
Djs_pandafile_manager_test.cpp75 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 …]
Djs_pandafile_executor_test.cpp72 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()
Dpanda_file_translator_test.cpp73 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()
Dquick_fix_test.cpp147 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/
Dassembler_emitter_test.cpp72 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 …]
Demitter_test.cpp69 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/
Dclass_hash_table_test.cpp108 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()
Daot_test.cpp104 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()
Dpanda_runner.h49 file_ = pandasm::AsmEmitter::Emit(res.Value()); in Parse()
95 auto pf = pandasm::AsmEmitter::Emit(res.Value()); in Run()
Dunit_test.cpp96 return pandasm::AsmEmitter::Emit(res.Value()); in ParseToFile()
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Doptimize_bytecode_test.cpp40 …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…
Dgraph_test.h81 auto pfile = pandasm::AsmEmitter::Emit(prog, &maps); in TestBuildGraphFromFunc()
Dexcluded_keys_test.cpp37 …EXPECT_TRUE(panda::pandasm::AsmEmitter::Emit(abc_file_name, program, nullptr, &panda_file_to_asm_m… in EmitAndOptimize()
Dcommon.h200 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/
Dbytecode_emitter.cpp121 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/
Dassembly-emitter.h52 …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/
Dbytecode_emitter_gen.h.erb19 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/
Dts_type_parser_test.cpp129 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()
Dts_type_table_generator_test.cpp105 EXPECT_TRUE(pandasm::AsmEmitter::Emit(abcFileName, program, statp, mapsp, false)); in HWTEST_F_L0()
/arkcompiler/ets_frontend/es2panda/aot/
DemitFiles.cpp69 …if (!panda::pandasm::AsmEmitter::Emit(panda::os::file::File::GetExtendedFilePath(outputFileName_),… in Run()
/arkcompiler/ets_runtime/ecmascript/module/tests/
Decma_module_test.cpp301 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/
Dlibziparchive_tests.cpp516 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());

12