Home
last modified time | relevance | path

Searched refs:mem1 (Results 1 – 25 of 38) sorted by relevance

12

/external/llvm/test/Transforms/InstCombine/
Dmemcmp-1.ll22 ; 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 …]
Dmemmove-1.ll9 ; 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
Dmemcpy-1.ll9 ; 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
Dmemmove-2.ll11 define i8 @test_no_simplify1(i8* %mem1, i8* %mem2, i32 %size) {
13 %ret = call i8 @memmove(i8* %mem1, i8* %mem2, i32 %size)
Dmemcpy-2.ll11 define i8 @test_no_simplify1(i8* %mem1, i8* %mem2, i32 %size) {
13 %ret = call i8 @memcpy(i8* %mem1, i8* %mem2, i32 %size)
Dmemset-1.ll9 ; Check memset(mem1, val, size) -> llvm.memset(mem1, val, size, 1).
/external/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/
Ddestroy_at.pass.cpp48 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/experimental/utilities/tuple/tuple.apply/
Dextended_types.pass.cpp35 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
98 mem1_t mem1 = &T::mem1; in test_ext_int_0() local
110 assert(1 == ex::apply(mem1, t)); in test_ext_int_0()
118 assert(1 == ex::apply(mem1, t)); in test_ext_int_0()
126 assert(1 == ex::apply(mem1, t)); in test_ext_int_0()
134 assert(1 == ex::apply(mem1, t)); in test_ext_int_0()
210 mem1_t mem1 = &T::mem1; in test_ext_int_1() local
219 assert(2 == ex::apply(mem1, t)); in test_ext_int_1()
[all …]
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/
Dapply_extended_types.pass.cpp35 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/function.objects/bind/func.bind/func.bind.bind/
Dinvoke_rvalue.pass.cpp40 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 …]
Dinvoke_lvalue.pass.cpp40 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/
Dinvoke.pass.cpp38 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/
Dinvoke.pass.cpp112 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/valgrind/none/tests/mips64/
Dload_store_multiple.c10 unsigned int mem1[] = { variable
32 : "r" (mem1), "r" (RTval) \
163 ppMem(mem1, 16); in main()
190 ppMem(mem1, 16); in main()
217 ppMem(mem1, 16); in main()
244 ppMem(mem1, 16); in main()
271 ppMem(mem1, 16); in main()
298 ppMem(mem1, 16); in main()
325 ppMem(mem1, 16); in main()
/external/valgrind/none/tests/mips32/
DLoadStore1.c10 unsigned int mem1[] = { variable
33 : "r" (mem1), "r" (RTval) \
169 ppMem(mem1, 16); in main()
196 ppMem(mem1, 16); in main()
223 ppMem(mem1, 16); in main()
250 ppMem(mem1, 16); in main()
277 ppMem(mem1, 16); in main()
304 ppMem(mem1, 16); in main()
331 ppMem(mem1, 16); in main()
DLoadStore.c10 unsigned int mem1[] = { variable
33 : "r" (mem1), "r" (RTval) \
169 ppMem(mem1, 16); in main()
196 ppMem(mem1, 16); in main()
223 ppMem(mem1, 16); in main()
250 ppMem(mem1, 16); in main()
277 ppMem(mem1, 16); in main()
304 ppMem(mem1, 16); in main()
331 ppMem(mem1, 16); in main()
DMemCpyTest.c3 unsigned int mem1[] = { variable
52 : "r" (mem1), "r" (mem2) in main()
Dvfp.c49 double mem1[] = { variable
161 : "r" (mem1), "r" (fs_d) \
183 : "r" (mem1), "r" (fs_d) \
205 : "r" (mem1), "r" (fs_d) \
430 ppMem(mem1, 16); in main()
443 ppMem(mem1, 16); in main()
530 ppMem(mem1, 16); in main()
/external/llvm/test/Transforms/CodeGenPrepare/X86/
Dextend-sink-hoist.ll8 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/libchrome/base/memory/
Dref_counted_memory_unittest.cc57 scoped_refptr<RefCountedMemory> mem1 = RefCountedString::TakeString(&s1); in TEST() local
66 EXPECT_TRUE(mem1->Equals(mem2)); in TEST()
71 EXPECT_FALSE(mem1->Equals(mem3)); in TEST()
/external/libopus/celt/
Dpitch.c113 opus_val32 mem0, mem1, mem2, mem3, mem4; in celt_fir5() local
120 mem1=mem[1]; in celt_fir5()
128 sum = MAC16_16(sum,num1,mem1); in celt_fir5()
134 mem2 = mem1; in celt_fir5()
135 mem1 = mem0; in celt_fir5()
140 mem[1]=mem1; in celt_fir5()
/external/speex/libspeex/
Dfilters.c410 VARDECL(spx_mem_t *mem1); in compute_impulse_response()
412 ALLOC(mem1, ord, spx_mem_t); in compute_impulse_response()
422 mem1[i] = mem2[i] = 0; in compute_impulse_response()
425 y1 = ADD16(y[i], EXTRACT16(PSHR32(mem1[0],LPC_SHIFT))); in compute_impulse_response()
431 mem1[j] = MAC16_16(mem1[j+1], awk2[j],ny1i); in compute_impulse_response()
434 mem1[ord-1] = MULT16_16(awk2[ord-1],ny1i); in compute_impulse_response()
477 … *x2, const spx_word16_t *a, spx_word16_t *y, int N, int M, spx_word16_t *mem1, spx_word16_t *mem2… in qmf_synth() argument
495 xx1[N2+i] = mem1[2*i+1]; in qmf_synth()
563 mem1[2*i+1] = xx1[i]; in qmf_synth()
/external/clang/test/SemaTemplate/
Dcrash.cpp5 void S<T>::mem1();
/external/llvm/test/CodeGen/ARM/
Datomic-op.ll310 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/CodeGenCXX/
Dfloat128-declarations.cpp53 C mem1; member

12