/arkcompiler/ets_runtime/test/moduletest/container/ |
H A D | container_treemap.js | 107 let cmmp = new fastmap((firstValue, secondValue) => {return firstValue > secondValue}); 122 let commap = new fastmap((firstValue, secondValue) => {return firstValue > secondValue}); 142 commap = new fastmap((firstValue, secondValue) => {return firstValue.id > secondValue.id}); 151 commap = new fastmap((firstValue, secondValue) => {return firstValue < secondValue});
|
H A D | container_treeset.js | 102 let cmmp = new fastset((firstValue, secondValue) => {return firstValue > secondValue}); 112 let comset = new fastset((firstValue, secondValue) => {return firstValue < secondValue}); 134 comset = new fastset((firstValue, secondValue) => {return firstValue.id < secondValue.id}); 143 comset = new fastset((firstValue, secondValue) => {return firstValue > secondValue});
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | ic_stub_builder.cpp | 36 GateRef firstValue = GetValueFromTaggedArray( in NamedICAccessor() local 38 BRANCH(TaggedIsHeapObject(firstValue), &isHeapObject, ¬HeapObject); in NamedICAccessor() 45 BRANCH(Equal(LoadObjectFromWeakRef(firstValue), hclass), in NamedICAccessor() 50 cachedHandler->WriteVariable(CheckPolyHClass(firstValue, hclass)); in NamedICAccessor() 56 BRANCH(TaggedIsUndefined(firstValue), slowPath_, tryFastPath_); in NamedICAccessor() 70 GateRef firstValue = GetValueFromTaggedArray(profileTypeInfo_, slotId_); in NamedICAccessor() local 74 BRANCH(TaggedIsHeapObject(firstValue), &isHeapObject, slowPath_) in NamedICAccessor() 84 BRANCH(Equal(LoadObjectFromWeakRef(firstValue), ctorProtoOrHC), tryICHandler, slowPath_); in NamedICAccessor() 105 GateRef firstValue = GetValueFromTaggedArray( in ValuedICAccessor() local 107 BRANCH(TaggedIsHeapObject(firstValue), in ValuedICAccessor() [all...] |
H A D | common_stubs.cpp | 690 GateRef firstValue = TaggedArgument(2); /* 2 : 3rd parameter is value */ in GenerateCircuit() local 702 BRANCH(Equal(LoadObjectFromWeakRef(firstValue), hclass), in GenerateCircuit() 711 GateRef cachedHandler = CheckPolyHClass(firstValue, hclass); in GenerateCircuit() 731 GateRef firstValue = TaggedArgument(3); /* 3 : 4th parameter is value */ in GenerateCircuit() local 744 BRANCH(Equal(LoadObjectFromWeakRef(firstValue), hclass), in GenerateCircuit() 751 BRANCH(Int64Equal(firstValue, key), &firstValueEqualKey, &receiverNotHeapObject); in GenerateCircuit() 770 GateRef firstValue = TaggedArgument(2); /* 2 : 3rd parameter is value */ in GenerateCircuit() local 782 BRANCH(Equal(LoadObjectFromWeakRef(firstValue), hclass), in GenerateCircuit() 791 GateRef cachedHandler = CheckPolyHClass(firstValue, hclass); in GenerateCircuit() 809 GateRef firstValue in GenerateCircuit() local [all...] |
H A D | interpreter_stub.cpp | 367 GateRef firstValue = GetValueFromTaggedArray(profileTypeInfo, slotId); \
368 BRANCH(TaggedIsHeapObject(firstValue), &firstValueHeapObject, &hclassNotHit); \
371 BRANCH(Equal(LoadObjectFromWeakRef(firstValue), hclass), &whichPath, &hclassNotHit); \
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | invoke_cache.cpp | 80 JSTaggedValue InvokeCache::Construct(JSThread *thread, JSTaggedValue firstValue, JSTaggedValue secondValue, in Construct() argument 84 if (UNLIKELY(!firstValue.IsHeapObject())) { in Construct() 94 if (LIKELY(firstValue.IsJSFunction() && in Construct() 95 newTgt->GetMethod() == JSFunction::Cast(firstValue.GetTaggedObject())->GetMethod())) { in Construct() 99 ASSERT(firstValue.IsTaggedArray()); in Construct() 100 JSTaggedValue polyCache = CheckPolyInvokeCache(firstValue, newTarget); in Construct()
|
H A D | ic_runtime_stub.h | 35 JSTaggedValue firstValue, JSTaggedValue secondValue); 37 JSTaggedValue firstValue, JSTaggedValue secondValue, 64 JSTaggedValue firstValue, JSTaggedValue secondValue); 68 JSTaggedValue firstValue, JSTaggedValue secondValue,
|
H A D | ic_runtime_stub-inl.h | 88 JSTaggedValue firstValue, JSTaggedValue secondValue) in TryLoadICByName() 93 if (LIKELY(firstValue.GetWeakReferentUnChecked() == hclass)) { in TryLoadICByName() 96 JSTaggedValue cachedHandler = CheckPolyHClass(firstValue, hclass); in TryLoadICByName() 103 if (firstValue.GetWeakReferentUnChecked() == hclass) { in TryLoadICByName() 118 JSTaggedValue firstValue, JSTaggedValue secondValue) in TryLoadICByValue() 123 if (firstValue.GetWeakReferentUnChecked() == hclass) { in TryLoadICByValue() 133 if (secondValue.IsHole() && !firstValue.IsHole()) { in TryLoadICByValue() 134 JSTaggedValue cachedHandler = CheckPolyHClass(firstValue, hclass); in TryLoadICByValue() 138 if (firstValue == key) { in TryLoadICByValue() 156 JSTaggedValue key, JSTaggedValue firstValue, in TryStoreICByValue() 87 TryLoadICByName(JSThread *thread, JSTaggedValue receiver, JSTaggedValue firstValue, JSTaggedValue secondValue) TryLoadICByName() argument 117 TryLoadICByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue firstValue, JSTaggedValue secondValue) TryLoadICByValue() argument 155 TryStoreICByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue firstValue, JSTaggedValue secondValue, JSTaggedValue value) TryStoreICByValue() argument 193 TryStoreICByName(JSThread *thread, JSTaggedValue receiver, JSTaggedValue firstValue, JSTaggedValue secondValue, JSTaggedValue value) TryStoreICByName() argument [all...] |
H A D | invoke_cache.h | 37 static JSTaggedValue Construct(JSThread *thread, JSTaggedValue firstValue, JSTaggedValue secondValue,
|
H A D | profile_type_info.h | 329 inline void SetMultiIcSlotLocked(JSThread* thread, uint32_t firstIdx, const JSTaggedValue& firstValue, 335 TaggedArray::Set(thread, firstIdx, firstValue);
|
/arkcompiler/ets_runtime/ecmascript/jit/ |
H A D | jit_profiler.cpp | 439 JSTaggedValue firstValue = profileTypeInfo_->Get(slotId); in ConvertICByName() local 440 if (!firstValue.IsHeapObject()) { in ConvertICByName() 441 if (firstValue.IsHole()) { in ConvertICByName() 447 if (firstValue.IsWeak()) { in ConvertICByName() 448 TaggedObject *object = firstValue.GetWeakReferentUnChecked(); in ConvertICByName() 456 ConvertICByNameWithPoly(abcId_, bcOffset, firstValue, type, slotId); in ConvertICByName() 649 JSTaggedValue firstValue = profileTypeInfo_->Get(slotId); in ConvertICByValue() local 650 if (!firstValue.IsHeapObject()) { in ConvertICByValue() 651 if (firstValue.IsHole()) { in ConvertICByValue() 657 if (firstValue in ConvertICByValue() 817 JSTaggedValue firstValue = profileTypeInfo_->Get(slotId); ConvertInstanceof() local [all...] |
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
H A D | interpreter-inl.cpp | 2234 JSTaggedValue firstValue = profileTypeArray->Get(slotId); in RunInternal() local 2237 if (LIKELY(firstValue.IsHeapObject())) { in RunInternal() 2239 instOfHandler = ICRuntimeStub::TryLoadICByName(thread, target, firstValue, secondValue); in RunInternal() 2243 } else if (!firstValue.IsHole()) { in RunInternal() 2553 JSTaggedValue firstValue = profileTypeArray->Get(slotId); in RunInternal() local 2559 if (LIKELY(firstValue.IsHeapObject())) { in RunInternal() 2561 res = ICRuntimeStub::TryStoreICByValue(thread, receiver, propKey, firstValue, secondValue, value); in RunInternal() 2564 if (res.IsHole() && !firstValue.IsHole()) { in RunInternal() 2616 JSTaggedValue firstValue = profileTypeArray->Get(slotId); in RunInternal() local 2622 if (LIKELY(firstValue in RunInternal() 2934 JSTaggedValue firstValue = profileTypeArray->Get(slotId); RunInternal() local 3008 JSTaggedValue firstValue = profileTypeArray->Get(slotId); RunInternal() local 5421 JSTaggedValue firstValue = profileTypeArray->Get(slotId); RunInternal() local 5476 JSTaggedValue firstValue = profileTypeArray->Get(slotId); RunInternal() local 5789 JSTaggedValue firstValue = profileTypeArray->Get(slotId); RunInternal() local 5846 JSTaggedValue firstValue = profileTypeArray->Get(slotId); RunInternal() local 6320 JSTaggedValue firstValue = profileTypeArray->Get(slotId); RunInternal() local 6382 JSTaggedValue firstValue = profileTypeArray->Get(slotId); RunInternal() local 6931 JSTaggedValue firstValue = profileTypeArray->Get(slotId); RunInternal() local 6984 JSTaggedValue firstValue = profileTypeArray->Get(slotId); RunInternal() local 7038 JSTaggedValue firstValue = profileTypeArray->Get(slotId); RunInternal() local 7100 JSTaggedValue firstValue = profileTypeArray->Get(slotId); RunInternal() local 7156 JSTaggedValue firstValue = profileTypeArray->Get(slotId); RunInternal() local 7214 JSTaggedValue firstValue = profileTypeArray->Get(slotId); RunInternal() local 7272 JSTaggedValue firstValue = profileTypeArray->Get(slotId); RunInternal() local 7344 JSTaggedValue firstValue = profileTypeArray->Get(slotId); RunInternal() local [all...] |
H A D | interpreter_assembly.cpp | 2265 JSTaggedValue firstValue = profileTypeArray->Get(slotId); 2271 if (LIKELY(firstValue.IsHeapObject())) { 2273 res = ICRuntimeStub::TryStoreICByValue(thread, receiver, propKey, firstValue, secondValue, value); 2276 if (res.IsHole() && !firstValue.IsHole()) { 2584 JSTaggedValue firstValue = profileTypeArray->Get(slotId); 2590 if (LIKELY(firstValue.IsHeapObject())) { 2592 res = ICRuntimeStub::TryStoreICByName(thread, receiver, firstValue, secondValue, value); 2598 } else if (!firstValue.IsHole()) { // IC miss and not enter the megamorphic state, store as polymorphic 3100 JSTaggedValue firstValue = profileTypeArray->Get(slotId); 3106 if (LIKELY(firstValue [all...] |
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
H A D | pgo_profiler.cpp | 970 JSTaggedValue firstValue = profileTypeInfo->Get(slotId); in DumpICByName() local 971 if (!firstValue.IsHeapObject()) { in DumpICByName() 972 if (firstValue.IsHole()) { in DumpICByName() 978 if (firstValue.IsWeak()) { in DumpICByName() 979 TaggedObject *object = firstValue.GetWeakReferentUnChecked(); in DumpICByName() 987 DumpICByNameWithPoly(abcId, recordName, methodId, bcOffset, firstValue, type); in DumpICByName() 993 JSTaggedValue firstValue = profileTypeInfo->Get(slotId); in DumpICByValue() local 994 if (!firstValue.IsHeapObject()) { in DumpICByValue() 995 if (firstValue.IsHole()) { in DumpICByValue() 1001 if (firstValue in DumpICByValue() 1505 JSTaggedValue firstValue = profileTypeInfo->Get(slotId); DumpInstanceof() local [all...] |
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_api_queue_test.cpp | 94 std::string firstValue = queueValue + std::to_string(0U); in HWTEST_F_L0() local 95 value.Update(factory->NewFromStdString(firstValue).GetTaggedValue()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | typed_array_helper.cpp | 1104 const JSHandle<JSTaggedValue> &buffer, const JSHandle<JSTaggedValue> &firstValue, in SortCompare() 1109 ASSERT((firstValue->IsNumber() && secondValue->IsNumber()) || (firstValue->IsBigInt() && secondValue->IsBigInt())); in SortCompare() 1122 info->SetCallArg(firstValue.GetTaggedValue(), secondValue.GetTaggedValue()); in SortCompare() 1142 if (firstValue->IsNumber()) { in SortCompare() 1144 if (NumberHelper::IsNaN(firstValue.GetTaggedValue())) { in SortCompare() 1155 ComparisonResult compareResult = JSTaggedValue::Compare(thread, firstValue, secondValue); in SortCompare() 1167 JSTaggedNumber xNumber = JSTaggedValue::ToNumber(thread, firstValue); in SortCompare() 1182 ComparisonResult compareResult = JSTaggedValue::Compare(thread, firstValue, secondValue); in SortCompare() 1103 SortCompare(JSThread *thread, const JSHandle<JSTaggedValue> &callbackfnHandle, const JSHandle<JSTaggedValue> &buffer, const JSHandle<JSTaggedValue> &firstValue, const JSHandle<JSTaggedValue> &secondValue) SortCompare() argument
|
H A D | typed_array_helper.h | 100 const JSHandle<JSTaggedValue> &buffer, const JSHandle<JSTaggedValue> &firstValue,
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | class_info_extractor.cpp | 140 JSMutableHandle<JSTaggedValue> firstValue(thread, JSTaggedValue::Undefined()); in ExtractAndReturnWhetherWithElements() 143 firstValue.Update(literal->Get(index)); in ExtractAndReturnWhetherWithElements() 145 ASSERT_PRINT(JSTaggedValue::IsPropertyKey(firstValue), "Key is not a property key"); in ExtractAndReturnWhetherWithElements() 147 if (LIKELY(firstValue->IsString())) { in ExtractAndReturnWhetherWithElements() 148 if (isStaticFlag && !keysHasNameFlag && JSTaggedValue::SameValue(firstValue, nameString)) { in ExtractAndReturnWhetherWithElements() 156 if (JSTaggedValue::StringToElementIndex(firstValue.GetTaggedValue(), &elementIndex)) { in ExtractAndReturnWhetherWithElements() 161 elements->Set(thread, elementsLength, firstValue); in ExtractAndReturnWhetherWithElements() 168 keys->Set(thread, pos, firstValue); in ExtractAndReturnWhetherWithElements()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_date.cpp | 898 uint32_t firstValue = code & CODE_FLAG; in SetDateValue() local 900 uint32_t count = endValue - firstValue; in SetDateValue() 905 if (std::isnan(timeMs) && firstValue == 0) { in SetDateValue() 921 date[firstValue + i] = NumberHelper::TruncateDouble(temp); in SetDateValue()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_shared_array.cpp | 1634 JSHandle<JSTaggedValue> firstValue = in Shift() local 1684 return firstValue.GetTaggedValue(); in Shift()
|
H A D | builtins_array.cpp | 2101 JSHandle<JSTaggedValue> firstValue = JSTaggedValue::GetProperty(thread, thisObjVal, firstKey).GetValue(); in Shift() local 2151 return firstValue.GetTaggedValue(); in Shift()
|
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/ |
H A D | baseline_stubs.cpp | 208 GateRef firstValue = GetValueFromTaggedArray(profileTypeInfo, slotId); \ 209 BRANCH(TaggedIsHeapObject(firstValue), &firstValueHeapObject, &hclassNotHit); \ 212 BRANCH(Equal(LoadObjectFromWeakRef(firstValue), hclass), &whichPath, &hclassNotHit); \
|