Home
last modified time | relevance | path

Searched refs:firstValue (Results 1 - 22 of 22) sorted by relevance

/arkcompiler/ets_runtime/test/moduletest/container/
H A Dcontainer_treemap.js107 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 Dcontainer_treeset.js102 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 Dic_stub_builder.cpp36 GateRef firstValue = GetValueFromTaggedArray( in NamedICAccessor() local
38 BRANCH(TaggedIsHeapObject(firstValue), &isHeapObject, &notHeapObject); 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 Dcommon_stubs.cpp690 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 Dinterpreter_stub.cpp367 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 Dinvoke_cache.cpp80 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 Dic_runtime_stub.h35 JSTaggedValue firstValue, JSTaggedValue secondValue);
37 JSTaggedValue firstValue, JSTaggedValue secondValue,
64 JSTaggedValue firstValue, JSTaggedValue secondValue);
68 JSTaggedValue firstValue, JSTaggedValue secondValue,
H A Dic_runtime_stub-inl.h88 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 Dinvoke_cache.h37 static JSTaggedValue Construct(JSThread *thread, JSTaggedValue firstValue, JSTaggedValue secondValue,
H A Dprofile_type_info.h329 inline void SetMultiIcSlotLocked(JSThread* thread, uint32_t firstIdx, const JSTaggedValue& firstValue,
335 TaggedArray::Set(thread, firstIdx, firstValue);
/arkcompiler/ets_runtime/ecmascript/jit/
H A Djit_profiler.cpp439 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 Dinterpreter-inl.cpp2234 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 Dinterpreter_assembly.cpp2265 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 Dpgo_profiler.cpp970 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 Djs_api_queue_test.cpp94 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 Dtyped_array_helper.cpp1104 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 Dtyped_array_helper.h100 const JSHandle<JSTaggedValue> &buffer, const JSHandle<JSTaggedValue> &firstValue,
/arkcompiler/ets_runtime/ecmascript/jspandafile/
H A Dclass_info_extractor.cpp140 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 Djs_date.cpp898 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 Dbuiltins_shared_array.cpp1634 JSHandle<JSTaggedValue> firstValue = in Shift() local
1684 return firstValue.GetTaggedValue(); in Shift()
H A Dbuiltins_array.cpp2101 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 Dbaseline_stubs.cpp208 GateRef firstValue = GetValueFromTaggedArray(profileTypeInfo, slotId); \
209 BRANCH(TaggedIsHeapObject(firstValue), &firstValueHeapObject, &hclassNotHit); \
212 BRANCH(Equal(LoadObjectFromWeakRef(firstValue), hclass), &whichPath, &hclassNotHit); \

Completed in 64 milliseconds