Home
last modified time | relevance | path

Searched refs:mem2 (Results 1 – 24 of 24) 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 …]
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)
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)
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)
/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()
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 …]
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 …]
/external/libchrome/base/memory/
Dref_counted_memory_unittest.cc33 scoped_refptr<RefCountedMemory> mem2; in TEST() local
36 mem2 = new RefCountedBytes(data2, 3); in TEST()
38 EXPECT_EQ(3U, mem2->size()); in TEST()
39 EXPECT_EQ(12U, mem2->front()[0]); in TEST()
40 EXPECT_EQ(11U, mem2->front()[1]); in TEST()
41 EXPECT_EQ(99U, mem2->front()[2]); in TEST()
64 scoped_refptr<RefCountedMemory> mem2 = RefCountedBytes::TakeVector(&d2); in TEST() local
66 EXPECT_TRUE(mem1->Equals(mem2)); in TEST()
72 EXPECT_FALSE(mem2->Equals(mem3)); in TEST()
/external/libcxx/test/std/experimental/utilities/tuple/tuple.apply/
Dextended_types.pass.cpp32 int mem2() const { return ++count; } in mem2() function
41 int mem2(int x) const { return count += x; } in mem2() function
49 int mem2(int x, int y) const { return count += (x + y); } in mem2() function
97 mem2_t mem2 = &T::mem2; in test_ext_int_0() local
138 assert(1 == ex::apply(mem2, t)); in test_ext_int_0()
146 assert(1 == ex::apply(mem2, t)); in test_ext_int_0()
154 assert(1 == ex::apply(mem2, t)); in test_ext_int_0()
162 assert(1 == ex::apply(mem2, t)); in test_ext_int_0()
209 mem2_t mem2 = &T::mem2; in test_ext_int_1() local
247 assert(6 == ex::apply(mem2, t)); in test_ext_int_1()
[all …]
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
Dinvoke_rvalue.pass.cpp41 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
Dinvoke_lvalue.pass.cpp41 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/
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.cpp113 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/
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.ll327 define i32 @load_load_add_acquire(i32* %mem1, i32* %mem2) nounwind {
330 %val2 = load atomic i32, i32* %mem2 acquire, align 4
351 define void @store_store_release(i32* %mem1, i32 %val1, i32* %mem2, i32 %val2) {
354 store atomic i32 %val2, i32* %mem2 release, align 4
372 define void @load_fence_store_monotonic(i32* %mem1, i32* %mem2) {
376 store atomic i32 %val, i32* %mem2 monotonic, align 4
/external/clang/test/SemaCXX/
Ddefault2.cpp59 int mem2(int i = b); // OK; use Y::b
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp748 VkDeviceMemory mem2; in TEST_F() local
792 err = vkAllocateMemory(m_device->device(), &mem_alloc, NULL, &mem2); in TEST_F()
801 err = vkBindImageMemory(m_device->device(), image, mem2, 0); in TEST_F()
810 vkFreeMemory(m_device->device(), mem2, NULL); in TEST_F()