Home
last modified time | relevance | path

Searched refs:stackmap (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/runtime_core/static_core/libllvmbackend/object_code/
Ddump.cpp20 void CodeInfoProducer::DumpStackMap(const std::unique_ptr<const LLVMStackMap> &stackmap, std::ostre… in DumpStackMap() argument
23 …stream << " Stack Map Version (current version is 3) [uint8]: " << stackmap->getVersion() << std:… in DumpStackMap()
26 stream << "StkSizeRecord [" << stackmap->getNumFunctions() << "]: [" << std::endl; in DumpStackMap()
27 for (const auto &rec : stackmap->functions()) { in DumpStackMap()
34 stream << "Constants [" << stackmap->getNumConstants() << "]: [" << std::endl; in DumpStackMap()
35 for (const auto &cst : stackmap->constants()) { in DumpStackMap()
40 stream << "StkMapRecord [" << stackmap->getNumRecords() << "]: [" << std::endl; in DumpStackMap()
41 for (const auto &rec : stackmap->records()) { in DumpStackMap()
Dcode_info_producer.h70 …static void DumpStackMap(const std::unique_ptr<const LLVMStackMap> &stackmap, std::ostream &stream…
/arkcompiler/runtime_core/compiler/tests/
Dcode_info_test.cpp271 auto stackmap = code_info.FindStackMapForNativePc(20); in TEST_F() local
272 ASSERT_TRUE(stackmap.IsValid()); in TEST_F()
273 ASSERT_EQ(stackmap.GetNativePcUnpacked(), 20); in TEST_F()
274 ASSERT_EQ(stackmap.GetBytecodePc(), 10); in TEST_F()
275 stackmap = code_info.FindStackMapForNativePc(40); in TEST_F()
276 ASSERT_TRUE(stackmap.IsValid()); in TEST_F()
277 ASSERT_EQ(stackmap.GetNativePcUnpacked(), 40); in TEST_F()
278 ASSERT_EQ(stackmap.GetBytecodePc(), 30); in TEST_F()
279 stackmap = code_info.FindStackMapForNativePc(60); in TEST_F()
280 ASSERT_TRUE(stackmap.IsValid()); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/compiler/tools/aotdump/
Daotdump.cpp340 auto stackmap = codeInfo.FindStackMapForNativePc(pc, Arch::AARCH64); in PrintCodeArm64() local
341 if (stackmap.IsValid()) { in PrintCodeArm64()
342 PrintStackmap(prefix, codeInfo, stackmap, Arch::AARCH64, pfile); in PrintCodeArm64()
383 auto stackmap = codeInfo.FindStackMapForNativePc(pos, Arch::X86_64); in PrintCodeX8664() local
384 if (stackmap.IsValid()) { in PrintCodeX8664()
385 PrintStackmap(prefix, codeInfo, stackmap, Arch::X86_64, pfile); in PrintCodeX8664()
394 …void PrintStackmap(const char *prefix, const CodeInfo &codeInfo, const StackMap &stackmap, Arch ar… in PrintStackmap() argument
398 codeInfo.Dump(*stream_, stackmap, arch); in PrintStackmap()
400 if (stackmap.HasInlineInfoIndex()) { in PrintStackmap()
401 for (auto ii : const_cast<CodeInfo &>(codeInfo).GetInlineInfos(stackmap)) { in PrintStackmap()
[all …]
/arkcompiler/runtime_core/static_core/compiler/tests/
Dcode_info_test.cpp292 auto stackmap = codeInfo.FindStackMapForNativePc(20U); in MultipleStackmapsCheck4() local
293 ASSERT_TRUE(stackmap.IsValid()); in MultipleStackmapsCheck4()
294 ASSERT_EQ(stackmap.GetNativePcUnpacked(), 20U); in MultipleStackmapsCheck4()
295 ASSERT_EQ(stackmap.GetBytecodePc(), 10U); in MultipleStackmapsCheck4()
296 stackmap = codeInfo.FindStackMapForNativePc(40U); in MultipleStackmapsCheck4()
297 ASSERT_TRUE(stackmap.IsValid()); in MultipleStackmapsCheck4()
298 ASSERT_EQ(stackmap.GetNativePcUnpacked(), 40U); in MultipleStackmapsCheck4()
299 ASSERT_EQ(stackmap.GetBytecodePc(), 30U); in MultipleStackmapsCheck4()
300 stackmap = codeInfo.FindStackMapForNativePc(60U); in MultipleStackmapsCheck4()
301 ASSERT_TRUE(stackmap.IsValid()); in MultipleStackmapsCheck4()
[all …]
/arkcompiler/runtime_core/static_core/runtime/
Dosr.cpp69 auto stackmap = codeInfo.FindOsrStackMap(loopHeadBc); in OsrEntry() local
70 if (!stackmap.IsValid()) { in OsrEntry()
137 auto stackmap = codeInfo.FindOsrStackMap(bcOffset); in PrepareOsrEntry() local
139 ASSERT(stackmap.IsValid() && osrCode != nullptr); in PrepareOsrEntry()
160 …for (auto vreg : codeInfo.GetVRegList(stackmap, mem::InternalAllocator<>::GetInternalAllocatorFrom… in PrepareOsrEntry()
188 return bit_cast<void *>(bit_cast<uintptr_t>(osrCode) + stackmap.GetNativePcUnpacked()); in PrepareOsrEntry()
/arkcompiler/runtime_core/static_core/docs/
Dcode_metainfo.md117 | PROPERTIES | Define properties of the stackmap, currently, it contains only one flag: is_osr |
118 | NATIVE_PC | Native address to which this stackmap corresponds |
119 | BYTECODE_PC | Bytecode address to which this stackmap corresponds |
122 | INLINE_INFO_INDEX | Inline information for the stackmap |
123 | VREG_MASK_INDEX | Mask of the virtual registers, that are modified from the last stackmap to the …
124 | VREG_MAP_INDEX | Map of the virtual registers, that are modified from the last stackmap to the cu…
Don-stack-replacement.md71 …cial OsrStackMap for each SaveStateOsr instruction. Difference from regular stackmap is that it has
78 For this purpose new stackmap and new opcode were introduced.
/arkcompiler/runtime_core/docs/
Dcode_metainfo.md117 | PROPERTIES | Define properties of the stackmap, currently, it contains only one flag: is_osr |
118 | NATIVE_PC | Native address to which this stackmap corresponds |
119 | BYTECODE_PC | Bytecode address to which this stackmap corresponds |
122 | INLINE_INFO_INDEX | Inline information for the stackmap |
123 | VREG_MASK_INDEX | Mask of the virtual registers, that are modified from the last stackmap to the …
124 | VREG_MAP_INDEX | Map of the virtual registers, that are modified from the last stackmap to the cu…
Don-stack-replacement.md71 …cial OsrStackMap for each SaveStateOsr instruction. Difference from regular stackmap is that it has
78 For this purpose new stackmap and new opcode were introduced.
/arkcompiler/ets_runtime/
DREVIEWERS42 ecmascript/stackmap/ @ginxu @zhangyukun8 @yingguofeng
DBUILD.gn913 "ecmascript/stackmap/ark_stackmap_builder.cpp",
914 "ecmascript/stackmap/ark_stackmap_parser.cpp",
915 "ecmascript/stackmap/litecg/litecg_stackmap_type.cpp",
916 "ecmascript/stackmap/llvm/llvm_stackmap_parser.cpp",
917 "ecmascript/stackmap/llvm/llvm_stackmap_type.cpp",
/arkcompiler/ets_runtime/ecmascript/stackmap/
Dark_stackmap_builder.cpp112 auto &stackmap = stackmaps.at(j); in SaveArkStackMap() local
113 LLVMStackMapType::DwarfRegType reg = stackmap.first; in SaveArkStackMap()
114 LLVMStackMapType::OffsetType offset = stackmap.second; in SaveArkStackMap()
/arkcompiler/runtime_core/static_core/compiler/code_info/
Dcode_info.h261 std::variant<void *, uint32_t> GetMethod(const StackMap &stackmap, int inlineDepth) in GetMethod() argument
264 auto inlineInfo = inlineInfos_.GetRow(stackmap.GetInlineInfoIndex() + inlineDepth); in GetMethod()