Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/compiler/tests/
Dgraph_cloner_test.cpp42 INST(44, Opcode::LoadAndInitClass).ref().Inputs().TypeId(68); in TEST_F()
43 INST(3, Opcode::NewArray).ref().Inputs(44, 2); in TEST_F()
44 INST(14, Opcode::Compare).CC(ConditionCode::CC_LT).b().Inputs(0, 13); // i < X in TEST_F()
45 INST(15, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(14); in TEST_F()
49 INST(4, Opcode::Phi).s32().Inputs(0, 10); in TEST_F()
50 INST(7, Opcode::SaveState).Inputs(0, 1, 2, 3).SrcVregs({0, 1, 2, 3}); in TEST_F()
51 INST(8, Opcode::BoundsCheck).s32().Inputs(2, 4, 7); in TEST_F()
52 INST(9, Opcode::StoreArray).s32().Inputs(3, 8, 0); // a[i] = 0 in TEST_F()
53 INST(10, Opcode::Add).s32().Inputs(4, 1); // i++ in TEST_F()
54 INST(5, Opcode::Compare).CC(ConditionCode::CC_LT).b().Inputs(10, 13); // i < X in TEST_F()
[all …]
Dvn_test.cpp49 INST(6, Opcode::Add).u64().Inputs(0, 1); in TEST_F()
50 INST(7, Opcode::Sub).u32().Inputs(1, 0); in TEST_F()
51 INST(8, Opcode::Mul).f32().Inputs(4, 5); in TEST_F()
52 INST(9, Opcode::Div).f64().Inputs(3, 2); in TEST_F()
53 INST(10, Opcode::Sub).u32().Inputs(1, 0); in TEST_F()
54 INST(11, Opcode::Div).f64().Inputs(3, 2); in TEST_F()
55 INST(12, Opcode::Mul).f32().Inputs(4, 5); in TEST_F()
56 INST(13, Opcode::Add).u64().Inputs(0, 1); in TEST_F()
74 INST(6, Opcode::Add).u64().Inputs(0, 1); in TEST_F()
75 INST(7, Opcode::Sub).u32().Inputs(1, 0); in TEST_F()
[all …]
Dmove_constants_test.cpp33 INST(2, Opcode::IfImm).CC(CC_GE).Imm(5).Inputs(0); in TEST_F()
43 INST(4, Opcode::IfImm).CC(CC_LE).Imm(10).Inputs(0); in TEST_F()
48 INST(6, Opcode::Return).ref().Inputs(1); in TEST_F()
53 INST(8, Opcode::Return).ref().Inputs(1); in TEST_F()
63 INST(2, Opcode::IfImm).CC(CC_GE).Imm(5).Inputs(0); in TEST_F()
74 INST(4, Opcode::IfImm).CC(CC_LE).Imm(10).Inputs(0); in TEST_F()
79 INST(6, Opcode::Return).ref().Inputs(1); in TEST_F()
84 INST(8, Opcode::Return).ref().Inputs(1); in TEST_F()
104 INST(2, Opcode::IfImm).CC(CC_GE).Imm(5).Inputs(0); in TEST_F()
114 INST(4, Opcode::IfImm).CC(CC_LE).Imm(10).Inputs(0); in TEST_F()
[all …]
Dcleanup_test.cpp56 INST(2, Opcode::If).SrcType(DataType::Type::INT64).CC(CC_LE).Inputs(0, 1); in TEST_F()
60 INST(3, Opcode::If).SrcType(DataType::Type::INT64).CC(CC_EQ).Inputs(0, 1); in TEST_F()
64 INST(4, Opcode::Add).s64().Inputs(0, 1); in TEST_F()
68 INST(5, Opcode::Phi).s64().Inputs({{3, 1}, {4, 4}}); in TEST_F()
72 INST(6, Opcode::Phi).s64().Inputs({{2, 0}, {5, 5}}); in TEST_F()
73 INST(7, Opcode::Return).s64().Inputs(6); in TEST_F()
86 INST(2, Opcode::If).SrcType(DataType::Type::INT64).CC(CC_LE).Inputs(0, 1); in TEST_F()
90 INST(3, Opcode::If).SrcType(DataType::Type::INT64).CC(CC_EQ).Inputs(0, 1); in TEST_F()
94 INST(4, Opcode::Add).s64().Inputs(0, 1); in TEST_F()
98 INST(5, Opcode::Phi).s64().Inputs({{2, 0}, {3, 1}, {4, 4}}); in TEST_F()
[all …]
Dir_builder_test.cpp75 INST(1, Opcode::Return).Inputs(0); in CheckSimple()
116 INST(1, Opcode::Return).Inputs(0); in CheckSimpleWithImm()
152 INST(2, Opcode::Cmp).s32().Inputs(0, 1); in CheckCmp()
153 INST(3, Opcode::Return).s32().Inputs(2); in CheckCmp()
184 INST(2, Opcode::Cmp).s32().SrcType(data_type).Fcmpg(fcmpg).Inputs(0, 1); in CheckFloatCmp()
185 INST(3, Opcode::Return).s32().Inputs(2); in CheckFloatCmp()
246 INST(2, Opcode::Compare).b().CC(CC).Inputs(0, 1); in CheckCondJump()
247 INST(3, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(2); in CheckCondJump()
312 INST(1, Opcode::Compare).b().CC(CC).Inputs(0, 2); in CheckCondJumpWithZero()
313 INST(3, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(1); in CheckCondJumpWithZero()
[all …]
Dbasicblock_test.cpp94 INST(18, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
95 INST(19, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(18); in TEST_F()
100 INST(22, Opcode::Mul).u64().Inputs(20, 20); in TEST_F()
101 INST(3, Opcode::Not).u64().Inputs(0); in TEST_F()
102 INST(17, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
103 INST(11, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(17); in TEST_F()
107 INST(4, Opcode::Add).u64().Inputs(0, 1); in TEST_F()
111 INST(5, Opcode::Sub).u64().Inputs(1, 0); in TEST_F()
115 INST(6, Opcode::Div).u64().Inputs(22, 21); in TEST_F()
119 INST(8, Opcode::Phi).u64().Inputs({{3, 4}, {6, 5}, {7, 6}}); in TEST_F()
[all …]
Dbranch_elimination_test.cpp103 INST(19, Opcode::Compare).b().CC(CC_EQ).Inputs(0, 1); in BuildTestGraph()
104 INST(4, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(19); in BuildTestGraph()
108 INST(5, Opcode::Add).u64().Inputs(0, 1); in BuildTestGraph()
109 INST(6, Opcode::Add).u64().Inputs(5, 2); in BuildTestGraph()
113 INST(9, Opcode::Compare).b().CC(CC_EQ).Inputs(0, 2); in BuildTestGraph()
114 INST(10, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(9); in BuildTestGraph()
118 INST(11, Opcode::Sub).u64().Inputs(0, 1); in BuildTestGraph()
119 INST(12, Opcode::Sub).u64().Inputs(11, 2); in BuildTestGraph()
123 INST(14, Opcode::Mul).u64().Inputs(0, 1); in BuildTestGraph()
124 INST(15, Opcode::Mul).u64().Inputs(14, 2); in BuildTestGraph()
[all …]
Dgraph_comparator_test.cpp33 INST(3, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(2); in CreateGraph()
37 INST(4, Opcode::Add).s32().Inputs(0, 1); in CreateGraph()
41 INST(5, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(2); in CreateGraph()
45 INST(6, Opcode::Sub).s32().Inputs(0, 1); in CreateGraph()
49 INST(7, Opcode::Mul).s32().Inputs(0, 1); in CreateGraph()
53 INST(8, Opcode::Phi).s32().Inputs(inputs); in CreateGraph()
54 INST(9, Opcode::Return).s32().Inputs(8); in CreateGraph()
71 INST(2, Opcode::Add).s32().Inputs(0, 1); in TEST_F()
75 INST(4, Opcode::Return).s32().Inputs(2); in TEST_F()
85 INST(6, Opcode::Add).s32().Inputs(23, 3); in TEST_F()
[all …]
Dreg_alloc_common_test.cpp54 INST(30, Opcode::SaveState).Inputs(0).SrcVregs({0}); in TestParametersLocations()
55 INST(11, Opcode::NullCheck).ref().Inputs(0, 30); in TestParametersLocations()
56 INST(12, Opcode::StoreObject).u64().Inputs(11, 1); in TestParametersLocations()
57 INST(13, Opcode::StoreObject).u64().Inputs(11, 2); in TestParametersLocations()
58 INST(14, Opcode::StoreObject).u64().Inputs(11, 3); in TestParametersLocations()
59 INST(15, Opcode::StoreObject).u64().Inputs(11, 4); in TestParametersLocations()
60 INST(16, Opcode::StoreObject).u64().Inputs(11, 5); in TestParametersLocations()
61 INST(17, Opcode::StoreObject).u64().Inputs(11, 6); in TestParametersLocations()
62 INST(18, Opcode::StoreObject).u64().Inputs(11, 7); in TestParametersLocations()
63 INST(19, Opcode::StoreObject).u64().Inputs(11, 8); in TestParametersLocations()
[all …]
Dsplit_resolver_test.cpp99 INST(1, Opcode::Add).u64().Inputs(0, 0); in TEST_F()
100 INST(2, Opcode::Return).u64().Inputs(1); in TEST_F()
121 INST(1, Opcode::Add).u64().Inputs(0, 0); in TEST_F()
123 INST(2, Opcode::Add).u64().Inputs(0, 1); in TEST_F()
124 INST(3, Opcode::Return).u64().Inputs(2); in TEST_F()
153 INST(1, Opcode::Compare).b().SrcType(DataType::Type::UINT64).Inputs(0, 0); in TEST_F()
154 INST(2, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(1); in TEST_F()
159 INST(3, Opcode::SaveState).Inputs(0, 1).SrcVregs({0, 1}); in TEST_F()
171 INST(5, Opcode::SaveState).Inputs(0, 1).SrcVregs({0, 1}); in TEST_F()
177 INST(7, Opcode::Return).u64().Inputs(0); in TEST_F()
[all …]
Dliveness_analyzer_test.cpp77 INST(2, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
78 INST(3, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(2); in TEST_F()
83 INST(5, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
84 INST(6, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(5); in TEST_F()
91 INST(10, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
92 INST(11, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(10); in TEST_F()
98 INST(14, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
99 INST(15, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(14); in TEST_F()
125 INST(2, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
126 INST(3, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(2); in TEST_F()
[all …]
Dloop_analyzer_test.cpp130 INST(5, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
131 INST(6, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(5); in TEST_F()
137 INST(9, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
138 INST(10, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(9); in TEST_F()
142 INST(11, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
143 INST(12, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(11); in TEST_F()
147 INST(13, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
148 INST(14, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(13); in TEST_F()
154 INST(17, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
155 INST(18, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(17); in TEST_F()
[all …]
Dreg_alloc_graph_coloring_test.cpp54 INST(3, Opcode::Compare).b().CC(CC_LT).SrcType(DataType::Type::UINT64).Inputs(2, 0); in TEST_F()
55 INST(4, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(3); in TEST_F()
60 INST(5, Opcode::Add).u64().Inputs(0, 2); in TEST_F()
65 INST(6, Opcode::Phi).u64().Inputs(2, 5); in TEST_F()
66 INST(7, Opcode::Add).u64().Inputs(6, 1); in TEST_F()
67 INST(8, Opcode::Return).u64().Inputs(7); in TEST_F()
102 INST(3, Opcode::Compare).b().CC(CC_LT).SrcType(DataType::Type::UINT64).Inputs(2, 0); in TEST_F()
103 INST(4, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(3); in TEST_F()
108 INST(5, Opcode::Add).u64().Inputs(0, 2); in TEST_F()
113 INST(7, Opcode::Compare).b().CC(CC_LT).SrcType(DataType::Type::UINT64).Inputs(1, 0); in TEST_F()
[all …]
Dinst_test.cpp56 INST(2, Opcode::Add).u64().Inputs(0, 1); in TEST_F()
57 INST(8, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
58 INST(9, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(8); in TEST_F()
62 INST(3, Opcode::Not).u64().Inputs(0); in TEST_F()
66 INST(4, Opcode::Not).u64().Inputs(1); in TEST_F()
67 INST(11, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
68 INST(12, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(11); in TEST_F()
72 INST(7, Opcode::Sub).u64().Inputs(3, 2); in TEST_F()
77 INST(5, Opcode::Not).u64().Inputs(4); in TEST_F()
81 INST(6, Opcode::Phi).u64().Inputs({{5, 3}, {4, 4}, {7, 5}}); in TEST_F()
[all …]
Ddom_tree_test.cpp111 INST(2, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
112 INST(3, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(2); in TEST_F()
121 INST(6, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
122 INST(7, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(6); in TEST_F()
257 INST(2, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
258 INST(3, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(2); in TEST_F()
264 INST(6, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
265 INST(7, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(6); in TEST_F()
270 INST(9, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
271 INST(10, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(9); in TEST_F()
[all …]
Drpo_test.cpp87 INST(2, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
88 INST(3, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(2); in TEST_F()
92 INST(4, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
93 INST(5, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(2); in TEST_F()
206 INST(2, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
207 INST(3, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(2); in TEST_F()
212 INST(5, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
213 INST(6, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(5); in TEST_F()
219 INST(9, Opcode::Compare).b().SrcType(DataType::Type::INT64).Inputs(0, 1); in TEST_F()
220 INST(10, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(9); in TEST_F()
Dlife_intervals_test.cpp175 INST(2, Opcode::Add).u64().Inputs(0, 1); in TEST_F()
176 INST(3, Opcode::Return).u64().Inputs(2); in TEST_F()
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Dconst_array_resolver_test.cpp32 INST(4, Opcode::LoadAndInitClass).ref().Inputs(20).TypeId(68); in TEST_F()
33 INST(3, Opcode::NewArray).ref().Inputs(4, 1, 20); in TEST_F()
34 INST(11, Opcode::StoreArray).u64().Inputs(3, 2, 2); in TEST_F()
35 INST(13, Opcode::StoreArray).u64().Inputs(3, 2, 2); in TEST_F()
36 INST(10, Opcode::Return).ref().Inputs(3); in TEST_F()
55 INST(4, Opcode::LoadAndInitClass).ref().Inputs(20).TypeId(68); in TEST_F()
57 INST(21, Opcode::LoadConstArray).ref().Inputs(22); in TEST_F()
58 INST(10, Opcode::Return).ref().Inputs(21); in TEST_F()
75 INST(4, Opcode::LoadAndInitClass).ref().Inputs(20).TypeId(68); in TEST_F()
76 INST(3, Opcode::NewArray).ref().Inputs(4, 1, 20); in TEST_F()
[all …]
Dbitops_bitwise_and_test.cpp90 INST(4, Opcode::Phi).s64().Inputs(1, 10); in TEST_F()
91 INST(5, Opcode::Phi).s32().Inputs(2, 20); in TEST_F()
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()
97 INST(10, Opcode::And).s64().Inputs(9, 4); in TEST_F()
98 INST(20, Opcode::AddI).s32().Inputs(5).Imm(1); in TEST_F()
103 INST(13, Opcode::Cmp).s32().Inputs(4, 22); in TEST_F()
104 INST(15, Opcode::IfImm).SrcType(INT32).CC(compiler::CC_EQ).Imm(0).Inputs(13); in TEST_F()
108 INST(16, Opcode::Return).b().Inputs(2); in TEST_F()
113 INST(18, Opcode::Return).b().Inputs(21); in TEST_F()
Dcanonicalization_test.cpp31 INST(2, Opcode::Add).s32().Inputs(0, 1); in TEST_F()
32 INST(3, Opcode::Compare).b().Inputs(0, 2); in TEST_F()
33 INST(4, Opcode::Return).b().Inputs(3); in TEST_F()
47 INST(2, Opcode::Add).s32().Inputs(0, 1); in TEST_F()
48 INST(3, Opcode::Compare).b().Inputs(2, 0); in TEST_F()
49 INST(4, Opcode::Return).b().Inputs(3); in TEST_F()
Dcommon.h461 INST(1, Opcode::Return).Inputs(0); in CheckSimple()
501 INST(1, Opcode::Return).Inputs(0); in CheckSimpleWithImm()
537 INST(2, Opcode::Cmp).s32().Inputs(0, 1); in CheckCmp()
538 INST(3, Opcode::Return).s32().Inputs(2); in CheckCmp()
569 INST(2, Opcode::Cmp).s32().SrcType(data_type).Fcmpg(fcmpg).Inputs(0, 1); in CheckFloatCmp()
570 INST(3, Opcode::Return).s32().Inputs(2); in CheckFloatCmp()
630 INST(1, Opcode::Compare).b().CC(CC).Inputs(0, 2); in CheckCondJumpWithZero()
634 .Inputs(1) in CheckCondJumpWithZero()
700 INST(2, Opcode::Compare).b().CC(CC).Inputs(0, 1); in CheckCondJump()
705 .Inputs(2); in CheckCondJump()
/arkcompiler/runtime_core/compiler/optimizer/templates/
DIR-instructions.md.erb16 % columns = %w(Instruction Destination Inputs Properties Verification Description)
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dinst.cpp76 Input *old_inputs = Inputs(); in Reallocate()
Dinst.h584 Input *Inputs() in Inputs() function
615 return &Inputs()[index]; in GetInput()
621 Inputs()[index] = input; in SetInput()
1169 return Span<Input>(operands->Inputs(), operands->Size()); in GetInputs()
Dir_constructor.h188 IrConstructor &Inputs(Args... inputs) in Inputs() function
202 IrConstructor &Inputs(std::initializer_list<std::pair<int, int>> inputs) in Inputs() function