/external/llvm/unittests/ExecutionEngine/ |
ExecutionEngineTest.cpp | 54 int32_t Mem1 = 3; 55 Engine->addGlobalMapping(G1, &Mem1); 56 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G1)); 57 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable("Global1")); 72 Engine->updateGlobalMapping(G2, &Mem1); 73 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G2)); 82 int32_t Mem1 = 3; 83 Engine->addGlobalMapping(G1, &Mem1); 84 EXPECT_EQ(G1, Engine->getGlobalValueAtAddress(&Mem1)); 87 EXPECT_EQ(nullptr, Engine->getGlobalValueAtAddress(&Mem1)); [all...] |
/external/llvm/test/Transforms/InstCombine/ |
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) 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 [all...] |
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) 16 ; CHECK: ret i8* %mem1
|
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) 16 ; CHECK: ret i8* %mem1
|
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)
|
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)
|
memset-1.ll | 9 ; Check memset(mem1, val, size) -> llvm.memset(mem1, val, size, 1).
|
/external/clang/test/SemaTemplate/ |
crash.cpp | 5 void S<T>::mem1();
|
/external/libchrome/base/memory/ |
ref_counted_memory_unittest.cc | 57 scoped_refptr<RefCountedMemory> mem1 = RefCountedString::TakeString(&s1); local 66 EXPECT_TRUE(mem1->Equals(mem2)); 71 EXPECT_FALSE(mem1->Equals(mem3));
|
/external/llvm/test/Transforms/CodeGenPrepare/X86/ |
extend-sink-hoist.ll | 8 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/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/ |
invoke_lvalue.pass.cpp | 40 void mem1() {++count;} function in struct:A_void_1 94 void (A_void_1::*fp)() = &A_void_1::mem1; 105 void (A_void_1::*fp)() = &A_void_1::mem1; 155 int mem1() {return 3;} function in struct:A_int_1 186 assert(std::bind(&A_int_1::mem1, _1)(a) == 3); 187 assert(std::bind(&A_int_1::mem1, a)() == 3); 189 assert(std::bind(&A_int_1::mem1, _1)(ap) == 3); 190 assert(std::bind(&A_int_1::mem1, ap)() == 3); 230 void mem1(int i) {count += i;} function in struct:A_void_2 256 std::bind(&A_void_2::mem1, _1, _2)(A_void_2(), j) [all...] |
invoke_rvalue.pass.cpp | 40 void mem1() {++count;} function in struct:A_void_1 88 void (A_void_1::*fp)() = &A_void_1::mem1; 98 void (A_void_1::*fp)() = &A_void_1::mem1; 145 int mem1() {return 3;} function in struct:A_int_1 172 assert(std::bind(&A_int_1::mem1, _1)(A_int_1()) == 3); 173 assert(std::bind(&A_int_1::mem1, A_int_1())() == 3); 175 assert(std::bind(&A_int_1::mem1, _1)(&a) == 3); 176 assert(std::bind(&A_int_1::mem1, &a)() == 3); 214 void mem1(int i) {count += i;} function in struct:A_void_2 237 std::bind(&A_void_2::mem1, _1, _2)(A_void_2(), 3) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.bind/ |
invoke_lvalue.pass.cpp | 38 void mem1() {++count;} function in struct:A_void_1 92 void (A_void_1::*fp)() = &A_void_1::mem1; 103 void (A_void_1::*fp)() = &A_void_1::mem1; 153 int mem1() {return 3;} function in struct:A_int_1 184 assert(std::bind(&A_int_1::mem1, _1)(a) == 3); 185 assert(std::bind(&A_int_1::mem1, a)() == 3); 187 assert(std::bind(&A_int_1::mem1, _1)(ap) == 3); 188 assert(std::bind(&A_int_1::mem1, ap)() == 3); 228 void mem1(int i) {count += i;} function in struct:A_void_2 254 std::bind(&A_void_2::mem1, _1, _2)(A_void_2(), j) [all...] |
invoke_rvalue.pass.cpp | 38 void mem1() {++count;} function in struct:A_void_1 86 void (A_void_1::*fp)() = &A_void_1::mem1; 96 void (A_void_1::*fp)() = &A_void_1::mem1; 143 int mem1() {return 3;} function in struct:A_int_1 170 assert(std::bind(&A_int_1::mem1, _1)(A_int_1()) == 3); 171 assert(std::bind(&A_int_1::mem1, A_int_1())() == 3); 173 assert(std::bind(&A_int_1::mem1, _1)(&a) == 3); 174 assert(std::bind(&A_int_1::mem1, &a)() == 3); 212 void mem1(int i) {count += i;} function in struct:A_void_2 235 std::bind(&A_void_2::mem1, _1, _2)(A_void_2(), 3) [all...] |
/external/libcxx/test/std/experimental/utilities/tuple/tuple.apply/ |
extended_types.pass.cpp | 31 int mem1() { return ++count; } function in struct:A_int_0 40 int mem1(int x) { return count += x; } function in struct:A_int_1 48 int mem1(int x, int y) { return count += (x + y); } function in struct:A_int_2 94 mem1_t mem1 = &T::mem1; local 106 assert(1 == ex::apply(mem1, t)); 114 assert(1 == ex::apply(mem1, t)); 122 assert(1 == ex::apply(mem1, t)); 130 assert(1 == ex::apply(mem1, t)); 206 mem1_t mem1 = &T::mem1 local 291 mem1_t mem1 = &T::mem1; local [all...] |
/external/valgrind/none/tests/mips32/ |
MemCpyTest.c | 3 unsigned int mem1[] = { variable 40 "move $s0, %1\n\t" // s0 addr mem1 52 : "r" (mem1), "r" (mem2)
|
LoadStore.c | 10 unsigned int mem1[] = { variable 33 : "r" (mem1), "r" (RTval) \ 75 printf("MEM1:\n"); 168 ppMem(mem1, 16); 195 ppMem(mem1, 16); 222 ppMem(mem1, 16); 249 ppMem(mem1, 16); 276 ppMem(mem1, 16); 303 ppMem(mem1, 16); 330 ppMem(mem1, 16) [all...] |
LoadStore1.c | 10 unsigned int mem1[] = { variable 33 : "r" (mem1), "r" (RTval) \ 75 printf("MEM1:\n"); 168 ppMem(mem1, 16); 195 ppMem(mem1, 16); 222 ppMem(mem1, 16); 249 ppMem(mem1, 16); 276 ppMem(mem1, 16); 303 ppMem(mem1, 16); 330 ppMem(mem1, 16) [all...] |
/external/libcxx/test/std/utilities/function.objects/refwrap/refwrap.invoke/ |
invoke.pass.cpp | 38 void mem1() {++count;} function in struct:A_void_1 74 void (A_void_1::*fp)() = &A_void_1::mem1; 115 int mem1() {return 3;} function in struct:A_int_1 145 int (A_int_1::*fp)() = &A_int_1::mem1; 190 void mem1(int i) {count += i;} function in struct:A_void_2 229 void (A_void_2::*fp)(int) = &A_void_2::mem1; 271 int mem1(int i) {return i+1;} function in struct:A_int_2 303 int(A_int_2::*fp)(int) = &A_int_2::mem1;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
invoke.pass.cpp | 35 void mem1() {++count;} function in struct:A_void_1 71 void (A_void_1::*fp)() = &A_void_1::mem1; 114 int mem1() {return 3;} function in struct:A_int_1 144 int (A_int_1::*fp)() = &A_int_1::mem1; 192 void mem1(int i) {count += i;} function in struct:A_void_2 231 void (A_void_2::*fp)(int) = &A_void_2::mem1; 275 int mem1(int i) {return i+1;} function in struct:A_int_2 307 int(A_int_2::*fp)(int) = &A_int_2::mem1;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.invoke/ |
invoke.pass.cpp | 38 void mem1() {++count;} function in struct:A_void_1 74 void (A_void_1::*fp)() = &A_void_1::mem1; 115 int mem1() {return 3;} function in struct:A_int_1 145 int (A_int_1::*fp)() = &A_int_1::mem1; 190 void mem1(int i) {count += i;} function in struct:A_void_2 229 void (A_void_2::*fp)(int) = &A_void_2::mem1; 271 int mem1(int i) {return i+1;} function in struct:A_int_2 303 int(A_int_2::*fp)(int) = &A_int_2::mem1;
|
/external/clang/test/CodeGenObjC/ |
debug-info-block-captured-self.m | 54 // CHECK: %[[MEM1:.*]] = alloca i8*, align 8 57 // CHECK: store i8* [[BLOCK_DESC:%.*]], i8** %[[MEM1]], align 8 58 // CHECK: %[[TMP0:.*]] = load i8*, i8** %[[MEM1]]
|
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
invoke.pass.cpp | 112 void mem1() {++count;} function in struct:A_void_1 148 void (A_void_1::*fp)() = &A_void_1::mem1; 191 int mem1() {return 3;} function in struct:A_int_1 221 int (A_int_1::*fp)() = &A_int_1::mem1; 269 void mem1(int i) {count += i;} function in struct:A_void_2 308 void (A_void_2::*fp)(int) = &A_void_2::mem1; 352 int mem1(int i) {return i+1;} function in struct:A_int_2 383 int(A_int_2::*fp)(int) = &A_int_2::mem1;
|
/external/valgrind/none/tests/mips64/ |
load_store_multiple.c | 10 unsigned int mem1[] = { variable 32 : "r" (mem1), "r" (RTval) \ 74 printf("MEM1:\n"); 163 ppMem(mem1, 16); 190 ppMem(mem1, 16); 217 ppMem(mem1, 16); 244 ppMem(mem1, 16); 271 ppMem(mem1, 16); 298 ppMem(mem1, 16); 325 ppMem(mem1, 16) [all...] |
/toolchain/binutils/binutils-2.25/include/opcode/ |
i960.h | 41 #define MEM1 4 263 { 0x80000000, "ldob", I_BASE, MEM1, 2, { M, R, 0 } }, 264 { 0x82000000, "stob", I_BASE, MEM1, 2, { R, M, 0 } }, 265 { 0x84000000, "bx", I_BASE, MEM1, 1, { M, 0, 0 } }, 266 { 0x85000000, "balx", I_BASE, MEM1, 2, { M, R, 0 } }, 267 { 0x86000000, "callx", I_BASE, MEM1, 1, { M, 0, 0 } }, 270 { 0x8c000000, "lda", I_BASE, MEM1, 2, { M, R, 0 } }, 279 { 0xc0000000, "ldib", I_BASE, MEM1, 2, { M, R, 0 } }, 280 { 0xc2000000, "stib", I_BASE, MEM1, 2, { R, M, 0 } }, 518 { 0xac000000, "dcinva", I_HX, MEM1, 1, { M, 0, 0 } } [all...] |