Home
last modified time | relevance | path

Searched refs:codeDesc (Results 1 - 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/jit/
H A Djit_task.cpp157 size_t JitTask::ComputePayLoadSize(MachineCodeDesc &codeDesc) in ComputePayLoadSize() argument
159 ComputeAlignedSizes(codeDesc); in ComputePayLoadSize()
160 if (codeDesc.codeType == MachineCodeType::BASELINE_CODE) { in ComputePayLoadSize()
163 size_t payLoadSize = codeDesc.stackMapSizeAlign + codeDesc.codeSizeAlign; in ComputePayLoadSize()
166 codeDesc.instructionsSize = codeDesc.codeSizeAlign; in ComputePayLoadSize()
168 << allocSize << " (instruction size): " << codeDesc.codeSizeAlign; in ComputePayLoadSize()
173 return payLoadSize - codeDesc.codeSizeAlign; in ComputePayLoadSize()
176 return codeDesc in ComputePayLoadSize()
[all...]
H A Djit_task.h234 static size_t PUBLIC_API ComputePayLoadSize(MachineCodeDesc &codeDesc);
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/
H A Dbaseline_compiler.h84 bool CollectMemoryCodeInfos(MachineCodeDesc &codeDesc);
H A Dbaseline_compiler.cpp180 bool BaselineCompiler::CollectMemoryCodeInfos(MachineCodeDesc &codeDesc) in CollectMemoryCodeInfos() argument
182 codeDesc.codeAddr = reinterpret_cast<uint64_t>(GetBaselineAssembler().GetBuffer()); in CollectMemoryCodeInfos()
183 codeDesc.codeSize = GetBaselineAssembler().GetBufferSize(); in CollectMemoryCodeInfos()
184 codeDesc.codeType = MachineCodeType::BASELINE_CODE; in CollectMemoryCodeInfos()
185 codeDesc.stackMapOrOffsetTableAddr = reinterpret_cast<uint64_t>(nativePcOffsetTable.GetData()); in CollectMemoryCodeInfos()
186 codeDesc.stackMapOrOffsetTableSize = nativePcOffsetTable.GetSize(); in CollectMemoryCodeInfos()
188 codeDesc.codeSigner = 0; in CollectMemoryCodeInfos()
193 codeDesc.codeSigner = reinterpret_cast<uintptr_t>(singleton->GetCodeSigner()); in CollectMemoryCodeInfos()
197 JitCompiler::AllocFromFortAndCopy(*compilationEnv, codeDesc) == false) { in CollectMemoryCodeInfos()

Completed in 12 milliseconds