/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/ |
H A D | pgo_type_infer.cpp | 109 GateRef propKey = Circuit::NullGate(); in InferAccessObjByValue() local 116 propKey = acc_.GetValueIn(gate, 2); // 2: the third parameter in InferAccessObjByValue() 122 propKey = acc_.GetValueIn(gate, 1); in InferAccessObjByValue() 128 TrySetPropKeyKind(gate, propKey); in InferAccessObjByValue() 157 void PGOTypeInfer::TrySetPropKeyKind(GateRef gate, GateRef propKey) in TrySetPropKeyKind() argument 161 GateType oldType = acc_.GetGateType(propKey); in TrySetPropKeyKind() 163 acc_.SetGateType(propKey, GateType::NumberType()); in TrySetPropKeyKind()
|
H A D | pgo_type_infer.h | 76 void TrySetPropKeyKind(GateRef gate, GateRef propKey);
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | access_object_stub_builder.cpp | 42 GateRef propKey = ResolvePropKey(glue, prop, info); in LoadObjByName() local 43 result = GetPropertyByName(glue, receiver, propKey, callback, True()); in LoadObjByName() 53 GateRef propKey = ResolvePropKey(glue, prop, info); in LoadObjByName() local 55 CallRuntime(glue, RTSTUB_ID(LoadICByName), {profileTypeInfo, receiver, propKey, IntToTaggedInt(slotId)}); in LoadObjByName() 102 GateRef AccessObjectStubBuilder::DeprecatedLoadObjByName(GateRef glue, GateRef receiver, GateRef propKey) in DeprecatedLoadObjByName() argument 115 result = GetPropertyByName(glue, receiver, propKey, ProfileOperation(), True()); in DeprecatedLoadObjByName() 121 { Undefined(), receiver, propKey, IntToTaggedInt(Int32(0xFF)) }); // 0xFF: invalid slot id in DeprecatedLoadObjByName() 148 GateRef propKey = ResolvePropKey(glue, prop, info); in StoreObjByName() local 149 result = SetPropertyByName(glue, receiver, propKey, value, false, True(), callback); in StoreObjByName() 159 GateRef propKey in StoreObjByName() local 398 GateRef propKey = ResolvePropKey(glue, prop, info); TryLoadGlobalByName() local 417 GateRef propKey = ResolvePropKey(glue, prop, info); TryLoadGlobalByName() local 447 GateRef propKey = ResolvePropKey(glue, prop, info); TryStoreGlobalByName() local 478 GateRef propKey = ResolvePropKey(glue, prop, info); TryStoreGlobalByName() local 511 GateRef propKey = ResolvePropKey(glue, prop, info); LoadGlobalVar() local 518 GateRef propKey = ResolvePropKey(glue, prop, info); LoadGlobalVar() local 547 GateRef propKey = ResolvePropKey(glue, prop, info); StoreGlobalVar() local 554 GateRef propKey = ResolvePropKey(glue, prop, info); StoreGlobalVar() local [all...] |
H A D | typed_bytecode_lowering.cpp | 822 GateRef propKey = builder_.GetObjectByIndexFromConstPool( in LowerTypedStObjByName() local 825 { receiverHC, newHolderHC, propKey }, gate); in LowerTypedStObjByName() 1273 GateRef propKey = tacc.GetKey(); in LoadStringByIndex() local 1274 acc_.SetGateType(propKey, GateType::NumberType()); in LoadStringByIndex() 1280 propKey = builder_.IndexCheck(length, propKey); in LoadStringByIndex() 1283 return builder_.LoadElement<TypedLoadOp::STRING_LOAD_ELEMENT>(receiver, propKey); in LoadStringByIndex() 1289 GateRef propKey = tacc.GetKey(); in LoadJSArrayByIndex() local 1290 acc_.SetGateType(propKey, GateType::NumberType()); in LoadJSArrayByIndex() 1298 propKey in LoadJSArrayByIndex() 1322 GateRef propKey = tacc.GetKey(); LoadTypedArrayByIndex() local 1360 GateRef propKey = tacc.GetKey(); StoreJSArrayByIndex() local 1383 GateRef propKey = tacc.GetKey(); StoreTypedArrayByIndex() local [all...] |
H A D | ic_stub_builder.h | 41 GateRef value, GateRef slotId, GateRef propKey, ProfileOperation callback = ProfileOperation()) in SetParameters() 44 propKey_ = propKey; in SetParameters() 40 SetParameters(GateRef glue, GateRef receiver, GateRef profileTypeInfo, GateRef value, GateRef slotId, GateRef propKey, ProfileOperation callback = ProfileOperation()) SetParameters() argument
|
H A D | interpreter_stub.cpp | 350 GateRef propKey = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); \
392 GateRef entry = FindEntryFromNameDictionary(glue, array, propKey); \
399 GateRef entry = FindElementWithCache(glue, layOutInfo, hclass, propKey, propsNum); \
424 result = DefineField(glue, receiver, propKey, acc); \
1773 GateRef propKey = GetVregValue(sp, ZExtInt8ToPtr(v1));
in DECLARE_ASM_HANDLER() local 1778 GateRef result = builder.StoreObjByValue(glue, receiver, propKey, value, profileTypeInfo, slotId, callback);
in DECLARE_ASM_HANDLER() 1787 GateRef propKey = GetVregValue(sp, ZExtInt8ToPtr(v1));
in DECLARE_ASM_HANDLER() local 1792 GateRef result = builder.StoreObjByValue(glue, receiver, propKey, value, profileTypeInfo, slotId, callback);
in DECLARE_ASM_HANDLER() 1803 GateRef propKey = GetVregValue(sp, ZExtInt8ToPtr(v1));
in DECLARE_ASM_HANDLER() local 1816 GateRef result = SetPropertyByValue(glue, receiver, propKey, ac in DECLARE_ASM_HANDLER() 1836 GateRef propKey = GetVregValue(sp, ZExtInt8ToPtr(v1)); DECLARE_ASM_HANDLER() local 1867 GateRef propKey = GetVregValue(sp, ZExtInt8ToPtr(v1)); DECLARE_ASM_HANDLER() local 1878 GateRef propKey = GetVregValue(sp, ZExtInt8ToPtr(v1)); DECLARE_ASM_HANDLER() local 1889 GateRef propKey = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); DECLARE_ASM_HANDLER() local 1899 GateRef propKey = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); DECLARE_ASM_HANDLER() local 2149 GateRef propKey = GetVregValue(sp, ZExtInt8ToPtr(ReadInst8_3(pc))); DECLARE_ASM_HANDLER() local 2192 GateRef propKey = GetVregValue(sp, ZExtInt8ToPtr(ReadInst8_2(pc))); DECLARE_ASM_HANDLER() local 2235 GateRef propKey = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); DECLARE_ASM_HANDLER() local 2273 GateRef propKey = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); DECLARE_ASM_HANDLER() local 2312 GateRef propKey = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); DECLARE_ASM_HANDLER() local 2354 GateRef propKey = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); DECLARE_ASM_HANDLER() local 3625 GateRef propKey = acc; DECLARE_ASM_HANDLER() local 3633 GateRef propKey = acc; DECLARE_ASM_HANDLER() local 3643 GateRef propKey = GetVregValue(sp, ZExtInt8ToPtr(v1)); DECLARE_ASM_HANDLER() local 3664 GateRef propKey = acc; DECLARE_ASM_HANDLER() local 3678 GateRef propKey = acc; DECLARE_ASM_HANDLER() local 3693 GateRef propKey = GetVregValue(sp, ZExtInt8ToPtr(v1)); DECLARE_ASM_HANDLER() local 3706 GateRef propKey = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); DECLARE_ASM_HANDLER() local 3717 GateRef propKey = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); DECLARE_ASM_HANDLER() local 3729 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); DECLARE_ASM_HANDLER() local 3840 GateRef propKey = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); DECLARE_ASM_HANDLER() local 3851 GateRef propKey = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); DECLARE_ASM_HANDLER() local 3862 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); DECLARE_ASM_HANDLER() local 3873 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); DECLARE_ASM_HANDLER() local 3884 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); DECLARE_ASM_HANDLER() local 4223 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); DECLARE_ASM_HANDLER() local 5097 GateRef propKey = GetVregValue(sp, ZExtInt8ToPtr(v0)); DECLARE_ASM_HANDLER() local 5109 GateRef propKey = GetVregValue(sp, ZExtInt8ToPtr(v0)); DECLARE_ASM_HANDLER() local 5122 GateRef propKey = acc; DECLARE_ASM_HANDLER() local 5134 GateRef propKey = acc; DECLARE_ASM_HANDLER() local 5577 GateRef propKey = GetVregValue(sp, ZExtInt8ToPtr(v0)); DECLARE_ASM_HANDLER() local 5587 GateRef propKey = IntToTaggedInt(index); DECLARE_ASM_HANDLER() local [all...] |
H A D | access_object_stub_builder.h | 38 GateRef DeprecatedLoadObjByName(GateRef glue, GateRef receiver, GateRef propKey);
|
H A D | slowpath_lowering.cpp | 2232 GateRef propKey = acc_.GetValueIn(gate, 1); in LowerStOwnByValue() local 2238 { glue_, receiver, propKey, accValue }); in LowerStOwnByValue() 2265 GateRef propKey = builder_.GetObjectFromConstPool(glue_, gate, sharedConstPool, Circuit::NullGate(), module, in LowerStOwnByName() local 2273 { glue_, receiver, propKey, accValue }); in LowerStOwnByName() 2327 GateRef propKey = acc_.GetValueIn(gate, 1); in LowerLdSuperByValue() local 2328 GateRef newGate = LowerCallRuntime(gate, id, { receiver, propKey, jsFunc }); in LowerLdSuperByValue() 2339 GateRef propKey = acc_.GetValueIn(gate, 1); in LowerStSuperByValue() local 2341 GateRef newGate = LowerCallRuntime(gate, id, { receiver, propKey, value, jsFunc}); in LowerStSuperByValue() 2360 GateRef propKey = builder_.GetObjectFromConstPool(glue_, gate, sharedConstPool, Circuit::NullGate(), module, in LowerStConstToGlobalRecord() local 2362 acc_.SetDep(gate, propKey); in LowerStConstToGlobalRecord() 2377 GateRef propKey = acc_.GetValueIn(gate, 1); LowerStOwnByValueWithNameSet() local 2397 GateRef propKey = builder_.GetObjectFromConstPool(glue_, gate, sharedConstPool, Circuit::NullGate(), module, LowerStOwnByNameWithNameSet() local 2490 GateRef propKey; LowerLdObjByValue() local 2506 GateRef propKey; LowerStObjByValue() local 3713 GateRef propKey = builder_.GetObjectFromConstPool(glue_, gate, sharedConstPool, Circuit::NullGate(), module, LowerDefineFieldByName() local 3727 GateRef propKey = acc_.GetValueIn(gate, 0); LowerDefineFieldByValue() local 3740 GateRef propKey = builder_.ToTaggedInt(acc_.GetValueIn(gate, 0)); LowerDefineFieldByIndex() local [all...] |
H A D | typed_native_inline_lowering.cpp | 3214 DEFVALUE(propKey, (&builder_), VariableType::JS_ANY(), builder_.ToTaggedIntPtr(builder_.SExtInt32ToInt64(*i))); in LowerArrayForEach() 3229 *propKey, in LowerArrayForEach() 3237 propKey = builder_.ToTaggedIntPtr(builder_.SExtInt32ToInt64(*i)); in LowerArrayForEach() 3344 DEFVALUE(propKey, (&builder_), VariableType::JS_ANY(), builder_.ToTaggedIntPtr(*i)); in LowerArrayFilter() 3371 *propKey, in LowerArrayFilter() 3395 propKey = builder_.ToTaggedIntPtr(*i); in LowerArrayFilter() 3443 DEFVALUE(propKey, (&builder_), VariableType::JS_ANY(), builder_.ToTaggedIntPtr(*i)); in LowerArrayMap() 3469 *propKey, in LowerArrayMap() 3486 propKey = builder_.ToTaggedIntPtr(*i); in LowerArrayMap() 3524 DEFVALUE(propKey, ( in LowerArraySome() [all...] |
H A D | common_stubs.cpp | 62 GateRef propKey = TaggedArgument(2); // 2: 3rd argument in GenerateCircuit() local 64 Return(DefineField(glue, receiver, propKey, acc)); in GenerateCircuit()
|
H A D | stub_builder.cpp | 587 GateRef StubBuilder::CreateDataProperty(GateRef glue, GateRef obj, GateRef propKey, GateRef value) in CreateDataProperty() argument 602 auto flag = DefinePropertyByValue(glue, obj, propKey, value, SCheckModelIsCHECK, ProfileOperation()); in CreateDataProperty() 614 GateRef temp = CallRuntime(glue, RTSTUB_ID(DefineOwnProperty), {obj, propKey, value}); in CreateDataProperty() 679 GateRef StubBuilder::DefineField(GateRef glue, GateRef obj, GateRef propKey, GateRef value) in DefineField() argument 695 key = CallRuntime(glue, RTSTUB_ID(ToPropertyKey), {propKey}); in DefineField()
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
H A D | interpreter-inl.cpp | 2354 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); in RunInternal() local 2361 (thread, receiver, propKey, value); in RunInternal() 2372 auto propKey = GET_STR_FROM_CACHE(stringId); // Maybe moved by GC in RunInternal() local 2376 JSTaggedValue res = SlowRuntimeStub::StOwnByName(thread, receiver, propKey, value); in RunInternal() 2391 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); in RunInternal() local 2398 (thread, receiver, propKey, value); in RunInternal() 2409 auto propKey = GET_STR_FROM_CACHE(stringId); // Maybe moved by GC in RunInternal() local 2413 JSTaggedValue res = SlowRuntimeStub::StOwnByName(thread, receiver, propKey, value); in RunInternal() 2487 JSTaggedValue propKey = GET_VREG_VALUE(v1); in RunInternal() local 2491 (thread, receiver, propKey, valu in RunInternal() 2507 auto propKey = GET_VREG_VALUE(v1); // Maybe moved by GC RunInternal() local 2554 JSTaggedValue propKey = GET_VREG_VALUE(v1); RunInternal() local 2579 JSTaggedValue propKey = GET_VREG_VALUE(v1); RunInternal() local 2595 JSTaggedValue propKey = GET_VREG_VALUE(v1); // Maybe moved by GC RunInternal() local 2617 JSTaggedValue propKey = GET_VREG_VALUE(v1); RunInternal() local 2642 JSTaggedValue propKey = GET_VREG_VALUE(v1); RunInternal() local 2658 JSTaggedValue propKey = GET_VREG_VALUE(v1); // Maybe moved by GC RunInternal() local 2673 JSTaggedValue propKey = GET_VREG_VALUE(v1); RunInternal() local 2771 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 2827 JSTaggedValue propKey = GET_VREG_VALUE(v1); RunInternal() local 2849 auto propKey = GET_VREG_VALUE(v1); // Maybe moved by GC RunInternal() local 2866 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 2885 auto propKey = GET_STR_FROM_CACHE(stringId); // Maybe moved by GC RunInternal() local 2899 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 2952 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 2974 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 2991 auto propKey = GET_STR_FROM_CACHE(stringId); // Maybe moved by GC RunInternal() local 3025 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 3046 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 3063 auto propKey = GET_STR_FROM_CACHE(stringId); // Maybe moved by GC RunInternal() local 3078 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 5414 JSTaggedValue propKey = GET_ACC(); RunInternal() local 5469 JSTaggedValue propKey = GET_ACC(); RunInternal() local 5525 JSTaggedValue propKey = GET_VREG_VALUE(v1); RunInternal() local 5554 JSTaggedValue propKey = GET_ACC(); RunInternal() local 5570 JSTaggedValue propKey = GET_ACC(); RunInternal() local 5587 JSTaggedValue propKey = GET_VREG_VALUE(v1); RunInternal() local 6223 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 6239 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 6255 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 6271 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 6287 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 6336 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 6353 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 6398 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 6415 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 6444 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 6472 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 6491 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 6510 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 6601 JSTaggedValue propKey = GET_VREG_VALUE(v1); RunInternal() local 6621 auto propKey = GET_VREG_VALUE(v1); // Maybe moved by GC RunInternal() local 6636 JSTaggedValue propKey = GET_VREG_VALUE(v1); RunInternal() local 6652 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 6705 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 6732 JSTaggedValue propKey = GET_VREG_VALUE(v1); RunInternal() local 6754 auto propKey = GET_VREG_VALUE(v1); // Maybe moved by GC RunInternal() local 6771 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 6790 auto propKey = GET_STR_FROM_CACHE(stringId); // Maybe moved by GC RunInternal() local 6924 JSTaggedValue propKey = GET_ACC(); RunInternal() local 6977 JSTaggedValue propKey = GET_ACC(); RunInternal() local 7039 JSTaggedValue propKey = GET_VREG_VALUE(v0); RunInternal() local 7064 JSTaggedValue propKey = GET_VREG_VALUE(v0); RunInternal() local 7080 JSTaggedValue propKey = GET_VREG_VALUE(v0); // Maybe moved by GC RunInternal() local 7101 JSTaggedValue propKey = GET_VREG_VALUE(v0); RunInternal() local 7126 JSTaggedValue propKey = GET_VREG_VALUE(v0); RunInternal() local 7142 JSTaggedValue propKey = GET_VREG_VALUE(v0); // Maybe moved by GC RunInternal() local 7171 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 7186 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 7229 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 7244 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 7290 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 7312 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 7329 auto propKey = GET_STR_FROM_CACHE(stringId); // Maybe moved by GC RunInternal() local 7362 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 7384 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 7401 auto propKey = GET_STR_FROM_CACHE(stringId); // Maybe moved by GC RunInternal() local 7465 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 7485 JSTaggedValue propKey = GET_STR_FROM_CACHE(stringId); RunInternal() local 7504 JSTaggedValue propKey = GET_VREG_VALUE(v0); RunInternal() local 7522 JSTaggedValue propKey = JSTaggedValue(index); RunInternal() local [all...] |
H A D | interpreter_assembly.cpp | 1939 JSTaggedValue propKey = ConstantPool::GetStringFromCache(thread, constpool, stringId); 1946 (thread, receiver, propKey, value); 1957 auto propKey = ConstantPool::GetStringFromCache(thread, constpool, stringId); // Maybe moved by GC 1961 JSTaggedValue res = SlowRuntimeStub::StOwnByName(thread, receiver, propKey, value); 2120 JSTaggedValue propKey = GET_VREG_VALUE(v1); 2124 (thread, receiver, propKey, value); 2128 propKey = GET_VREG_VALUE(v1); 2140 auto propKey = GET_VREG_VALUE(v1); // Maybe moved by GC 2143 JSTaggedValue res = SlowRuntimeStub::StOwnByValue(thread, receiver, propKey, value); 2266 JSTaggedValue propKey [all...] |
H A D | slow_runtime_stub.h | 197 static JSTaggedValue DefineField(JSThread *thread, JSTaggedValue obj, JSTaggedValue propKey, JSTaggedValue value);
|
H A D | slow_runtime_stub.cpp | 1248 JSTaggedValue propKey, JSTaggedValue value) in DefineField() 1251 return RuntimeStubs::RuntimeDefineField(thread, obj, propKey, value); in DefineField() 1247 DefineField(JSThread *thread, JSTaggedValue obj, JSTaggedValue propKey, JSTaggedValue value) DefineField() argument
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | ic_runtime.cpp | 181 JSHandle<JSTaggedValue> propKey = JSTaggedValue::ToPropertyKey(thread_, key); in LoadValueMiss() local 183 return JSTaggedValue::GetProperty(thread_, receiver, propKey).GetValue().GetTaggedValue(); in LoadValueMiss() 286 JSHandle<JSTaggedValue> propKey = JSTaggedValue::ToPropertyKey(thread_, key); in LoadOrdinaryGet() local 288 return JSTaggedValue::GetProperty(thread_, receiver, propKey).GetValue().GetTaggedValue(); in LoadOrdinaryGet() 304 JSHandle<JSTaggedValue> propKey = JSTaggedValue::ToPropertyKey(GetThread(), key); in LoadTypedArrayValueMiss() local 306 JSTaggedValue numericIndex = JSTaggedValue::CanonicalNumericIndexString(GetThread(), propKey); in LoadTypedArrayValueMiss() 311 return JSTaggedValue::GetProperty(GetThread(), receiver, propKey).GetValue().GetTaggedValue(); in LoadTypedArrayValueMiss() 447 JSHandle<JSTaggedValue> propKey = JSTaggedValue::ToPropertyKey(GetThread(), key); in StoreTypedArrayValueMiss() local 449 JSTaggedValue numericIndex = JSTaggedValue::CanonicalNumericIndexString(GetThread(), propKey); in StoreTypedArrayValueMiss() 455 bool success = JSTaggedValue::SetProperty(GetThread(), receiver, propKey, valu in StoreTypedArrayValueMiss() [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/ |
H A D | baseline_stubs.cpp | 233 GateRef entry = FindEntryFromNameDictionary(glue, array, propKey); \ 240 GateRef entry = FindElementWithCache(glue, layOutInfo, hclass, propKey, propsNum); \ 265 result = DefineField(glue, receiver, propKey, acc); \ 350 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); in GenerateCircuit() local 352 { propKey, acc, TaggedFalse() }); in GenerateCircuit() 1977 GateRef propKey = TaggedArgument(PARAM_INDEX(BaselineStthisbyvalueImm8V8, PROP_KEY)); in GenerateCircuit() local 1983 GateRef result = builder.StoreObjByValue(glue, receiver, propKey, acc, profileTypeInfo, slotId, callback); in GenerateCircuit() 1992 GateRef propKey = TaggedArgument(PARAM_INDEX(BaselineStthisbyvalueImm16V8, PROP_KEY)); in GenerateCircuit() local 1998 GateRef result = builder.StoreObjByValue(glue, receiver, propKey, acc, profileTypeInfo, slotId, callback); in GenerateCircuit() 2298 GateRef propKey in GenerateCircuit() local 2313 GateRef propKey = TaggedArgument(PARAM_INDEX(BaselineStobjbyvalueImm16V8V8, PROP_KEY)); GenerateCircuit() local 2332 GateRef propKey = GetVregValue(sp, ZExtInt32ToPtr(propKeyId)); GenerateCircuit() local 2366 GateRef propKey = TaggedArgument(PARAM_INDEX(BaselineStownbyvalueImm16V8V8, PROP_KEY)); GenerateCircuit() local 2424 GateRef propKey = TaggedArgument(PARAM_INDEX(BaselineStsuperbyvalueImm8V8V8, PROP_KEY)); GenerateCircuit() local 2438 GateRef propKey = TaggedArgument(PARAM_INDEX(BaselineStsuperbyvalueImm16V8V8, PROP_KEY)); GenerateCircuit() local 2927 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); GenerateCircuit() local 2973 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); GenerateCircuit() local 3017 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); GenerateCircuit() local 3033 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); GenerateCircuit() local 3050 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); GenerateCircuit() local 3067 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); GenerateCircuit() local 3091 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); GenerateCircuit() local 3106 GateRef propKey = GetVregValue(sp, ZExtInt32ToPtr(propKeyId)); GenerateCircuit() local 3152 GateRef propKey = TaggedArgument(PARAM_INDEX(BaselineStownbyvaluewithnamesetImm16V8V8, PROP_KEY)); GenerateCircuit() local 3209 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); GenerateCircuit() local 3260 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); GenerateCircuit() local 5037 GateRef propKey = GetVregValue(sp, ZExtInt8ToPtr(v1)); GenerateCircuit() local 5054 GateRef propKey = GetVregValue(sp, ZExtInt8ToPtr(v1)); GenerateCircuit() local 5255 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); GenerateCircuit() local 5273 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); GenerateCircuit() local 5305 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); GenerateCircuit() local 5322 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); GenerateCircuit() local 5339 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); GenerateCircuit() local 5411 GateRef propKey = GetStringFromConstPool(glue, constpool, stringId); GenerateCircuit() local 5434 GateRef propKey = GetStringFromConstPool(glue, constpool, ZExtInt16ToInt32(stringId)); GenerateCircuit() local 5448 GateRef propKey = GetVregValue(sp, ZExtInt8ToPtr(v0)); GenerateCircuit() local 5462 GateRef propKey = IntToTaggedInt(index); GenerateCircuit() local [all...] |
H A D | baseline_compiler.cpp | 981 uint8_t propKey = READ_INST_8_1(); in BYTECODE_BASELINE_HANDLER_IMPLEMENT() local 993 parameters.emplace_back(VirtualRegister(propKey)); in BYTECODE_BASELINE_HANDLER_IMPLEMENT() 1018 uint8_t propKey = READ_INST_8_1(); in BYTECODE_BASELINE_HANDLER_IMPLEMENT() local 1030 parameters.emplace_back(VirtualRegister(propKey)); in BYTECODE_BASELINE_HANDLER_IMPLEMENT() 1055 int8_t propKey = READ_INST_8_2(); in BYTECODE_BASELINE_HANDLER_IMPLEMENT() local 1066 parameters.emplace_back(VirtualRegister(propKey)); in BYTECODE_BASELINE_HANDLER_IMPLEMENT() 1091 int8_t propKey = READ_INST_8_3(); in BYTECODE_BASELINE_HANDLER_IMPLEMENT() local 1102 parameters.emplace_back(VirtualRegister(propKey)); in BYTECODE_BASELINE_HANDLER_IMPLEMENT() 1862 uint8_t propKey = READ_INST_8_3(); in BYTECODE_BASELINE_HANDLER_IMPLEMENT() local 1873 parameters.emplace_back(VirtualRegister(propKey)); in BYTECODE_BASELINE_HANDLER_IMPLEMENT() 1882 uint16_t propKey = READ_INST_16_2(); BYTECODE_BASELINE_HANDLER_IMPLEMENT() local 1904 uint16_t propKey = READ_INST_16_3(); BYTECODE_BASELINE_HANDLER_IMPLEMENT() local 1988 uint8_t propKey = READ_INST_8_3(); BYTECODE_BASELINE_HANDLER_IMPLEMENT() local [all...] |
/arkcompiler/ets_runtime/ecmascript/stubs/ |
H A D | runtime_stubs-inl.h | 125 JSHandle<JSTaggedValue> propKey = JSTaggedValue::ToPropertyKey(thread, prop); in RuntimeIsIn() local 127 bool ret = JSTaggedValue::HasProperty(thread, obj, propKey); in RuntimeIsIn() 327 JSHandle<JSTaggedValue> propKey = JSTaggedValue::ToPropertyKey(thread, prop); in RuntimeDelObjProp() local 329 bool ret = JSTaggedValue::DeletePropertyOrThrow(thread, jsObj, propKey); in RuntimeDelObjProp() 626 JSHandle<JSTaggedValue> propKey = JSTaggedValue::ToPropertyKey(thread, prop); in RuntimeLdObjByValue() local 628 res = JSTaggedValue::GetProperty(thread, object, propKey).GetValue().GetTaggedValue(); in RuntimeLdObjByValue() 645 JSHandle<JSTaggedValue> propKey(JSTaggedValue::ToPropertyKey(thread, prop)); in RuntimeStObjByValue() 648 JSTaggedValue::SetProperty(thread, object, propKey, value, true); in RuntimeStObjByValue() 668 JSHandle<JSTaggedValue> propKey = JSTaggedValue::ToPropertyKey(thread, key); in RuntimeStOwnByValue() local 670 bool ret = JSTaggedValue::DefineOwnProperty(thread, obj, propKey, des in RuntimeStOwnByValue() 1225 JSHandle<JSTaggedValue> propKey = JSTaggedValue::ToPropertyKey(thread, key); RuntimeStOwnByValueWithNameSet() local 1266 JSHandle<JSTaggedValue> propKey = JSTaggedValue::ToPropertyKey(thread, propHandle); RuntimeStOwnByNameWithNameSet() local [all...] |
H A D | runtime_stubs.cpp | 1239 JSHandle<JSTaggedValue> propKey = JSTaggedValue::ToPropertyKey(thread, key); in DEF_RUNTIME_STUBS() local 1242 return icRuntime.LoadValueMiss(receiver, propKey).GetRawData(); in DEF_RUNTIME_STUBS() 1257 JSHandle<JSTaggedValue> propKey = JSTaggedValue::ToPropertyKey(thread, key); in DEF_RUNTIME_STUBS() local 1261 return icRuntime.StoreMiss(receiver, propKey, value).GetRawData(); in DEF_RUNTIME_STUBS() 1275 JSHandle<JSTaggedValue> propKey = JSTaggedValue::ToPropertyKey(thread, key); in DEF_RUNTIME_STUBS() local 1279 return icRuntime.StoreMiss(receiver, propKey, value, true).GetRawData(); in DEF_RUNTIME_STUBS() 2977 JSTaggedValue propKey = GetArg(argv, argc, 1); // 1: means the first parameter in DEF_RUNTIME_STUBS() local 2979 return RuntimeDefineField(thread, obj, propKey, value).GetRawData(); in DEF_RUNTIME_STUBS() 3125 JSTaggedValue propKey = JSTaggedValue(key); in FindElementWithCache() local 3128 int index = cache->Get(cls, propKey); in FindElementWithCache() [all...] |
H A D | runtime_stubs.h | 497 JSTaggedValue propKey, JSTaggedValue value);
|
/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
H A D | ic_runtime_stub_test.cpp | 73 JSHandle<JSTaggedValue> propKey(factory->NewFromASCII("x")); in HWTEST_F_L0() 87 SlowRuntimeStub::StGlobalRecord(thread, propKey.GetTaggedValue(), handleValue.GetTaggedValue(), false); in HWTEST_F_L0() 90 globalValue.GetTaggedValue(), propKey.GetTaggedValue(), 1, true); in HWTEST_F_L0() 102 JSHandle<JSTaggedValue> propKey(factory->NewFromASCII("x")); in HWTEST_F_L0() 119 SlowRuntimeStub::StGlobalRecord(thread, propKey.GetTaggedValue(), handleBoxValue.GetTaggedValue(), false); in HWTEST_F_L0() 122 propKey.GetTaggedValue(), handleValue, 1, true); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | class_info_extractor.cpp | 609 JSMutableHandle<JSTaggedValue> propKey(thread, JSTaggedValue::Undefined()); in BuildDictionaryProperties() 636 propKey.Update(keys->Get(index)); in BuildDictionaryProperties() 642 JSHandle<NameDictionary> newDict = NameDictionary::PutIfAbsent(thread, dict, propKey, propValue, attributes); in BuildDictionaryProperties() 888 JSMutableHandle<JSTaggedValue> propKey(thread, JSTaggedValue::Undefined()); in BuildSendableDictionaryProperties() 895 propKey.Update(keys->Get(index)); in BuildSendableDictionaryProperties() 900 NameDictionary::PutIfAbsent(thread, dict, propKey, propValue, attributes); in BuildSendableDictionaryProperties() 910 JSHandle<NameDictionary> newDict = NameDictionary::PutIfAbsent(thread, dict, propKey, propValue, attributes); in BuildSendableDictionaryProperties()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | json_parser.cpp | 391 JSMutableHandle<JSTaggedValue> propKey(thread_, JSTaggedValue::Undefined()); in CreateSJsonObject() 396 propKey.Update(propertyList[start + i]); in CreateSJsonObject() 398 JSHandle<NameDictionary> newDict = NameDictionary::PutIfAbsent(thread_, dict, propKey, in CreateSJsonObject() 474 JSMutableHandle<JSTaggedValue> propKey(thread_, JSTaggedValue::Undefined()); in CreateSJsonMap() 479 propKey.Update(propertyList[start + i]); in CreateSJsonMap() 481 JSHandle<NameDictionary> newDict = NameDictionary::PutIfAbsent(thread_, dict, propKey, in CreateSJsonMap()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_object.cpp | 334 JSMutableHandle<JSTaggedValue> propKey(thread, JSTaggedValue::Undefined()); in SetSProperties() 351 propKey.Update(descs[i].GetKey()); in SetSProperties() 356 ecmascript::NameDictionary::PutIfAbsent(thread, dict, propKey, propValue, attr); in SetSProperties()
|