/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | memcmp-1.ll | 23 ; Check memcmp(mem1, mem2, 0) -> 0. 25 define i32 @test_simplify2(i8* %mem1, i8* %mem2) { 29 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 0) 33 ;; Check memcmp(mem1, mem2, 1) -> *(unsigned char*)mem1 - *(unsigned char*)mem2. 35 define i32 @test_simplify3(i8* %mem1, i8* %mem2) { 37 ; CHECK-NEXT: [[LHSC:%.*]] = load i8, i8* %mem1, align 1 44 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 1) 48 ; Check memcmp(mem1, mem2, size) -> cnst, where all arguments are constants. 54 %mem1 = getelementptr [4 x i8], [4 x i8]* @hel, i32 0, i32 0 56 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 3) [all …]
|
D | memcpy-1.ll | 9 ; Check memcpy(mem1, mem2, size) -> llvm.memcpy(mem1, mem2, size, 1). 11 define i8* @test_simplify1(i8* %mem1, i8* %mem2, i32 %size) { 13 ; CHECK-NEXT: call void @llvm.memcpy.p0i8.p0i8.i32(i8* align 1 %mem1, i8* align 1 %mem2, i32 %si… 14 ; CHECK-NEXT: ret i8* %mem1 16 %ret = call i8* @memcpy(i8* %mem1, i8* %mem2, i32 %size) 22 define i8* @test_simplify2(i8* %mem1, i8* %mem2, i32 %size) { 24 %ret = call i8* @memcpy(i8* %mem1, i8* %mem2, i32 %size) strictfp 27 ; CHECK: ret i8* %mem1
|
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
|
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)
|
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)
|
/external/llvm/test/Transforms/InstCombine/ |
D | memcmp-1.ll | 22 ; Check memcmp(mem1, mem2, 0) -> 0. 24 define i32 @test_simplify2(i8* %mem1, i8* %mem2) { 26 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 0) 31 ;; Check memcmp(mem1, mem2, 1) -> *(unsigned char*)mem1 - *(unsigned char*)mem2. 33 define i32 @test_simplify3(i8* %mem1, i8* %mem2) { 35 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 1) 36 ; CHECK: [[LOAD1:%[a-z]+]] = load i8, i8* %mem1, align 1 45 ; Check memcmp(mem1, mem2, size) -> cnst, where all arguments are constants. 49 %mem1 = getelementptr [4 x i8], [4 x i8]* @hel, i32 0, i32 0 51 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 3) [all …]
|
D | memcpy-1.ll | 9 ; Check memcpy(mem1, mem2, size) -> llvm.memcpy(mem1, mem2, size, 1). 11 define i8* @test_simplify1(i8* %mem1, i8* %mem2, i32 %size) { 13 %ret = call i8* @memcpy(i8* %mem1, i8* %mem2, i32 %size) 16 ; CHECK: ret i8* %mem1
|
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
|
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)
|
D | memcpy-2.ll | 11 define i8 @test_no_simplify1(i8* %mem1, i8* %mem2, i32 %size) { 13 %ret = call i8 @memcpy(i8* %mem1, i8* %mem2, i32 %size)
|
D | memset-1.ll | 9 ; Check memset(mem1, val, size) -> llvm.memset(mem1, val, size, 1).
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/ |
D | apply_extended_types.pass.cpp | 35 int mem1() { return ++count; } in mem1() function 44 int mem1(int x) { return count += x; } in mem1() function 52 int mem1(int x, int y) { return count += (x + y); } in mem1() function 97 mem1_t mem1 = &T::mem1; in test_ext_int_0() local 109 assert(1 == std::apply(mem1, t)); in test_ext_int_0() 117 assert(1 == std::apply(mem1, t)); in test_ext_int_0() 125 assert(1 == std::apply(mem1, t)); in test_ext_int_0() 133 assert(1 == std::apply(mem1, t)); in test_ext_int_0() 209 mem1_t mem1 = &T::mem1; in test_ext_int_1() local 218 assert(2 == std::apply(mem1, t)); in test_ext_int_1() [all …]
|
/external/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/ |
D | destroy_at.pass.cpp | 48 void* mem1 = std::malloc(sizeof(Counted)); in main() local 50 assert(mem1 && mem2); in main() 52 Counted* ptr1 = ::new(mem1) Counted(); in main() 59 std::free(mem1); in main() 63 void* mem1 = std::malloc(sizeof(DCounted)); in main() local 65 assert(mem1 && mem2); in main() 67 DCounted* ptr1 = ::new(mem1) DCounted(); in main() 75 std::free(mem1); in main()
|
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/ |
D | invoke_rvalue.pass.cpp | 40 void mem1() {++count;} in mem1() function 88 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() 98 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() 145 int mem1() {return 3;} in mem1() function 172 assert(std::bind(&A_int_1::mem1, _1)(A_int_1()) == 3); in test_int_1() 173 assert(std::bind(&A_int_1::mem1, A_int_1())() == 3); in test_int_1() 175 assert(std::bind(&A_int_1::mem1, _1)(&a) == 3); in test_int_1() 176 assert(std::bind(&A_int_1::mem1, &a)() == 3); in test_int_1() 214 void mem1(int i) {count += i;} in mem1() function 237 std::bind(&A_void_2::mem1, _1, _2)(A_void_2(), 3); in test_void_2() [all …]
|
D | invoke_lvalue.pass.cpp | 40 void mem1() {++count;} in mem1() function 94 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() 105 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() 155 int mem1() {return 3;} in mem1() function 186 assert(std::bind(&A_int_1::mem1, _1)(a) == 3); in test_int_1() 187 assert(std::bind(&A_int_1::mem1, a)() == 3); in test_int_1() 189 assert(std::bind(&A_int_1::mem1, _1)(ap) == 3); in test_int_1() 190 assert(std::bind(&A_int_1::mem1, ap)() == 3); in test_int_1() 230 void mem1(int i) {count += i;} in mem1() function 256 std::bind(&A_void_2::mem1, _1, _2)(A_void_2(), j); in test_void_2() local [all …]
|
/external/libcxx/test/std/utilities/function.objects/refwrap/refwrap.invoke/ |
D | invoke.pass.cpp | 38 void mem1() {++count;} in mem1() function 74 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() 115 int mem1() {return 3;} in mem1() function 145 int (A_int_1::*fp)() = &A_int_1::mem1; in test_int_1() 190 void mem1(int i) {count += i;} in mem1() function 229 void (A_void_2::*fp)(int) = &A_void_2::mem1; in test_void_2() 271 int mem1(int i) {return i+1;} in mem1() function 303 int(A_int_2::*fp)(int) = &A_int_2::mem1; in testint_2()
|
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
D | invoke.pass.cpp | 112 void mem1() {++count;} in mem1() function 148 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() 191 int mem1() {return 3;} in mem1() function 221 int (A_int_1::*fp)() = &A_int_1::mem1; in test_int_1() 269 void mem1(int i) {count += i;} in mem1() function 308 void (A_void_2::*fp)(int) = &A_void_2::mem1; in test_void_2() 352 int mem1(int i) {return i+1;} in mem1() function 383 int(A_int_2::*fp)(int) = &A_int_2::mem1; in test_int_2()
|
/external/llvm/test/Transforms/CodeGenPrepare/X86/ |
D | extend-sink-hoist.ll | 8 define i128 @sink(i64* %mem1, i64* %mem2) { 12 %l1 = load i64, i64* %mem1 29 define i64 @hoist(i32* %mem1, i32* %mem2) { 34 %l1 = load i32, i32* %mem1
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CodeGenPrepare/X86/ |
D | extend-sink-hoist.ll | 8 define i128 @sink(i64* %mem1, i64* %mem2) { 12 %l1 = load i64, i64* %mem1 29 define i64 @hoist(i32* %mem1, i32* %mem2) { 34 %l1 = load i32, i32* %mem1
|
/external/linux-kselftest/tools/testing/selftests/powerpc/alignment/ |
D | alignment_handler.c | 198 void *mem0, *mem1, *ci0, *ci1; in do_test() local 225 rc = posix_memalign(&mem1, bufsize, bufsize); in do_test() 242 memcpy(ci1, mem1, bufsize); /* initialise output to the same */ in do_test() 248 r |= test_memcpy(mem1, mem0, width, offset, test_func); in do_test() 255 r |= test_memcmp(mem1, ci1, width, offset, test_name); in do_test() 271 free(mem1); in do_test()
|
/external/libchrome/base/memory/ |
D | ref_counted_memory_unittest.cc | 125 scoped_refptr<RefCountedMemory> mem1 = RefCountedString::TakeString(&s1); in TEST() local 130 EXPECT_TRUE(mem1->Equals(mem2)); in TEST() 135 EXPECT_FALSE(mem1->Equals(mem3)); in TEST()
|
/external/libopus/celt/ |
D | pitch.c | 111 opus_val32 mem0, mem1, mem2, mem3, mem4; in celt_fir5() local 118 mem1=0; in celt_fir5() 126 sum = MAC16_16(sum,num1,mem1); in celt_fir5() 132 mem2 = mem1; in celt_fir5() 133 mem1 = mem0; in celt_fir5()
|
/external/llvm/test/CodeGen/ARM/ |
D | atomic-op.ll | 310 define i32 @load_load_add_acquire(i32* %mem1, i32* %mem2) nounwind { 312 %val1 = load atomic i32, i32* %mem1 acquire, align 4 334 define void @store_store_release(i32* %mem1, i32 %val1, i32* %mem2, i32 %val2) { 336 store atomic i32 %val1, i32* %mem1 release, align 4 355 define void @load_fence_store_monotonic(i32* %mem1, i32* %mem2) { 357 %val = load atomic i32, i32* %mem1 monotonic, align 4
|
/external/clang/test/SemaTemplate/ |
D | crash.cpp | 5 void S<T>::mem1();
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/ |
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 380 define void @store_store_release(i32* %mem1, i32 %val1, i32* %mem2, i32 %val2) { 382 store atomic i32 %val1, i32* %mem1 release, align 4 406 define void @load_fence_store_monotonic(i32* %mem1, i32* %mem2) { 408 %val = load atomic i32, i32* %mem1 monotonic, align 4
|