Home
last modified time | relevance | path

Searched refs:INT32 (Results 1 - 25 of 195) sorted by relevance

12345678

/arkcompiler/ets_runtime/ecmascript/compiler/baseline/
H A Dbaseline_call_signature.cpp28 VariableType::INT32(), \
38 VariableType::INT32(), \
51 VariableType::INT32(), in DEF_CALL_SIGNATURE()
52 VariableType::INT32(), in DEF_CALL_SIGNATURE()
68 VariableType::INT32(), in DEF_CALL_SIGNATURE()
83 VariableType::INT32(), in DEF_CALL_SIGNATURE()
98 VariableType::INT32(), in DEF_CALL_SIGNATURE()
99 VariableType::INT32(), in DEF_CALL_SIGNATURE()
227 VariableType::INT32(), in DEF_CALL_SIGNATURE()
242 VariableType::INT32(), in DEF_CALL_SIGNATURE()
[all...]
H A Dbaseline_stub_builder.cpp36 GateRef bitfield = Load(VariableType::INT32(), obj, bitfieldOffset); in GetResumeModeFromGeneratorObject()
45 GateRef bitfield = Load(VariableType::INT32(), obj, bitfieldOffset); in GetResumeModeFromAsyncGeneratorObject()
/arkcompiler/runtime_core/compiler/tests/
H A Dspill_fills_resolver_test.cpp80 sf_inst->AddMove(0, 1, DataType::INT32); in HWTEST_F()
81 sf_inst->AddMove(1, 2, DataType::INT32); in HWTEST_F()
84 expect_sf_inst->AddMove(1, 2, DataType::INT32); in HWTEST_F()
85 expect_sf_inst->AddMove(0, 1, DataType::INT32); in HWTEST_F()
154 sf_inst->AddMove(3, 1, DataType::INT32); in HWTEST_F()
155 sf_inst->AddMove(2, 3, DataType::INT32); in HWTEST_F()
156 sf_inst->AddMove(1, 2, DataType::INT32); in HWTEST_F()
159 expect_sf_inst->AddMove(1, 5, DataType::INT32); in HWTEST_F()
160 expect_sf_inst->AddMove(3, 1, DataType::INT32); in HWTEST_F()
161 expect_sf_inst->AddMove(2, 3, DataType::INT32); in HWTEST_F()
[all...]
H A Dinst_generator.h132 DataType::UINT32, DataType::INT32, DataType::UINT64, DataType::INT64}; member in panda::compiler::InstGenerator::DataType
135 DataType::INT16, DataType::UINT32, DataType::INT32, DataType::UINT64, member in panda::compiler::InstGenerator::DataType
140 DataType::UINT32, DataType::INT32, DataType::UINT64, DataType::INT64, DataType::FLOAT32, DataType::FLOAT64}; member in panda::compiler::InstGenerator::DataType
143 DataType::UINT16, DataType::INT16, DataType::UINT32, DataType::INT32, member in panda::compiler::InstGenerator::DataType
147 DataType::UINT16, DataType::INT16, DataType::UINT32, DataType::INT32, member in panda::compiler::InstGenerator::DataType
172 {Opcode::Cmp, {DataType::INT32}},
179 {Opcode::LenArray, {DataType::INT32}},
222 {DataType::UINT32, DataType::INT32, DataType::UINT64, DataType::INT64, DataType::FLOAT32, DataType::FLOAT64,
225 {DataType::UINT32, DataType::INT32, DataType::UINT64, DataType::INT64, DataType::FLOAT32, DataType::FLOAT64,
228 {DataType::UINT32, DataType::INT32, DataTyp
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dcontainers_queue_stub_builder.h39 DEFVARIABLE(length, VariableType::INT32(), Int32(0)); in GetArrayLength()
40 GateRef begin = Load(VariableType::INT32(), obj, IntPtr(JSAPIQueue::FRONT_OFFSET)); in GetArrayLength()
41 GateRef end = Load(VariableType::INT32(), obj, IntPtr(JSAPIQueue::TAIL_OFFSET)); in GetArrayLength()
52 GateRef elementsSize = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in GetArrayLength()
66 GateRef capacity = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in Get()
67 GateRef front = Load(VariableType::INT32(), obj, IntPtr(JSAPIQueue::FRONT_OFFSET)); in Get()
76 GateRef elementsSize = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in GetNextPosition()
82 return Load(VariableType::INT32(), obj, IntPtr(JSAPIQueue::FRONT_OFFSET)); in GetCurrentFront()
H A Dcontainers_deque_stub_builder.h35 GateRef capacity = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in GetSize()
45 GateRef capacity = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in Get()
53 return Load(VariableType::INT32(), obj, IntPtr(JSAPIDeque::FIRST_OFFSET)); in GetFirst()
58 return Load(VariableType::INT32(), obj, IntPtr(JSAPIDeque::LAST_OFFSET)); in GetLast()
65 return Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in GetElementsLength()
H A Dbuiltins_typedarray_stub_builder.h30 V(INT32, Int32, 5) \
86 return Load(VariableType::INT32(), array, offset); in GetArrayLength()
92 return Load(VariableType::INT32(), array, offset); in GetByteOffset()
98 return Load(VariableType::INT32(), buffer, offset); in GetArrayBufferByteLength()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
H A Dtype_info.h93 enum TypeId : uint8_t { INT8 = 0, INT16 = 1, INT32 = 2, INT64 = 3, FLOAT32 = 4, FLOAT64 = 5, INVALID = 6 };
110 typeId_ = INT32; in TypeInfo()
112 typeId_ = INT32; in TypeInfo()
151 case INT32: in GetSize()
198 case DataType::INT32: { in FromDataType()
199 return TypeInfo(INT32); in FromDataType()
216 return Is64BitsArch(arch) ? TypeInfo(INT64) : TypeInfo(INT32); in FromDataType()
230 case INT32: in ToDataType()
231 return DataType::INT32; in ToDataType()
255 case INT32 in Dump()
[all...]
/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Ddatatype.h38 INT32,
72 "i32", // INT32
98 case Type::INT32: in GetCommonType()
116 case Type::INT32: in IsInt32Bit()
132 case INT32: in IsTypeNumeric()
187 return is_signed ? INT32 : UINT32; in GetIntTypeBySize()
205 case INT32: in Is32Bits()
238 case INT32: in IsTypeSigned()
270 case INT32: in ShiftByType()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Ddatatype.h39 INT32,
73 "i32", // INT32
106 case Type::INT32: in GetCommonType()
128 case Type::INT32: in IsInt32Bit()
145 case INT32: in IsTypeNumeric()
202 return isSigned ? INT32 : UINT32; in GetIntTypeBySize()
221 case INT32: in Is32Bits()
255 case INT32: in IsTypeSigned()
283 case INT32: in ShiftByType()
/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dspill_fill_encoder_test.cpp96 {LocationType::STACK, LocationType::REGISTER, 2U, 0U, DataType::Type::INT32}, in TEST_F()
100 {LocationType::STACK, LocationType::REGISTER, 2U, 0U, DataType::Type::INT32}, in TEST_F()
105 {LocationType::REGISTER, LocationType::STACK, 2U, 0U, DataType::Type::INT32}, in TEST_F()
106 {LocationType::STACK, LocationType::REGISTER, 1U, 0U, DataType::Type::INT32}, graph)); in TEST_F()
110 {LocationType::STACK, LocationType::REGISTER, 1U, 0U, DataType::Type::INT32}, in TEST_F()
111 {LocationType::STACK, LocationType::REGISTER, 2U, 0U, DataType::Type::INT32}, graph)); in TEST_F()
114 {LocationType::STACK, LocationType::REGISTER, 4U, 0U, DataType::Type::INT32}, in TEST_F()
115 {LocationType::STACK, LocationType::REGISTER, 0U, 0U, DataType::Type::INT32}, graph)); in TEST_F()
119 {LocationType::STACK, LocationType::REGISTER, 1U, 0U, DataType::Type::INT32}, in TEST_F()
120 {LocationType::STACK, LocationType::REGISTER, 0U, 0U, DataType::Type::INT32}, grap in TEST_F()
[all...]
H A Dcleanup_empty_blocks_test.cpp35 INST(4U, Opcode::IfImm).SrcType(DataType::INT32).CC(CC_NE).Imm(0U).Inputs(3U); in SRC_GRAPH()
41 INST(7U, Opcode::IfImm).SrcType(DataType::INT32).CC(CC_NE).Imm(0U).Inputs(6U); in SRC_GRAPH()
47 INST(10U, Opcode::IfImm).SrcType(DataType::INT32).CC(CC_NE).Imm(0U).Inputs(9U); in SRC_GRAPH()
68 INST(4U, Opcode::IfImm).SrcType(DataType::INT32).CC(CC_NE).Imm(0U).Inputs(3U); in OUT_GRAPH()
74 INST(7U, Opcode::IfImm).SrcType(DataType::INT32).CC(CC_NE).Imm(0U).Inputs(6U); in OUT_GRAPH()
80 INST(10U, Opcode::IfImm).SrcType(DataType::INT32).CC(CC_NE).Imm(0U).Inputs(9U); in OUT_GRAPH()
H A Dloop_idioms_test.cpp40 INST(7U, Opcode::Compare).b().Inputs(2U, 6U).CC(CC_LT).SrcType(DataType::INT32); in CheckFillArrayFullInitial()
49 INST(12U, Opcode::Compare).b().Inputs(6U, 11U).CC(CC_LE).SrcType(DataType::INT32); in CheckFillArrayFullInitial()
79 INST(7U, Opcode::Compare).b().Inputs(2U, 6U).CC(CC_LT).SrcType(DataType::INT32); in BuildExpectedFillArrayFull()
86 INST(16U, Opcode::Compare).b().Inputs(15U, 20U).SrcType(DataType::INT32).CC(CC_LE); in BuildExpectedFillArrayFull()
95 INST(12U, Opcode::Compare).b().Inputs(6U, 11U).CC(CC_LE).SrcType(DataType::INT32); in BuildExpectedFillArrayFull()
103 .Inputs({{DataType::REFERENCE, 5U}, {arrayType, 1U}, {DataType::INT32, 2U}, {DataType::INT32, 6U}}) in BuildExpectedFillArrayFull()
150 EXPECT_TRUE(CheckFillArrayFull(DataType::INT32, RuntimeInterface::IntrinsicId::LIB_CALL_MEMSET_32)); in TEST_F()
180 INST(7U, Opcode::Compare).b().Inputs(2U, 6U).CC(CC_LT).SrcType(DataType::INT32); in TEST_F()
189 INST(12U, Opcode::Compare).b().Inputs(6U, 11U).CC(CC_LE).SrcType(DataType::INT32); in TEST_F()
[all...]
H A Dinst_generator.h177 DataType::UINT32, DataType::INT32, DataType::UINT64, DataType::INT64}; member in ark::compiler::InstGenerator::DataType
180 DataType::INT16, DataType::UINT32, DataType::INT32, DataType::UINT64, member in ark::compiler::InstGenerator::DataType
185 DataType::UINT32, DataType::INT32, DataType::UINT64, DataType::INT64, DataType::FLOAT32, DataType::FLOAT64}; member in ark::compiler::InstGenerator::DataType
188 DataType::UINT16, DataType::INT16, DataType::UINT32, DataType::INT32, member in ark::compiler::InstGenerator::DataType
192 DataType::UINT16, DataType::INT16, DataType::UINT32, DataType::INT32, member in ark::compiler::InstGenerator::DataType
217 {Opcode::Cmp, {DataType::INT32}},
224 {Opcode::LenArray, {DataType::INT32}},
267 {DataType::UINT32, DataType::INT32, DataType::UINT64, DataType::INT64, DataType::FLOAT32, DataType::FLOAT64,
270 {DataType::UINT32, DataType::INT32, DataType::UINT64, DataType::INT64, DataType::FLOAT32, DataType::FLOAT64,
273 {DataType::UINT32, DataType::INT32, DataTyp
[all...]
H A Dcall_input_types_test.cpp51 ASSERT_EQ(callInst->GetInputType(0U), DataType::INT32); in TEST_F()
98 ASSERT_EQ(callInst->GetInputType(1U), DataType::INT32); in TEST_F()
H A Dconst_folding_test.cpp401 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F()
478 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F()
555 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F()
596 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F()
637 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F()
718 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F()
759 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F()
838 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F()
929 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F()
1010 auto inst = graph->FindConstant(DataType::INT32, resul in TEST_F()
3265 CastTest(nanf(""), static_cast<int32_t>(0U), DataType::INT32); TEST_F() member in ark::compiler::DataType
3275 CastTest(nan(""), static_cast<int32_t>(0U), DataType::INT32); TEST_F() member in ark::compiler::DataType
[all...]
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/
H A Dirbuilder_test.cpp53 INST(6U, Opcode::CallVirtual).s32().Inputs({{REFERENCE, 5U}, {INT32, 0U}, {NO_TYPE, 4U}}); in TEST_F()
95 INST(7U, Opcode::CallVirtual).s32().Inputs({{REFERENCE, 6U}, {INT32, 0U}, {INT32, 1U}, {NO_TYPE, 5U}}); in TEST_F()
137 INST(7U, Opcode::CallVirtual).s32().Inputs({{REFERENCE, 6U}, {INT32, 0U}, {INT32, 1U}, {NO_TYPE, 5U}}); in TEST_F()
H A Dbitops_bitwise_and_test.cpp96 INST(19U, Opcode::If).CC(compiler::CC_GE).SrcType(INT32).Inputs(5U, 23U); in TEST_F()
100 INST(9U, Opcode::Cast).s64().SrcType(INT32).Inputs(5U); in TEST_F()
109 INST(15U, Opcode::IfImm).SrcType(INT32).CC(compiler::CC_EQ).Imm(0U).Inputs(13U); in TEST_F()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dcall_signature.cpp236 VariableType::INT32(), // slot id in DEF_CALL_SIGNATURE()
289 VariableType::INT32(), // slot id in DEF_CALL_SIGNATURE()
305 VariableType::INT32(), // methodId in DEF_CALL_SIGNATURE()
306 VariableType::INT32(), // length in DEF_CALL_SIGNATURE()
308 VariableType::INT32(), // slotId in DEF_CALL_SIGNATURE()
335 VariableType::INT32()); in DEF_CALL_SIGNATURE()
340 VariableType::INT32(), // charcode in DEF_CALL_SIGNATURE()
355 VariableType::INT32(), // charcode in DEF_CALL_SIGNATURE()
406 VariableType::INT32(), // slot id in DEF_CALL_SIGNATURE()
423 VariableType::INT32(), // slo in DEF_CALL_SIGNATURE()
[all...]
H A Dhcr_circuit_builder.h89 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsCallable()
95 GateRef bitfield = LoadConstOffset(VariableType::INT32(), hClass, JSHClass::BIT_FIELD_OFFSET); in IsProtoTypeHClass()
212 GateRef bitfield = Load(VariableType::INT32(), hClass, IntPtr(JSHClass::BIT_FIELD1_OFFSET)); in GetObjectSizeFromHClass()
222 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsDictionaryModeByHClass()
249 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in GetObjectType()
256 GateRef bitField = Load(VariableType::INT32(), jsFunc, bitFieldOffset); in CanFastCall()
267 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in GetElementsKindByHClass()
276 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in HasConstructorByHClass()
286 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsDictionaryElement()
296 GateRef bitfield = Load(VariableType::INT32(), hClas in IsStableElements()
[all...]
H A Dnumber_speculative_retype.cpp35 type = TypeInfo::INT32; in SetOutputType()
52 type = TypeInfo::INT32; in SetOutputType()
73 type = TypeInfo::INT32; in SetOutputType()
95 case TypeInfo::INT32: in GetNumberTypeInfo()
97 return TypeInfo::INT32; in GetNumberTypeInfo()
106 return TypeInfo::INT32; in GetNumberTypeInfo()
124 ASSERT(left == TypeInfo::INT32 || left == TypeInfo::FLOAT64); in GetCommonTypeInfo()
125 ASSERT(right == TypeInfo::INT32 || right == TypeInfo::FLOAT64); in GetCommonTypeInfo()
432 SetOutputTypeInfo(gate, TypeInfo::INT32); in VisitConstant()
605 case TypeInfo::INT32 in ConvertTaggedToNJSValue()
[all...]
/arkcompiler/runtime_core/bytecode_optimizer/tests/
H A Dbitops_bitwise_and_test.cpp92 INST(19, Opcode::If).CC(compiler::CC_GE).SrcType(INT32).Inputs(5, 23); in TEST_F()
96 INST(9, Opcode::Cast).s64().SrcType(INT32).Inputs(5); in TEST_F()
104 INST(15, Opcode::IfImm).SrcType(INT32).CC(compiler::CC_EQ).Imm(0).Inputs(13); in TEST_F()
/arkcompiler/ets_runtime/ecmascript/base/
H A Dtyped_array_helper-inl.h108 return DataViewType::INT32; in GetType()
225 case DataViewType::INT32: in GetConstructorFromType()
255 case DataViewType::INT32: in GetSharedConstructorFromType()
285 case DataViewType::INT32: in GetConstructorNameFromType()
316 case DataViewType::INT32: in GetSharedConstructorNameFromType()
348 case DataViewType::INT32: in GetOnHeapHclassFromType()
380 case DataViewType::INT32: in GetSharedOnHeapHclassFromType()
412 case DataViewType::INT32: in GetNotOnHeapHclassFromType()
444 case DataViewType::INT32: in GetSharedNotOnHeapHclassFromType()
475 arrayType == DataViewType::INT32) { in GetSizeFromType()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
H A Dconstant_folding_test.cpp69 DEFVALUE(number1, (&builder), VariableType::INT32(), builder.Int32(14)); in HWTEST_F_L0()
70 DEFVALUE(number2, (&builder), VariableType::INT32(), builder.Int32(7)); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dloop_idioms.cpp183 case DataType::INT32: in CreateArrayInitIntrinsic()
207 {info->init, DataType::INT32}, in CreateArrayInitIntrinsic()
208 {info->test, DataType::INT32}}); in CreateArrayInitIntrinsic()
234 auto sub = GetGraph()->CreateInstSub(DataType::INT32, inst->GetPc(), loopInfo->test, loopInfo->init); in ReplaceArrayInitLoop()
237 DataType::INT32, ConditionCode::CC_LE); in ReplaceArrayInitLoop()

Completed in 18 milliseconds

12345678