Searched refs:alignAddr (Results 1 – 7 of 7) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Allocator.h | 243 uintptr_t AlignedAddr = alignAddr(NewSlab, Alignment); in Allocate() 253 uintptr_t AlignedAddr = alignAddr(CurPtr, Alignment); in Allocate() 387 assert(Begin == (char *)alignAddr(Begin, alignof(T))); in DestroyAll() 396 char *Begin = (char *)alignAddr(*I, alignof(T)); in DestroyAll() 406 DestroyElements((char *)alignAddr(Ptr, alignof(T)), (char *)Ptr + Size); in DestroyAll()
|
D | MathExtras.h | 610 inline uintptr_t alignAddr(const void *Addr, size_t Alignment) { 622 return alignAddr(Ptr, Alignment) - (uintptr_t)Ptr;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Allocator.h | 250 uintptr_t AlignedAddr = alignAddr(NewSlab, Alignment); in Allocate() 260 uintptr_t AlignedAddr = alignAddr(CurPtr, Alignment); in Allocate() 469 assert(Begin == (char *)alignAddr(Begin, Align::Of<T>())); in DestroyAll() 478 char *Begin = (char *)alignAddr(*I, Align::Of<T>()); in DestroyAll() 488 DestroyElements((char *)alignAddr(Ptr, Align::Of<T>()), in DestroyAll()
|
D | TrailingObjects.h | 171 alignAddr(Ptr, Align::Of<NextTy>())); in getTrailingObjectsImpl() 185 return reinterpret_cast<NextTy *>(alignAddr(Ptr, Align::Of<NextTy>())); in getTrailingObjectsImpl()
|
D | Alignment.h | 184 inline uintptr_t alignAddr(const void *Addr, Align Alignment) { in alignAddr() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/ |
D | Memory.inc | 183 uintptr_t Start = alignAddr((const uint8_t *)M.Address - PageSize.value() + 1, PageSize); 184 uintptr_t End = alignAddr((const uint8_t *)M.Address + M.AllocatedSize, PageSize);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
D | Memory.inc | 156 uintptr_t Start = alignAddr((uint8_t *)M.Address - PageSize + 1, PageSize); 157 uintptr_t End = alignAddr((uint8_t *)M.Address + M.Size, PageSize);
|