Home
last modified time | relevance | path

Searched refs:AOTFileInfo (Results 1 - 15 of 15) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
H A Daot_file_info.cpp19 void AOTFileInfo::Destroy() in Destroy()
29 bool AOTFileInfo::CalCallSiteInfo(uintptr_t retAddr, std::tuple<uint64_t, uint8_t *, int, CalleeRegAndOffsetVec> &ret, in CalCallSiteInfo()
70 AOTFileInfo::FuncEntryDes AOTFileInfo::GetFuncEntryDesWithCallsite(uintptr_t codeAddr, uint32_t startIndex, in GetFuncEntryDesWithCallsite()
75 auto cmp = [](const AOTFileInfo::FuncEntryDes &a, const AOTFileInfo::FuncEntryDes &b) { in GetFuncEntryDesWithCallsite()
80 AOTFileInfo::FuncEntryDes target; in GetFuncEntryDesWithCallsite()
89 void AOTFileInfo::StoreCalleeRegInfo(uint32_t calleeRegNum, int32_t *calleeReg2Offset, in StoreCalleeRegInfo()
H A Daot_file_info.h27 class PUBLIC_API AOTFileInfo { class
35 AOTFileInfo() = default;
36 virtual ~AOTFileInfo() = default;
154 AOTFileInfo::FuncEntryDes GetFuncEntryDesWithCallsite(uintptr_t codeAddr, uint32_t startIndex,
H A Delf_reader.cpp76 ASSERT((secSize > 0) && (secSize % sizeof(AOTFileInfo::FuncEntryDes) == 0)); in ParseELFSections()
149 ASSERT((secSize > 0) && (secSize % sizeof(AOTFileInfo::FuncEntryDes) == 0)); in ParseELFSections()
232 ASSERT((secSize > 0) && (secSize % sizeof(AOTFileInfo::FuncEntryDes) == 0)); in ParseELFSections()
285 secOffset = AlignUp(secOffset, AOTFileInfo::PAGE_ALIGN); in SeparateTextSections()
290 secOffset = AlignUp(secOffset, AOTFileInfo::TEXT_SEC_ALIGN); in SeparateTextSections()
296 secOffset = AlignUp(secOffset, AOTFileInfo::DATA_SEC_ALIGN); in SeparateTextSections()
354 secOffset = AlignUp(secOffset, AOTFileInfo::PAGE_ALIGN); in SeparateTextSections()
361 secOffset = AlignUp(secOffset, AOTFileInfo::TEXT_SEC_ALIGN); in SeparateTextSections()
368 secOffset = AlignUp(secOffset, AOTFileInfo::DATA_SEC_ALIGN); in SeparateTextSections()
H A Dan_file_data_manager.cpp78 const std::shared_ptr<const AOTFileInfo> aotFileInfo = UnsafeFind(fileName); in SafeLoad()
237 AOTFileInfo::CallSiteInfo AnFileDataManager::SafeCalCallSiteInfo(uintptr_t retAddr, bool isDeopt) in SafeCalCallSiteInfo()
240 AOTFileInfo::CallSiteInfo callsiteInfo; in SafeCalCallSiteInfo()
H A Delf_builder.cpp116 {ElfSecName::TEXT, AOTFileInfo::PAGE_ALIGN}, in Initialize()
118 {ElfSecName::SYMTAB, AOTFileInfo::DATA_SEC_ALIGN}, in Initialize()
119 {ElfSecName::SHSTRTAB, AOTFileInfo::DATA_SEC_ALIGN}, in Initialize()
120 {ElfSecName::ARK_STACKMAP, AOTFileInfo::DATA_SEC_ALIGN}, in Initialize()
121 {ElfSecName::ARK_FUNCENTRY, AOTFileInfo::DATA_SEC_ALIGN}, in Initialize()
122 {ElfSecName::ARK_ASMSTUB, AOTFileInfo::DATA_SEC_ALIGN}, in Initialize()
123 {ElfSecName::ARK_MODULEINFO, AOTFileInfo::DATA_SEC_ALIGN}, in Initialize()
361 curSecOffset = AlignUp(curSecOffset, AOTFileInfo::PAGE_ALIGN); in MergeTextSections()
374 curSecOffset = AlignUp(curSecOffset, AOTFileInfo::TEXT_SEC_ALIGN); in MergeTextSections()
382 curSecOffset = AlignUp(curSecOffset, AOTFileInfo in MergeTextSections()
[all...]
H A Dan_file_info.cpp179 AOTFileInfo::Destroy(); in Destroy()
219 const std::vector<AOTFileInfo::FuncEntryDes> &entries = GetStubs(); in GenerateMethodToEntryIndexMap()
222 const AOTFileInfo::FuncEntryDes &entry = entries[i]; in GenerateMethodToEntryIndexMap()
H A Daot_file_manager.h163 static AOTFileInfo::CallSiteInfo CalCallSiteInfo(uintptr_t retAddr, bool isDeopt);
212 const std::vector<AOTFileInfo::FuncEntryDes> &stubs,
H A Dan_file_info.h28 class PUBLIC_API AnFileInfo : public AOTFileInfo {
H A Dan_file_data_manager.h41 AOTFileInfo::CallSiteInfo SafeCalCallSiteInfo(uintptr_t retAddr, bool isDeopt);
H A Dstub_file_info.h22 class PUBLIC_API StubFileInfo : public AOTFileInfo {
H A Daot_file_manager.cpp329 AOTFileInfo::CallSiteInfo AOTFileManager::CalCallSiteInfo(uintptr_t retAddr, bool isDeopt) in CalCallSiteInfo()
401 const AOTFileInfo::FuncEntryDes &entry = anFileInfo->GetStubDes(entryIndex); in SetAOTFuncEntry()
429 const std::vector<AOTFileInfo::FuncEntryDes> &stubs, in AdjustBCStubAndDebuggerStubEntries()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dfile_generators.cpp176 aotInfo.AlignTextSec(AOTFileInfo::PAGE_ALIGN); in CollectFuncEntryInfo()
179 aotInfo.AlignTextSec(AOTFileInfo::TEXT_SEC_ALIGN); in CollectFuncEntryInfo()
206 aotInfo.AlignTextSec(AOTFileInfo::DATA_SEC_ALIGN); in CollectFuncEntryInfo()
240 aotInfo.AlignTextSec(AOTFileInfo::PAGE_ALIGN); in CollectFuncEntryInfoByLiteCG()
243 aotInfo.AlignTextSec(AOTFileInfo::TEXT_SEC_ALIGN); in CollectFuncEntryInfoByLiteCG()
270 aotInfo.AlignTextSec(AOTFileInfo::DATA_SEC_ALIGN); in CollectFuncEntryInfoByLiteCG()
437 textStart = AlignDown(textStart, AOTFileInfo::DATA_SEC_ALIGN); in RollbackTextSize()
584 lastModulePC = AlignUp(lastModulePC, AOTFileInfo::PAGE_ALIGN); in CompileLatestModuleThenDestroy()
721 uint32_t funcEntrySize = sizeof(AOTFileInfo::FuncEntryDes) * aotInfo_.GetStubs().size(); in GetMemoryCodeInfos()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/
H A Dllvm_codegen.cpp185 addr = (this->*allocaInReqSecBuffer)(size, AOTFileInfo::PAGE_ALIGN); in AllocaCodeSectionImp()
188 addr = (this->*allocaInReqSecBuffer)(size, AOTFileInfo::TEXT_SEC_ALIGN); in AllocaCodeSectionImp()
220 addr = curSec.isSequentialAOTSec() ? (this->*allocaInReqSecBuffer)(size, AOTFileInfo::PAGE_ALIGN) in AllocaDataSectionImp()
221 : (this->*allocaInNotReqSecBuffer)(size, AOTFileInfo::PAGE_ALIGN); in AllocaDataSectionImp()
224 addr = curSec.isSequentialAOTSec() ? (this->*allocaInReqSecBuffer)(size, AOTFileInfo::DATA_SEC_ALIGN) in AllocaDataSectionImp()
225 : (this->*allocaInNotReqSecBuffer)(size, AOTFileInfo::DATA_SEC_ALIGN); in AllocaDataSectionImp()
/arkcompiler/ets_runtime/ecmascript/stackmap/
H A Dark_stackmap_builder.cpp89 ARKCallsiteAOTFileInfo AOTFileInfo; in GenerateArkStackMap() local
90 GenArkCallsiteAOTFileInfo(stackMapInfo, AOTFileInfo, triple); in GenerateArkStackMap()
91 uint32_t secSize = AOTFileInfo.secHead.secSize; in GenerateArkStackMap()
97 SaveArkCallsiteAOTFileInfo(ptr.get(), secSize, AOTFileInfo, triple); in GenerateArkStackMap()
/arkcompiler/ets_runtime/ecmascript/
H A Dframes.cpp110 AOTFileInfo::CallSiteInfo FrameIterator::TryCalCallSiteInfoFromMachineCode(uintptr_t retAddr) const in TryCalCallSiteInfoFromMachineCode()
125 std::pair<AOTFileInfo::CallSiteInfo, bool> FrameIterator::CalCallSiteInfo(uintptr_t retAddr, bool isDeopt) const in CalCallSiteInfo()
408 AOTFileInfo::CallSiteInfo callSiteInfo; in Advance()

Completed in 13 milliseconds