Home
last modified time | relevance | path

Searched refs:mem2 (Results 1 – 21 of 21) sorted by relevance

/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)
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 …]
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)
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)
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)
/external/valgrind/none/tests/mips32/
DMemCpyTest.c31 unsigned int mem2[100]; variable
37 mem2[i] = 0; in main()
52 : "r" (mem1), "r" (mem2) in main()
56 printf("0x%x, 0x%x, 0x%x, 0x%x\n", mem2[i], mem2[i+1], in main()
57 mem2[i+2], mem2[i+3]); in main()
DLoadStore1.c17 unsigned int mem2[] = { variable
65 : "r" (mem2), "r" (RTval) \
335 ppMem0(mem2, 12); in main()
337 ppMem0(mem2, 12); in main()
339 ppMem0(mem2, 12); in main()
341 ppMem0(mem2, 12); in main()
343 ppMem0(mem2, 12); in main()
345 ppMem0(mem2, 12); in main()
347 ppMem0(mem2, 12); in main()
349 ppMem0(mem2, 12); in main()
[all …]
DLoadStore.c17 unsigned int mem2[] = { variable
65 : "r" (mem2), "r" (RTval) \
335 ppMem0(mem2, 12); in main()
337 ppMem0(mem2, 12); in main()
339 ppMem0(mem2, 12); in main()
341 ppMem0(mem2, 12); in main()
343 ppMem0(mem2, 12); in main()
345 ppMem0(mem2, 12); in main()
347 ppMem0(mem2, 12); in main()
349 ppMem0(mem2, 12); in main()
[all …]
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
Dinvoke_rvalue.pass.cpp39 void mem2() const {count += 2;} in mem2() function
107 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1()
117 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1()
144 int mem2() const {return 4;} in mem2() function
178 assert(std::bind(&A_int_1::mem2, _1)(A_int_1()) == 4); in test_int_1()
179 assert(std::bind(&A_int_1::mem2, A_int_1())() == 4); in test_int_1()
181 assert(std::bind(&A_int_1::mem2, _1)(&a) == 4); in test_int_1()
182 assert(std::bind(&A_int_1::mem2, &a)() == 4); in test_int_1()
213 void mem2(int i) const {count += i;} in mem2() function
Dinvoke_lvalue.pass.cpp39 void mem2() const {count += 2;} in mem2() function
115 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1()
126 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1()
154 int mem2() const {return 4;} in mem2() function
193 assert(std::bind(&A_int_1::mem2, _1)(A_int_1()) == 4); in test_int_1()
194 assert(std::bind(&A_int_1::mem2, A_int_1())() == 4); in test_int_1()
196 assert(std::bind(&A_int_1::mem2, _1)(ap) == 4); in test_int_1()
197 assert(std::bind(&A_int_1::mem2, ap)() == 4); in test_int_1()
229 void mem2(int i) const {count += i;} in mem2() function
/external/libcxx/test/std/utilities/function.objects/refwrap/refwrap.invoke/
Dinvoke.pass.cpp39 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/valgrind/none/tests/mips64/
Dload_store_multiple.c17 unsigned int mem2[] = { variable
64 : "r" (mem2), "r" (RTval) \
330 ppMem2(mem2, 12); in main()
332 ppMem2(mem2, 12); in main()
334 ppMem2(mem2, 12); in main()
336 ppMem2(mem2, 12); in main()
338 ppMem2(mem2, 12); in main()
340 ppMem2(mem2, 12); in main()
342 ppMem2(mem2, 12); in main()
344 ppMem2(mem2, 12); in main()
[all …]
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/
Dinvoke.pass.cpp36 void mem2() const {++count;} in mem2() function
85 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1()
115 int mem2() const {return 4;} in mem2() function
154 int (A_int_1::*fp)() const = &A_int_1::mem2; in test_int_1()
193 void mem2(int i) const {count += i;} in mem2() function
246 void (A_void_2::*fp)(int) const = &A_void_2::mem2; in test_void_2()
276 int mem2(int i) const {return i+2;} in mem2() function
318 int (A_int_2::*fp)(int) const = &A_int_2::mem2; in testint_2()
/external/llvm/test/Transforms/CodeGenPrepare/X86/
Dextend-sink-hoist.ll8 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/
Dvalue-init.cpp74 int S::*mem2; member
82 return s->*S().mem2; in test()
/external/libopus/celt/
Dpitch.c113 opus_val32 mem0, mem1, mem2, mem3, mem4; in celt_fir5() local
121 mem2=mem[2]; in celt_fir5()
129 sum = MAC16_16(sum,num2,mem2); in celt_fir5()
133 mem3 = mem2; in celt_fir5()
134 mem2 = mem1; in celt_fir5()
141 mem[2]=mem2; in celt_fir5()
/external/speex/libspeex/
Dfilters.c411 VARDECL(spx_mem_t *mem2); in compute_impulse_response()
413 ALLOC(mem2, ord, spx_mem_t); in compute_impulse_response()
422 mem1[i] = mem2[i] = 0; in compute_impulse_response()
427 y[i] = PSHR32(ADD32(SHL32(EXTEND32(y1),LPC_SHIFT+1),mem2[0]),LPC_SHIFT); in compute_impulse_response()
432 mem2[j] = MAC16_16(mem2[j+1], ak[j],ny2i); in compute_impulse_response()
435 mem2[ord-1] = MULT16_16(ak[ord-1],ny2i); in compute_impulse_response()
477 …px_word16_t *a, spx_word16_t *y, int N, int M, spx_word16_t *mem1, spx_word16_t *mem2, char *stack) in qmf_synth() argument
499 xx2[N2+i] = mem2[2*i+1]; in qmf_synth()
565 mem2[2*i+1] = xx2[i]; in qmf_synth()
Dfilters.h62 …x_word16_t *a, spx_word16_t *y, int N, int M, spx_word16_t *mem1, spx_word16_t *mem2, char *stack);
/external/clang/test/SemaTemplate/
Dcrash.cpp8 void S<T>::mem2() { in mem2() function in S
/external/llvm/test/CodeGen/ARM/
Datomic-op.ll309 define i32 @load_load_add_acquire(i32* %mem1, i32* %mem2) nounwind {
312 %val2 = load atomic i32, i32* %mem2 acquire, align 4
333 define void @store_store_release(i32* %mem1, i32 %val1, i32* %mem2, i32 %val2) {
336 store atomic i32 %val2, i32* %mem2 release, align 4
354 define void @load_fence_store_monotonic(i32* %mem1, i32* %mem2) {
358 store atomic i32 %val, i32* %mem2 monotonic, align 4
/external/clang/test/SemaCXX/
Ddefault2.cpp59 int mem2(int i = b); // OK; use Y::b