Home
last modified time | relevance | path

Searched refs:RTSTUB_ID (Results 1 – 25 of 31) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/
Dtest_stubs.cpp39 GateRef barfunc = CallRuntime(glue, RTSTUB_ID(DefineAotFunc), {barIndex, numArgs}); in GenerateCircuit()
41 …CallNGCRuntime(glue, RTSTUB_ID(JSCall), {glue, argc, barfunc, newtarget, thisObj, a, b, pcOffset}); in GenerateCircuit()
54 GateRef result = CallRuntime(glue, RTSTUB_ID(Add2), {a, b}); in GenerateCircuit()
71 GateRef barfunc = CallRuntime(glue, RTSTUB_ID(DefineAotFunc), {barIndex, numArgs}); in GenerateCircuit()
73 …CallNGCRuntime(glue, RTSTUB_ID(JSCall), {glue, argc, barfunc, newtarget, thisObj, a, b, pcOffset}); in GenerateCircuit()
91 GateRef result = CallRuntime(glue, RTSTUB_ID(Add2), {a, b}); in GenerateCircuit()
92 GateRef result2 = CallRuntime(glue, RTSTUB_ID(Add2), {result, c}); in GenerateCircuit()
110 GateRef barfunc = CallRuntime(glue, RTSTUB_ID(DefineAotFunc), {barIndex, numArgs}); in GenerateCircuit()
111 …GateRef result = CallNGCRuntime(glue, RTSTUB_ID(JSCall), {glue, actualArgC, barfunc, newtarget, th… in GenerateCircuit()
128 GateRef printfunc = CallRuntime(glue, RTSTUB_ID(GetPrintFunc), {}); in GenerateCircuit()
[all …]
Dinterpreter_stub.cpp132 … varProfileTypeInfo = CallRuntime(glue, RTSTUB_ID(UpdateHotnessCounterWithProf), { func }); \
134 … varProfileTypeInfo = CallRuntime(glue, RTSTUB_ID(UpdateHotnessCounter), { func }); \
174 CallNGCRuntime(glue, RTSTUB_ID(DebugPrintInstruction), { glue, pc }); in DebugPrintInstruction()
209 varAcc = CallRuntime(glue, RTSTUB_ID(GetSymbolFunction), {}); in DECLARE_ASM_HANDLER()
302 GateRef res = CallRuntime(glue, RTSTUB_ID(GetUnmapedArgs), {}); in DECLARE_ASM_HANDLER()
310 GateRef res = CallRuntime(glue, RTSTUB_ID(CopyRestArgs), { IntToTaggedInt(restIdx) }); in DECLARE_ASM_HANDLER()
317 GateRef res = CallRuntime(glue, RTSTUB_ID(CopyRestArgs), { IntToTaggedInt(restIdx) }); in DECLARE_ASM_HANDLER()
326 GateRef res = CallRuntime(glue, RTSTUB_ID(CreateObjectWithExcludedKeys), in DECLARE_ASM_HANDLER()
336 GateRef res = CallRuntime(glue, RTSTUB_ID(CreateObjectWithExcludedKeys), in DECLARE_ASM_HANDLER()
344 GateRef res = CallRuntime(glue, RTSTUB_ID(ThrowIfSuperNotCorrectCall), in DECLARE_ASM_HANDLER()
[all …]
Daccess_object_stub_builder.cpp53 result = CallRuntime(glue, RTSTUB_ID(LoadICByName), in LoadObjByName()
83 result = CallRuntime(glue, RTSTUB_ID(LoadICByName), in DeprecatedLoadObjByName()
117 result = CallRuntime(glue, RTSTUB_ID(StoreICByName), in StoreObjByName()
166 result = CallRuntime(glue, RTSTUB_ID(LoadICByValue), in LoadObjByValue()
196 result = CallRuntime(glue, RTSTUB_ID(LoadICByValue), in DeprecatedLoadObjByValue()
227 result = CallRuntime(glue, RTSTUB_ID(StoreICByValue), in StoreObjByValue()
277 result = CallRuntime(glue, RTSTUB_ID(TryLdGlobalICByName), in TryLoadGlobalByName()
313 result = CallRuntime(glue, RTSTUB_ID(TryUpdateGlobalRecord), { propKey, value }); in TryStoreGlobalByName()
325 result = CallRuntime(glue, RTSTUB_ID(StGlobalVar), { propKey, value }); in TryStoreGlobalByName()
330 result = CallRuntime(glue, RTSTUB_ID(ThrowReferenceError), { propKey }); in TryStoreGlobalByName()
[all …]
Dbuiltins_lowering.cpp74 int index = RTSTUB_ID(FloatCos); in TypedTrigonometric()
77 index = RTSTUB_ID(FloatFloor); in TypedTrigonometric()
80 index = RTSTUB_ID(FloatACos); in TypedTrigonometric()
83 index = RTSTUB_ID(FloatATan); in TypedTrigonometric()
86 index = RTSTUB_ID(FloatCos); in TypedTrigonometric()
89 index = RTSTUB_ID(FloatSin); in TypedTrigonometric()
190 const CallSignature *cs = RuntimeStubCSigns::Get(RTSTUB_ID(CallRuntime)); in LowerCallRuntime()
236 GateRef result = LowerCallRuntime(glue, gate, RTSTUB_ID(LocaleCompare), args); in LowerTypedLocaleCompare()
Dslowpath_lowering.cpp724 const CallSignature *cs = RuntimeStubCSigns::Get(RTSTUB_ID(CallRuntime)); in LowerCallRuntime()
756 const int id = RTSTUB_ID(CreateIterResultObj); in LowerCreateIterResultObj()
780 const int arrayId = RTSTUB_ID(NewTaggedArray); in SaveFrameToContext()
844 const int id = RTSTUB_ID(OptSuspendGenerator); in LowerSuspendGenerator()
853 const int id = RTSTUB_ID(AsyncFunctionAwaitUncaught); in LowerAsyncFunctionAwaitUncaught()
862 const int id = RTSTUB_ID(AsyncFunctionResolveOrReject); in LowerAsyncFunctionResolve()
872 const int id = RTSTUB_ID(AsyncFunctionResolveOrReject); in LowerAsyncFunctionReject()
899 auto result = LowerCallRuntime(gate, RTSTUB_ID(GetIterator), {acc_.GetValueIn(gate, 0)}, true); in LowerGetIterator()
905 …auto result = LowerCallRuntime(gate, RTSTUB_ID(GetAsyncIterator), {acc_.GetValueIn(gate, 0)}, true… in LowerGetAsyncIterator()
975 const int id = RTSTUB_ID(CallSpread); in LowerCallSpread()
[all …]
Dstub_builder.cpp167 result = CallNGCRuntime(glue, RTSTUB_ID(FindElementWithCache), { glue, hclass, key, propsNum }); in FindElementWithCache()
190 GateRef hash = CallRuntime(glue, RTSTUB_ID(GetHash32), in FindElementFromNumberDictionary()
588 result = CallRuntime(glue, RTSTUB_ID(CallInternalGetter), { accessor, holder }); in CallGetterHelper()
637 result = CallRuntime(glue, RTSTUB_ID(CallInternalSetter), { receiver, accessor, value }); in CallSetterHelper()
649 CallRuntime(glue, RTSTUB_ID(ThrowSetterIsUndefinedException), {}); in CallSetterHelper()
731 GateRef newJshclass = CallRuntime(glue, RTSTUB_ID(NewEcmaHClass), in JSHClassAddProperty()
735 CallRuntime(glue, RTSTUB_ID(UpdateLayOutAndAddTransition), in JSHClassAddProperty()
820 array = CallRuntime(glue, RTSTUB_ID(NewTaggedArray), { IntToTaggedInt(*length) }); in AddPropertyByName()
834 GateRef res = CallRuntime(glue, RTSTUB_ID(NameDictPutIfAbsent), in AddPropertyByName()
860 GateRef res = CallRuntime(glue, RTSTUB_ID(NameDictPutIfAbsent), in AddPropertyByName()
[all …]
Dprofiler_stub_builder.cpp66 CallNGCRuntime(glue, RTSTUB_ID(ProfileOpType), { glue, func, offset, type }); in ProfileOpType()
101 CallNGCRuntime(glue, RTSTUB_ID(ProfileOpType), { glue, func, offset, *curType }); in ProfileOpType()
119 CallNGCRuntime(glue, RTSTUB_ID(ProfileDefineClass), { glue, func, offset, constructor }); in ProfileDefineClass()
162 … CallNGCRuntime(glue, RTSTUB_ID(ProfileCreateObject), { glue, func, offset, newObj, *traceId }); in ProfileCreateObject()
183 CallNGCRuntime(glue, RTSTUB_ID(ProfileObjLayout), { glue, func, offset, object, store }); in ProfileObjLayout()
213 CallNGCRuntime(glue, RTSTUB_ID(ProfileCall), { glue, func, target, offset, Int32(1)}); in ProfileCall()
Doperations_stub_builder.cpp35 result = CallRuntime(glue, RTSTUB_ID(Eq), { left, right }); in Equal()
59 result = CallRuntime(glue, RTSTUB_ID(NotEq), { left, right }); in NotEqual()
220 result = CallRuntime(glue, RTSTUB_ID(Less), { left, right }); in Less()
325 result = CallRuntime(glue, RTSTUB_ID(LessEq), { left, right }); in LessEq()
429 result = CallRuntime(glue, RTSTUB_ID(Greater), { left, right }); in Greater()
534 result = CallRuntime(glue, RTSTUB_ID(GreaterEq), { left, right }); in GreaterEq()
555 result = CallRuntime(glue, RTSTUB_ID(Add2), { left, right }); in Add()
576 result = CallRuntime(glue, RTSTUB_ID(Sub2), { left, right }); in Sub()
597 result = CallRuntime(glue, RTSTUB_ID(Mul2), { left, right }); in Mul()
618 result = CallRuntime(glue, RTSTUB_ID(Div2), { left, right }); in Div()
[all …]
Dcommon_stubs.cpp290 GateRef argv = CallNGCRuntime(glue, RTSTUB_ID(GetActualArgvNoGC), { glue }); in GenerateCircuit()
727 result = CallNGCRuntime(glue, RTSTUB_ID(JSFastCallWithArgV), in GenerateCircuit()
733 result = CallNGCRuntime(glue, RTSTUB_ID(JSFastCallWithArgVAndPushUndefined), in GenerateCircuit()
743 result = CallNGCRuntime(glue, RTSTUB_ID(JSCallWithArgV), in GenerateCircuit()
749 result = CallNGCRuntime(glue, RTSTUB_ID(JSCallWithArgVAndPushUndefined), in GenerateCircuit()
792 GateRef method = CallRuntime(glue, RTSTUB_ID(JSObjectGetMethod), {handler, key}); in GenerateCircuit()
817 result = CallNGCRuntime(glue, RTSTUB_ID(JSFastCallWithArgV), in GenerateCircuit()
826 result = CallNGCRuntime(glue, RTSTUB_ID(JSCallWithArgV), in GenerateCircuit()
834 … result = CallNGCRuntime(glue, RTSTUB_ID(JSProxyCallInternalWithArgV), {glue, target}); in GenerateCircuit()
848 GateRef arrHandle = CallRuntime(glue, RTSTUB_ID(CreateArrayFromList), argc, argv); in GenerateCircuit()
[all …]
Drt_call_signature.h94 #define RTSTUB_ID(name) kungfu::RuntimeStubCSigns::ID_##name macro
Dntype_mcr_lowering.cpp84 …elements = LowerCallRuntime(glue, gate, RTSTUB_ID(NewTaggedArray), { builder_.Int32ToTaggedInt(len… in LowerCreateArrayWithOwn()
183 const CallSignature *cs = RuntimeStubCSigns::Get(RTSTUB_ID(CallRuntime)); in LowerCallRuntime()
Dcircuit_builder.cpp860 const CallSignature *cs = RuntimeStubCSigns::Get(RTSTUB_ID(CallRuntime)); in CallRuntime()
878 const CallSignature *cs = RuntimeStubCSigns::Get(RTSTUB_ID(CallRuntimeWithArgv)); in CallRuntimeVarargs()
928 CallNGCRuntime(glue, gate, RTSTUB_ID(StartCallTimer), args, useLabel); in StartCallTimer()
939 CallNGCRuntime(glue, gate, RTSTUB_ID(EndCallTimer), args, useLabel); in EndCallTimer()
1003 index = static_cast<int>(RTSTUB_ID(PushCallArgsAndDispatchNative)); in CallBuiltinRuntime()
1005 index = static_cast<int>(RTSTUB_ID(PushCallNewAndDispatchNative)); in CallBuiltinRuntime()
1081 const std::string name = RuntimeStubCSigns::GetRTName(RTSTUB_ID(CallRuntime)); in NoLabelCallRuntime()
1082 const CallSignature *cs = RuntimeStubCSigns::Get(RTSTUB_ID(CallRuntime)); in NoLabelCallRuntime()
1485 result = CallRuntime(glue, RTSTUB_ID(GetStringFromCache), Gate::InvalidGateRef, in GetObjectFromConstPool()
1488 result = CallRuntime(glue, RTSTUB_ID(GetArrayLiteralFromCache), Gate::InvalidGateRef, in GetObjectFromConstPool()
[all …]
Dntype_hcr_lowering.cpp255 … GateRef traceGate = builder_.CallRuntime(glue_, RTSTUB_ID(DebugAOTPrint), acc_.GetDep(current), in AddProfiling()
276 …GateRef profiling = builder_.CallRuntime(glue_, RTSTUB_ID(ProfileOptimizedCode), acc_.GetDep(curre… in AddProfiling()
Dtyped_array_stub_builder.cpp112 result = CallRuntime(glue, RTSTUB_ID(GetTypeArrayPropertyByIndex), in FastGetPropertyByIndex()
168 CallRuntime(glue, RTSTUB_ID(FastCopyElementToArray), { typedArray, array}); in FastCopyElementToArray()
Dnew_object_stub_builder.cpp194 result = CallRuntime(glue_, RTSTUB_ID(NewTaggedArray), { IntToTaggedInt(len) }); in NewTaggedArray()
360 ret = CallRuntime(glue_, RTSTUB_ID(AllocateInYoung), { in AllocateInYoung()
453 thisObj = CallRuntime(glue, RTSTUB_ID(NewThisObject), {ctor}); in FastNewThisObject()
Dtype_mcr_lowering.cpp466 const CallSignature *cs = RuntimeStubCSigns::Get(RTSTUB_ID(CallRuntime)); in LowerCallRuntime()
747 LowerCallRuntime(glue, gate, RTSTUB_ID(CheckAndCopyArray), {receiver}, true); in LowerCowArrayCheck()
1243 const CallSignature *cs = RuntimeStubCSigns::Get(RTSTUB_ID(JSCall)); in CallAccessor()
1244 GateRef target = builder_.IntPtr(RTSTUB_ID(JSCall)); in CallAccessor()
Dts_hcr_lowering.cpp714 …int stubId = mode == AccessMode::LOAD ? RTSTUB_ID(VerifyVTableLoading) : RTSTUB_ID(VerifyVTableSto… in BuildNamedPropertyAccessVerifier()
1473 … GateRef traceGate = builder_.CallRuntime(glue_, RTSTUB_ID(DebugAOTPrint), acc_.GetDep(current), in AddProfiling()
1494 …GateRef profiling = builder_.CallRuntime(glue_, RTSTUB_ID(ProfileOptimizedCode), acc_.GetDep(curre… in AddProfiling()
Dnumber_speculative_lowering.cpp368 result = builder_.CallNGCRuntime(glue, RTSTUB_ID(FloatMod), in VisitNumberMod()
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/x64/
Dasm_interpreter_call.cpp42 __ BindAssemblerStub(RTSTUB_ID(AsmInterpreterEntry)); in AsmInterpreterEntry()
66 __ BindAssemblerStub(RTSTUB_ID(GeneratorReEnterAsmInterp)); in GeneratorReEnterAsmInterp()
360 __ BindAssemblerStub(RTSTUB_ID(PushCallThisRangeAndDispatch)); in PushCallThisRangeAndDispatch()
366 __ BindAssemblerStub(RTSTUB_ID(PushCallRangeAndDispatch)); in PushCallRangeAndDispatch()
372 __ BindAssemblerStub(RTSTUB_ID(PushCallNewAndDispatch)); in PushCallNewAndDispatch()
378 __ BindAssemblerStub(RTSTUB_ID(PushCallArgs3AndDispatch)); in PushCallArgs3AndDispatch()
384 __ BindAssemblerStub(RTSTUB_ID(PushCallArgs2AndDispatch)); in PushCallArgs2AndDispatch()
390 __ BindAssemblerStub(RTSTUB_ID(PushCallArg1AndDispatch)); in PushCallArg1AndDispatch()
396 __ BindAssemblerStub(RTSTUB_ID(PushCallArg0AndDispatch)); in PushCallArg0AndDispatch()
401 __ BindAssemblerStub(RTSTUB_ID(PushCallThisArg0AndDispatch)); in PushCallThisArg0AndDispatch()
[all …]
Doptimized_call.cpp55 __ BindAssemblerStub(RTSTUB_ID(JSFunctionEntry)); in JSFunctionEntry()
72 __ CallAssemblerStub(RTSTUB_ID(JSCallWithArgV), false); in JSFunctionEntry()
76 __ CallAssemblerStub(RTSTUB_ID(JSCallWithArgVAndPushUndefined), false); in JSFunctionEntry()
120 __ BindAssemblerStub(RTSTUB_ID(OptimizedCallAndPushUndefined)); in OptimizedCallAndPushUndefined()
256 __ BindAssemblerStub(RTSTUB_ID(JSProxyCallInternalWithArgV)); in JSProxyCallInternalWithArgV()
297 __ BindAssemblerStub(RTSTUB_ID(JSCallNew)); in JSCallNew()
303 __ BindAssemblerStub(RTSTUB_ID(JSCall)); in JSCall()
376 __ Pushq(RTSTUB_ID(ThrowCallConstructorException)); // runtime id in GenJSCall()
555 __ Pushq(RTSTUB_ID(ThrowTypeError)); // runtime id in ThrowNonCallableInternal()
723 __ BindAssemblerStub(RTSTUB_ID(CallRuntime)); in CallRuntime()
[all …]
Doptimized_fast_call.cpp44 __ BindAssemblerStub(RTSTUB_ID(OptimizedFastCallEntry)); in OptimizedFastCallEntry()
55 __ CallAssemblerStub(RTSTUB_ID(JSFastCallWithArgV), false); in OptimizedFastCallEntry()
94 __ BindAssemblerStub(RTSTUB_ID(OptimizedFastCallAndPushUndefined)); in OptimizedFastCallAndPushUndefined()
219 __ BindAssemblerStub(RTSTUB_ID(JSFastCallWithArgV)); in JSFastCallWithArgV()
280 __ BindAssemblerStub(RTSTUB_ID(JSFastCallWithArgVAndPushUndefined)); in JSFastCallWithArgVAndPushUndefined()
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/aarch64/
Doptimized_call.cpp68 __ BindAssemblerStub(RTSTUB_ID(CallRuntime)); in CallRuntime()
138 __ BindAssemblerStub(RTSTUB_ID(JSFunctionEntry)); in JSFunctionEntry()
159 __ CallAssemblerStub(RTSTUB_ID(JSCallWithArgV), false); in JSFunctionEntry()
163 __ CallAssemblerStub(RTSTUB_ID(JSCallWithArgVAndPushUndefined), false); in JSFunctionEntry()
202 __ BindAssemblerStub(RTSTUB_ID(OptimizedCallAndPushUndefined)); in OptimizedCallAndPushUndefined()
378 __ BindAssemblerStub(RTSTUB_ID(JSCallNew)); in JSCallNew()
384 __ BindAssemblerStub(RTSTUB_ID(JSCall)); in JSCall()
503 JSBoundFunctionCallInternal(assembler, glue, actualArgC, jsfunc, RTSTUB_ID(JSCall)); in JSCallInternal()
524 __ Mov(runtimeId, Immediate(RTSTUB_ID(ThrowCallConstructorException))); in JSCallInternal()
527 __ CallAssemblerStub(RTSTUB_ID(CallRuntime), false); in JSCallInternal()
[all …]
Dasm_interpreter_call.cpp45 __ BindAssemblerStub(RTSTUB_ID(AsmInterpreterEntry)); in AsmInterpreterEntry()
382 __ BindAssemblerStub(RTSTUB_ID(PushCallThisRangeAndDispatch)); in PushCallThisRangeAndDispatch()
388 __ BindAssemblerStub(RTSTUB_ID(PushCallRangeAndDispatch)); in PushCallRangeAndDispatch()
394 __ BindAssemblerStub(RTSTUB_ID(PushCallNewAndDispatch)); in PushCallNewAndDispatch()
400 __ BindAssemblerStub(RTSTUB_ID(PushCallArgs3AndDispatch)); in PushCallArgs3AndDispatch()
406 __ BindAssemblerStub(RTSTUB_ID(PushCallArgs2AndDispatch)); in PushCallArgs2AndDispatch()
412 __ BindAssemblerStub(RTSTUB_ID(PushCallArg1AndDispatch)); in PushCallArg1AndDispatch()
418 __ BindAssemblerStub(RTSTUB_ID(PushCallArg0AndDispatch)); in PushCallArg0AndDispatch()
424 __ BindAssemblerStub(RTSTUB_ID(PushCallThisArg0AndDispatch)); in PushCallThisArg0AndDispatch()
430 __ BindAssemblerStub(RTSTUB_ID(PushCallThisArg1AndDispatch)); in PushCallThisArg1AndDispatch()
[all …]
Doptimized_fast_call.cpp44 __ BindAssemblerStub(RTSTUB_ID(OptimizedFastCallEntry)); in OptimizedFastCallEntry()
62 __ CallAssemblerStub(RTSTUB_ID(JSFastCallWithArgV), false); in OptimizedFastCallEntry()
98 __ BindAssemblerStub(RTSTUB_ID(OptimizedFastCallAndPushUndefined)); in OptimizedFastCallAndPushUndefined()
249 __ BindAssemblerStub(RTSTUB_ID(JSFastCallWithArgV)); in JSFastCallWithArgV()
328 __ BindAssemblerStub(RTSTUB_ID(JSFastCallWithArgVAndPushUndefined)); in JSFastCallWithArgVAndPushUndefined()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_stubs.cpp1034 … timeValue = CallNGCRuntime(glue, RTSTUB_ID(TimeClip), {GetDoubleOfTNumber(value)}); in DECLARE_BUILTINS()
1054 timeValue = CallNGCRuntime(glue, RTSTUB_ID(SetDateValues), {y, m, d}); in DECLARE_BUILTINS()

12