Home
last modified time | relevance | path

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

/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/tests/
Dcode_info_test.cpp273 auto stackmap = codeInfo.FindStackMapForNativePc(20U); in TEST_F() local
274 ASSERT_TRUE(stackmap.IsValid()); in TEST_F()
275 ASSERT_EQ(stackmap.GetNativePcUnpacked(), 20U); in TEST_F()
276 ASSERT_EQ(stackmap.GetBytecodePc(), 10U); in TEST_F()
277 stackmap = codeInfo.FindStackMapForNativePc(40U); in TEST_F()
278 ASSERT_TRUE(stackmap.IsValid()); in TEST_F()
279 ASSERT_EQ(stackmap.GetNativePcUnpacked(), 40U); in TEST_F()
280 ASSERT_EQ(stackmap.GetBytecodePc(), 30U); in TEST_F()
281 stackmap = codeInfo.FindStackMapForNativePc(60U); in TEST_F()
282 ASSERT_TRUE(stackmap.IsValid()); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/compiler/tools/aotdump/
Daotdump.cpp336 auto stackmap = codeInfo.FindStackMapForNativePc(pc, Arch::AARCH64); in PrintCodeArm64() local
337 if (stackmap.IsValid()) { in PrintCodeArm64()
338 PrintStackmap(stream, prefix, codeInfo, stackmap, Arch::AARCH64, pfile); in PrintCodeArm64()
380 auto stackmap = codeInfo.FindStackMapForNativePc(pos, Arch::X86_64); in PrintCodeX8664() local
381 if (stackmap.IsValid()) { in PrintCodeX8664()
382 PrintStackmap(stream, prefix, codeInfo, stackmap, Arch::X86_64, pfile); in PrintCodeX8664()
391 …ckmap(std::ostream &stream, const char *prefix, const CodeInfo &codeInfo, const StackMap &stackmap, in PrintStackmap() argument
395 codeInfo.Dump(stream, stackmap, arch); in PrintStackmap()
397 if (stackmap.HasInlineInfoIndex()) { in PrintStackmap()
398 for (auto ii : const_cast<CodeInfo &>(codeInfo).GetInlineInfos(stackmap)) { in PrintStackmap()
[all …]
/arkcompiler/runtime_core/static_core/runtime/
Dosr.cpp69 auto stackmap = codeInfo.FindOsrStackMap(loopHeadBc); in OsrEntry() local
70 if (!stackmap.IsValid()) { in OsrEntry()
118 auto stackmap = codeInfo.FindOsrStackMap(bcOffset); in PrepareOsrEntry() local
120 ASSERT(stackmap.IsValid() && osrCode != nullptr); in PrepareOsrEntry()
141 …for (auto vreg : codeInfo.GetVRegList(stackmap, mem::InternalAllocator<>::GetInternalAllocatorFrom… in PrepareOsrEntry()
180 return bit_cast<void *>(bit_cast<uintptr_t>(osrCode) + stackmap.GetNativePcUnpacked()); in PrepareOsrEntry()
/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/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/ets_runtime/ecmascript/stackmap/
Dark_stackmap_builder.cpp114 auto &stackmap = stackmaps.at(j); in SaveArkStackMap() local
115 LLVMStackMapType::DwarfRegType reg = stackmap.first; in SaveArkStackMap()
116 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()
/arkcompiler/ets_runtime/
DBUILD.gn806 "ecmascript/stackmap/ark_stackmap_builder.cpp",
807 "ecmascript/stackmap/ark_stackmap_parser.cpp",
808 "ecmascript/stackmap/llvm_stackmap_parser.cpp",
809 "ecmascript/stackmap/llvm_stackmap_type.cpp",
810 "ecmascript/stackmap/litecg_stackmap_type.cpp",