Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/libcxx/test/std/containers/sequences/list/list.cons/
H A Dinput_iterator.pass.cpp89 int arr2[] = {1, 101, 42}; in test_emplacable_concept() local
99 std::list<T> v(It(arr2), It(std::end(arr2))); in test_emplacable_concept()
117 std::list<T> v(It(arr2), It(std::end(arr2))); in test_emplacable_concept()
136 int arr2[] = {1, 101, 42}; in test_emplacable_concept_with_alloc() local
147 std::list<T> v(It(arr2), It(std::end(arr2)), a); in test_emplacable_concept_with_alloc()
166 std::list<T> v(It(arr2), It(std::end(arr2)), a); in test_emplacable_concept_with_alloc()
183 int arr2[] = {1, 101, 42}; in test_ctor_under_alloc() local
193 C v(It(arr2), It(std::end(arr2))); in test_ctor_under_alloc()
205 C v(It(arr2), It(std::end(arr2))); in test_ctor_under_alloc()
226 C v(It(arr2), It(std::end(arr2)), a); in test_ctor_under_alloc_with_alloc()
[all …]
/llvm-project-15.0.7/libcxx/test/libcxx/containers/sequences/vector/vector.cons/
H A Dconstruct_iter_iter.pass.cpp21 int arr2[] = {1, 101, 42}; in test_ctor_under_alloc() local
32 C v(arr2, arr2 + 3); in test_ctor_under_alloc()
46 C v(arr2, arr2 + 3); in test_ctor_under_alloc()
H A Dconstruct_iter_iter_alloc.pass.cpp22 int arr2[] = {1, 101, 42}; in test_ctor_under_alloc() local
34 C v(arr2, arr2 + 3, a); in test_ctor_under_alloc()
49 C v(arr2, arr2 + 3, a); in test_ctor_under_alloc()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.cons/
H A Dconstruct_iter_iter_alloc.pass.cpp92 int arr2[] = {1, 101, 42}; in emplaceable_concept_tests() local
103 std::vector<T> v(It(arr2), It(std::end(arr2)), a); in emplaceable_concept_tests()
120 std::vector<T> v(It(arr2), It(std::end(arr2)), a); in emplaceable_concept_tests()
133 int arr2[] = {1, 101, 42}; in test_ctor_under_alloc() local
145 C v(It(arr2), It(std::end(arr2)), a); in test_ctor_under_alloc()
H A Dassign_iter_iter.pass.cpp29 int arr2[] = {1, 101, 42}; in test() local
40 v.assign(It(arr2), It(std::end(arr2))); in test()
57 v.assign(It(arr2), It(std::end(arr2))); in test()
H A Dconstruct_iter_iter.pass.cpp90 int arr2[] = {1, 101, 42}; in emplaceable_concept_tests() local
99 std::vector<T> v(It(arr2), It(std::end(arr2))); in emplaceable_concept_tests()
114 std::vector<T> v(It(arr2), It(std::end(arr2))); in emplaceable_concept_tests()
129 int arr2[] = {1, 101, 42}; in test_ctor_under_alloc() local
139 C v(It(arr2), It(std::end(arr2))); in test_ctor_under_alloc()
/llvm-project-15.0.7/flang/test/Evaluate/
H A Dfolding09.f9012 subroutine test(arr1, arr2, arr3, mat, alloc) argument
13 real, intent(in) :: arr1(:), arr2(10), mat(10, 10) local
22 logical, parameter :: test_isc06 = is_contiguous(arr2)
25 logical, parameter :: test_isc09 = is_contiguous(arr2(1:10:1))
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/
H A Dbsearch.cpp11 static int arr2[] = {10, 1, 1, 3, 4, 6, 7, 7}; variable
47 bsearch(&i, arr2, array_size(arr2), sizeof(arr2[0]), &cmp_pos); in main()
/llvm-project-15.0.7/clang/test/Sema/
H A Ddiv-sizeof-array.cpp13 unsigned long long arr2[4]; in test() local
18 int a4 = sizeof arr2 / sizeof p; in test()
26 int a11 = sizeof(arr2) / (sizeof(unsigned)); in test()
32 int b1 = sizeof(arr4) / sizeof(arr2[12]); in test()
H A Ddiv-sizeof-ptr.cpp37 int arr2[10][12]; in test() local
38 int d1 = sizeof(arr2) / sizeof(*arr2); in test()
H A Ddesignated-initializers.c181 u_short arr2[3]; member
184 const union wibble wobble = { .arr2[0] = 0xffff,
185 .arr2[1] = 0xffff,
186 .arr2[2] = 0xffff };
188 const union wibble wobble2 = { .arr2 = {4, 5, 6}, 7 }; // expected-warning{{excess elements in unio…
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.cons/
H A Diter_iter_alloc.pass.cpp61 int arr2[] = {1, 101, 42}; in test_emplacable_concept() local
71 std::deque<T> v(It(arr2), It(std::end(arr2)), a); in test_emplacable_concept()
87 std::deque<T> v(It(arr2), It(std::end(arr2)), a); in test_emplacable_concept()
H A Diter_iter.pass.cpp72 int arr2[] = {1, 101, 42}; in test_emplacable_concept() local
81 std::deque<T> v(It(arr2), It(std::end(arr2))); in test_emplacable_concept()
96 std::deque<T> v(It(arr2), It(std::end(arr2))); in test_emplacable_concept()
/llvm-project-15.0.7/llvm/test/Transforms/SLPVectorizer/X86/
H A Dno_alternate_divrem.ll4 define void @test_add_sdiv(i32 *%arr1, i32 *%arr2, i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
36 %gep2.0 = getelementptr i32, i32* %arr2, i32 0
37 %gep2.1 = getelementptr i32, i32* %arr2, i32 1
38 %gep2.2 = getelementptr i32, i32* %arr2, i32 2
39 %gep2.3 = getelementptr i32, i32* %arr2, i32 3
66 define void @test_urem_add(i32 *%arr1, i32 *%arr2, i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
100 %gep2.0 = getelementptr i32, i32* %arr2, i32 0
101 %gep2.1 = getelementptr i32, i32* %arr2, i32 1
102 %gep2.2 = getelementptr i32, i32* %arr2, i32 2
103 %gep2.3 = getelementptr i32, i32* %arr2, i32 3
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Dconstant-addr-space-globals.cl16 // CHECK: @__const.k.arr2 = private unnamed_addr addrspace(2) constant [3 x i32] [i32 4, i32 5, i32…
22 // CHECK: %arr2 = alloca [3 x i32]
23 const int arr2[] = {4, 5, 6};
30 foo(&var1, arr1, arr2, arr3);
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dtemplate-instantiation.cpp167 static const int arr2[]; member
176 template <typename T> const int S<T>::arr2[] = { 1, 2, kBar }; // no side effects member in PR10001::S<T>
178 template <typename T> const int S<T>::y = sizeof(arr2) / sizeof(arr2[0]);
/llvm-project-15.0.7/clang/test/CXX/dcl.decl/dcl.meaning/dcl.array/
H A Dp3.cpp95 extern T arr2; in f()
96 extern int arr2[]; in f()
98 static_assert(sizeof(arr2) == 12, ""); in f()
101 static_assert(sizeof(arr2) == 13, ""); // expected-error {{failed}} in f()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Ddeprecated.cpp242 int arr1[3], arr2[4]; variable
243 …bool b1 = arr1 == arr2; // expected-warning {{array comparison always evaluates to false}} cxx20-w…
244 …bool b2 = arr1 < arr2; // expected-warning {{array comparison always evaluates to a constant}} cxx…
249 bool b5 = arr1 <=> arr2; // cxx20-error {{invalid operands}}
H A Dconstexpr-array-unknown-bound.cpp24 int arr2[2][i]; in g() local
25 constexpr int m = ((void)arr2[2], 0); // expected-error {{constant expression}} in g()
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Ddeduction-guide.cpp10 int arr1[3], arr2[3]; variable
12 A a(X<&arr1, &arr2>{}, &arr1, &arr2, &arr3);
/llvm-project-15.0.7/llvm/test/CodeGen/Thumb/
H A Dstack-access.ll23 %arr2 = alloca [1024 x i8], align 1
30 store volatile [1024 x i8]* %arr2, [1024 x i8]** %p, align 4
97 %arr2 = alloca [224 x i32], align 4
111 %arr2idx1 = getelementptr inbounds [224 x i32], [224 x i32]* %arr2, i32 0, i32 0
114 ; %arr2 is in range, but this element of it is not
118 %arr2idx2 = getelementptr inbounds [224 x i32], [224 x i32]* %arr2, i32 0, i32 32
/llvm-project-15.0.7/llvm/test/Instrumentation/AddressSanitizer/
H A Dstack_layout.ll35 %arr2.ptr = bitcast [20 x i8]* %YYY to i8*
36 store volatile i8 0, i8* %arr2.ptr
57 %arr2.ptr = bitcast [55 x i8]* %BBB to i8*
58 store volatile i8 0, i8* %arr2.ptr
80 %arr2.ptr = bitcast [128 x i8]* %BBB to i8*
81 store volatile i8 0, i8* %arr2.ptr
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/android/
H A Dcloexec-fopen.cpp37 char arr2[3] = "re"; in f() local
38 fopen("filename", arr2); in f()
/llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/
H A Douter_loop_test1.ll2 ; extern int arr2[8];
10 ; arr2[i1] = i1;
24 ; CHECK: %[[AAddr:.*]] = getelementptr inbounds [8 x i32], [8 x i32]* @arr2, i64 0, <4 x i64> %[[Ve…
46 @arr2 = external global [8 x i32], align 16
56 %arrayidx = getelementptr inbounds [8 x i32], [8 x i32]* @arr2, i64 0, i64 %indvars.iv21
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dmemfunc.ll139 %arr2 = alloca [9 x i8], align 1
140 %2 = bitcast [9 x i8]* %arr2 to i8*
178 %arr2 = alloca [7 x i8], align 1
179 %2 = bitcast [7 x i8]* %arr2 to i8*
217 %arr2 = alloca [9 x i8], align 1
256 %arr2 = alloca [13 x i8], align 1
295 %arr2 = alloca [13 x i8], align 1
334 %arr2 = alloca [13 x i8], align 1
373 %arr2 = alloca [13 x i8], align 1
383 @arr2 = global [8 x i8] c"\01\02\03\04\05\06\07\08", align 1
[all …]

123