Home
last modified time | relevance | path

Searched refs:mem1 (Results 1 – 25 of 29) 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
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)
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)
Dmemset-1.ll9 ; Check memset(mem1, val, size) -> llvm.memset(mem1, val, size, 1).
/external/libcxx/test/std/experimental/utilities/tuple/tuple.apply/
Dextended_types.pass.cpp31 int mem1() { return ++count; } in mem1() function
40 int mem1(int x) { return count += x; } in mem1() function
48 int mem1(int x, int y) { return count += (x + y); } in mem1() function
94 mem1_t mem1 = &T::mem1; in test_ext_int_0() local
106 assert(1 == ex::apply(mem1, t)); in test_ext_int_0()
114 assert(1 == ex::apply(mem1, t)); in test_ext_int_0()
122 assert(1 == ex::apply(mem1, t)); in test_ext_int_0()
130 assert(1 == ex::apply(mem1, t)); in test_ext_int_0()
206 mem1_t mem1 = &T::mem1; in test_ext_int_1() local
215 assert(2 == ex::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/mips32/
DLoadStore.c10 unsigned int mem1[] = { variable
33 : "r" (mem1), "r" (RTval) \
168 ppMem(mem1, 16); in main()
195 ppMem(mem1, 16); in main()
222 ppMem(mem1, 16); in main()
249 ppMem(mem1, 16); in main()
276 ppMem(mem1, 16); in main()
303 ppMem(mem1, 16); in main()
330 ppMem(mem1, 16); in main()
DLoadStore1.c10 unsigned int mem1[] = { variable
33 : "r" (mem1), "r" (RTval) \
168 ppMem(mem1, 16); in main()
195 ppMem(mem1, 16); in main()
222 ppMem(mem1, 16); in main()
249 ppMem(mem1, 16); in main()
276 ppMem(mem1, 16); in main()
303 ppMem(mem1, 16); in main()
330 ppMem(mem1, 16); in main()
DMemCpyTest.c3 unsigned int mem1[] = { variable
52 : "r" (mem1), "r" (mem2) in main()
Dvfp.c33 double mem1[] = { variable
176 : "r" (mem1), "r" (fs_d) \
198 : "r" (mem1), "r" (fs_d) \
409 ppMem(mem1, 16); in main()
422 ppMem(mem1, 16); in main()
/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/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()
Dfilters.h62 … *x2, const spx_word16_t *a, spx_word16_t *y, int N, int M, spx_word16_t *mem1, spx_word16_t *mem2…
/external/clang/test/SemaTemplate/
Dcrash.cpp5 void S<T>::mem1();
/external/llvm/test/CodeGen/ARM/
Datomic-op.ll327 define i32 @load_load_add_acquire(i32* %mem1, i32* %mem2) nounwind {
329 %val1 = load atomic i32, i32* %mem1 acquire, align 4
351 define void @store_store_release(i32* %mem1, i32 %val1, i32* %mem2, i32 %val2) {
353 store atomic i32 %val1, i32* %mem1 release, align 4
372 define void @load_fence_store_monotonic(i32* %mem1, i32* %mem2) {
374 %val = load atomic i32, i32* %mem1 monotonic, align 4
/external/clang/test/SemaCXX/
Ddefault2.cpp58 int mem1(int i = a); // expected-error{{invalid use of non-static data member 'a'}}
/external/clang/test/CodeGenCXX/
Dvalue-init.cpp73 int mem1; member

12