Home
last modified time | relevance | path

Searched full:3 (Results 1 – 25 of 1780) sorted by relevance

12345678910>>...72

/arkcompiler/runtime_core/compiler/tests/
Dif_conversion_test.cpp37 * [3] |
50 BASIC_BLOCK(2, 3, 4) in TEST_F()
52 INST(3, Opcode::Compare).b().CC(CC_B).Inputs(0, 1); in TEST_F()
53 INST(4, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(3); in TEST_F()
55 BASIC_BLOCK(3, 4) in TEST_F()
61 INST(6, Opcode::Phi).u64().Inputs({{2, 0}, {3, 5}}); in TEST_F()
76 INST(3, Opcode::Compare).b().CC(CC_B).Inputs(0, 1); in TEST_F()
78 … INST(4, Opcode::SelectImm).u64().SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(5, 0, 3); in TEST_F()
92 BASIC_BLOCK(2, 3, 4) in TEST_F()
94 INST(3, Opcode::If).SrcType(DataType::UINT64).CC(CC_NE).Inputs(0, 1); in TEST_F()
[all …]
Dcode_sink_test.cpp31 CONSTANT(3, 0x0).s64(); in TEST_F()
32 BASIC_BLOCK(2, 3, 4) in TEST_F()
35 INST(6, Opcode::Compare).b().CC(CC_NE).Inputs(0, 3); in TEST_F()
42 BASIC_BLOCK(3, -1) in TEST_F()
44 INST(11, Opcode::Return).s64().Inputs(3); in TEST_F()
53 CONSTANT(3, 0x0).s64(); in TEST_F()
54 BASIC_BLOCK(2, 3, 4) in TEST_F()
56 INST(6, Opcode::Compare).b().CC(CC_NE).Inputs(0, 3); in TEST_F()
64 BASIC_BLOCK(3, -1) in TEST_F()
66 INST(11, Opcode::Return).s64().Inputs(3); in TEST_F()
[all …]
Dloop_peeling_test.cpp30 BASIC_BLOCK(2, 3, 4) in BuildGraphTwoBackEdges()
33 INST(3, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(0); in BuildGraphTwoBackEdges()
35 BASIC_BLOCK(3, 2, 5) in BuildGraphTwoBackEdges()
63 BASIC_BLOCK(6, 3) in BuildGraphNotHeaderExit()
65 INST(3, Opcode::Add).Inputs(1, 2).u64(); in BuildGraphNotHeaderExit()
67 BASIC_BLOCK(7, 3) in BuildGraphNotHeaderExit()
71 BASIC_BLOCK(3, 4, 5) in BuildGraphNotHeaderExit()
73 INST(10, Opcode::Phi).Inputs(3, 9).u64(); in BuildGraphNotHeaderExit()
95 BASIC_BLOCK(2, 3, 4) in BuildGraphHeaderAndBackEdgeExit()
97 INST(3, Opcode::Phi).u64().Inputs(1, 9); in BuildGraphHeaderAndBackEdgeExit()
[all …]
Dmove_constants_test.cpp31 BASIC_BLOCK(2, 4, 3) in TEST_F()
36 BASIC_BLOCK(3, -1) in TEST_F()
38 INST(3, Opcode::ReturnI).u64().Imm(0); in TEST_F()
61 BASIC_BLOCK(2, 4, 3) in TEST_F()
66 BASIC_BLOCK(3, -1) in TEST_F()
68 INST(3, Opcode::ReturnI).u64().Imm(0); in TEST_F()
102 BASIC_BLOCK(2, 4, 3) in TEST_F()
107 BASIC_BLOCK(3, -1) in TEST_F()
109 INST(3, Opcode::ReturnI).u64().Imm(0); in TEST_F()
134 BASIC_BLOCK(2, 4, 3) in TEST_F()
[all …]
Dcleanup_test.cpp28 BASIC_BLOCK(2, 3) {} in TEST_F()
29 BASIC_BLOCK(3, -1) in TEST_F()
40 BASIC_BLOCK(3, -1) in TEST_F()
54 BASIC_BLOCK(2, 3, 6) in TEST_F()
58 BASIC_BLOCK(3, 4, 5) in TEST_F()
60 INST(3, Opcode::If).SrcType(DataType::Type::INT64).CC(CC_EQ).Inputs(0, 1); in TEST_F()
68 INST(5, Opcode::Phi).s64().Inputs({{3, 1}, {4, 4}}); in TEST_F()
84 BASIC_BLOCK(2, 3, 6) in TEST_F()
88 BASIC_BLOCK(3, 4, 6) in TEST_F()
90 INST(3, Opcode::If).SrcType(DataType::Type::INT64).CC(CC_EQ).Inputs(0, 1); in TEST_F()
[all …]
Dgraph_cloner_test.cpp40 BASIC_BLOCK(2, 3, 6) in TEST_F()
43 INST(3, Opcode::NewArray).ref().Inputs(44, 2); in TEST_F()
47 BASIC_BLOCK(3, 3, 6) in TEST_F()
50 INST(7, Opcode::SaveState).Inputs(0, 1, 2, 3).SrcVregs({0, 1, 2, 3}); in TEST_F()
52 INST(9, Opcode::StoreArray).s32().Inputs(3, 8, 0); // a[i] = 0 in TEST_F()
64 …etGraph(), GetGraph()->GetAllocator(), GetGraph()->GetLocalAllocator()).CloneLoop(BB(3).GetLoop()); in TEST_F()
75 INST(3, Opcode::NewArray).ref().Inputs(44, 2); in TEST_F()
77 BASIC_BLOCK(7, 3, 6) in TEST_F()
82 BASIC_BLOCK(3, 3, 6) in TEST_F()
85 INST(7, Opcode::SaveState).Inputs(0, 1, 2, 3).SrcVregs({0, 1, 2, 3}); in TEST_F()
[all …]
Ddeoptimize_elimination_test.cpp49 INST(3, Opcode::SaveStateDeoptimize).Inputs(1).SrcVregs({1}); in TEST_F()
51 INST(5, Opcode::DeoptimizeIf).Inputs(4, 3); in TEST_F()
71 INST(3, Opcode::SaveStateDeoptimize).Inputs(1).SrcVregs({1}); in TEST_F()
73 INST(5, Opcode::DeoptimizeIf).Inputs(4, 3); in TEST_F()
92 INST(3, Opcode::SaveStateDeoptimize).Inputs(10).SrcVregs({10}); in TEST_F()
94 INST(5, Opcode::DeoptimizeIf).Inputs(4, 3); in TEST_F()
110 INST(3, Opcode::NOP); in TEST_F()
134 INST(3, Opcode::SaveStateDeoptimize).Inputs(10).SrcVregs({10}); in TEST_F()
136 INST(5, Opcode::DeoptimizeIf).Inputs(4, 3); in TEST_F()
159 INST(3, Opcode::SaveStateDeoptimize).Inputs(10).SrcVregs({10}); in TEST_F()
[all …]
Dgraph_comparator_test.cpp31 BASIC_BLOCK(2, 3, 4) in CreateGraph()
33 INST(3, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(2); in CreateGraph()
35 BASIC_BLOCK(3, 7) in CreateGraph()
69 BASIC_BLOCK(2, 3) in TEST_F()
73 BASIC_BLOCK(3, 1) in TEST_F()
82 PARAMETER(3, 0).s32(); in TEST_F()
85 INST(6, Opcode::Add).s32().Inputs(23, 3); in TEST_F()
104 BASIC_BLOCK(2, 3, 4) in TEST_F()
106 INST(3, Opcode::IfImm).SrcType(DataType::BOOL).CC(CC_NE).Imm(0).Inputs(2); in TEST_F()
108 BASIC_BLOCK(3, 5) in TEST_F()
[all …]
Dinst_test.cpp37 * [3]= [4]= in TEST_F()
54 BASIC_BLOCK(2, 3, 4) in TEST_F()
60 BASIC_BLOCK(3, 5) in TEST_F()
62 INST(3, Opcode::Not).u64().Inputs(0); in TEST_F()
72 INST(7, Opcode::Sub).u64().Inputs(3, 2); in TEST_F()
81 INST(6, Opcode::Phi).u64().Inputs({{5, 3}, {4, 4}, {7, 5}}); in TEST_F()
87 ASSERT_TRUE(CheckUsers(INS(0), {2, 3, 8, 11})); in TEST_F()
90 ASSERT_TRUE(CheckUsers(INS(3), {6, 7})); in TEST_F()
94 ASSERT_TRUE(CheckInputs(INS(3), {0})); in TEST_F()
95 ASSERT_TRUE(CheckInputs(INS(7), {3, 2})); in TEST_F()
[all …]
Dbasicblock_test.cpp68 * [3] [4]
92 BASIC_BLOCK(2, 3, 4) in TEST_F()
101 INST(3, Opcode::Not).u64().Inputs(0); in TEST_F()
105 BASIC_BLOCK(3, 9) in TEST_F()
119 INST(8, Opcode::Phi).u64().Inputs({{3, 4}, {6, 5}, {7, 6}}); in TEST_F()
128 CheckVectorEqualBlocksIdSet(BB(2).GetSuccsBlocks(), {3, 4}); in TEST_F()
129 CheckVectorEqualBlocksIdSet(BB(3).GetPredsBlocks(), {2}); in TEST_F()
130 CheckVectorEqualBlocksIdSet(BB(3).GetSuccsBlocks(), {9}); in TEST_F()
139 CheckVectorEqualBlocksIdSet(BB(9).GetPredsBlocks(), {3, 6, 7}); in TEST_F()
151 CheckVectorEqualBlocksIdSet(BB(9).GetPredsBlocks(), {3, 6}); in TEST_F()
[all …]
Dloop_analyzer_test.cpp68 * /------/------------->[3]<---------------------\
125 BASIC_BLOCK(2, 3) {} in TEST_F()
126 BASIC_BLOCK(3, 4) {} in TEST_F()
157 BASIC_BLOCK(14, 3) {} in TEST_F()
160 BASIC_BLOCK(17, 3) {} in TEST_F()
162 BASIC_BLOCK(19, 3) {} in TEST_F()
171 auto loop3 = BB(3).GetLoop(); in TEST_F()
179 ASSERT_EQ(loop1->GetPreHeader(), &BB(3)); in TEST_F()
194 ASSERT_EQ(loop3->GetHeader(), &BB(3)); in TEST_F()
197 CheckVectorEqualBlocksIdSet(loop3->GetBlocks(), {3, 7, 12, 13, 14, 15, 16, 17, 18, 19}); in TEST_F()
[all …]
Dvn_test.cpp43 PARAMETER(3, 3).f64(); in TEST_F()
52 INST(9, Opcode::Div).f64().Inputs(3, 2); in TEST_F()
54 INST(11, Opcode::Div).f64().Inputs(3, 2); in TEST_F()
68 PARAMETER(3, 3).f64(); in TEST_F()
77 INST(9, Opcode::Div).f64().Inputs(3, 2); in TEST_F()
79 INST(11, Opcode::Div).f64().Inputs(3, 2); in TEST_F()
101 PARAMETER(3, 3).f64(); in TEST_F()
105 BASIC_BLOCK(2, 3, 4) in TEST_F()
109 INST(8, Opcode::Cmp).s32().SrcType(DataType::Type::FLOAT64).Fcmpg(true).Inputs(2, 3); in TEST_F()
114 BASIC_BLOCK(3, -1) in TEST_F()
[all …]
Dadjust_arefs_test.cpp37 CONSTANT(3, 10).s32(); in TEST_F()
39 BASIC_BLOCK(3, 4, 5) in TEST_F()
49 BASIC_BLOCK(4, 3) in TEST_F()
51 INST(40, Opcode::Add).s32().Inputs(10, 3); in TEST_F()
65 CONSTANT(3, 10).s32(); in TEST_F()
67 BASIC_BLOCK(3, 4, 5) in TEST_F()
79 BASIC_BLOCK(4, 3) in TEST_F()
81 INST(40, Opcode::Add).s32().Inputs(10, 3); in TEST_F()
107 CONSTANT(3, 10).s32(); in TEST_F()
109 BASIC_BLOCK(3, 4, 5) in TEST_F()
[all …]
/arkcompiler/ets_frontend/ts2panda/tests/expression/
DcmpBinary.test.ts57 let insns = compileMainSnippet("2 < 3;");
58 IRNode.pg = new PandaGen("foo", creatAstFromSnippet("2 < 3;"), 0, undefined);
66 new Ldai(new Imm(3)),
80 let insns = compileMainSnippet("3 > 1;");
81 IRNode.pg = new PandaGen("foo", creatAstFromSnippet("3 > 1;"), 0, undefined);
87 new Ldai(new Imm(3)),
103 let insns = compileMainSnippet("3 <= 4;");
104 IRNode.pg = new PandaGen("foo", creatAstFromSnippet("3 <= 4;"), 0, undefined);
110 new Ldai(new Imm(3)),
126 let insns = compileMainSnippet("3 >= 2;");
[all …]
DoperationEqual.test.ts47 "a += 3;");
50 "a += 3;"), 0, undefined);
57 new Ldai(new Imm(3)),
59 new Trystglobalbyname(new Imm(3), 'a'),
79 new Trystglobalbyname(new Imm(3), 'a'),
99 new Trystglobalbyname(new Imm(3), 'a'),
107 "a **= 3;");
110 "a **= 3;"), 0, undefined);
117 new Ldai(new Imm(3)),
119 new Trystglobalbyname(new Imm(3), 'a'),
[all …]
/arkcompiler/ets_runtime/test/moduletest/spreadoperator/
Dexpect_output.txt15 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
18 3
20 3
22 3
24 3
25 1,2,3
26 a,1 b,2 c,3
27 1 2 3
29 1 2 3
31 1 2 3
[all …]
/arkcompiler/ets_runtime/test/moduletest/callframe/
Dcallframe.js83 print(foo0(1,2,3));
84 print(foo1(1,2,3)); // 'this' is undefined in strict mode
85 print(foo2(1,2,3));
86 print(foo3(1,2,3));
87 print(foo4(1,2,3));
88 print(foo5(1,2,3)); // 'this' is undefined in strict mode
89 print(foo6(1,2,3));
90 print(foo7(1,2,3));
91 print(new foo0(1,2,3).a);
92 print(new foo1(1,2,3).a);
[all …]
Dexpect_output.txt18 3
20 3
21 3
27 3
29 3
31 3
34 3
/arkcompiler/runtime_core/verification/util/tests/
Dobj_pool_test.cpp80 EXPECT_EQ(pool.Count(), 3); in TEST()
82 EXPECT_EQ(pool.AccCount(), 3); in TEST()
83 EXPECT_EQ(result, 3); in TEST()
85 EXPECT_EQ(pool.Count(), 3); in TEST()
91 EXPECT_EQ(pool.Count(), 3); in TEST()
93 EXPECT_EQ(pool.AccCount(), 3); in TEST()
94 EXPECT_EQ(result, 3); in TEST()
98 EXPECT_EQ(pool.Count(), 3); in TEST()
99 EXPECT_EQ(pool.FreeCount(), 3); in TEST()
122 EXPECT_EQ(pool.Count(), 3); in TEST()
[all …]
Drelation_test.cpp39 +--> 3 --+ in TEST_F()
41 relation += {{1, 2}, {1, 3}, {2, 4}, {3, 4}}; in TEST_F()
62 auto rhs = (Set {2, 3, 4}); in TEST_F()
64 EXPECT_EQ(get_set_from(1), (Set {2, 3, 4})); in TEST_F()
66 EXPECT_EQ(get_set_from(3), (Set {4})); in TEST_F()
67 EXPECT_EQ(get_set_to(4), (Set {1, 2, 3})); in TEST_F()
69 EXPECT_EQ(get_set_to(3), (Set {1})); in TEST_F()
88 +--> 3 --+ in TEST_F()
90 relation += {{1, 2}, {1, 3}, {2, 4}, {3, 4}, {4, 5}, {5, 2}, {4, 6}}; in TEST_F()
131 +--> 3 --+ / in TEST_F()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dcommon_stubs.cpp73 GateRef y = TaggedArgument(2); // 2: 3rd argument in GenerateCircuit()
89 GateRef y = TaggedArgument(2); // 2: 3rd argument in GenerateCircuit()
98 GateRef y = TaggedArgument(2); // 2: 3rd argument in GenerateCircuit()
107 GateRef y = TaggedArgument(2); // 2: 3rd argument in GenerateCircuit()
116 GateRef y = TaggedArgument(2); // 2: 3rd argument in GenerateCircuit()
125 GateRef y = TaggedArgument(2); // 2: 3rd argument in GenerateCircuit()
134 GateRef y = TaggedArgument(2); // 2: 3rd argument in GenerateCircuit()
143 GateRef y = TaggedArgument(2); // 2: 3rd argument in GenerateCircuit()
152 GateRef y = TaggedArgument(2); // 2: 3rd argument in GenerateCircuit()
161 GateRef y = TaggedArgument(2); // 2: 3rd argument in GenerateCircuit()
[all …]
/arkcompiler/runtime_core/disassembler/tests/
Dliterals_test.cpp.in36 ASSERT_NE(ss.str().find(".array array_0 i32 3 { 2 3 4 }"), std::string::npos);
37 ASSERT_NE(ss.str().find(".array array_1 i32 3 { 2 3 4 }"), std::string::npos);
38 ASSERT_NE(ss.str().find(".array array_2 i32 3 { 2 3 4 }"), std::string::npos);
39 ASSERT_NE(ss.str().find(".array array_3 i32 3 { 2 3 4 }"), std::string::npos);
53 ASSERT_NE(ss.str().find("panda.String 3 { \"a\" \"ab\" \"abc\" }"), std::string::npos);
54 ASSERT_NE(ss.str().find("u1 3 { 0 1 0 }"), std::string::npos);
55 ASSERT_NE(ss.str().find("i32 3 { 2 3 4 }"), std::string::npos);
56 ASSERT_NE(ss.str().find("f32 3 { 5.1 6.2 7.3 }"), std::string::npos);
/arkcompiler/runtime_core/disassembler/tests/sources/
Dliterals_same.pa14 .array array0 i32 3 { 2 3 4}
15 .array array1 i32 3 { 2 3 4}
16 .array array2 i32 3 { 2 3 4}
17 .array array3 i32 3 { 2 3 4}
/arkcompiler/ets_runtime/test/moduletest/array/
Darray.js36 var arr3 = [1,2,3,4,5,6];
41 var arr4 = [1,3,4];
45 // 1, 2, 3, 4
46 var arr4 = [1,2,3,4];
47 arr4.splice(3, 1, 3);
50 // 1, 2, 3, 3
52 var arr5 = [1,2,3,4,5,6];
56 // 1, 2, 3, 4, 5
58 var arr6 = [1,2,3,4,5];
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dfunction-expression-is-expected.txt42 "line": 3,
46 "line": 3,
61 "line": 3,
65 "line": 3,
79 "line": 3,
90 "line": 3,
101 "line": 3,
112 "line": 3,
125 "line": 3,

12345678910>>...72