Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/clang/test/Sema/
H A Dself-comparison.c50 int array2[2]; in array_comparisons() local
65 return array1 == array2; // expected-warning{{array comparison always evaluates to false}} in array_comparisons()
66 return array1 != array2; // expected-warning{{array comparison always evaluates to true}} in array_comparisons()
71 return array1 < array2; // expected-warning{{array comparison always evaluates to a constant}} in array_comparisons()
72 return array1 <= array2; // expected-warning{{array comparison always evaluates to a constant}} in array_comparisons()
73 return array1 > array2; // expected-warning{{array comparison always evaluates to a constant}} in array_comparisons()
74 return array1 >= array2; // expected-warning{{array comparison always evaluates to a constant}} in array_comparisons()
H A Dext_vector_ops.c21 int array2[17]; in test1() local
23 (void)(array2[v2ua]); // expected-error{{array subscript is not an integer}} in test1()
H A Dvector-ops.c21 int array2[17]; in test1() local
23 (void)(array2[v2ua]); // expected-error{{array subscript is not an integer}} in test1()
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/objc/
H A Dmain.m63 NSArray *array2 = [NSArray arrayWithObjects: array1, @"array2 object2", @"array2 object3", nil];
68 // expression [array2 count]
69 // expression array2.count
76 obj = [array2 objectAtIndex: 0];
77 obj = [array2 objectAtIndex: 1];
78 obj = [array2 objectAtIndex: 2];
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/poarray/
H A Dmain.mm13 NSArray *array2 = @[@"Hello", @"World"];
14 NSDictionary *dictionary = @{@1: array2, @"Two": array2};
17 tobjects->two = array2;
/llvm-project-15.0.7/lldb/test/API/lang/objc/foundation/
H A Dmain.m106 NSArray *array2 = [NSArray arrayWithObjects: array1, @"array2 object2", @"array2 object3", nil];
111 // expression [array2 count]
112 // expression array2.count
119 obj = [array2 objectAtIndex: 0];
120 obj = [array2 objectAtIndex: 1];
121 obj = [array2 objectAtIndex: 2];
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dpcrel-relocation-plus-offset.ll19 @array2 = common dso_local local_unnamed_addr global [10 x i32] zeroinitializer, align 4
24 ; CHECK-S-NEXT: plwa r3, array2@PCREL+28(0), 1
28 ; CHECK-O-NEXT: R_PPC64_PCREL34 array2+0x1c
31 …%0 = load i32, i32* getelementptr inbounds ([10 x i32], [10 x i32]* @array2, i64 0, i64 7), align 4
38 ; CHECK-S-NEXT: plwa r3, array2@PCREL-8(0), 1
42 ; CHECK-O-NEXT: R_PPC64_PCREL34 array2-0x8
45 …%0 = load i32, i32* getelementptr inbounds ([10 x i32], [10 x i32]* @array2, i64 0, i64 -2), align…
H A Danon_aggr.ll28 define i8* @func2({ i64, i8* } %array1, %tarray* byval(%tarray) %array2) {
31 %tmp = getelementptr inbounds %tarray, %tarray* %array2, i32 0, i32 1
49 define i8* @func3({ i64, i8* }* byval({ i64, i8* }) %array1, %tarray* byval(%tarray) %array2) {
53 %tmp2 = getelementptr inbounds %tarray, %tarray* %array2, i32 0, i32 1
72 { i64, i8* } %array1, %tarray* byval(%tarray) %array2) {
75 %tmp = getelementptr inbounds %tarray, %tarray* %array2, i32 0, i32 1
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Dassumed_size_array.ll11 ; CHECK: DW_AT_name ("array2")
25 ;;subroutine sub (array1, array2)
27 ;; integer :: array2 (4:9, 10:*)
30 ;; array2(5, 10) = 10
47 define void @sub_(i64* noalias %array1, i64* noalias %array2) #0 !dbg !5 {
52 …call void @llvm.dbg.declare(metadata i64* %array2, metadata !18, metadata !DIExpression()), !dbg !…
81 %11 = bitcast i64* %array2 to i8*, !dbg !24
115 !18 = !DILocalVariable(name: "array2", arg: 2, scope: !5, file: !3, line: 1, type: !12)
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stackdepot_test.cpp80 uptr array2[] = {1, 2, 3, 4, 8, 9}; in TEST_F() local
81 StackTrace s2(array2, ARRAY_SIZE(array2)); in TEST_F()
90 uptr array2[] = {0x1111, 0x2222, 0x3333, 0x4444, 0x8888, 0x9999}; in TEST_F() local
91 StackTrace s2(array2, ARRAY_SIZE(array2)); in TEST_F()
/llvm-project-15.0.7/llvm/test/Transforms/SLPVectorizer/AArch64/
H A Dsplat-loads.ll8 define void @splat_loads_double(double *%array1, double *%array2, double *%ptrA, double *%ptrB) {
35 %gep_2_0 = getelementptr inbounds double, double* %array2, i64 0
36 %gep_2_1 = getelementptr inbounds double, double* %array2, i64 1
82 %gep_2_0 = getelementptr inbounds float, float* %array2, i64 0
83 %gep_2_1 = getelementptr inbounds float, float* %array2, i64 1
102 define void @splat_loads_i64(i64 *%array1, i64 *%array2, i64 *%ptrA, i64 *%ptrB) {
129 %gep_2_0 = getelementptr inbounds i64, i64* %array2, i64 0
130 %gep_2_1 = getelementptr inbounds i64, i64* %array2, i64 1
149 define void @splat_loads_i32(i32 *%array1, i32 *%array2, i32 *%ptrA, i32 *%ptrB) {
176 %gep_2_0 = getelementptr inbounds i32, i32* %array2, i64 0
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-self-comparisons.cpp4 void f(int (&array1)[2], int (&array2)[2]) { in f()
5 if (array1 == array2) { } // no warning in f()
H A Darray-bounds.cpp61 int array2[] = { 0, 1, 2 }; // expected-note 2 {{declared here}} in test() local
63array2[3] = 0; // expected-warning {{array index 3 is past the end of the array (which contains 3 … in test()
64array2[2+2] = 0; // expected-warning {{array index 4 is past the end of the array (which contains … in test()
H A Dc99-variable-length-array.cpp22 POD array2[N]; // expected-warning{{variable length arrays are a C99 feature}} in vla() local
43 int array2[T::value]; // expected-warning{{variable length arrays are a C99 feature}} in vla_in_template() local
H A Dnon-empty-class-size-zero.cpp7 int array2[0]; member
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Datom-fixup-lea3.ll13 ;int test(int n, int * array, int * m, int * array2)
19 ; *m += array2[j++];
25 …nocapture %array, ptr nocapture %k, ptr nocapture %l, ptr nocapture %m, ptr nocapture %array2) #0 {
39 %arrayidx = getelementptr inbounds i32, ptr %array2, i32 %j.09
H A Ddbg-combine.ll15 ; 8. int array2[elems];
16 ; 9. array2[0]=1;
17 ; 10. return array2[0];
104 !31 = !DILocalVariable(name: "array2", line: 8, scope: !4, file: !5, type: !18)
/llvm-project-15.0.7/flang/test/Lower/
H A Darray-constructor-2.f90126 real :: array2(2) local
144 a = [ const_array1, array2 ]
/llvm-project-15.0.7/llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/
H A Dsplit-gep-and-gvn-addrspace-addressing-modes.ll35 @array2 = internal addrspace(4) constant [4096 x [4 x float]] zeroinitializer, align 4
40 … getelementptr [4096 x [4 x float]], [4096 x [4 x float]] addrspace(4)* @array2, i64 0, i64 %{{[a-…
43 ; IR: getelementptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(4)* @array2, i64 …
44 ; IR: getelementptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(4)* @array2, i64 …
48 …%tmp2 = getelementptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(4)* @array2, i…
53 …%tmp8 = getelementptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(4)* @array2, i…
58 …%tmp14 = getelementptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(4)* @array2, …
61 …%tmp18 = getelementptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(4)* @array2, …
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dframe-11.ll22 %array2 = alloca i8, i32 %count2
23 store volatile i8 0, i8 *%array2
H A Dbackchain.ll81 %array2 = alloca i8, i32 %count2
82 store volatile i8 0, i8 *%array2
112 %array2 = alloca i8, i32 %count2
113 store volatile i8 0, i8 *%array2
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Daarch64-sched-store.ll58 %array2 = getelementptr inbounds double, double* %array0, i64 2
59 %array2.cast = bitcast double* %array2 to <2 x double>*
60 store <2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double>* %array2.cast, align 8
/llvm-project-15.0.7/llvm/test/Transforms/SeparateConstOffsetFromGEP/RISCV/
H A Dsplit-gep.ll102 define i32 @test4([50 x i32]* %array2, i32 %i) {
119 %gep = getelementptr inbounds [50 x i32], [50 x i32]* %array2, i64 %sext, i64 %sext
123 %gep5 = getelementptr inbounds [50 x i32], [50 x i32]* %array2, i64 %sext, i64 %sext4
127 %gep8 = getelementptr inbounds [50 x i32], [50 x i32]* %array2, i64 %sext, i64 %sext7
133 define i32 @test5([50 x i32]* %array2, i32 %i, i64 %j) {
153 %gep = getelementptr inbounds [50 x i32], [50 x i32]* %array2, i64 %sext, i64 %sext
157 %gep5 = getelementptr inbounds [50 x i32], [50 x i32]* %array2, i64 %sext4, i64 %j
161 %gep8 = getelementptr inbounds [50 x i32], [50 x i32]* %array2, i64 %sext7, i64 %j
228 define i32 @test8(i32* %array, i32* %array2, i32* %array3, i32 %i) {
251 %gep5 = getelementptr inbounds i32, i32* %array2, i64 %sext4
/llvm-project-15.0.7/clang/test/Analysis/
H A Dmisc-ps.c121 int array2[] = { 1, 2, 3, 0 }; in rdar10686586() local
122 int *array[] = { array1, array2 }; in rdar10686586()
/llvm-project-15.0.7/flang/test/Semantics/
H A Ddoconcurrent01.f90122 integer, allocatable, dimension(:) :: array2 local
127 allocate(array1(3), pvar%type1_field%type0_field(3), array2(9))

123