/arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/ |
H A D | llvm_aot_builder.h | 42 void AddMethodHeader(Method *method, size_t methodIndex) in AddMethodHeader() argument 45 methods_.emplace_back(arch_, method, methodIndex); in AddMethodHeader() 49 currentBitmap_->SetBit(methodIndex); in AddMethodHeader()
|
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/ |
H A D | ir_build_intrinsics_ets.cpp | 35 auto methodIndex = bcInst->GetId(0).AsIndex(); in BuildIsFiniteIntrinsic() local 36 auto methodId = GetRuntime()->ResolveMethodIndex(GetMethod(), methodIndex); in BuildIsFiniteIntrinsic()
|
/arkcompiler/runtime_core/static_core/compiler/aot/ |
H A D | aot_file.cpp | 187 auto methodIndex = bitmap.PopCount(index); in FindMethodHeader() local 188 ASSERT(methodIndex < header_->methodsCount); in FindMethodHeader() 189 return aotFile_->GetMethodHeader(header_->methodsOffset + methodIndex); in FindMethodHeader()
|
/arkcompiler/runtime_core/static_core/compiler/tools/paoc/ |
H A D | paoc.h | 51 CompilingContext(Method *methodPtr, size_t methodIndex, std::ofstream *statisticsDump); 81 bool Compile(Method *method, size_t methodIndex);
|
H A D | paoc.cpp | 44 Paoc::CompilingContext::CompilingContext(Method *methodPtr, size_t methodIndex, std::ofstream *statisticsDump) in CompilingContext() argument 48 index(methodIndex), in CompilingContext() 603 size_t methodIndex = 0; in Compile() local 606 cda.EnumerateMethods([this, &smethodIdx, &vmethodIdx, &methods, &methodIndex, &pfileRef, in Compile() 617 IsMethodInList(methodName) && g_options.MatchesRegex(methodName) && !Compile(&method, methodIndex)) { in Compile() 620 methodIndex++; in Compile() 630 bool Paoc::Compile(Method *method, size_t methodIndex) in Compile() argument 651 CompilingContext ctx(method, methodIndex, &statisticsDump_); in Compile()
|
/arkcompiler/ets_runtime/ecmascript/patch/ |
H A D | patch_loader.cpp | 145 const auto &methodIndex = item.first; in UnloadPatchInternal() local 146 JSTaggedValue baseConstpool = baseConstpoolValues.value().get()[methodIndex.constpoolNum]; in UnloadPatchInternal() 148 Method *patchMethod = GetPatchMethod(thread, methodIndex, baseConstpool); in UnloadPatchInternal() 182 const BaseMethodIndex &methodIndex, const JSTaggedValue constpoolVal) in GetPatchMethod() 184 uint32_t constpoolIndex = methodIndex.constpoolIndex; in GetPatchMethod() 185 uint32_t literalIndex = methodIndex.literalIndex; in GetPatchMethod() 181 GetPatchMethod(JSThread *thread, const BaseMethodIndex &methodIndex, const JSTaggedValue constpoolVal) GetPatchMethod() argument
|
H A D | patch_loader.h | 156 const BaseMethodIndex &methodIndex, const JSTaggedValue baseConstpool);
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/ |
H A D | inst_builder-inl.h | 293 auto methodIndex = bcInst->GetId(0).AsIndex(); in BuildAbsIntrinsic() local 294 auto methodId = GetRuntime()->ResolveMethodIndex(GetMethod(), methodIndex); in BuildAbsIntrinsic() 328 auto methodIndex = bcInst->GetId(0).AsIndex(); in BuildBinaryOperationIntrinsic() local 329 [[maybe_unused]] auto methodId = GetRuntime()->ResolveMethodIndex(GetMethod(), methodIndex); in BuildBinaryOperationIntrinsic() 342 auto methodIndex = bcInst->GetId(0).AsIndex(); in BuildSqrtIntrinsic() local 343 [[maybe_unused]] auto methodId = GetRuntime()->ResolveMethodIndex(GetMethod(), methodIndex); in BuildSqrtIntrinsic() 355 auto methodIndex = bcInst->GetId(0).AsIndex(); in BuildIsNanIntrinsic() local 356 auto methodId = GetRuntime()->ResolveMethodIndex(GetMethod(), methodIndex); in BuildIsNanIntrinsic() 1255 auto methodIndex = bcInst->GetId(0).AsIndex(); in BuildMultiDimensionalArrayObject() local 1256 auto methodId = GetRuntime()->ResolveMethodIndex(GetMethod(), methodIndex); in BuildMultiDimensionalArrayObject() 1300 auto methodIndex = bcInst->GetId(0).AsIndex(); BuildInitObjectMultiDimensionalArray() local [all...] |
/arkcompiler/runtime_core/static_core/runtime/ |
H A D | class_linker.cpp | 415 static void MaybeLinkMethodToAotCode(Method *method, const compiler::AotClass &aotClass, size_t methodIndex) in MaybeLinkMethodToAotCode() argument 421 auto entry = aotClass.FindMethodCodeEntry(methodIndex); in MaybeLinkMethodToAotCode() 425 << reinterpret_cast<const void *>(aotClass.FindMethodCodeSpan(methodIndex).data()) << ":" in MaybeLinkMethodToAotCode() 426 << reinterpret_cast<const void *>(aotClass.FindMethodCodeSpan(methodIndex).end()) in MaybeLinkMethodToAotCode() 430 ASSERT(aotClass.FindMethodHeader(methodIndex)->methodId == method->GetFileId().GetOffset()); in MaybeLinkMethodToAotCode() 486 size_t methodIndex = 0; in LoadMethods() local 488 &methodIndex](panda_file::MethodDataAccessor &methodDataAccessor) { in LoadMethods() 492 MaybeLinkMethodToAotCode(method, aotClass, methodIndex); in LoadMethods() 499 methodIndex++; in LoadMethods()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | typed_bytecode_lowering.cpp | 1695 GateRef methodIndex = builder_.IntPtr(tacc.GetFuncMethodOffset()); in CheckFastCallThisCallTarget() local 1697 builder_.JSNoGCCallThisTargetTypeCheck<TypedCallTargetCheckOp::JSCALLTHIS_FAST_NOGC>(func, methodIndex, gate); in CheckFastCallThisCallTarget() 1699 builder_.JSCallTargetTypeCheck<TypedCallTargetCheckOp::JSCALLTHIS_FAST>(func, methodIndex, gate); in CheckFastCallThisCallTarget() 1711 GateRef methodIndex = builder_.IntPtr(tacc.GetFuncMethodOffset()); in CheckCallThisCallTarget() local 1713 builder_.JSNoGCCallThisTargetTypeCheck<TypedCallTargetCheckOp::JSCALLTHIS_NOGC>(func, methodIndex, gate); in CheckCallThisCallTarget() 1715 builder_.JSCallTargetTypeCheck<TypedCallTargetCheckOp::JSCALLTHIS>(func, methodIndex, gate); in CheckCallThisCallTarget() 1782 int methodIndex = tacc.GetMethodIndex(); in CheckCallTargetAndLowerCall() local 1783 if (!tacc.MethodOffsetIsVaild() || methodIndex == -1) { in CheckCallTargetAndLowerCall() 1794 builder_.IntPtr(methodIndex), gate); in CheckCallTargetAndLowerCall() 1800 builder_.IntPtr(methodIndex), gat in CheckCallTargetAndLowerCall() [all...] |
H A D | mcr_circuit_builder.h | 577 GateRef CircuitBuilder::JSCallTargetTypeCheck(GateRef func, GateRef methodIndex, GateRef gate) in JSCallTargetTypeCheck() argument 585 {currentControl, currentDepend, func, methodIndex, frameState}, GateType::NJSValue()); in JSCallTargetTypeCheck()
|
H A D | typed_hcr_lowering.cpp | 1483 auto methodIndex = acc_.GetValueIn(gate, 1); in LowerJSCallTargetTypeCheck() local 1486 GateRef methodTarget = builder_.GetValueFromTaggedArray(sharedConstPool, methodIndex); in LowerJSCallTargetTypeCheck() 1499 auto methodIndex = acc_.GetValueIn(gate, 1); in LowerJSFastCallTargetTypeCheck() local 1502 GateRef methodTarget = builder_.GetValueFromTaggedArray(sharedConstPool, methodIndex); in LowerJSFastCallTargetTypeCheck()
|
H A D | circuit_builder.h | 538 GateRef JSCallTargetTypeCheck(GateRef func, GateRef methodIndex, GateRef gate);
|
/arkcompiler/runtime_core/static_core/libpandafile/ |
H A D | file_reader.cpp | 1047 auto methodIndex = file_->GetMethodIndex(&header); in ReadRegionHeaders() local 1048 for (auto methodId : methodIndex) { in ReadRegionHeaders()
|