/arkcompiler/runtime_core/static_core/compiler/tests/ |
H A D | loop_unswitch_test.cpp | 51 INST(10U, Opcode::Phi).i32().Inputs(3U, 25U); in CreateIncLoopGraph() 52 INST(13U, Opcode::Phi).i32().Inputs(4U, 23U); in CreateIncLoopGraph() 62 INST(21U, Opcode::Add).i32().Inputs(10U, 13U); in CreateIncLoopGraph() 67 INST(22U, Opcode::Sub).i32().Inputs(13U, 10U); in CreateIncLoopGraph() 72 INST(23U, Opcode::Phi).i32().Inputs(21U, 22U); in CreateIncLoopGraph() 73 INST(25U, Opcode::Add).i32().Inputs(10U, 4U); in CreateIncLoopGraph() 84 INST(32U, Opcode::Phi).i32().Inputs(4U, 23U); in CreateIncLoopGraph() 89 INST(26U, Opcode::Return).i32().Inputs(32U); in CreateIncLoopGraph() 120 INST(9U, Opcode::Phi).i32().Inputs(3U, 22U); in CreateDecLoopGraph() 121 INST(11U, Opcode::Phi).i32() in CreateDecLoopGraph() [all...] |
H A D | catch_inputs_test.cpp | 28 PARAMETER(0U, 0U).i32(); in TEST_F() 29 PARAMETER(1U, 1U).i32(); in TEST_F() 38 INST(4U, Opcode::Mul).i32().Inputs(0U, 0U); in TEST_F() 39 INST(5U, Opcode::Mul).i32().Inputs(1U, 1U); in TEST_F() 40 INST(ESCAPED_INST_ID, Opcode::Add).i32().Inputs(4U, 5U); in TEST_F() 41 INST(7U, Opcode::Mul).i32().Inputs(4U, 5U); in TEST_F() 50 INST(8U, Opcode::CatchPhi).i32().Inputs(ESCAPED_INST_ID); in TEST_F() 55 INST(9U, Opcode::Mul).i32().Inputs(8U, 8U); in TEST_F() 56 INST(10U, Opcode::Return).i32().Inputs(9U); in TEST_F() 61 INST(11U, Opcode::Return).i32() in TEST_F() [all...] |
H A D | loop_idioms_test.cpp | 39 INST(6U, Opcode::LenArray).i32().Inputs(5U); in CheckFillArrayFullInitial() 46 INST(9U, Opcode::Phi).i32().Inputs(2U, 11U); in CheckFillArrayFullInitial() 48 INST(11U, Opcode::Add).i32().Inputs(9U, 3U); in CheckFillArrayFullInitial() 78 INST(6U, Opcode::LenArray).i32().Inputs(5U); in BuildExpectedFillArrayFull() 85 INST(15U, Opcode::Sub).i32().Inputs(6U, 2U); in BuildExpectedFillArrayFull() 92 INST(9U, Opcode::Phi).i32().Inputs(2U, 11U); in BuildExpectedFillArrayFull() 94 INST(11U, Opcode::Add).i32().Inputs(9U, 3U); in BuildExpectedFillArrayFull() 171 PARAMETER(1U, 1U).i32(); in TEST_F() 179 INST(6U, Opcode::LenArray).i32().Inputs(5U); in TEST_F() 186 INST(9U, Opcode::Phi).i32() in TEST_F() [all...] |
H A D | cleanup_empty_blocks_test.cpp | 29 PARAMETER(0U, 0U).i32(); in SRC_GRAPH() 34 INST(3U, Opcode::AndI).i32().Inputs(0U).Imm(3U); in SRC_GRAPH() 40 INST(6U, Opcode::Mod).i32().Inputs(0U, 5U); in SRC_GRAPH() 46 INST(9U, Opcode::Mod).i32().Inputs(0U, 8U); in SRC_GRAPH() 62 PARAMETER(0U, 0U).i32(); in OUT_GRAPH() 67 INST(3U, Opcode::AndI).i32().Inputs(0U).Imm(3U); in OUT_GRAPH() 73 INST(6U, Opcode::Mod).i32().Inputs(0U, 5U); in OUT_GRAPH() 79 INST(9U, Opcode::Mod).i32().Inputs(0U, 8U); in OUT_GRAPH()
|
H A D | licm_conditions_test.cpp | 656 INST(14U, Opcode::Phi).i32().Inputs(4U, 15U); in SRC_GRAPH() 690 INST(17U, Opcode::Phi).i32().Inputs(14U, 14U, 9U, 9U); in SRC_GRAPH() 691 INST(15U, Opcode::Add).i32().Inputs(17U, 5U); in SRC_GRAPH() 697 INST(16U, Opcode::Return).i32().Inputs(14U); in SRC_GRAPH() 738 INST(14U, Opcode::Phi).i32().Inputs(4U, 15U); in OUT_GRAPH() 771 INST(17U, Opcode::Phi).i32().Inputs(14U, 9U, 9U); in OUT_GRAPH() 772 INST(15U, Opcode::Add).i32().Inputs(17U, 5U); in OUT_GRAPH() 778 INST(16U, Opcode::Return).i32().Inputs(14U); in OUT_GRAPH() 954 INST(18U, Opcode::Phi).i32().Inputs(4U, 17U); in SRC_GRAPH() 955 INST(6U, Opcode::Phi).i32() in SRC_GRAPH() [all...] |
H A D | if_conversion_test.cpp | 925 INST(13U, Opcode::Phi).i32().Inputs(4U, 53U); in TEST_F() 926 INST(14U, Opcode::Phi).i32().Inputs(5U, 37U); in TEST_F() 932 INST(26U, Opcode::Add).i32().Inputs(13U, 14U); in TEST_F() 937 INST(27U, Opcode::Phi).i32().Inputs(14U, 26U); in TEST_F() 938 INST(52U, Opcode::AddI).i32().Imm(2U).Inputs(27U); in TEST_F() 939 INST(29U, Opcode::Add).i32().Inputs(27U, 30U); in TEST_F() 945 INST(36U, Opcode::Sub).i32().Inputs(52U, 13U); in TEST_F() 950 INST(37U, Opcode::Phi).i32().Inputs(52U, 36U); in TEST_F() 951 INST(53U, Opcode::AddI).i32().Imm(1U).Inputs(13U); in TEST_F() 952 INST(39U, Opcode::Add).i32() in TEST_F() [all...] |
H A D | try_catch_resolving_test.cpp | 153 CONSTANT(5U, 2U).i32(); in SRC_GRAPH() 154 CONSTANT(8U, 10U).i32(); in SRC_GRAPH() 168 INST(2U, Opcode::CatchPhi).i32().ThrowableInsts({}).Inputs(5U); in SRC_GRAPH() 175 INST(10U, Opcode::Phi).i32().Inputs(8U, 2U); in SRC_GRAPH() 188 CONSTANT(8U, 10U).i32(); in OUT_GRAPH()
|
H A D | linear_order_test.cpp | 115 .function i32 foo() <static> { in TEST_F() 197 .function i32 foo() <static> { in TEST_F() 260 INST(5U, Opcode::Return).i32().Inputs(0U); in TEST_F() 284 INST(5U, Opcode::Return).i32().Inputs(0U); in TEST_F() 317 INST(5U, Opcode::Return).i32().Inputs(0U); in TEST_F() 341 INST(5U, Opcode::Return).i32().Inputs(0U); in TEST_F() 351 .function i32 foo(i32 a0, i32 a1) <static> { in TEST_F()
|
H A D | encoder_operands.cpp | 309 int32_t i32 = g_randomGen(), i32Z = 0U, i32Min = std::numeric_limits<int32_t>::min(), in TEST() local 314 Imm immI32(i32), immI32Z(i32Z), immI32Min(i32Min), immI32Max(i32Max); in TEST() 315 ASSERT_EQ(immI32.GetAsInt(), i32); in TEST() 320 TypedImm typedImmI32(i32), typedImmI32Z(i32Z); in TEST() 324 ASSERT_EQ(typedImmI32.GetImm().GetAsInt(), i32); in TEST()
|
H A D | peepholes_test.cpp | 1762 INST(2U, Opcode::Neg).i32().Inputs(0U); in SRC_GRAPH() 1763 INST(9U, Opcode::Add).i32().Inputs(2U, 8U); in SRC_GRAPH() 1801 INST(2U, Opcode::Neg).i32().Inputs(0U); in TEST_F() 1802 INST(9U, Opcode::Add).i32().Inputs(2U, 8U); in TEST_F() 1804 INST(11U, Opcode::Add).i32().Inputs(4U, 9U); in TEST_F() 1816 INST(2U, Opcode::Neg).i32().Inputs(0U); in TEST_F() 1817 INST(9U, Opcode::Add).i32().Inputs(2U, 8U); in TEST_F() 1819 INST(11U, Opcode::Add).i32().Inputs(4U, 9U); in TEST_F() 1909 INST(9U, Opcode::Add).i32().Inputs(2U, 8U); in SRC_GRAPH() 1934 INST(9U, Opcode::Add).i32() in OUT_GRAPH() [all...] |
H A D | reg_alloc_resolver_test.cpp | 47 PARAMETER(1U, 1U).i32(); in SRC_GRAPH()
|
H A D | bounds_analysis_test.cpp | 771 INST(9U, Opcode::Phi).Inputs(4U, 15U).i32(); in TEST_F() 772 INST(10U, Opcode::Phi).Inputs(5U, 14U).i32(); in TEST_F() 773 INST(14U, Opcode::Sub).Inputs(2U, 10U).i32(); in TEST_F() 774 INST(15U, Opcode::Add).Inputs(9U, 16U).i32(); in TEST_F() 780 INST(20U, Opcode::Return).Inputs(16U).i32(); in TEST_F()
|
H A D | adjust_arefs_test.cpp | 391 PARAMETER(1U, 1U).i32(); in BuildGraphProcessIndex() 424 PARAMETER(1U, 1U).i32(); in TEST_F()
|
/arkcompiler/runtime_core/static_core/verification/value/tests/ |
H A D | abstract_typed_value_test.cpp | 43 auto i32 = Type {Builtin::I32}; in TEST_F() local 51 AbstractTypedValue av2 {i32, nv()}; in TEST_F() 56 EXPECT_EQ(t3, i32); in TEST_F() 63 EXPECT_EQ(t5, i32); in TEST_F()
|
/arkcompiler/runtime_core/static_core/verification/absint/tests/ |
H A D | reg_context_test.cpp | 43 auto i32 = Type {Builtin::I32}; in TEST_F() local 50 AbstractTypedValue av2 {i32, nv()}; in TEST_F() 71 EXPECT_EQ(ctx3[0].GetAbstractType(), i32); in TEST_F()
|
H A D | exec_context_test.cpp | 97 auto i32 = Type {Builtin::I32}; in TEST_F() local 104 AbstractTypedValue av2 {i32, nv()}; in TEST_F()
|
/arkcompiler/runtime_core/compiler/optimizer/templates/ |
H A D | instructions.rb | 24 INT32 = 'i32' 66 "int" => %w[bool i8 i16 i32 i64 u8 u16 u32 u64], 68 "number" => %w[bool i8 i16 i32 i64 u8 u16 u32 u64 f32 f64], 69 "real" => %w[bool i8 i16 i32 i64 u8 u16 u32 u64 f32 f64 ref ptr] 226 'i32' => 'DataType::INT32',
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/templates/ |
H A D | instructions.rb | 24 INT32 = 'i32' 66 "int" => %w[bool i8 i16 i32 i64 u8 u16 u32 u64], 68 "number" => %w[bool i8 i16 i32 i64 u8 u16 u32 u64 f32 f64], 69 "real" => %w[bool i8 i16 i32 i64 u8 u16 u32 u64 f32 f64 ref ptr] 230 'i32' => 'DataType::INT32',
|
/arkcompiler/runtime_core/compiler/tests/ |
H A D | encoder_operands.cpp | 38 int32_t i32; in TEST() local 52 TypeInfo(i32), in TEST() 188 int32_t i32 = random_gen(), i32_z = 0, i32_min = std::numeric_limits<int32_t>::min(), in TEST() local 292 Imm imm_i32(i32), imm_i32_z(i32_z), imm_i32_min(i32_min), imm_i32_max(i32_max); in TEST() 293 ASSERT_EQ(imm_i32.GetValue<int32_t>(), i32); in TEST()
|
/arkcompiler/toolchain/tooling/test/ |
H A D | pt_json_test.cpp | 155 int32_t i32; in HWTEST_F_L0() local 162 ASSERT_EQ(root->GetInt("b", &i32), Result::SUCCESS); in HWTEST_F_L0() 163 EXPECT_EQ(i32, 100); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/isa/ |
H A D | asserts.rb | 157 assert('Operand type should be one of none, ref, u1, u2, i8, u8, i16, u16, i32, u32, b32, i64, u64, b64, f64, top, any') do 158 types = %w[none ref u1 u2 i8 u8 i16 u16 i32 u32 b32 f32 i64 u64 b64 f64 top any]
|
H A D | isapi.rb | 363 types = %i[none u1 u2 i8 u8 i16 u16 i32 u32 b32 f32 i64 u64 b64 f64 ref top any] 388 %i[i8 i16 i32 i64].include?(@type.to_sym)
|
/arkcompiler/runtime_core/static_core/isa/ |
H A D | asserts.rb | 157 assert('Operand type should be one of none, ref, u1, u2, i8, u8, i16, u16, i32, u32, b32, i64, u64, b64, f64, top, any') do 158 types = %w[none ref u1 u2 i8 u8 i16 u16 i32 u32 b32 f32 i64 u64 b64 f64 top any]
|
/arkcompiler/runtime_core/static_core/irtoc/lang/ |
H A D | instruction.rb | 196 :i32 => :INT32, 223 (name == :sword ? (Options.arch_64_bits? ? 'i64' : 'i32') : name)
|
/arkcompiler/runtime_core/static_core/compiler/tests/aarch64/ |
H A D | codegen_test.cpp | 661 PARAMETER(1, 1).i32(); in TEST_F() 682 CONSTANT(0, 0).i32().DstReg(0U); in TEST_F() 686 INST(3U, Opcode::Return).i32().Inputs(0).DstReg(0U); in TEST_F()
|