Home
last modified time | relevance | path

Searched refs:memptr (Results 1 – 17 of 17) sorted by relevance

/external/llvm/test/Transforms/InstCombine/
Ddevirt.ll13 %memptr.adj = extractvalue { i64, i64 } %tmp, 1
15 %1 = getelementptr inbounds i8* %0, i64 %memptr.adj
17 %memptr.ptr = extractvalue { i64, i64 } %tmp, 0
18 %2 = and i64 %memptr.ptr, 1
19 %memptr.isvirtual = icmp ne i64 %2, 0
20 br i1 %memptr.isvirtual, label %memptr.virtual, label %memptr.nonvirtual
22 memptr.virtual: ; preds = %entry
24 %memptr.vtable = load i8** %3
25 %4 = sub i64 %memptr.ptr, 1
26 %5 = getelementptr i8* %memptr.vtable, i64 %4
[all …]
/external/clang/test/CodeGenCXX/
Dmicrosoft-abi-member-pointers.cpp170 int POD::*memptr; in podMemPtrs() local
171 memptr = &POD::a; in podMemPtrs()
172 memptr = &POD::b; in podMemPtrs()
173 if (memptr) in podMemPtrs()
174 memptr = 0; in podMemPtrs()
189 int Polymorphic::*memptr; in polymorphicMemPtrs() local
190 memptr = &Polymorphic::a; in polymorphicMemPtrs()
191 memptr = &Polymorphic::b; in polymorphicMemPtrs()
192 if (memptr) in polymorphicMemPtrs()
193 memptr = 0; in polymorphicMemPtrs()
[all …]
Dnew.cpp121 struct Bmemptr { int Bmemptr::* memptr; int a; }; member
/external/clang/test/SemaCXX/
Dmember-pointers-2.cpp18 Test0 *memptr; member
27 p = &Test0::memptr->memint; in test()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_testlib.cc119 int posix_memalign(void **memptr, size_t alignment, size_t size) { in posix_memalign() argument
122 *memptr = allocator.Allocate(&cache, size, alignment); in posix_memalign()
123 SANITIZER_MALLOC_HOOK(*memptr, size); in posix_memalign()
/external/compiler-rt/lib/asan/
Dasan_malloc_linux.cc130 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() argument
133 return asan_posix_memalign(memptr, alignment, size, &stack); in INTERCEPTOR()
Dasan_malloc_mac.cc141 INTERCEPTOR(int, posix_memalign, void **memptr, size_t alignment, size_t size) { in INTERCEPTOR() argument
143 CHECK(memptr); in INTERCEPTOR()
147 *memptr = result; in INTERCEPTOR()
Dasan_allocator.h115 int asan_posix_memalign(void **memptr, uptr alignment, uptr size,
Dasan_allocator2.cc672 int asan_posix_memalign(void **memptr, uptr alignment, uptr size, in asan_posix_memalign() argument
676 *memptr = ptr; in asan_posix_memalign()
/external/compiler-rt/lib/lsan/
Dlsan_interceptors.cc91 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() argument
94 *memptr = Allocate(stack, size, alignment, kAlwaysClearMemory); in INTERCEPTOR()
/external/chromium_org/third_party/jemalloc/chromium/
Djemalloc.h93 int posix_memalign(void **memptr, size_t alignment, size_t size);
Djemalloc.c6237 posix_memalign(void **memptr, size_t alignment, size_t size) argument
6262 *memptr = result;
/external/chromium_org/third_party/jemalloc/vendor/
Djemalloc.h93 int posix_memalign(void **memptr, size_t alignment, size_t size);
Djemalloc.c6219 posix_memalign(void **memptr, size_t alignment, size_t size) argument
6244 *memptr = result;
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc126 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() argument
129 CHECK_NE(memptr, 0); in INTERCEPTOR()
130 *memptr = MsanReallocate(&stack, 0, size, alignment, false); in INTERCEPTOR()
131 CHECK_NE(*memptr, 0); in INTERCEPTOR()
132 __msan_unpoison(memptr, sizeof(*memptr)); in INTERCEPTOR()
/external/valgrind/main/coregrind/m_replacemalloc/
Dvg_replace_malloc.c852 ( void **memptr, SizeT alignment, SizeT size ); \
854 ( void **memptr, SizeT alignment, SizeT size ) \
868 *memptr = mem; \
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors.cc728 TSAN_INTERCEPTOR(int, posix_memalign, void **memptr, uptr align, uptr sz) { in TSAN_INTERCEPTOR() argument
729 SCOPED_TSAN_INTERCEPTOR(posix_memalign, memptr, align, sz); in TSAN_INTERCEPTOR()
730 *memptr = user_alloc(thr, pc, sz, align); in TSAN_INTERCEPTOR()