| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | code_info_test.cpp | 64 …void EnumerateVRegs(const CodeInfo &codeInfo, const StackMap &stackMap, int inlineDepth, Callback … in EnumerateVRegs() argument 66 auto list = codeInfo.GetVRegList(stackMap, inlineDepth, GetAllocator()); in EnumerateVRegs() 73 …void CompareVRegs(CodeInfo &codeInfo, StackMap stackMap, int inlineInfoIndex, std::array<VRegInfo,… in CompareVRegs() argument 77 … EnumerateVRegs(codeInfo, stackMap, -1L, [&vregsInMap](auto vreg) { vregsInMap.push_back(vreg); }); in CompareVRegs() 79 EnumerateVRegs(codeInfo, stackMap, inlineInfoIndex, in CompareVRegs() 122 CodeInfo codeInfo(data.data()); in TEST_F() local 123 ASSERT_EQ(codeInfo.GetHeader().GetFrameSize(), 1U); in TEST_F() 124 ASSERT_EQ(codeInfo.GetStackMaps().GetRowsCount(), 1U); in TEST_F() 125 auto stackMap = codeInfo.GetStackMaps().GetRow(0U); in TEST_F() 134 ASSERT_EQ(Popcount(codeInfo.GetRootsRegMask(stackMap)), 1U); in TEST_F() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/tools/aotdump/ |
| D | aotdump.cpp | 291 auto codeInfo = aotPandaFile.GetMethodCodeInfo(&methodHeader); in DumpFiles() local 294 PrintCode(" ", *aotFile, codeInfo, stream, pfile); in DumpFiles() 302 …void PrintCode(const char *prefix, const AotFile &aotFile, const CodeInfo &codeInfo, std::ostream … in PrintCode() argument 309 return PrintCodeArm64(prefix, codeInfo, stream, pfile); in PrintCode() 313 return PrintCodeX8664(prefix, codeInfo, stream, pfile); in PrintCode() 322 void PrintCodeArm64(const char *prefix, const CodeInfo &codeInfo, std::ostream &stream, in PrintCodeArm64() argument 325 Span<const uint8_t> code = codeInfo.GetCodeSpan(); in PrintCodeArm64() 336 auto stackmap = codeInfo.FindStackMapForNativePc(pc, Arch::AARCH64); in PrintCodeArm64() 338 PrintStackmap(stream, prefix, codeInfo, stackmap, Arch::AARCH64, pfile); in PrintCodeArm64() 349 void PrintCodeX8664(const char *prefix, const CodeInfo &codeInfo, std::ostream &stream, in PrintCodeX8664() argument [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | osr.cpp | 68 CodeInfo codeInfo(CodeInfo::GetCodeOriginFromEntryPoint(osrCode)); in OsrEntry() local 69 auto stackmap = codeInfo.FindOsrStackMap(loopHeadBc); in OsrEntry() 82 …OsrEntryAfterIFrame(frame, loopHeadBc, osrCode, codeInfo.GetFrameSize(), GetStackParamsSize(frame)… in OsrEntry() 98 OsrEntryAfterCFrame(frame, loopHeadBc, osrCode, codeInfo.GetFrameSize()); in OsrEntry() 105 … OsrEntryTopFrame(frame, loopHeadBc, osrCode, codeInfo.GetFrameSize(), GetStackParamsSize(frame)); in OsrEntry() 116 CodeInfo codeInfo(CodeInfo::GetCodeOriginFromEntryPoint(osrCode)); in PrepareOsrEntry() local 118 auto stackmap = codeInfo.FindOsrStackMap(bcOffset); in PrepareOsrEntry() 124 cframe.SetHasFloatRegs(codeInfo.HasFloatRegs()); in PrepareOsrEntry() 141 …for (auto vreg : codeInfo.GetVRegList(stackmap, mem::InternalAllocator<>::GetInternalAllocatorFrom… in PrepareOsrEntry()
|
| D | cframe.cpp | 30 …terpreter::VRegister CFrame::GetVRegValue(const VRegInfo &vreg, const compiler::CodeInfo &codeInfo, in GetVRegValue() argument 40 return GetVRegValueConstant<NEED_PACK>(vreg, codeInfo); in GetVRegValue() 144 …gister CFrame::GetVRegValueConstant(const VRegInfo &vreg, const compiler::CodeInfo &codeInfo) const in GetVRegValueConstant() 147 auto val = codeInfo.GetConstant(vreg); in GetVRegValueConstant() 203 void CFrame::Dump(const CodeInfo &codeInfo, std::ostream &os) in Dump() argument 205 auto maxSlot = codeInfo.GetHeader().GetFrameSize() / ArchTraits<RUNTIME_ARCH>::POINTER_SIZE; in Dump()
|
| /arkcompiler/runtime_core/static_core/runtime/include/ |
| D | cframe.h | 174 …inline void GetVRegValue(const VRegInfo &vreg, const compiler::CodeInfo &codeInfo, SlotType **call… in GetVRegValue() argument 177 auto val = GetVRegValue<false>(vreg, codeInfo, calleeStack).GetValue(); in GetVRegValue() 186 …inline void GetPackVRegValue(const VRegInfo &vreg, const compiler::CodeInfo &codeInfo, SlotType **… in GetPackVRegValue() argument 189 auto val = GetVRegValue<true>(vreg, codeInfo, calleeStack).GetValue(); in GetPackVRegValue() 267 void Dump(const CodeInfo &codeInfo, std::ostream &os); 272 …C_API interpreter::VRegister GetVRegValue(const VRegInfo &vreg, const compiler::CodeInfo &codeInfo, 324 …er::VRegister GetVRegValueConstant(const VRegInfo &vreg, const compiler::CodeInfo &codeInfo) const;
|
| D | stack_walker.h | 376 const CodeInfo &codeInfo, SlotType **calleeStack) in EnvData() argument 380 envData_[i] = cframe.GetVRegValue<true>(vreg, codeInfo, calleeStack).GetValue(); in EnvData()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/ |
| D | litecg_codegen.cpp | 122 const auto &codeInfo = GetCodeInfo(); in CollectAnStackMap() local 123 liteCGStackMapInfo.AppendCallSiteInfo(codeInfo.GetPC2CallsiteInfo()); in CollectAnStackMap() 124 liteCGStackMapInfo.AppendDeoptInfo(codeInfo.GetPC2DeoptInfo()); in CollectAnStackMap()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
| D | disassembly.cpp | 162 CodeInfo codeInfo; in PrintCodeInfo() local 164 codeInfo.Decode(graph->GetCodeInfoData()); in PrintCodeInfo() 167 codeInfo.Dump(item.GetStream()); in PrintCodeInfo()
|
| /arkcompiler/runtime_core/static_core/compiler/ |
| D | compile_method.cpp | 157 CodeInfo codeInfo(generatedData); in GetEntryPoint() local 159 … << bit_cast<void *>(codeInfo.GetCode()) << ", code size " << codeInfo.GetCodeSize(); in GetEntryPoint() 161 auto entryPoint = const_cast<uint8_t *>(codeInfo.GetCode()); in GetEntryPoint() 163 … codeInfo.GetCodeSize(), codeInfo.GetInfoSize(), events::CompilationStatus::COMPILED, jitStats); in GetEntryPoint()
|
| /arkcompiler/runtime_core/static_core/compiler/code_info/ |
| D | code_info.h | 177 auto codeInfo = Span<const uint8_t>(&data_[prefix->codeInfoOffset], prefix->codeInfoSize); in CodeInfo() local 178 Decode(codeInfo); in CodeInfo() 196 void Decode(Span<const uint8_t> codeInfo) in Decode() argument 198 … BitMemoryStreamIn stream(const_cast<uint8_t *>(codeInfo.data()), codeInfo.size() * BITS_PER_BYTE); in Decode()
|