/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) { 39 ; CHECK-NEXT: [[RHSC:%.*]] = load i8, i8* %mem2, 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. 55 %mem2 = getelementptr [8 x i8], [8 x i8]* @hello_u, 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… 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
|
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)
|
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) 38 ; CHECK: [[LOAD2:%[a-z]+]] = load i8, i8* %mem2, align 1 45 ; Check memcmp(mem1, mem2, size) -> cnst, where all arguments are constants. 50 %mem2 = getelementptr [8 x i8], [8 x i8]* @hello_u, 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)
|
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)
|
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)
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/ |
D | apply_extended_types.pass.cpp | 36 int mem2() const { return ++count; } in mem2() function 45 int mem2(int x) const { return count += x; } in mem2() function 53 int mem2(int x, int y) const { return count += (x + y); } in mem2() function 100 mem2_t mem2 = &T::mem2; in test_ext_int_0() local 141 assert(1 == std::apply(mem2, t)); in test_ext_int_0() 149 assert(1 == std::apply(mem2, t)); in test_ext_int_0() 157 assert(1 == std::apply(mem2, t)); in test_ext_int_0() 165 assert(1 == std::apply(mem2, t)); in test_ext_int_0() 212 mem2_t mem2 = &T::mem2; in test_ext_int_1() local 250 assert(6 == std::apply(mem2, t)); in test_ext_int_1() [all …]
|
/external/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/ |
D | destroy_at.pass.cpp | 49 void* mem2 = std::malloc(sizeof(Counted)); in main() local 50 assert(mem1 && mem2); in main() 53 Counted* ptr2 = ::new(mem2) Counted(); in main() 60 std::free(mem2); in main() 64 void* mem2 = std::malloc(sizeof(DCounted)); in main() local 65 assert(mem1 && mem2); in main() 68 DCounted* ptr2 = ::new(mem2) DCounted(); in main() 76 std::free(mem2); in main()
|
/external/libchrome/base/memory/ |
D | ref_counted_memory_unittest.cc | 39 scoped_refptr<RefCountedMemory> mem2; in TEST() local 42 mem2 = MakeRefCounted<RefCountedBytes>(kData, arraysize(kData)); in TEST() 44 ASSERT_EQ(3U, mem2->size()); in TEST() 45 EXPECT_EQ(12U, mem2->front()[0]); in TEST() 46 EXPECT_EQ(11U, mem2->front()[1]); in TEST() 47 EXPECT_EQ(99U, mem2->front()[2]); in TEST() 128 scoped_refptr<RefCountedMemory> mem2 = RefCountedBytes::TakeVector(&d2); in TEST() local 130 EXPECT_TRUE(mem1->Equals(mem2)); in TEST() 136 EXPECT_FALSE(mem2->Equals(mem3)); in TEST()
|
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/ |
D | invoke_rvalue.pass.cpp | 41 void mem2() const {count += 2;} in mem2() function 109 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1() 119 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1() 146 int mem2() const {return 4;} in mem2() function 180 assert(std::bind(&A_int_1::mem2, _1)(A_int_1()) == 4); in test_int_1() 181 assert(std::bind(&A_int_1::mem2, A_int_1())() == 4); in test_int_1() 183 assert(std::bind(&A_int_1::mem2, _1)(&a) == 4); in test_int_1() 184 assert(std::bind(&A_int_1::mem2, &a)() == 4); in test_int_1() 215 void mem2(int i) const {count += i;} in mem2() function
|
D | invoke_lvalue.pass.cpp | 41 void mem2() const {count += 2;} in mem2() function 117 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1() 128 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1() 156 int mem2() const {return 4;} in mem2() function 195 assert(std::bind(&A_int_1::mem2, _1)(A_int_1()) == 4); in test_int_1() 196 assert(std::bind(&A_int_1::mem2, A_int_1())() == 4); in test_int_1() 198 assert(std::bind(&A_int_1::mem2, _1)(ap) == 4); in test_int_1() 199 assert(std::bind(&A_int_1::mem2, ap)() == 4); in test_int_1() 231 void mem2(int i) const {count += i;} in mem2() function
|
/external/libcxx/test/std/utilities/function.objects/refwrap/refwrap.invoke/ |
D | invoke.pass.cpp | 39 void mem2() const {++count;} in mem2() function 87 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1() 116 int mem2() const {return 4;} in mem2() function 154 int (A_int_1::*fp)() const = &A_int_1::mem2; in test_int_1() 191 void mem2(int i) const {count += i;} in mem2() function 243 void (A_void_2::*fp)(int) const = &A_void_2::mem2; in test_void_2() 272 int mem2(int i) const {return i+2;} in mem2() function 313 int (A_int_2::*fp)(int) const = &A_int_2::mem2; in testint_2()
|
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
D | invoke.pass.cpp | 113 void mem2() const {++count;} in mem2() function 162 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1() 192 int mem2() const {return 4;} in mem2() function 231 int (A_int_1::*fp)() const = &A_int_1::mem2; in test_int_1() 270 void mem2(int i) const {count += i;} in mem2() function 323 void (A_void_2::*fp)(int) const = &A_void_2::mem2; in test_void_2() 353 int mem2(int i) const {return i+2;} in mem2() function 394 int (A_int_2::*fp)(int) const = &A_int_2::mem2; in test_int_2()
|
/external/llvm/test/Transforms/CodeGenPrepare/X86/ |
D | extend-sink-hoist.ll | 8 define i128 @sink(i64* %mem1, i64* %mem2) { 21 %l2 = load i64, i64* %mem2 29 define i64 @hoist(i32* %mem1, i32* %mem2) { 42 %l2 = load i32, i32* %mem2
|
/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) { 21 %l2 = load i64, i64* %mem2 29 define i64 @hoist(i32* %mem1, i32* %mem2) { 42 %l2 = load i32, i32* %mem2
|
/external/clang/test/CodeGenCXX/ |
D | float128-declarations.cpp | 56 __float128 mem2; member 67 func1t(f1l) + s1.mem2 - f1n + f2n; in main()
|
D | value-init.cpp | 74 int S::*mem2; member 82 return s->*S().mem2; in test()
|
/external/libopus/celt/ |
D | pitch.c | 111 opus_val32 mem0, mem1, mem2, mem3, mem4; in celt_fir5() local 119 mem2=0; in celt_fir5() 127 sum = MAC16_16(sum,num2,mem2); in celt_fir5() 131 mem3 = mem2; in celt_fir5() 132 mem2 = mem1; in celt_fir5()
|
/external/llvm/test/CodeGen/ARM/ |
D | atomic-op.ll | 310 define i32 @load_load_add_acquire(i32* %mem1, i32* %mem2) nounwind { 313 %val2 = load atomic i32, i32* %mem2 acquire, align 4 334 define void @store_store_release(i32* %mem1, i32 %val1, i32* %mem2, i32 %val2) { 337 store atomic i32 %val2, i32* %mem2 release, align 4 355 define void @load_fence_store_monotonic(i32* %mem1, i32* %mem2) { 359 store atomic i32 %val, i32* %mem2 monotonic, align 4
|
/external/clang/test/SemaTemplate/ |
D | crash.cpp | 8 void S<T>::mem2() { in mem2() function in S
|
/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 { 354 %val2 = load atomic i32, i32* %mem2 acquire, align 4 380 define void @store_store_release(i32* %mem1, i32 %val1, i32* %mem2, i32 %val2) { 383 store atomic i32 %val2, i32* %mem2 release, align 4 406 define void @load_fence_store_monotonic(i32* %mem1, i32* %mem2) { 410 store atomic i32 %val, i32* %mem2 monotonic, align 4
|