/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | test_stubs_signature.cpp | 23 ArgumentsOrder::DEFAULT_ORDER, VariableType::JS_ANY()); in DEF_CALL_SIGNATURE() 28 VariableType::JS_ANY(), // calltarget in DEF_CALL_SIGNATURE() 29 VariableType::JS_ANY(), // newTarget in DEF_CALL_SIGNATURE() 30 VariableType::JS_ANY(), // thisTarget in DEF_CALL_SIGNATURE() 31 VariableType::JS_ANY(), // a in DEF_CALL_SIGNATURE() 32 VariableType::JS_ANY(), // b in DEF_CALL_SIGNATURE() 42 ArgumentsOrder::DEFAULT_ORDER, VariableType::JS_ANY()); in DEF_CALL_SIGNATURE() 47 VariableType::JS_ANY(), // calltarget in DEF_CALL_SIGNATURE() 48 VariableType::JS_ANY(), // newTarget in DEF_CALL_SIGNATURE() 49 VariableType::JS_ANY(), // thisTarget in DEF_CALL_SIGNATURE() [all …]
|
D | call_signature.cpp | 41 ArgumentsOrder::DEFAULT_ORDER, VariableType::JS_ANY()); \ 46 VariableType::JS_ANY(), \ 47 VariableType::JS_ANY(), \ 151 CallSignature MulGC("MulGCTest", 0, 3, ArgumentsOrder::DEFAULT_ORDER, VariableType::JS_ANY()); in DEF_CALL_SIGNATURE() 169 ArgumentsOrder::DEFAULT_ORDER, VariableType::JS_ANY()); \ 174 VariableType::JS_ANY(), \ 212 VariableType::JS_ANY(), // ACC in DEF_CALL_SIGNATURE() 221 …etPropertyByName("SetPropertyByName", 0, 6, ArgumentsOrder::DEFAULT_ORDER, VariableType::JS_ANY()); in DEF_CALL_SIGNATURE() 226 VariableType::JS_ANY(), // receiver in DEF_CALL_SIGNATURE() 228 VariableType::JS_ANY(), // value in DEF_CALL_SIGNATURE() [all …]
|
D | new_object_stub_builder.cpp | 70 DEFVARIABLE(array, VariableType::JS_ANY(), Undefined()); in NewJSArrayWithSize() 94 DEFVARIABLE(initValue, VariableType::JS_ANY(), Undefined()); in NewJSObject() 132 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in NewJSObject() 174 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in NewTaggedArray() 228 GateRef argument = Load(VariableType::JS_ANY(), sp, PtrMul(IntPtr(sizeof(JSTaggedType)), idx)); in NewArgumentsList() 229 SetValueToTaggedArray(VariableType::JS_ANY(), glue_, result->ReadVariable(), *i, argument); in NewArgumentsList() 245 GateRef argumentsClass = GetGlobalEnvValue(VariableType::JS_ANY(), glueGlobalEnv, in NewArgumentsObj() 255 SetElementsArray(VariableType::JS_ANY(), glue_, result->ReadVariable(), argumentsList); in NewArgumentsObj() 256 GateRef arrayProtoValuesFunction = GetGlobalEnvValue(VariableType::JS_ANY(), glueGlobalEnv, in NewArgumentsObj() 260 GateRef accessorCaller = GetGlobalEnvValue(VariableType::JS_ANY(), glueGlobalEnv, in NewArgumentsObj() [all …]
|
D | interpreter_stub.cpp | 180 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER() 187 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER() 194 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER() 201 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER() 208 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER() 215 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER() 222 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER() 229 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER() 236 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER() 243 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER() [all …]
|
D | typed_array_stub_builder.h | 40 return Load(VariableType::JS_ANY(), array, offset); in GetViewedArrayBuffer() 58 return Load(VariableType::JS_ANY(), buffer, offset); in GetArrayBufferData() 70 return Load(VariableType::JS_ANY(), buffer, offset); in GetExternalPointer()
|
D | access_object_stub_builder.cpp | 33 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in LoadObjByName() 74 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in DeprecatedLoadObjByName() 104 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in StoreObjByName() 154 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in LoadObjByValue() 187 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in DeprecatedLoadObjByValue() 216 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in StoreObjByValue() 249 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in TryLoadGlobalByName() 264 result = Load(VariableType::JS_ANY(), record, IntPtr(PropertyBox::VALUE_OFFSET)); in TryLoadGlobalByName() 299 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in TryStoreGlobalByName() 361 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in LoadGlobalVar() [all …]
|
D | profiler_stub_builder.cpp | 62 GateRef method = Load(VariableType::JS_ANY(), func, IntPtr(JSFunctionBase::METHOD_OFFSET)); in ProfileOpType() 92 …SetValueToTaggedArray(VariableType::JS_ANY(), glue, profileTypeInfo, slotId, IntToTaggedInt(*curTy… in ProfileOpType() 97 … GateRef method = Load(VariableType::JS_ANY(), func, IntPtr(JSFunctionBase::METHOD_OFFSET)); in ProfileOpType() 115 GateRef method = Load(VariableType::JS_ANY(), func, IntPtr(JSFunctionBase::METHOD_OFFSET)); in ProfileDefineClass() 158 GateRef method = Load(VariableType::JS_ANY(), func, IntPtr(JSFunctionBase::METHOD_OFFSET)); in ProfileCreateObject() 179 GateRef method = Load(VariableType::JS_ANY(), func, IntPtr(JSFunctionBase::METHOD_OFFSET)); in ProfileObjLayout() 209 … GateRef method = Load(VariableType::JS_ANY(), func, IntPtr(JSFunctionBase::METHOD_OFFSET)); in ProfileCall()
|
D | operations_stub_builder.cpp | 29 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in Equal() 51 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in NotEqual() 91 DEFVARIABLE(result, VariableType::JS_ANY(), TaggedTrue()); in StrictEqual() 111 DEFVARIABLE(result, VariableType::JS_ANY(), TaggedTrue()); in StrictNotEqual() 136 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in Less() 241 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in LessEq() 345 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in Greater() 449 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in GreaterEq() 550 DEFVARIABLE(result, VariableType::JS_ANY(), FastAdd(left, right, callback)); in Add() 571 DEFVARIABLE(result, VariableType::JS_ANY(), FastSub(left, right, callback)); in Sub() [all …]
|
D | ic_stub_builder.cpp | 108 DEFVARIABLE(cachedHandler, VariableType::JS_ANY(), secondValue); in LoadICByName() 126 DEFVARIABLE(cachedHandler, VariableType::JS_ANY(), secondValue); in StoreICByName() 146 DEFVARIABLE(cachedHandler, VariableType::JS_ANY(), secondValue); in LoadICByValue() 171 DEFVARIABLE(cachedHandler, VariableType::JS_ANY(), secondValue); in StoreICByValue()
|
D | stub_builder.cpp | 141 GateRef keyInProperty = Load(VariableType::JS_ANY(), in FindElementWithCache() 454 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in JSObjectGetProperty() 570 DEFVARIABLE(result, VariableType::JS_ANY(), Exception()); in CallGetterHelper() 593 auto getter = Load(VariableType::JS_ANY(), accessor, in CallGetterHelper() 630 DEFVARIABLE(result, VariableType::JS_ANY(), Exception()); in CallSetterHelper() 642 auto setter = Load(VariableType::JS_ANY(), accessor, in CallSetterHelper() 752 GateRef gConstOffset = Load(VariableType::JS_ANY(), glue, in SetHasConstructorCondition() 755 GateRef gCtorStr = Load(VariableType::JS_ANY(), in SetHasConstructorCondition() 771 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in AddPropertyByName() 885 SetValueToTaggedArray(VariableType::JS_ANY(), glue, *array, outProps, value); in AddPropertyByName() [all …]
|
D | stub_builder-inl.h | 300 … GateRef method = Load(VariableType::JS_ANY(), function, IntPtr(JSFunctionBase::METHOD_OFFSET)); in SaveHotnessCounterIfNeeded() 943 return Load(VariableType::JS_ANY(), accessor, setterOffset); in GetSetterFromAccessor() 1252 return Load(VariableType::JS_ANY(), proxyObj, offset); in GetTarget() 1299 return Load(VariableType::JS_ANY(), object, holderOffset); in GetPrototypeHandlerHolder() 1305 return Load(VariableType::JS_ANY(), object, handlerInfoOffset); in GetPrototypeHandlerHandlerInfo() 1311 return Load(VariableType::JS_ANY(), object, holderOffset); in GetStoreTSHandlerHolder() 1317 return Load(VariableType::JS_ANY(), object, handlerInfoOffset); in GetStoreTSHandlerHandlerInfo() 1424 GateRef value = Load(VariableType::JS_ANY(), obj, valueOffset); in IsInvalidPropertyBox() 1431 return Load(VariableType::JS_ANY(), obj, valueOffset); in GetValueFromPropertyBox() 1437 Store(VariableType::JS_ANY(), glue, obj, valueOffset, value); in SetValueToPropertyBox() [all …]
|
D | type_mcr_lowering.cpp | 489 DEFVAlUE(result, (&builder_), VariableType::JS_ANY(), builder_.HoleConstant()); in LowerPrimitiveToNumber() 543 result = builder_.LoadConstOffset(VariableType::JS_ANY(), receiver, plr.GetOffset()); in LowerLoadProperty() 545 result = builder_.LoadConstOffset(VariableType::JS_ANY(), receiver, plr.GetOffset()); in LowerLoadProperty() 564 …GateRef getter = builder_.LoadConstOffset(VariableType::JS_ANY(), accessor, AccessorData::GETTER_O… in LowerCallGetter() 566 DEFVAlUE(result, (&builder_), VariableType::JS_ANY(), builder_.UndefineConstant()); in LowerCallGetter() 590 builder_.StoreConstOffset(VariableType::JS_ANY(), receiver, plr.GetOffset(), value); in LowerStoreProperty() 610 …GateRef setter = builder_.LoadConstOffset(VariableType::JS_ANY(), accessor, AccessorData::SETTER_O… in LowerCallSetter() 663 VariableType type = VariableType::JS_ANY(); in GetVariableType() 855 builder_.SetValueToTaggedArray(VariableType::JS_ANY(), glue, element, index, value); in LowerArrayStoreElement() 1141 DEFVAlUE(thisObj, (&builder_), VariableType::JS_ANY(), builder_.Undefined()); in LowerTypedNewAllocateThis() [all …]
|
D | typed_array_stub_builder.cpp | 62 DEFVARIABLE(result, VariableType::JS_ANY(), arrBuf); in GetDataPointFromBuffer() 86 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in FastGetPropertyByIndex() 158 SetValueToTaggedArray(VariableType::JS_ANY(), glue, array, *start, value); in FastCopyElementToArray() 182 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in GetValueFromBuffer()
|
D | variable_type.h | 89 static VariableType JS_ANY() in JS_ANY() function
|
D | slowpath_lowering.cpp | 98 GateRef env = builder_.Load(VariableType::JS_ANY(), jsFunc, envOffset, acc_.GetDependRoot()); in LowerGetEnv() 120 DEFVAlUE(res, (&builder_), VariableType::JS_ANY(), builder_.Undefined()); in LowerToJSCall() 788 …builder_.SetValueToTaggedArray(VariableType::JS_ANY(), glue_, taggedArray, builder_.Int32(idx), tm… in SaveFrameToContext() 801 builder_.Store(VariableType::JS_ANY(), glue_, context, thisOffset, thisObj); in SaveFrameToContext() 806 builder_.Store(VariableType::JS_ANY(), glue_, context, methodOffset, jsFunc); in SaveFrameToContext() 811 builder_.Store(VariableType::JS_ANY(), glue_, context, accOffset, curAccGate); in SaveFrameToContext() 815 builder_.Store(VariableType::JS_ANY(), glue_, context, generatorObjectOffset, genObj); in SaveFrameToContext() 819 builder_.Store(VariableType::JS_ANY(), glue_, context, lexicalEnvOffset, lexicalEnvGate); in SaveFrameToContext() 1145 …GateRef loadException = circuit_->NewGate(circuit_->Load(), VariableType::JS_ANY().GetMachineType(… in LowerExceptionHandler() 1146 { depend, val }, VariableType::JS_ANY().GetGateType()); in LowerExceptionHandler() [all …]
|
D | common_stubs.cpp | 269 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in GenerateCircuit() 284 DEFVARIABLE(argumentsList, VariableType::JS_ANY(), Hole()); in GenerateCircuit() 285 DEFVARIABLE(argumentsObj, VariableType::JS_ANY(), Hole()); in GenerateCircuit() 712 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in GenerateCircuit() 774 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in GenerateCircuit() 785 GateRef gConstPointer = Load(VariableType::JS_ANY(), glue, in GenerateCircuit() 791 GateRef key = Load(VariableType::JS_ANY(), keyOffset); in GenerateCircuit()
|
D | builtins_lowering.cpp | 61 DEFVAlUE(result, (&builder_), VariableType::JS_ANY(), builder_.HoleConstant()); in TypedTrigonometric() 154 DEFVAlUE(result, (&builder_), VariableType::JS_ANY(), builder_.HoleConstant()); in TypedAbs()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
D | builtins_stubs.h | 51 return Load(VariableType::JS_ANY(), info, in GetFunction() 58 return Load(VariableType::JS_ANY(), info, newTargetOffset); in GetNewTarget() 64 return Load(VariableType::JS_ANY(), info, thisOffset); in GetThis() 72 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in GetCallArg0() 92 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in GetCallArg1() 112 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in GetCallArg2() 137 … return Load(VariableType::JS_ANY(), argv, PtrMul(index, IntPtr(JSTaggedValue::TaggedTypeSize()))); in GetArgNCheck()
|
D | containers_stub_builder.cpp | 25 DEFVARIABLE(thisObj, VariableType::JS_ANY(), thisValue); in ContainersCommonFuncCall() 26 DEFVARIABLE(thisArg, VariableType::JS_ANY(), Undefined()); in ContainersCommonFuncCall() 28 DEFVARIABLE(kValue, VariableType::JS_ANY(), Undefined()); in ContainersCommonFuncCall() 142 DEFVARIABLE(thisObj, VariableType::JS_ANY(), thisValue); in QueueCommonFuncCall() 143 DEFVARIABLE(thisArg, VariableType::JS_ANY(), Undefined()); in QueueCommonFuncCall() 145 DEFVARIABLE(kValue, VariableType::JS_ANY(), Undefined()); in QueueCommonFuncCall() 248 DEFVARIABLE(thisObj, VariableType::JS_ANY(), thisValue); in DequeCommonFuncCall() 249 DEFVARIABLE(thisArg, VariableType::JS_ANY(), Undefined()); in DequeCommonFuncCall() 251 DEFVARIABLE(kValue, VariableType::JS_ANY(), Undefined()); in DequeCommonFuncCall() 357 DEFVARIABLE(thisObj, VariableType::JS_ANY(), thisValue); in ContainersLightWeightCall() [all …]
|
D | containers_arraylist_stub_builder.h | 32 GateRef len = Load(VariableType::JS_ANY(), obj, IntPtr(JSAPIArrayList::LENGTH_OFFSET)); in GetSize() 47 SetValueToTaggedArray(VariableType::JS_ANY(), glue, elements, index, value); in Set()
|
D | builtins_stubs.cpp | 68 DEFVARIABLE(arg, VariableType::JS_ANY(), Undefined()); in GetArg() 75 … arg = Load(VariableType::JS_ANY(), argv, PtrMul(index, IntPtr(JSTaggedValue::TaggedTypeSize()))); in GetArg() 97 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in CallSlowPath() 148 DEFVARIABLE(res, VariableType::JS_ANY(), DoubleToTaggedDoublePtr(Double(base::NAN_VALUE))); in DECLARE_BUILTINS() 220 DEFVARIABLE(res, VariableType::JS_ANY(), IntToTaggedPtr(Int32(-1))); in DECLARE_BUILTINS() 328 DEFVARIABLE(res, VariableType::JS_ANY(), IntToTaggedPtr(Int32(-1))); in DECLARE_BUILTINS() 862 DEFVARIABLE(res, VariableType::JS_ANY(), Undefined()); in DECLARE_BUILTINS() 958 DEFVARIABLE(res, VariableType::JS_ANY(), Undefined()); in DECLARE_BUILTINS() 971 GateRef intialHClass = Load(VariableType::JS_ANY(), newTarget, in DECLARE_BUILTINS() 1004 DEFVARIABLE(res, VariableType::JS_ANY(), Undefined()); in DECLARE_BUILTINS() [all …]
|
D | containers_vector_stub_builder.h | 45 SetValueToTaggedArray(VariableType::JS_ANY(), glue, elements, index, value); in Set()
|
D | containers_stack_stub_builder.h | 46 SetValueToTaggedArray(VariableType::JS_ANY(), glue, elements, index, value); in Set()
|
D | containers_plainarray_stub_builder.h | 52 SetValueToTaggedArray(VariableType::JS_ANY(), glue, elements, index, value); in Set()
|
D | builtins_string_stub_builder.cpp | 256 DEFVARIABLE(dstTmp, VariableType::JS_ANY(), dst); in CopyChars() 257 DEFVARIABLE(sourceTmp, VariableType::JS_ANY(), source); in CopyChars() 336 DEFVARIABLE(dstTmp, VariableType::JS_ANY(), dst); in CopyUtf16AsUtf8() 337 DEFVARIABLE(sourceTmp, VariableType::JS_ANY(), src); in CopyUtf16AsUtf8()
|