Home
last modified time | relevance | path

Searched refs:srcType (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/
Dtyped_array_helper.cpp228 DataViewType srcType = JSTypedArray::GetTypeFromName(thread, srcName); in CreateFromTypedArray() local
229 uint32_t srcElementSize = TypedArrayHelper::GetSizeFromType(srcType); in CreateFromTypedArray()
244 if (arrayType == srcType) { in CreateFromTypedArray()
278 …tinsArrayBuffer::GetValueFromBuffer(thread, srcData.GetTaggedValue(), srcByteIndex, srcType, true); in CreateFromTypedArray()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dtype_mcr_lowering.h125 void LowerPrimitiveToNumber(GateRef dst, GateRef src, GateType srcType);
Dtype_mcr_lowering.cpp487 void TypeMCRLowering::LowerPrimitiveToNumber(GateRef dst, GateRef src, GateType srcType) in LowerPrimitiveToNumber() argument
490 if (srcType.IsBooleanType()) { in LowerPrimitiveToNumber()
506 } else if (srcType.IsUndefinedType()) { in LowerPrimitiveToNumber()
508 } else if (srcType.IsBigIntType() || srcType.IsNumberType()) { in LowerPrimitiveToNumber()
510 } else if (srcType.IsNullType()) { in LowerPrimitiveToNumber()
Dgate_meta_data.h878 …static uint64_t ToValue(ValueType srcType, ValueType dstType, ConvertSupport support = ConvertSupp…
880 uint8_t srcVlaue = static_cast<uint8_t>(srcType);
Dlcr_lowering.cpp337 ValueType srcType = acc_.GetSrcType(gate); in LowerCheckAndConvert() local
339 switch (srcType) { in LowerCheckAndConvert()
Dts_hcr_lowering.cpp491 GateType srcType = acc_.GetGateType(src); in LowerPrimitiveTypeToNumber() local
493 GateRef result = builder_.PrimitiveToNumber(src, VariableType(MachineType::I64, srcType)); in LowerPrimitiveTypeToNumber()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_typedarray.cpp1168 DataViewType srcType = JSTypedArray::GetTypeFromName(thread, srcName); in Set() local
1169 uint32_t srcElementSize = TypedArrayHelper::GetSizeFromType(srcType); in Set()
1210 if (srcType != targetType) { in Set()
1214 srcByteIndex, srcType, true); in Set()
1294 DataViewType srcType = JSTypedArray::GetTypeFromName(thread, srcName); in Slice() local
1312 if (srcType != targetType) { in Slice()
1338 uint32_t elementSize = TypedArrayHelper::GetSizeFromType(srcType); in Slice()
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dmethod_type_infer.cpp606 GateType srcType = gateAccessor_.GetGateType(src); in InferToNumberic() local
607 if (srcType.IsNumberType()) { in InferToNumberic()
608 return UpdateType(gate, srcType); in InferToNumberic()