Home
last modified time | relevance | path

Searched refs:INT16 (Results 1 – 25 of 29) sorted by relevance

12

/arkcompiler/runtime_core/compiler/optimizer/ir/
Ddatatype.h36 INT16, enumerator
96 case Type::INT16: in GetCommonType()
114 case Type::INT16: in IsInt32Bit()
130 case INT16: in IsTypeNumeric()
151 case INT16: in IsLessInt32()
184 return is_signed ? INT16 : UINT16;
203 case INT16: in Is32Bits()
237 case INT16: in IsTypeSigned()
267 case INT16: in ShiftByType()
Ddump.cpp258 case DataType::Type::INT16: in DumpInputs()
Dir_constructor.h511 CurrentInst()->SetType(DataType::INT16); in s16()
/arkcompiler/ets_runtime/ecmascript/base/
Dtyped_array_helper-inl.h52 return DataViewType::INT16; in GetType()
135 case DataViewType::INT16: in GetConstructorFromType()
163 if (arrayType == DataViewType::INT16 || in GetSizeFromType()
/arkcompiler/runtime_core/compiler/tests/
Dinst_generator.h131 …taType::Type> integer_types_ {DataType::UINT8, DataType::INT8, DataType::UINT16, DataType::INT16,
135 … DataType::INT16, DataType::UINT32, DataType::INT32, DataType::UINT64,
139 …:REFERENCE, DataType::BOOL, DataType::UINT8, DataType::INT8, DataType::UINT16, DataType::INT16,
143 … DataType::UINT16, DataType::INT16, DataType::UINT32, DataType::INT32,
147 … DataType::UINT16, DataType::INT16, DataType::UINT32, DataType::INT32,
303 … {DataType::INT8, -1}, {DataType::UINT16, -1}, {DataType::INT16, -1}, {DataType::UINT32, -1},
Dvixl_exec_module.h53 case (DataType::INT16): in CutValue()
100 return DataType::INT16; in GetType()
190 } else if (type == DataType::INT16) { in WriteParameters()
/arkcompiler/ets_runtime/ecmascript/
Djs_dataview.cpp30 case DataViewType::INT16: in GetElementSize()
Djs_dataview.h27 …BIGINT64 = 0, BIGUINT64, FLOAT32, FLOAT64, INT8, INT16, INT32, UINT8, UINT16, UINT32, UINT8_CLAMPED enumerator
Djs_typed_array.cpp466 return DataViewType::INT16; in GetTypeFromName()
Djs_serializer.cpp429 case DataViewType::INT16: in GetDataViewTypeIndex()
1279 viewType = DataViewType::INT16; in GetDataViewTypeByIndex()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_string_stub_builder.cpp39 result = ZExtInt16ToInt32(Load(VariableType::INT16(), PtrAdd(dataUtf16, in StringAt()
62 DEFVARIABLE(data, VariableType::INT16(), Int32(0)); in CreateFromEcmaString()
73 data = Load(VariableType::INT16(), dataAddr); in CreateFromEcmaString()
113 Store(VariableType::INT16(), glue, dst, IntPtr(0), *data); in CreateFromEcmaString()
240 CopyChars(glue, dst, source1, len, IntPtr(sizeof(uint16_t)), VariableType::INT16()); in FastSubUtf16String()
305 GateRef tmp = Load(VariableType::INT16(), data, in CanBeCompressed()
350 GateRef i = Load(VariableType::INT16(), *sourceTmp); in CopyUtf16AsUtf8()
368 return ZExtInt16ToInt32(Load(VariableType::INT16(), PtrAdd(stringData, in GetUtf16Data()
409 first = ZExtInt16ToInt32(Load(VariableType::INT16(), rhsData)); in StringIndexOf()
/arkcompiler/ets_runtime/ecmascript/base/tests/
Dtyped_array_helper_test.cpp75 case DataViewType::INT16: { in CreateTypedArrayCallInfo()
185 EcmaRuntimeCallInfo* argv = CreateTypedArrayCallInfo(thread, array, DataViewType::INT16); in HWTEST_F_L0()
189 … DataViewType::INT16)); in HWTEST_F_L0()
272 EXPECT_EQ(TypedArrayHelper::GetType(JSType::JS_INT16_ARRAY), DataViewType::INT16); in HWTEST_F_L0()
287 EcmaRuntimeCallInfo* argv2 = CreateTypedArrayCallInfo(thread, array, DataViewType::INT16); in HWTEST_F_L0()
300 … DataViewType::INT16)); in HWTEST_F_L0()
379 … EXPECT_EQ(TypedArrayHelper::GetConstructorFromType(thread, DataViewType::INT16).GetTaggedValue(), in HWTEST_F_L0()
402 EXPECT_EQ(TypedArrayHelper::GetSizeFromType(DataViewType::INT16), 2U); in HWTEST_F_L0()
/arkcompiler/runtime_core/compiler/optimizer/templates/
Dinstructions.rb23 INT16 = 'i16' constant
Dir-dyn-base-types.h.erb40 …ype == panda::compiler::DataType::Type::UINT16 || type == panda::compiler::DataType::Type::INT16 ||
47 case panda::compiler::DataType::Type::INT16:
Dinst_builder_gen.cpp.erb57 'i16' => 'DataType::INT16',
71 'i16[]' => 'DataType::INT16',
/arkcompiler/ets_runtime/ecmascript/compiler/
Dvariable_type.h59 static VariableType INT16() in INT16() function
Dtyped_array_stub_builder.cpp249 GateRef re = Load(VariableType::INT16(), block, byteIndex); in GetValueFromBuffer()
258 GateRef re = Load(VariableType::INT16(), block, byteIndex); in GetValueFromBuffer()
Dinterpreter_stub-inl.h588 GateRef x = Load(VariableType::INT16(), method, IntPtr(Method::LITERAL_INFO_OFFSET)); in GetHotnessCounterFromMethod()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_arraybuffer.h42 …UINT16 = 2, INT16 = 2, UINT32 = 4, INT32 = 4, FLOAT32 = 4, FLOAT64 = 8, BIGINT64 = 8, BIGUINT64 = 8 enumerator
Dbuiltins_arraybuffer.cpp342 case DataViewType::INT16: in GetValueFromBuffer()
343 … return GetValueFromBufferForInteger<int16_t, NumberSize::INT16>(block, byteIndex, littleEndian); in GetValueFromBuffer()
405 case DataViewType::INT16: in IsUnclampedIntegerElementType()
693 case DataViewType::INT16: in SetValueInBuffer()
Dbuiltins_dataview.cpp220 return GetTypedValue(argv, DataViewType::INT16); in GetInt16()
297 return SetTypedValue(argv, DataViewType::INT16); in SetInt16()
Dbuiltins_atomics.cpp322 case DataViewType::INT16: in AtomicReadModifyWriteCase()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_dataview_test.cpp63 EXPECT_EQ(JSDataView::GetElementSize(DataViewType::INT16), 2U); in HWTEST_F_L0()
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Druntime_adapter_test.cpp189 EXPECT_EQ(adapter.GetMethodReturnType(func_ret_i16), compiler::DataType::Type::INT16); in TEST()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_atomics_test.cpp120 case DataViewType::INT16: { in CreateTypedArray()
326 …Value> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, DataViewType::INT16)); in HWTEST_F_L0()
482 obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, DataViewType::INT16)); in HWTEST_F_L0()

12