| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | memmove-1.ll | 9 ; Check memmove(mem1, mem2, size) -> llvm.memmove(mem1, mem2, size, 1). 11 define i8* @test_simplify1(i8* %mem1, i8* %mem2, i32 %size) { 13 %ret = call i8* @memmove(i8* %mem1, i8* %mem2, i32 %size) 16 ; CHECK: ret i8* %mem1 19 define i8* @test_simplify2(i8* %mem1, i8* %mem2, i32 %size) { 22 ; CHECK-NEXT: ret i8* %mem1 23 %ret = tail call i8* @memmove(i8* %mem1, i8* %mem2, i32 %size) 27 define i8* @test_no_simplify1(i8* %mem1, i8* %mem2, i32 %size) { 31 %ret = musttail call i8* @memmove(i8* %mem1, i8* %mem2, i32 %size) 35 define i8* @test_no_incompatible_attr(i8* %mem1, i8* %mem2, i32 %size) { [all …]
|
| H A D | memcmp-1.ll | 24 ; Check memcmp(mem1, mem2, 0) -> 0. 26 define i32 @test_simplify2(i8* %mem1, i8* %mem2) { 30 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 0) 34 ;; Check memcmp(mem1, mem2, 1) -> *(unsigned char*)mem1 - *(unsigned char*)mem2. 36 define i32 @test_simplify3(i8* %mem1, i8* %mem2) { 45 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 1) 57 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 3) 81 ; Check memcmp(mem1, mem2, 8)==0 -> *(int64_t*)mem1 == *(int64_t*)mem2 99 ; Check memcmp(mem1, mem2, 4)==0 -> *(int32_t*)mem1 == *(int32_t*)mem2 117 ; Check memcmp(mem1, mem2, 2)==0 -> *(int16_t*)mem1 == *(int16_t*)mem2 [all …]
|
| H A D | bcmp-1.ll | 24 ; Check bcmp(mem1, mem2, 0) -> 0. 26 define i32 @test_simplify2(i8* %mem1, i8* %mem2) { 30 %ret = call i32 @bcmp(i8* %mem1, i8* %mem2, i32 0) 34 ;; Check bcmp(mem1, mem2, 1) -> *(unsigned char*)mem1 - *(unsigned char*)mem2. 36 define i32 @test_simplify3(i8* %mem1, i8* %mem2) { 45 %ret = call i32 @bcmp(i8* %mem1, i8* %mem2, i32 1) 57 %ret = call i32 @bcmp(i8* %mem1, i8* %mem2, i32 3) 67 %ret = call i32 @bcmp(i8* %mem1, i8* %mem2, i32 3) 81 ; Check bcmp(mem1, mem2, 8)==0 -> *(int64_t*)mem1 == *(int64_t*)mem2 99 ; Check bcmp(mem1, mem2, 4)==0 -> *(int32_t*)mem1 == *(int32_t*)mem2 [all …]
|
| H A D | memcpy-1.ll | 10 ; Check memcpy(mem1, mem2, size) -> llvm.memcpy(mem1, mem2, size, 1). 12 define i8* @test_simplify1(i8* %mem1, i8* %mem2, i32 %size) { 17 %ret = call i8* @memcpy(i8* %mem1, i8* %mem2, i32 %size) 23 define i8* @test_simplify2(i8* %mem1, i8* %mem2, i32 %size) strictfp { 28 %ret = call i8* @memcpy(i8* %mem1, i8* %mem2, i32 %size) strictfp 48 define i8* @test_no_incompatible_attr(i8* %mem1, i8* %mem2, i32 %size) { 54 %ret = call dereferenceable(1) i8* @memcpy(i8* %mem1, i8* %mem2, i32 %size) 58 define i8* @test_no_simplify1(i8* %mem1, i8* %mem2, i32 %size) { 63 %ret = musttail call i8* @memcpy(i8* %mem1, i8* %mem2, i32 %size)
|
| H A D | memcpy-2.ll | 11 define i8 @test_no_simplify1(i8* %mem1, i8* %mem2, i32 %size) { 13 ; CHECK-NEXT: [[RET:%.*]] = call i8 @memcpy(i8* %mem1, i8* %mem2, i32 %size) 16 %ret = call i8 @memcpy(i8* %mem1, i8* %mem2, i32 %size)
|
| H A D | memmove-2.ll | 11 define i8 @test_no_simplify1(i8* %mem1, i8* %mem2, i32 %size) { 13 %ret = call i8 @memmove(i8* %mem1, i8* %mem2, i32 %size)
|
| H A D | memset-1.ll | 12 ; Check memset(mem1, val, size) -> llvm.memset(mem1, val, size, 1).
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/ |
| H A D | apply_extended_types.pass.cpp | 32 int mem1() { return ++count; } in mem1() function 41 int mem1(int x) { return count += x; } in mem1() function 94 mem1_t mem1 = &T::mem1; in test_ext_int_0() local 106 assert(1 == std::apply(mem1, t)); in test_ext_int_0() 114 assert(1 == std::apply(mem1, t)); in test_ext_int_0() 122 assert(1 == std::apply(mem1, t)); in test_ext_int_0() 130 assert(1 == std::apply(mem1, t)); in test_ext_int_0() 206 mem1_t mem1 = &T::mem1; in test_ext_int_1() local 215 assert(2 == std::apply(mem1, t)); in test_ext_int_1() 223 assert(3 == std::apply(mem1, t)); in test_ext_int_1() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/ |
| H A D | invoke_rvalue.pass.cpp | 41 void mem1() {++count;} in mem1() function 89 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() 99 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() 146 int mem1() {return 3;} in mem1() function 173 assert(std::bind(&A_int_1::mem1, _1)(A_int_1()) == 3); in test_int_1() 174 assert(std::bind(&A_int_1::mem1, A_int_1())() == 3); in test_int_1() 176 assert(std::bind(&A_int_1::mem1, _1)(&a) == 3); in test_int_1() 177 assert(std::bind(&A_int_1::mem1, &a)() == 3); in test_int_1() 215 void mem1(int i) {count += i;} in mem1() function 238 std::bind(&A_void_2::mem1, _1, _2)(A_void_2(), 3); in test_void_2() [all …]
|
| H A D | invoke_lvalue.pass.cpp | 41 void mem1() {++count;} in mem1() function 95 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() 106 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() 156 int mem1() {return 3;} in mem1() function 187 assert(std::bind(&A_int_1::mem1, _1)(a) == 3); in test_int_1() 188 assert(std::bind(&A_int_1::mem1, a)() == 3); in test_int_1() 190 assert(std::bind(&A_int_1::mem1, _1)(ap) == 3); in test_int_1() 191 assert(std::bind(&A_int_1::mem1, ap)() == 3); in test_int_1() 231 void mem1(int i) {count += i;} in mem1() function 257 std::bind(&A_void_2::mem1, _1, _2)(A_void_2(), j); in test_void_2() local [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/refwrap/refwrap.invoke/ |
| H A D | invoke.pass.cpp | 39 void mem1() {++count;} in mem1() function 75 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() 116 int mem1() {return 3;} in mem1() function 146 int (A_int_1::*fp)() = &A_int_1::mem1; in test_int_1() 191 void mem1(int i) {count += i;} in mem1() function 230 void (A_void_2::*fp)(int) = &A_void_2::mem1; in test_void_2() 272 int mem1(int i) {return i+1;} in mem1() function 304 int(A_int_2::*fp)(int) = &A_int_2::mem1; in testint_2()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
| H A D | invoke.pass.cpp | 129 void mem1() {++count;} in mem1() function 165 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() 208 int mem1() {return 3;} in mem1() function 238 int (A_int_1::*fp)() = &A_int_1::mem1; in test_int_1() 286 void mem1(int i) {count += i;} in mem1() function 325 void (A_void_2::*fp)(int) = &A_void_2::mem1; in test_void_2() 369 int mem1(int i) {return i+1;} in mem1() function 400 int(A_int_2::*fp)(int) = &A_int_2::mem1; in test_int_2()
|
| /llvm-project-15.0.7/llvm/test/Transforms/CodeGenPrepare/X86/ |
| H A D | extend-sink-hoist.ll | 8 define i128 @sink(i64* %mem1, i64* %mem2) { 12 %l1 = load i64, i64* %mem1 28 define i64 @hoist(i32* %mem1, i32* %mem2) { 33 %l1 = load i32, i32* %mem1
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | crash.cpp | 5 void S<T>::mem1();
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | atomic-op.ll | 351 define i32 @load_load_add_acquire(i32* %mem1, i32* %mem2) nounwind { 353 %val1 = load atomic i32, i32* %mem1 acquire, align 4 378 define void @store_store_release(i32* %mem1, i32 %val1, i32* %mem2, i32 %val2) { 380 store atomic i32 %val1, i32* %mem1 release, align 4 402 define void @load_fence_store_monotonic(i32* %mem1, i32* %mem2) { 404 %val = load atomic i32, i32* %mem1 monotonic, align 4
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | float16-declarations.cpp | 78 C mem1; member
|
| H A D | float128-declarations.cpp | 62 C mem1; member
|
| H A D | ibm128-declarations.cpp | 52 T mem1; member
|
| H A D | value-init.cpp | 74 int mem1; member
|
| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | float16.cpp | 191 C mem1; member
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | default2.cpp | 58 int mem1(int i = a); // expected-error{{invalid use of non-static data member 'a'}}
|
| /llvm-project-15.0.7/flang/test/Fir/ |
| H A D | fir-types.fir | 54 // CHECK-LABEL: func private @mem1() -> !fir.ref<i32> 60 func.func private @mem1() -> !fir.ref<i32>
|
| /llvm-project-15.0.7/flang/docs/ |
| H A D | BijectiveInternalNameUniquing.md | 139 real :: mem1
|
| /llvm-project-15.0.7/mlir/test/Dialect/MemRef/ |
| H A D | canonicalize.mlir | 270 // CHECK: %[[mem1:.+]] = memref.alloc({{.*}})[%[[c1]], %[[c1]]] : memref<?xi32, #map> 271 // CHECK: return %[[mem1]] : memref<?xi32, #map> 283 // CHECK: %[[mem1:.+]] = memref.alloc()[%[[c1]], %[[c1]]] : memref<1xi32, #map> 284 // CHECK: %[[mem2:.+]] = memref.cast %[[mem1]] : memref<1xi32, #map> to memref<?xi32, #map>
|