/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
D | containers_queue_stub_builder.h | 39 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()
|
D | containers_deque_stub_builder.h | 35 … 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()
|
D | containers_stub_builder.cpp | 29 DEFVARIABLE(length, VariableType::INT32(), Int32(0)); in ContainersCommonFuncCall() 30 DEFVARIABLE(k, VariableType::INT32(), Int32(0)); in ContainersCommonFuncCall() 146 DEFVARIABLE(length, VariableType::INT32(), Int32(0)); in QueueCommonFuncCall() 147 DEFVARIABLE(k, VariableType::INT32(), Int32(0)); in QueueCommonFuncCall() 148 DEFVARIABLE(index, VariableType::INT32(), Int32(0)); in QueueCommonFuncCall() 252 DEFVARIABLE(length, VariableType::INT32(), Int32(0)); in DequeCommonFuncCall() 253 DEFVARIABLE(first, VariableType::INT32(), Int32(0)); in DequeCommonFuncCall() 254 DEFVARIABLE(index, VariableType::INT32(), Int32(0)); in DequeCommonFuncCall() 361 DEFVARIABLE(length, VariableType::INT32(), Int32(0)); in ContainersLightWeightCall() 362 DEFVARIABLE(index, VariableType::INT32(), Int32(0)); in ContainersLightWeightCall() [all …]
|
D | linked_hashtable_stub_builder.cpp | 36 DEFVARIABLE(desEntry, VariableType::INT32(), Int32(0)); in Rehash() 37 DEFVARIABLE(currentDeletedElements, VariableType::INT32(), Int32(0)); in Rehash() 45 DEFVARIABLE(i, VariableType::INT32(), Int32(0)); in Rehash() 84 DEFVARIABLE(j, VariableType::INT32(), Int32(0)); in Rehash() 160 DEFVARIABLE(i, VariableType::INT32(), Int32(0)); in RemoveEntry() 232 DEFVARIABLE(res, VariableType::INT32(), Int32(0)); in GetHash() 239 res = Load(VariableType::INT32(), key, IntPtr(JSSymbol::HASHFIELD_OFFSET)); in GetHash() 279 DEFVARIABLE(res, VariableType::INT32(), Int32(-1)); in FindElement() 343 DEFVARIABLE(res, VariableType::INT32(), Int32(0)); in GetDeletedElementsAt() 344 DEFVARIABLE(currentEntry, VariableType::INT32(), Int32Sub(entry, Int32(1))); in GetDeletedElementsAt() [all …]
|
/arkcompiler/runtime_core/static_core/compiler/tests/ |
D | loop_idioms_test.cpp | 40 INST(7U, Opcode::Compare).b().Inputs(2U, 6U).CC(CC_LT).SrcType(DataType::INT32); in CheckFillArrayFull() 49 INST(12U, Opcode::Compare).b().Inputs(6U, 11U).CC(CC_LE).SrcType(DataType::INT32); in CheckFillArrayFull() 80 INST(7U, Opcode::Compare).b().Inputs(2U, 6U).CC(CC_LT).SrcType(DataType::INT32); in CheckFillArrayFull() 87 INST(16U, Opcode::Compare).b().Inputs(15U, 20U).SrcType(DataType::INT32).CC(CC_LE); in CheckFillArrayFull() 96 INST(12U, Opcode::Compare).b().Inputs(6U, 11U).CC(CC_LE).SrcType(DataType::INT32); in CheckFillArrayFull() 104 ….Inputs({{DataType::REFERENCE, 5U}, {arrayType, 1U}, {DataType::INT32, 2U}, {DataType::INT32, 6U}}) in CheckFillArrayFull() 136 …EXPECT_TRUE(CheckFillArrayFull(DataType::INT32, RuntimeInterface::IntrinsicId::LIB_CALL_MEMSET_32)… in TEST_F() 166 INST(7U, Opcode::Compare).b().Inputs(2U, 6U).CC(CC_LT).SrcType(DataType::INT32); in TEST_F() 175 INST(12U, Opcode::Compare).b().Inputs(6U, 11U).CC(CC_LE).SrcType(DataType::INT32); in TEST_F() 208 INST(7U, Opcode::Compare).b().Inputs(2U, 6U).CC(CC_LT).SrcType(DataType::INT32); in TEST_F() [all …]
|
D | cleanup_empty_blocks_test.cpp | 41 INST(4U, Opcode::IfImm).SrcType(DataType::INT32).CC(CC_NE).Imm(0U).Inputs(3U); in TEST_F() 47 INST(7U, Opcode::IfImm).SrcType(DataType::INT32).CC(CC_NE).Imm(0U).Inputs(6U); in TEST_F() 53 INST(10U, Opcode::IfImm).SrcType(DataType::INT32).CC(CC_NE).Imm(0U).Inputs(9U); in TEST_F() 76 INST(4U, Opcode::IfImm).SrcType(DataType::INT32).CC(CC_NE).Imm(0U).Inputs(3U); in TEST_F() 82 INST(7U, Opcode::IfImm).SrcType(DataType::INT32).CC(CC_NE).Imm(0U).Inputs(6U); in TEST_F() 88 INST(10U, Opcode::IfImm).SrcType(DataType::INT32).CC(CC_NE).Imm(0U).Inputs(9U); in TEST_F()
|
D | spill_fill_encoder_test.cpp | 91 {LocationType::STACK, LocationType::REGISTER, 2U, 0U, DataType::Type::INT32}, in TEST_F() 95 {LocationType::STACK, LocationType::REGISTER, 2U, 0U, DataType::Type::INT32}, in TEST_F() 100 {LocationType::REGISTER, LocationType::STACK, 2U, 0U, DataType::Type::INT32}, in TEST_F() 101 {LocationType::STACK, LocationType::REGISTER, 1U, 0U, DataType::Type::INT32}, graph)); in TEST_F() 105 {LocationType::STACK, LocationType::REGISTER, 1U, 0U, DataType::Type::INT32}, in TEST_F() 106 {LocationType::STACK, LocationType::REGISTER, 2U, 0U, DataType::Type::INT32}, graph)); in TEST_F() 109 {LocationType::STACK, LocationType::REGISTER, 4U, 0U, DataType::Type::INT32}, in TEST_F() 110 {LocationType::STACK, LocationType::REGISTER, 0U, 0U, DataType::Type::INT32}, graph)); in TEST_F() 114 {LocationType::STACK, LocationType::REGISTER, 1U, 0U, DataType::Type::INT32}, in TEST_F() 115 {LocationType::STACK, LocationType::REGISTER, 0U, 0U, DataType::Type::INT32}, graph)); in TEST_F()
|
D | inst_generator.h | 142 … DataType::UINT32, DataType::INT32, DataType::UINT64, DataType::INT64}; 145 … DataType::INT16, DataType::UINT32, DataType::INT32, DataType::UINT64, 150 …DataType::UINT32, DataType::INT32, DataType::UINT64, DataType::INT64, DataType::FLOAT32, DataTy… 153 … DataType::UINT16, DataType::INT16, DataType::UINT32, DataType::INT32, 157 … DataType::UINT16, DataType::INT16, DataType::UINT32, DataType::INT32, 182 {Opcode::Cmp, {DataType::INT32}}, 189 {Opcode::LenArray, {DataType::INT32}}, 232 …{DataType::UINT32, DataType::INT32, DataType::UINT64, DataType::INT64, DataType::FLOAT32, DataType… 235 …{DataType::UINT32, DataType::INT32, DataType::UINT64, DataType::INT64, DataType::FLOAT32, DataType… 238 …{DataType::UINT32, DataType::INT32, DataType::UINT64, DataType::INT64, DataType::FLOAT32, DataType… [all …]
|
D | const_folding_test.cpp | 195 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F() 272 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F() 349 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F() 390 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F() 431 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F() 512 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F() 553 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F() 632 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F() 688 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F() 769 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F() [all …]
|
D | loop_unswitch_test.cpp | 44 INST(27U, Opcode::Compare).b().SrcType(DataType::INT32).CC(CC_GE).Inputs(3U, 4U); in CreateIncLoopGraph() 77 INST(17U, Opcode::Compare).b().SrcType(DataType::INT32).CC(CC_GE).Inputs(25U, 100U); in CreateIncLoopGraph() 112 INST(27U, Opcode::Compare).b().SrcType(DataType::INT32).CC(CC_LE).Inputs(3U, 16U); in CreateDecLoopGraph() 145 INST(15U, Opcode::Compare).b().SrcType(DataType::INT32).CC(CC_LE).Inputs(24U, 16U); in CreateDecLoopGraph() 478 INST(50U, Opcode::Compare).b().SrcType(DataType::INT32).CC(CC_GE).Inputs(4U, 3U); in TEST_F() 540 INST(24U, Opcode::Compare).b().SrcType(DataType::INT32).CC(CC_GE).Inputs(48U, 3U); in TEST_F() 583 INST(102U, Opcode::Compare).b().SrcType(DataType::INT32).CC(CC_GE).Inputs(4U, 3U); in TEST_F() 595 INST(106U, Opcode::Compare).b().SrcType(DataType::INT32).CC(CC_GE).Inputs(108U, 3U); in TEST_F() 601 INST(56U, Opcode::Compare).b().SrcType(DataType::INT32).CC(CC_GE).Inputs(4U, 3U); in TEST_F() 613 INST(60U, Opcode::Compare).b().SrcType(DataType::INT32).CC(CC_GE).Inputs(62U, 3U); in TEST_F() [all …]
|
D | call_input_types_test.cpp | 51 ASSERT_EQ(callInst->GetInputType(0U), DataType::INT32); in TEST_F() 98 ASSERT_EQ(callInst->GetInputType(1U), DataType::INT32); in TEST_F()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
D | datatype.h | 39 INT32, enumerator 105 case Type::INT32: in GetCommonType() 126 case Type::INT32: in IsInt32Bit() 142 case INT32: in IsTypeNumeric() 197 return isSigned ? INT32 : UINT32; 215 case INT32: in Is32Bits() 248 case INT32: in IsTypeSigned() 275 case INT32: in ShiftByType()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
D | datatype.h | 38 INT32, enumerator 98 case Type::INT32: in GetCommonType() 116 case Type::INT32: in IsInt32Bit() 132 case INT32: in IsTypeNumeric() 187 return is_signed ? INT32 : UINT32; 205 case INT32: in Is32Bits() 238 case INT32: in IsTypeSigned() 270 case INT32: in ShiftByType()
|
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/ |
D | irbuilder_test.cpp | 53 … 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, 5… in TEST_F() 137 …INST(7U, Opcode::CallVirtual).s32().Inputs({{REFERENCE, 6U}, {INT32, 0U}, {INT32, 1U}, {NO_TYPE, 5… in TEST_F()
|
D | reg_acc_alloc_test.cpp | 253 INST(3U, Opcode::Cast).s16().SrcType(compiler::DataType::INT32).Inputs(2U); in TEST_F() 310 INST(7U, Opcode::Cast).f64().SrcType(compiler::DataType::INT32).Inputs(6U); in TEST_F() 577 … INST(7U, Opcode::If).SrcType(compiler::DataType::INT32).CC(compiler::CC_EQ).Inputs(1U, 4U); in TEST_F() 582 … INST(9U, Opcode::If).SrcType(compiler::DataType::INT32).CC(compiler::CC_EQ).Inputs(8U, 4U); in TEST_F() 587 … INST(11U, Opcode::If).SrcType(compiler::DataType::INT32).CC(compiler::CC_EQ).Inputs(10U, 4U); in TEST_F() 741 … INST(23U, Opcode::If).SrcType(compiler::DataType::INT32).CC(compiler::CC_EQ).Inputs(5U, 4U); in TEST_F() 746 … INST(7U, Opcode::If).SrcType(compiler::DataType::INT32).CC(compiler::CC_EQ).Inputs(1U, 4U); in TEST_F() 751 … INST(9U, Opcode::If).SrcType(compiler::DataType::INT32).CC(compiler::CC_EQ).Inputs(8U, 4U); in TEST_F() 756 … INST(11U, Opcode::If).SrcType(compiler::DataType::INT32).CC(compiler::CC_EQ).Inputs(10U, 4U); in TEST_F() 817 INST(24U, Opcode::If).CC(compiler::ConditionCode::CC_NE).SrcType(INT32).Inputs(9U, 3U); in TEST_F() [all …]
|
D | bitops_bitwise_and_test.cpp | 94 INST(19U, Opcode::If).CC(compiler::CC_GE).SrcType(INT32).Inputs(5U, 23U); in TEST_F() 98 INST(9U, Opcode::Cast).s64().SrcType(INT32).Inputs(5U); in TEST_F() 106 INST(15U, Opcode::IfImm).SrcType(INT32).CC(compiler::CC_EQ).Imm(0U).Inputs(13U); in TEST_F()
|
/arkcompiler/runtime_core/compiler/tests/ |
D | inst_generator.h | 132 … DataType::UINT32, DataType::INT32, DataType::UINT64, DataType::INT64}; 135 … DataType::INT16, DataType::UINT32, DataType::INT32, DataType::UINT64, 140 …DataType::UINT32, DataType::INT32, DataType::UINT64, DataType::INT64, DataType::FLOAT32, DataTy… 143 … DataType::UINT16, DataType::INT16, DataType::UINT32, DataType::INT32, 147 … DataType::UINT16, DataType::INT16, DataType::UINT32, DataType::INT32, 172 {Opcode::Cmp, {DataType::INT32}}, 179 {Opcode::LenArray, {DataType::INT32}}, 222 …{DataType::UINT32, DataType::INT32, DataType::UINT64, DataType::INT64, DataType::FLOAT32, DataType… 225 …{DataType::UINT32, DataType::INT32, DataType::UINT64, DataType::INT64, DataType::FLOAT32, DataType… 228 …{DataType::UINT32, DataType::INT32, DataType::UINT64, DataType::INT64, DataType::FLOAT32, DataType… [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | hcr_circuit_builder.h | 75 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsCallable() 81 GateRef bitfield = LoadConstOffset(VariableType::INT32(), hClass, JSHClass::BIT_FIELD_OFFSET); in IsProtoTypeHClass() 190 GateRef bitfield = Load(VariableType::INT32(), hClass, IntPtr(JSHClass::BIT_FIELD1_OFFSET)); in GetObjectSizeFromHClass() 200 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsDictionaryModeByHClass() 220 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in GetObjectType() 244 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in GetElementsKindByHClass() 253 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in HasConstructorByHClass() 263 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsDictionaryElement() 273 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsStableElements() 290 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsConstructor() [all …]
|
D | call_signature.cpp | 236 VariableType::INT32(), // slot id in DEF_CALL_SIGNATURE() 289 VariableType::INT32(), // slot id in DEF_CALL_SIGNATURE() 340 VariableType::INT32(), // slot id in DEF_CALL_SIGNATURE() 357 VariableType::INT32(), // slot id in DEF_CALL_SIGNATURE() 389 VariableType::INT32(), // slot id in DEF_CALL_SIGNATURE() 406 VariableType::INT32(), // slot id in DEF_CALL_SIGNATURE() 422 VariableType::INT32(), // slot id in DEF_CALL_SIGNATURE() 439 VariableType::INT32(), // slot id in DEF_CALL_SIGNATURE() 470 VariableType::INT32(), in DEF_CALL_SIGNATURE() 534 VariableType::INT32(), in DEF_CALL_SIGNATURE() [all …]
|
D | typed_array_stub_builder.h | 51 return Load(VariableType::INT32(), array, offset); in GetArrayLength() 57 return Load(VariableType::INT32(), array, offset); in GetByteOffset() 69 return Load(VariableType::INT32(), buffer, offset); in GetArrayBufferByteLength()
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
D | bitops_bitwise_and_test.cpp | 92 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/compiler/tests/ |
D | loop_optimization_test.cpp | 72 DEFVALUE(index, (&builder), VariableType::INT32(), builder.Int32(0)); in HWTEST_F_L0() 73 DEFVALUE(sum, (&builder), VariableType::INT32(), builder.Int32(0)); in HWTEST_F_L0() 152 DEFVALUE(index, (&builder), VariableType::INT32(), builder.Int32(0)); in HWTEST_F_L0() 153 DEFVALUE(sum, (&builder), VariableType::INT32(), builder.Int32(0)); in HWTEST_F_L0() 203 DEFVALUE(index, (&builder), VariableType::INT32(), builder.Int32(0)); in HWTEST_F_L0() 204 DEFVALUE(sum, (&builder), VariableType::INT32(), builder.Int32(0)); in HWTEST_F_L0() 216 auto variant = builder.Load(VariableType::INT32(), arg1, builder.PtrAdd(arg2, *index)); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
D | operands.h | 128 …enum TypeId : uint8_t { INT8 = 0, INT16 = 1, INT32 = 2, INT64 = 3, FLOAT32 = 4, FLOAT64 = 5, INVAL… enumerator 145 typeId_ = INT32; in TypeInfo() 147 typeId_ = INT32; in TypeInfo() 186 case INT32: in GetSize() 233 case DataType::INT32: { in FromDataType() 234 return TypeInfo(INT32); in FromDataType() 251 return Is64BitsArch(arch) ? TypeInfo(INT64) : TypeInfo(INT32); in FromDataType() 265 case INT32: in ToDataType() 266 return DataType::INT32; in ToDataType() 290 case INT32: in Dump() [all …]
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
D | loop_idioms.cpp | 183 case DataType::INT32: in CreateArrayInitIntrinsic() 206 {info->init, DataType::INT32}, in CreateArrayInitIntrinsic() 207 {info->test, DataType::INT32}}); in CreateArrayInitIntrinsic() 233 …auto sub = GetGraph()->CreateInstSub(DataType::INT32, inst->GetPc(), loopInfo->test, loopInfo->ini… in ReplaceArrayInitLoop() 236 DataType::INT32, ConditionCode::CC_LE); in ReplaceArrayInitLoop()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | typed_array_helper-inl.h | 90 return DataViewType::INT32; in GetType() 173 case DataViewType::INT32: in GetConstructorFromType() 203 case DataViewType::INT32: in GetConstructorNameFromType() 235 case DataViewType::INT32: in GetOnHeapHclassFromType() 267 case DataViewType::INT32: in GetNotOnHeapHclassFromType() 298 arrayType == DataViewType::INT32) { in GetSizeFromType()
|