| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | self-comparison.c | 49 int array1[2]; in array_comparisons() local 55 return array1 == array1; // expected-warning{{self-comparison always evaluates to true}} in array_comparisons() 56 return array1 != array1; // expected-warning{{self-comparison always evaluates to false}} in array_comparisons() 57 return array1 < array1; // expected-warning{{self-comparison always evaluates to false}} in array_comparisons() 58 return array1 <= array1; // expected-warning{{self-comparison always evaluates to true}} in array_comparisons() 59 return array1 > array1; // expected-warning{{self-comparison always evaluates to false}} in array_comparisons() 60 return array1 >= array1; // expected-warning{{self-comparison always evaluates to true}} in array_comparisons() 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() [all …]
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/objc/ |
| H A D | main.m | 62 …NSArray *array1 = [NSArray arrayWithObjects: @"array1 object1", @"array1 object2", @"array1 object… 63 NSArray *array2 = [NSArray arrayWithObjects: array1, @"array2 object2", @"array2 object3", nil]; 66 // expression [array1 count] 67 // expression array1.count 72 obj = [array1 objectAtIndex: 0]; // Break here for NSArray tests 73 obj = [array1 objectAtIndex: 1]; 74 obj = [array1 objectAtIndex: 2];
|
| /llvm-project-15.0.7/lldb/test/API/lang/objc/foundation/ |
| H A D | main.m | 105 …NSArray *array1 = [NSArray arrayWithObjects: @"array1 object1", @"array1 object2", @"array1 object… 106 NSArray *array2 = [NSArray arrayWithObjects: array1, @"array2 object2", @"array2 object3", nil]; 109 // expression [array1 count] 110 // expression array1.count 115 obj = [array1 objectAtIndex: 0]; // Break here for NSArray tests 116 obj = [array1 objectAtIndex: 1]; 117 obj = [array1 objectAtIndex: 2];
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | pcrel-relocation-plus-offset.ll | 18 @array1 = external local_unnamed_addr global [10 x i32], align 4 52 ; CHECK-S-NEXT: pld r3, array1@got@pcrel(0), 1 59 ; CHECK-O-NEXT: R_PPC64_GOT_PCREL34 array1 64 …%0 = load i32, i32* getelementptr inbounds ([10 x i32], [10 x i32]* @array1, i64 0, i64 4), align 4 71 ; CHECK-S-NEXT: pld r3, array1@got@pcrel(0), 1 78 ; CHECK-O-NEXT: R_PPC64_GOT_PCREL34 array1 83 …%0 = load i32, i32* getelementptr inbounds ([10 x i32], [10 x i32]* @array1, i64 0, i64 -1), align…
|
| H A D | anon_aggr.ll | 28 define i8* @func2({ i64, i8* } %array1, %tarray* byval(%tarray) %array2) { 30 %array1_ptr = extractvalue {i64, i8* } %array1, 1 49 define i8* @func3({ i64, i8* }* byval({ i64, i8* }) %array1, %tarray* byval(%tarray) %array2) { 51 %tmp1 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %array1, i32 0, i32 1 72 { i64, i8* } %array1, %tarray* byval(%tarray) %array2) { 74 %array1_ptr = extractvalue {i64, i8* } %array1, 1
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | llvm.amdgcn.init.exec.ll | 96 %array1 = alloca [20 x i32], align 16, addrspace(5) 102 %ptr1 = getelementptr inbounds [20 x i32], [20 x i32] addrspace(5)* %array1, i32 0, i32 1 105 %ptr2 = getelementptr inbounds [20 x i32], [20 x i32] addrspace(5)* %array1, i32 0, i32 2 108 %ptr3 = getelementptr inbounds [20 x i32], [20 x i32] addrspace(5)* %array1, i32 0, i32 %b 130 %array1 = alloca [20 x i32], align 16, addrspace(5) 136 %ptr1 = getelementptr inbounds [20 x i32], [20 x i32] addrspace(5)* %array1, i32 0, i32 1 139 %ptr2 = getelementptr inbounds [20 x i32], [20 x i32] addrspace(5)* %array1, i32 0, i32 2 142 %ptr3 = getelementptr inbounds [20 x i32], [20 x i32] addrspace(5)* %array1, i32 0, i32 %b 166 %array1 = alloca [20 x i32], align 16, addrspace(5) 181 %ptr1 = getelementptr inbounds [20 x i32], [20 x i32] addrspace(5)* %array1, i32 0, i32 1 [all …]
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/X86/ |
| H A D | assumed_size_array.ll | 8 ; CHECK: DW_AT_name ("array1") 25 ;;subroutine sub (array1, array2) 26 ;; integer :: array1 (*) 29 ;; array1(7:8) = 9 47 define void @sub_(i64* noalias %array1, i64* noalias %array2) #0 !dbg !5 { 51 …call void @llvm.dbg.declare(metadata i64* %array1, metadata !16, metadata !DIExpression()), !dbg !… 64 %1 = bitcast i64* %array1 to i8*, !dbg !19 113 !16 = !DILocalVariable(name: "array1", arg: 1, scope: !5, file: !3, line: 1, type: !8)
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_stackdepot_test.cpp | 77 uptr array1[] = {1, 2, 3, 4, 7}; in TEST_F() local 78 StackTrace s1(array1, ARRAY_SIZE(array1)); in TEST_F() 87 uptr array1[] = {0x111, 0x222, 0x333, 0x444, 0x777}; in TEST_F() local 88 StackTrace s1(array1, ARRAY_SIZE(array1)); in TEST_F()
|
| /llvm-project-15.0.7/llvm/test/Transforms/SLPVectorizer/AArch64/ |
| H A D | splat-loads.ll | 8 define void @splat_loads_double(double *%array1, double *%array2, double *%ptrA, double *%ptrB) { 30 %gep_1_0 = getelementptr inbounds double, double* %array1, i64 0 31 %gep_1_1 = getelementptr inbounds double, double* %array1, i64 1 77 %gep_1_0 = getelementptr inbounds float, float* %array1, i64 0 78 %gep_1_1 = getelementptr inbounds float, float* %array1, i64 1 102 define void @splat_loads_i64(i64 *%array1, i64 *%array2, i64 *%ptrA, i64 *%ptrB) { 124 %gep_1_0 = getelementptr inbounds i64, i64* %array1, i64 0 125 %gep_1_1 = getelementptr inbounds i64, i64* %array1, i64 1 149 define void @splat_loads_i32(i32 *%array1, i32 *%array2, i32 *%ptrA, i32 *%ptrB) { 171 %gep_1_0 = getelementptr inbounds i32, i32* %array1, i64 0 [all …]
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | warn-self-comparisons.cpp | 4 void f(int (&array1)[2], int (&array2)[2]) { in f() 5 if (array1 == array2) { } // no warning in f()
|
| H A D | c99-variable-length-array.cpp | 21 int array1[N]; // expected-warning{{variable length arrays are a C99 feature}} in vla() local 30 int array1[N]; // expected-warning{{variable length arrays are a C99 feature}} in vla_in_template() local
|
| H A D | non-empty-class-size-zero.cpp | 6 int array1[0]; member
|
| H A D | c99-variable-length-array-cxx11.cpp | 21 …int array1[N]; // expected-warning{{variable length arrays are a C99 feature}} expected-note {{par… in vla() local
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | dbg-combine.ll | 11 ; 4. int array1[elems]; 12 ; 5. array1[0]=0; 13 ; 6. array1[1]=1; 14 ; 7. array1[2]=2; 90 !17 = !DILocalVariable(name: "array1", line: 4, scope: !4, file: !5, type: !18)
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/poarray/ |
| H A D | main.mm | 12 NSArray *array1 = @[@0xDEADBEEF, @0xFEEDBEEF, @0xBEEFFADE]; 16 tobjects->one = array1;
|
| /llvm-project-15.0.7/clang/test/Lexer/ |
| H A D | utf8-char-literal.cpp | 10 int array1['\xF1' != u'\xf1'? 1 : -1]; variable 11 int array1['ñ' != u'\xf1'? 1 : -1]; // expected-error {{character too large for enclosing characte… variable
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/ |
| H A D | frame-11.ll | 19 %array1 = alloca i8, i32 %count1 20 store volatile i8 0, i8 *%array1
|
| H A D | backchain.ll | 78 %array1 = alloca i8, i32 %count1 79 store volatile i8 0, i8 *%array1 109 %array1 = alloca i8, i32 %count1 110 store volatile i8 0, i8 *%array1
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/ |
| H A D | p3.cpp | 30 const int array1[] = { 1, 2, 3}; in test_g0() local 31 B<const int, 3> b1 = g0(array1); in test_g0() 32 B<int, 3> b2 = g0b(array1); in test_g0()
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.decls/temp.class.spec/ |
| H A D | p6.cpp | 21 int array1[X0<int>::Inner0<int*>::value == 1? 1 : -1]; variable 75 int array1[Outer<int>::Inner<int, float>::value? -1 : 1]; variable
|
| /llvm-project-15.0.7/flang/test/Semantics/ |
| H A D | selecttype03.f90 | 111 foo = array1(2,U) 120 foo2 = array1(2,:)
|
| H A D | doconcurrent01.f90 | 121 integer, allocatable, dimension(:) :: array1 local 127 allocate(array1(3), pvar%type1_field%type0_field(3), array2(9))
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | misc-ps.c | 120 int array1[] = { 1, 2, 3, 0 }; in rdar10686586() local 122 int *array[] = { array1, array2 }; in rdar10686586()
|
| /llvm-project-15.0.7/flang/unittests/Runtime/ |
| H A D | Reduction.cpp | 152 auto array1{MakeArray<TypeCategory::Real, 8>(shape1, rawData)}; in TEST() local 156 (scalarResult, *array1, /*KIND=*/2, /*DIM=*/1, __FILE__, __LINE__, in TEST() 200 (scalarResult, *array1, /*KIND=*/2, /*DIM=*/1, __FILE__, __LINE__, in TEST() 240 (scalarResult, *array1, /*DIM=*/1, __FILE__, __LINE__, /*MASK=*/nullptr); in TEST() 245 (scalarResult, *array1, /*DIM=*/1, __FILE__, __LINE__, /*MASK=*/nullptr); in TEST() 375 auto array1{MakeArray<TypeCategory::Logical, 4>( in TEST() local 379 RTNAME(AllDim)(scalarResult, *array1, /*DIM=*/1, __FILE__, __LINE__); in TEST() 401 RTNAME(AnyDim)(scalarResult, *array1, /*DIM=*/1, __FILE__, __LINE__); in TEST() 423 RTNAME(ParityDim)(scalarResult, *array1, /*DIM=*/1, __FILE__, __LINE__); in TEST() 446 (scalarResult, *array1, /*DIM=*/1, /*KIND=*/8, __FILE__, __LINE__); in TEST()
|
| /llvm-project-15.0.7/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/ |
| H A D | p9.cpp | 14 int array1[X1<>::value? 1 : -1]; variable
|