Home
last modified time | relevance | path

Searched refs:GetFunction (Results 1 – 25 of 87) sorted by relevance

1234

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Dlabel_creation.cpp33 MIRBuilder *mirBuilder = cgFunc->GetFunction().GetModule()->GetMIRBuilder(); in CreateStartEndLabel()
37 cgFunc->GetFunction().GetBody()->InsertFirst(startLabel); in CreateStartEndLabel()
41 cgFunc->GetFunction().GetBody()->InsertLast(endLabel); in CreateStartEndLabel()
42 …DEBUG_ASSERT(cgFunc->GetFunction().GetBody()->GetLast() == endLabel, "last stmt must be a endLabel… in CreateStartEndLabel()
43 MIRFunction *func = &cgFunc->GetFunction(); in CreateStartEndLabel()
Deh_func.cpp27 MIRFunction &mirFunc = cgFunc->GetFunction(); in CollectEHInformation()
123 MIRFunction &mirFunc = cgFunc.GetFunction(); in ConvertThrowToRuntime()
137 MIRFunction &mirFunc = cgFunc.GetFunction(); in ConvertThrowToRethrow()
154 MIRFunction &mirFunc = cgFunc.GetFunction(); in Lower()
285 if (cgFunc->GetFunction().IsJava()) { in NeedFullLSDA()
294 if (cgFunc->GetFunction().IsJava()) { in NeedFastLSDA()
308 MIRFunction &mirFunc = cgFunc->GetFunction(); in CreateTypeInfoSt()
334 MIRFunction &mirFunc = cgFunc->GetFunction(); in LowerThrow()
484 MIRModule &mirModule = *cgFunc->GetFunction().GetModule(); in DumpEHFunc()
526 MIRModule *mirModule = cgFunc->GetFunction().GetModule(); in GenerateCleanupLabel()
[all …]
Dico.cpp77 const std::string &funcClass = f.GetFunction().GetBaseClassName(); in PhaseRun()
78 const std::string &funcName = f.GetFunction().GetBaseFuncName(); in PhaseRun()
Dproepilog.cpp82 auto &mirFunction = cgFunc.GetFunction(); in NeedStackProtect()
Dalignment.cpp38 …MIRSymbol *funcSt = GlobalTables::GetGsymTable().GetSymbolFromStidx(cgFunc->GetFunction().GetStIdx… in Dump()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
Dx64_args.cpp34 uint32 numFormal = static_cast<uint32>(x64CGFunc->GetFunction().GetFormalCount()); in CollectRegisterArgs()
50 MIRType *ty = x64CGFunc->GetFunction().GetNthParamType(i); in CollectRegisterArgs()
51 parmlocator.LocateNextParm(*ty, ploc, i == 0, &x64CGFunc->GetFunction()); in CollectRegisterArgs()
56 MIRSymbol *sym = x64CGFunc->GetFunction().GetFormal(i); in CollectRegisterArgs()
81 argInfo.mirTy = x64CGFunc->GetFunction().GetNthParamType(argIndex); in GetArgInfo()
118 argInfo.sym = x64CGFunc->GetFunction().GetFormal(argIndex); in GetArgInfo()
198 …PregIdx pregIdx = x64CGFunc->GetFunction().GetPregTab()->GetPregIdxFromPregno(mirSym.GetPreg()->Ge… in LoadStackArgsToVReg()
233 …PregIdx pregIdx = x64CGFunc->GetFunction().GetPregTab()->GetPregIdxFromPregno(mirSym.GetPreg()->Ge… in MoveArgsToVReg()
270 uint32 formalCount = static_cast<uint32>(x64CGFunc->GetFunction().GetFormalCount()); in MoveVRegisterArgs()
282 MIRType *ty = x64CGFunc->GetFunction().GetNthParamType(i); in MoveVRegisterArgs()
[all …]
Dx64_proepilog.cpp93 if (cgFunc.GetMirModule().IsCModule() && cgFunc.GetFunction().GetAttr(FUNCATTR_varargs)) { in GeneratePushUnnamedVarargRegs()
160 if (cgFunc.GetFunction().HasCall() || cgFunc.HasVLAOrAlloca()) { in GenerateProlog()
188 if (cgFunc.GetFunction().HasCall() || cgFunc.HasVLAOrAlloca()) { in GenerateEpilog()
Dx64_MPIsel.cpp74 MIRType *retType = cgFunc->GetFunction().GetReturnType(); in SelectReturn()
82 …if (!cgFunc->GetFunction().StructReturnedInRegs() || retNode.Opnd(0)->GetOpCode() == OP_constval) { in SelectReturn()
186 MIRSymbol *symbol = cgFunc->GetFunction().GetLocalOrGlobalSymbol(dread.GetStIdx()); in GetMemOpndInfoFromAggregateNode()
468 MIRSymbol *sym = cgFunc->GetFunction().GetLocalOrGlobalSymbol(st->GetStIdx(), false); in SelectLibCallNArg()
507 …result = SelectLiteral(static_cast<MIRDoubleConst&>(floatingConst), cgFunc->GetFunction(), labelId… in SelectFloatingConst()
509 …result = SelectLiteral(static_cast<MIRFloatConst&>(floatingConst), cgFunc->GetFunction(), labelIdx… in SelectFloatingConst()
587 cgFunc->GetFunction().SetHasCall(); in AppendCall()
859 for (uint32 i = 0; i < cgFunc->GetFunction().GetFormalCount(); i++) { in SelectCVaStart()
860 …MIRType *ty = GlobalTables::GetTypeTable().GetTypeFromTyIdx(cgFunc->GetFunction().GetNthParamTyIdx… in SelectCVaStart()
907 …MIRConst *mirConst = memPool->New<MIRLblConst>(labelIdx, cgFunc->GetFunction().GetPuidx(), *etype); in SelectRangeGoto()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_args.cpp35 uint32 numFormal = static_cast<uint32>(aarchCGFunc->GetFunction().GetFormalCount()); in CollectRegisterArgs()
51 MIRType *ty = aarchCGFunc->GetFunction().GetNthParamType(i); in CollectRegisterArgs()
52 parmlocator.LocateNextParm(*ty, ploc, i == 0, &aarchCGFunc->GetFunction()); in CollectRegisterArgs()
57 MIRSymbol *sym = aarchCGFunc->GetFunction().GetFormal(i); in CollectRegisterArgs()
82 argInfo.mirTy = aarchCGFunc->GetFunction().GetNthParamType(argIndex); in GetArgInfo()
134 argInfo.sym = aarchCGFunc->GetFunction().GetFormal(argIndex); in GetArgInfo()
356 …PregIdx pregIdx = aarchCGFunc->GetFunction().GetPregTab()->GetPregIdxFromPregno(mirSym.GetPreg()->… in MoveLocalRefVarToRefLocals()
378 …PregIdx pregIdx = aarchCGFunc->GetFunction().GetPregTab()->GetPregIdxFromPregno(mirSym.GetPreg()->… in LoadStackArgsToVReg()
401 …PregIdx pregIdx = aarchCGFunc->GetFunction().GetPregTab()->GetPregIdxFromPregno(mirSym.GetPreg()->… in MoveArgsToVReg()
436 uint32 formalCount = static_cast<uint32>(aarchCGFunc->GetFunction().GetFormalCount()); in MoveVRegisterArgs()
[all …]
Daarch64_live.cpp22 PrimType returnType = cgFunc->GetFunction().GetReturnType()->GetPrimType(); in GenerateReturnBBDefUse()
69 MIRFunction *func = funcSt->GetFunction(); in ProcessCallInsnParam()
Daarch64_emitter.cpp47 if (!cgFunc.GetFunction().IsJava()) { in EmitRefToMethodDesc()
51 GetMethodLabel(cgFunc.GetFunction().GetName(), methodDescLabel); in EmitRefToMethodDesc()
59 if (cgFunc.GetFunction().GetModule()->IsJavaModule()) { in EmitRefToMethodInfo()
60 std::string labelName = ".Label.name." + cgFunc.GetFunction().GetName(); in EmitRefToMethodInfo()
72 if (!cgFunc.GetFunction().IsJava()) { in EmitMethodDesc()
78 GetMethodLabel(cgFunc.GetFunction().GetName(), methodInfoLabel); in EmitMethodDesc()
180 } else if (cgFunc.GetFunction().IsJava()) { in EmitFullLSDA()
201 if (aarchCGFunc.NeedCleanup() || cgFunc.GetFunction().IsJava()) { in EmitFullLSDA()
227 if (!cgFunc.GetFunction().IsJava()) { in EmitFullLSDA()
287 const std::string &labelName = cgFunc.GetFunction().GetLabelTab()->GetName(labIdx); in EmitBBHeaderLabel()
[all …]
Daarch64_proepilog.cpp195 if ((nCount > 0 && cgFunc.GetFunction().GetAttr(FUNCATTR_interface)) || hasGetStackClass) { in TailCallOpt()
286 } else if (cgFunc.GetFunction().GetAttr(FUNCATTR_varargs) || cgFunc.HasVLAOrAlloca()) { in NeedProEpilog()
308 cgFunc.GetFunction().GetAttr(FUNCATTR_callersensitive)) { in NeedProEpilog()
341 if (cgFunc.GetMirModule().IsCModule() && cgFunc.GetFunction().GetAttr(FUNCATTR_varargs)) { in GenStackGuard()
355 cgFunc.GetFunction().GetFrameReseverdSlot()); in GenStackGuard()
399 if (cgFunc.GetMirModule().IsCModule() && cgFunc.GetFunction().GetAttr(FUNCATTR_varargs)) { in GenStackGuardCheckInsn()
415 cgFunc.GetFunction().GetFrameReseverdSlot()); in GenStackGuardCheckInsn()
896 cgFunc.GetFunction().GetFrameReseverdSlot()); in AppendInstructionPushPair()
928 cgFunc.GetFunction().GetFrameReseverdSlot()); in AppendInstructionPushSingle()
1018 …int64 fpToSpDistance = cgFunc.GetMemlayout()->SizeOfArgsToStackPass() + cgFunc.GetFunction().GetFr… in AppendInstructionAllocateCallFrame()
[all …]
Daarch64_offset_adjust.cpp173 memLayout->SizeOfArgsToStackPass() - cgFunc->GetFunction().GetFrameReseverdSlot())); in AdjustMemOfstVary()
187 memLayout->SizeOfArgsToStackPass() - cgFunc->GetFunction().GetFrameReseverdSlot(); in AdjustmentOffsetForImmOpnd()
208 …static_cast<int32>(aarch64memlayout->SizeOfArgsToStackPass() + cgFunc->GetFunction().GetFrameResev… in AdjustmentStackPointer()
Daarch64_memlayout.cpp483 MIRPregTable *pregTab = cgFunc->GetFunction().GetPregTab(); in AssignSpillLocationsToPseudoRegisters()
531 cgFunc->GetFunction().GetFrameReseverdSlot(); in StackFrameSize()
573 …total -= static_cast<int32>(SizeOfArgsToStackPass()) + cgFunc->GetFunction().GetFrameReseverdSlot(… in GetGRSaveAreaBaseLoc()
582 …total -= static_cast<int32>(SizeOfArgsToStackPass()) + cgFunc->GetFunction().GetFrameReseverdSlot(… in GetVRSaveAreaBaseLoc()
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
Djs_stackgetter.cpp127 JSFunction* function = JSFunction::Cast(it.GetFunction().GetTaggedObject()); in GetNativeStack()
169 JSFunction* function = JSFunction::Cast(it.GetFunction().GetTaggedObject()); in GetRunningState()
227 JSFunction* function = JSFunction::Cast(it.GetFunction().GetTaggedObject()); in GetNativeMethodCallPos()
274 JSFunction* function = JSFunction::Cast(it.GetFunction().GetTaggedObject()); in GetMethodIdentifier()
295 JSFunction* function = JSFunction::Cast(itNext.GetFunction().GetTaggedObject()); in GetCallLineNumber()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dframe_handler.cpp139 auto function = GetFunction(); in GetMethod()
146 auto function = GetFunction(); in CheckAndGetMethod()
166 JSTaggedValue FrameHandler::GetFunction() const in GetFunction() function in panda::ecmascript::FrameHandler
179 return frame->GetFunction(); in GetFunction()
184 return frame->GetFunction(); in GetFunction()
189 return frame->GetFunction(); in GetFunction()
Dinterpreter_assembly.h48 static JSTaggedValue GetFunction(JSTaggedType *sp);
Dinterpreter.h71 static inline JSTaggedValue GetFunction(JSTaggedType *sp);
/arkcompiler/ets_runtime/ecmascript/
Decma_runtime_call_info.h173 inline JSHandle<JSTaggedValue> GetFunction() const in GetFunction() function
195 JSHandle<JSTaggedValue> func = GetFunction(); in GetFunctionValue()
Dframes.cpp49 auto function = GetFunction(); in CheckAndGetMethod()
56 JSTaggedValue FrameIterator::GetFunction() const in GetFunction() function in panda::ecmascript::FrameIterator
63 return frame->GetFunction(); in GetFunction()
81 return frame->GetFunction(); in GetFunction()
86 return frame->GetFunction(); in GetFunction()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dassembler_module.h47 size_t GetFunction(int id) const in GetFunction() function
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/
Dets_method_wrapper.h41 static EtsMethodWrapper *GetFunction(InteropCtx *ctx, EtsMethod *etsMethod);
Dets_proxy.cpp45 EtsMethodWrapper *etsMethodWrapper = EtsMethodWrapper::GetFunction(ctx, etsMethod); in GetETSFunction()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Dmir_symbol.cpp33 (sKind == kStFunc && !GetFunction()->IsStatic()); in NeedPIC()
382 if (GetStorageClass() == kScText && GetFunction() != nullptr) { in Dump()
384 GetFunction()->Dump(true); in Dump()
/arkcompiler/runtime_core/libpandabase/os/
Ddebug_info.cpp269 *function = it->GetFunction(); in GetSrcLocation()
357 … ranges_.insert(Range(enclosing.GetLowPc(), low_pc, enclosing.GetCu(), enclosing.GetFunction())); in AddFunction()
361 … ranges_.insert(Range(high_pc, enclosing.GetHighPc(), enclosing.GetCu(), enclosing.GetFunction())); in AddFunction()

1234