/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/ |
H A D | constantfold.cpp | 1040 int64 fromValue = constValue.GetExtValue(); in FoldRoundMIRConst() local 1041 float floatValue = round(static_cast<float>(fromValue)); in FoldRoundMIRConst() 1042 if (static_cast<int64>(floatValue) == fromValue) { in FoldRoundMIRConst() 1046 uint64 fromValue = static_cast<uint64>(constValue.GetExtValue()); in FoldRoundMIRConst() local 1047 float floatValue = round(static_cast<float>(fromValue)); in FoldRoundMIRConst() 1048 if (static_cast<uint64>(floatValue) == fromValue) { in FoldRoundMIRConst() 1055 int64 fromValue = constValue.GetExtValue(); in FoldRoundMIRConst() local 1056 double doubleValue = round(static_cast<double>(fromValue)); in FoldRoundMIRConst() 1057 if (static_cast<int64>(doubleValue) == fromValue) { in FoldRoundMIRConst() 1061 uint64 fromValue in FoldRoundMIRConst() local 1147 const MIRDoubleConst *fromValue = safe_cast<MIRDoubleConst>(cst); FoldTypeCvtMIRConst() local 1154 const MIRFloatConst *fromValue = safe_cast<MIRFloatConst>(cst); FoldTypeCvtMIRConst() local [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_array.cpp | 2126 JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in Shift() local 2128 JSArray::FastSetPropertyByValue(thread, thisObjVal, k - 1, fromValue); in Shift() 2465 // i. Let fromValue be Get(O, from). in Splice() 2466 // iii. Let status be CreateDataPropertyOrThrow(A, ToString(k), fromValue). in Splice() 2477 JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in Splice() local 2484 JSObject::CreateDataPropertyOrThrow(thread, newArrayHandle, toKey, fromValue); in Splice() 2503 // 1. Let fromValue be Get(O, from). in Splice() 2504 // 3. Let setStatus be Set(O, to, fromValue, true). in Splice() 2520 JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in Splice() local 2522 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValue); in Splice() 2562 JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); Splice() local 2780 JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); Unshift() local 3102 JSHandle<JSTaggedValue> fromValue; With() local 3286 JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, from); ToSpliced() local 3488 JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); ToReversed() local [all...] |
H A D | builtins_shared_array.cpp | 1660 JSHandle<JSTaggedValue> fromValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k); in Shift() local 1662 JSSharedArray::FastSetPropertyByValue(thread, thisObjVal, k - 1, fromValue); in Shift() 1934 // i. Let fromValue be Get(O, from). in Splice() 1935 // iii. Let status be CreateDataPropertyOrThrow(A, ToString(k), fromValue). in Splice() 1946 JSHandle<JSTaggedValue> fromValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in Splice() local 1953 JSObject::CreateDataPropertyOrThrow(thread, newArrayHandle, toKey, fromValue); in Splice() 1970 // 1. Let fromValue be Get(O, from). in Splice() 1971 // 3. Let setStatus be Set(O, to, fromValue, true). in Splice() 1987 JSHandle<JSTaggedValue> fromValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in Splice() local 1989 JSSharedArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValue); in Splice() 2029 JSHandle<JSTaggedValue> fromValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); Splice() local 2169 JSHandle<JSTaggedValue> fromValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); Unshift() local [all...] |
H A D | builtins_typedarray.cpp | 2015 // b. If k is actualIndex, let fromValue be numericValue. in With() 2016 // c. Else, let fromValue be ! Get(O, Pk). in With() 2017 // d. Perform ! Set(A, Pk, fromValue, true). in With() 2020 JSMutableHandle<JSTaggedValue> fromValue(thread, JSTaggedValue::Undefined()); in With() 2025 fromValue.Update(numericValue); in With() 2027 fromValue.Update( in With() 2032 tKey.GetTaggedValue(), fromValue.GetTaggedValue()); in With() 2082 // c. Let fromValue be ! Get(O, from). in ToReversed() 2083 // d. Perform ! Set(A, Pk, fromValue, true). in ToReversed() 2087 JSHandle<JSTaggedValue> fromValue in ToReversed() local [all...] |
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_stable_array.cpp | 236 JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in Splice() local 243 JSObject::CreateDataPropertyOrThrow(thread, newArrayHandle, toKey, fromValue); in Splice() 300 JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in Splice() local 307 JSObject::CreateDataPropertyOrThrow(thread, newArrayHandle, toKey, fromValue); in Splice()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_typedarray_stub_builder.cpp | 2739 GateRef fromValue = FastGetPropertyByIndex(glue, thisValue, TruncInt64ToInt32(*from), arrayType);
in ToReversed() local 2748 FastSetPropertyByIndex(glue, fromValue, newArray, TruncInt64ToInt32(*k), arrayType);
in ToReversed()
|