Home
last modified time | relevance | path

Searched refs:decoder (Results 1 – 25 of 31) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_manager.cpp51 PGOProfilerDecoder decoder(fileName, hotnessThreshold); in MergeApFiles() local
52 if (!decoder.LoadFull(merger.GetAbcFilePool())) { in MergeApFiles()
59 … if (!merger.VerifyPandaFileMatched(decoder.GetPandaFileInfos(), firstApFileName, fileName)) { in MergeApFiles()
63 merger.Merge(decoder.GetRecordDetailInfos()); in MergeApFiles()
64 merger.Merge(decoder.GetPandaFileInfos()); in MergeApFiles()
87 PGOProfilerDecoder decoder(fileName, hotnessThreshold); in MergeApFiles() local
88 if (!decoder.LoadAndVerify(checksum, merger.GetAbcFilePool())) { in MergeApFiles()
95 …if (!merger.GetPandaFileInfos().VerifyChecksum(decoder.GetPandaFileInfos(), firstApFileName, fileN… in MergeApFiles()
99 merger.Merge(decoder); in MergeApFiles()
Dpgo_profiler_manager.h215 PGOProfilerEncoder decoder(outPath, hotnessThreshold, mode); in TextToBinary()
220 if (!decoder.InitializeData()) { in TextToBinary()
224 bool ret = decoder.LoadAPTextFile(inPath); in TextToBinary()
226 encoder.Merge(decoder); in TextToBinary()
230 decoder.Destroy(); in TextToBinary()
236 PGOProfilerDecoder decoder(inPath, hotnessThreshold); in BinaryToText()
237 if (!decoder.LoadFull()) { in BinaryToText()
240 bool ret = decoder.SaveAPTextFile(outPath); in BinaryToText()
241 decoder.Clear(); in BinaryToText()
Dpgo_profiler_decoder.cpp263 void PGOProfilerDecoder::Merge(const PGOProfilerDecoder &decoder) in Merge() argument
269 if (!(header_->CompatibleVerify(decoder.header_->GetVersion()))) { in Merge()
271 … memcpy_s(header_, sizeof(base::FileHeaderBase), decoder.header_, sizeof(base::FileHeaderBase)); in Merge()
273 pandaFileInfos_.Merge(decoder.GetPandaFileInfos()); in Merge()
274 recordSimpleInfos_->Merge(decoder.GetRecordSimpleInfos()); in Merge()
Dpgo_profiler_encoder.cpp148 …ilerEncoder::MergeWithExistProfile(PGOProfilerEncoder &runtimeEncoder, PGOProfilerDecoder &decoder, in MergeWithExistProfile() argument
161 if (!decoder.LoadFull(abcFilePool_)) { in MergeWithExistProfile()
164 Merge(decoder.GetPandaFileInfos()); in MergeWithExistProfile()
165 globalRecordInfos_ = decoder.GetRecordDetailInfosPtr(); in MergeWithExistProfile()
239 PGOProfilerDecoder decoder(realOutPath_, hotnessThreshold_); in InternalSave() local
240 encoder.MergeWithExistProfile(*this, decoder, task); in InternalSave()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/
Dpgo_profiler_test.cpp693 PGOProfilerDecoder decoder("ark-profiler13/modules.ap", 1); in HWTEST_F_L0() local
696 ASSERT_TRUE(decoder.LoadAndVerify(checksum)); in HWTEST_F_L0()
704 decoder.MatchAndMarkMethod(pf_.get(), targetRecordName, methodName, methodId); in HWTEST_F_L0()
729 PGOProfilerDecoder decoder("ark-profiler14/modules.ap", 1); in HWTEST_F_L0() local
730 ASSERT_TRUE(decoder.LoadAndVerify(checksum)); in HWTEST_F_L0()
736 decoder.MatchAndMarkMethod(pf_.get(), targetRecordName, methodName, methodId); in HWTEST_F_L0()
737 ASSERT_TRUE(decoder.Match(pf_.get(), targetRecordName, methodId)); in HWTEST_F_L0()
752 decoder.GetTypeInfo(pf_.get(), targetRecordName, methodLiteral, in HWTEST_F_L0()
768 PGOProfilerDecoder decoder("ark-profiler15/modules.ap", 1); in HWTEST_F_L0() local
769 ASSERT_TRUE(decoder.LoadAndVerify(checksum)); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/ohos/tests/
Dohos_test.cpp142 PGOProfilerDecoder decoder; in HWTEST_F_L0() local
148 AotCompilerPreprocessor preProcessor(vm_, runtimeOptions_, pkgArgsMap, decoder, pandaFileNames); in HWTEST_F_L0()
168 PGOProfilerDecoder decoder; in HWTEST_F_L0() local
170 AotCompilerPreprocessor preProcessor(vm_, runtimeOptions_, pkgArgsMap, decoder, pandaFileNames); in HWTEST_F_L0()
191 PGOProfilerDecoder decoder; in HWTEST_F_L0() local
193 AotCompilerPreprocessor preProcessor(vm_, runtimeOptions_, pkgArgsMap, decoder, pandaFileNames); in HWTEST_F_L0()
219 PGOProfilerDecoder decoder; in HWTEST_F_L0() local
221 AotCompilerPreprocessor preProcessor(vm_, runtimeOptions_, pkgArgsMap, decoder, pandaFileNames); in HWTEST_F_L0()
249 PGOProfilerDecoder decoder; in HWTEST_F_L0() local
251 AotCompilerPreprocessor preProcessor(vm_, runtimeOptions_, pkgArgsMap, decoder, pandaFileNames); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/
Dpgo_type_recorder.cpp23 PGOTypeRecorder::PGOTypeRecorder(const PGOProfilerDecoder &decoder) : decoder_(decoder) {} in PGOTypeRecorder() argument
26 const PGOProfilerDecoder &decoder, const JSPandaFile *jsPandaFile, uint32_t methodOffset) in PGOTypeRecorder() argument
27 : decoder_(decoder) in PGOTypeRecorder()
42 decoder.GetTypeInfo(jsPandaFile, recordName, methodLiteral, callback); in PGOTypeRecorder()
Dpgo_type_recorder.h31 explicit PGOTypeRecorder(const PGOProfilerDecoder &decoder);
32 …PGOTypeRecorder(const PGOProfilerDecoder &decoder, const JSPandaFile *jsPandaFile, uint32_t method…
Dpgo_type_parser.cpp184 PGOTypeParser::PGOTypeParser(const PGOProfilerDecoder &decoder, PGOTypeManager *ptManager) in PGOTypeParser() argument
185 : decoder_(decoder), ptManager_(ptManager) in PGOTypeParser()
Dpgo_type_parser.h90 explicit PGOTypeParser(const PGOProfilerDecoder &decoder, PGOTypeManager *ptManager);
/arkcompiler/runtime_core/static_core/compiler/tests/aarch64/
Dcodegen_test.cpp249 auto &decoder {GetDecoder()}; in TEST_F() local
251 vixl::aarch64::Decoder::ScopedAddVisitors sv(decoder, {&visitor}); in TEST_F()
254 decoder.Decode(instr); in TEST_F()
304 auto &decoder {GetDecoder()}; in CheckSpillFillCoalescingForEvenRegsNumber() local
306 vixl::aarch64::Decoder::ScopedAddVisitors sv(decoder, {&visitor}); in CheckSpillFillCoalescingForEvenRegsNumber()
309 decoder.Decode(instr); in CheckSpillFillCoalescingForEvenRegsNumber()
364 auto &decoder {GetDecoder()}; in CheckSpillFillCoalescingForOddRegsNumber() local
366 vixl::aarch64::Decoder::ScopedAddVisitors sv(decoder, {&visitor}); in CheckSpillFillCoalescingForOddRegsNumber()
369 decoder.Decode(instr); in CheckSpillFillCoalescingForOddRegsNumber()
468 auto& decoder {GetDecoder()}; in CheckLeafPrologue() local
[all …]
/arkcompiler/runtime_core/compiler/tests/
Dvixl_exec_module.h75 : decoder(allocator), in VixlExecModule()
76 simulator(allocator, &decoder, SimStack().Allocate()), in VixlExecModule()
239 Decoder decoder(allocator_); in PrintInstructions()
241 decoder.AppendVisitor(&disasm); in PrintInstructions()
243 decoder.Decode(instr); in PrintInstructions()
268 Decoder decoder; variable
/arkcompiler/ets_runtime/ecmascript/compiler/
Dpass_manager.cpp87 … PGOProfilerDecoder *decoder = passOptions_->EnableOptPGOType() ? &profilerDecoder_ : nullptr; in Compile() local
91 passOptions_->EnableTypeLowering(), fullName, recordName, decoder, false, in Compile()
99 methodLiteral, methodOffset, vm_->GetNativeAreaAllocator(), decoder, passOptions_); in Compile()
246 … PGOProfilerDecoder *decoder = passOptions_->EnableOptPGOType() ? &profilerDecoder_ : nullptr; in Compile() local
250 … passOptions_->EnableTypeLowering(), fullName, recordName, decoder, false, in Compile()
258 … methodLiteral, methodOffset, vm_->GetNativeAreaAllocator(), decoder, passOptions_); in Compile()
Dpass_manager.h39 PGOProfilerDecoder *decoder) in PassContext() argument
49 decoder_(decoder) in PassContext()
Dtype_recorder.h37 TSManager *tsManager, const CString &recordName, PGOProfilerDecoder *decoder,
Dbytecode_circuit_builder.h227 PGOProfilerDecoder *decoder, in BytecodeCircuitBuilder() argument
232 … typeRecorder_(jsPandaFile, method_, tsManager, recordName, decoder, methodPCInfo, bytecodes, in BytecodeCircuitBuilder()
234 pgoTypeRecorder_(*decoder, jsPandaFile, method_->GetMethodId().GetOffset()), in BytecodeCircuitBuilder()
Dtype_recorder.cpp30 … TSManager *tsManager, const CString &recordName, PGOProfilerDecoder *decoder, in TypeRecorder() argument
33 GateType::AnyType()), decoder_(decoder), enableOptTrackField_(enableOptTrackField), in TypeRecorder()
/arkcompiler/runtime_core/static_core/compiler/tools/aotdump/
Daotdump.cpp327 Decoder decoder(allocator_); in PrintCodeArm64() local
329 decoder.AppendVisitor(&disasm); in PrintCodeArm64()
340 decoder.Decode(instr); in PrintCodeArm64()
357 ZydisDecoder decoder; in PrintCodeX8664() local
358 …if (!ZYAN_SUCCESS(ZydisDecoderInit(&decoder, ZYDIS_MACHINE_MODE_LONG_64, ZYDIS_ADDRESS_WIDTH_64)))… in PrintCodeX8664()
373 if (!ZYAN_SUCCESS(ZydisDecoderDecodeBuffer(&decoder, &code[pos], len, &instruction))) { in PrintCodeX8664()
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dglobal_type_infer.cpp20 … PGOProfilerDecoder *decoder, bool enableOptTrackField, bool enableLog, bool hasType) in GlobalTypeInfer() argument
22 …recordName_(recordName), decoder_(decoder), enableOptTrackField_(enableOptTrackField), enableLog_(… in GlobalTypeInfer()
Dglobal_type_infer.h25 … PGOProfilerDecoder *decoder, bool enableOptTrackField, bool enableLog, bool hasType);
/arkcompiler/runtime_core/static_core/compiler/tests/
Dvixl_exec_module.h251 Decoder decoder(allocator_); in PrintInstructions()
253 decoder.AppendVisitor(&disasm); in PrintInstructions()
256 decoder.Decode(instr); in PrintInstructions()
/arkcompiler/toolchain/build/prebuilts_download/
Dutil.py32 except json.decoder.JSONDecodeError:
/arkcompiler/runtime_core/static_core/irtoc/backend/
Dcompilation.cpp46 vixl::aarch64::Decoder decoder(allocator); in CollectForCode() local
48 decoder.AppendVisitor(&usedRegsCollector); in CollectForCode()
78 decoder.Decode(instr); in CollectForCode()
/arkcompiler/toolchain/build/templates/cxx/
Dexternal_deps_handler.py50 except json.decoder.JSONDecodeError:
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_type_parser.h44 PGOProfilerDecoder *decoder; member
184 …bool GetAbcNameFromProfileType(ProfileType profileType, PGOProfilerDecoder *decoder, CString &abcN…

12