Lines Matching full:length

7 void test_nontype_template_param(int *List, int Length) {  in test_nontype_template_param()  argument
9 for (int i = 0; i < Length; i++) { in test_nontype_template_param()
14 for (int i = 0; i < Length; i++) { in test_nontype_template_param()
20 void test_nontype_template_vectorize(int *List, int Length) { in test_nontype_template_vectorize() argument
22 for (int i = 0; i < Length; i++) { in test_nontype_template_vectorize()
27 for (int i = 0; i < Length; i++) { in test_nontype_template_vectorize()
33 void test_nontype_template_interleave(int *List, int Length) { in test_nontype_template_interleave() argument
35 for (int i = 0; i < Length; i++) { in test_nontype_template_interleave()
40 for (int i = 0; i < Length; i++) { in test_nontype_template_interleave()
46 void test_nontype_template_char(int *List, int Length) { in test_nontype_template_char() argument
48 for (int i = 0; i < Length; i++) { in test_nontype_template_char()
54 void test_nontype_template_bool(int *List, int Length) { in test_nontype_template_bool() argument
56 for (int i = 0; i < Length; i++) { in test_nontype_template_bool()
62 void test_nontype_template_badarg(int *List, int Length) { in test_nontype_template_badarg() argument
66 for (int i = 0; i < Length; i++) { in test_nontype_template_badarg()
72 void test_type_template_vectorize(int *List, int Length) { in test_type_template_vectorize() argument
75 for (int i = 0; i < Length; i++) { in test_type_template_vectorize()
80 for (int i = 0; i < Length; i++) { in test_type_template_vectorize()
85 void test(int *List, int Length) { // expected-note {{declared here}} in test() argument
92 while (i + 1 < Length) { in test()
99 while (i < Length) { in test()
107 while (i - 1 < Length) { in test()
112 while (i - 2 < Length) { in test()
117 while (i - 3 < Length) { in test()
121 int VList[Length]; // expected-warning {{variable length arrays in C++ are a Clang extension}} \ in test()
122 …expected-note {{function parameter 'Length' with unknown value cannot be used in a constant expres… in test()
138 test_nontype_template_param<4, 8>(List, Length); in test()
166 while (i-4 < Length) { in test()
176 while (i-5 < Length) { in test()
180 test_nontype_template_vectorize<4>(List, Length); in test()
181 …tiation of function template specialization}} */ test_nontype_template_vectorize<-1>(List, Length); in test()
182 test_nontype_template_interleave<8>(List, Length); in test()
183 …iation of function template specialization}} */ test_nontype_template_interleave<-1>(List, Length); in test()
185 …ction template specialization}} */ test_nontype_template_char<'A'>(List, Length); // Loop hint arg… in test()
186 …unction template specialization}} */ test_nontype_template_bool<true>(List, Length); // Or a bool. in test()
187 …ion template specialization}} */ test_type_template_vectorize<int>(List, Length); // Or a template… in test()
192 while (i-6 < Length) { in test()
210 while (i-6 < Length) { in test()
218 while (i-7 < Length) { in test()
231 while (i-8 < Length) { in test()
236 …error {{expected a for, while, or do-while loop to follow '#pragma clang loop'}} */ int j = Length; in test()
239 while (j-1 < Length) { in test()
254 while (i-8 < Length) { in test()
269 while (i-9 < Length) { in test()
279 while (i-10 < Length) { in test()
289 while (i-11 < Length) { in test()
295 while (i-11 < Length) { in test()
306 void foo(int *List, int Length) { in foo() argument
309 …arning {{extra tokens at end of '#pragma clang loop vectorize' - ignored}}*/ while (i-6 < Length) { in foo()
314 …rning {{extra tokens at end of '#pragma clang loop interleave' - ignored}}*/ while (i-6 < Length) { in foo()
319 …d-warning {{extra tokens at end of '#pragma clang loop unroll' - ignored}}*/ while (i-6 < Length) { in foo()
324 …xtra tokens at end of '#pragma clang loop vectorize_predicate' - ignored}}*/ while (i-6 < Length) { in foo()
329 …warning {{extra tokens at end of '#pragma clang loop pipeline' - ignored}}*/ while (i-6 < Length) { in foo()
337 while (i-6 < Length) { in foo()