Home
last modified time | relevance | path

Searched refs:alignAddr (Results 1 – 11 of 11) sorted by relevance

/llvm-project/clang/test/Analysis/inlining/
H A Dplacement-new-fp-suppression.cpp22 inline uintptr_t alignAddr(const void *Addr, size_t Alignment) { in alignAddr() function
27 return alignAddr(Ptr, Alignment) - (uintptr_t)Ptr; in alignmentAdjustment()
57 uintptr_t AlignedAddr = alignAddr(Allocator.Allocate(PaddedSize, 0), in Allocate()
/llvm-project/llvm/include/llvm/Support/
H A DAllocator.h152 uintptr_t AlignedPtr = alignAddr(CurPtr, Alignment); in Allocate()
193 uintptr_t AlignedAddr = alignAddr(NewSlab, Alignment); in AllocateSlow()
203 uintptr_t AlignedAddr = alignAddr(CurPtr, Alignment); in AllocateSlow()
412 assert(Begin == (char *)alignAddr(Begin, Align::Of<T>())); in DestroyAll()
421 char *Begin = (char *)alignAddr(*I, Align::Of<T>()); in DestroyAll()
431 DestroyElements((char *)alignAddr(Ptr, Align::Of<T>()), in DestroyAll()
H A DTrailingObjects.h154 alignAddr(Ptr, Align::Of<NextTy>())); in getTrailingObjectsImpl()
168 return reinterpret_cast<NextTy *>(alignAddr(Ptr, Align::Of<NextTy>())); in getTrailingObjectsImpl()
H A DAlignment.h187 inline uintptr_t alignAddr(const void *Addr, Align Alignment) { in alignAddr() function
/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DEPCGenericRTDyldMemoryManager.cpp73 alignAddr(Seg.back().Contents.get(), Align(Alignment))); in allocateCodeSection()
92 alignAddr(Seg.back().Contents.get(), Align(Alignment))); in allocateDataSection()
249 alignAddr(SecAlloc.Contents.get(), Align(SecAlloc.Align))), in finalizeMemory()
302 Dyld.mapSectionAddress(reinterpret_cast<const void *>(alignAddr( in mapAllocsToRemoteAddrs()
/llvm-project/llvm/unittests/Support/
H A DAlignmentTest.cpp100 EXPECT_EQ(alignAddr(T.forgedAddr(), A), T.rounded); in TEST()
260 EXPECT_DEATH(alignAddr(unaligned_high_ptr, Align(16)), "Overflow"); in TEST()
H A DAllocatorTest.cpp247 void *Slab = (void *)alignAddr((char*)MemBase + sizeof(void *), Alignment); in TEST()
H A DTrailingObjectsTest.cpp234 reinterpret_cast<long *>(llvm::alignAddr( in TEST()
/llvm-project/llvm/lib/Support/Unix/
H A DMemory.inc175 alignAddr((const uint8_t *)M.Address - PageSize.value() + 1, PageSize);
177 alignAddr((const uint8_t *)M.Address + M.AllocatedSize, PageSize);
/llvm-project/llvm/lib/Support/
H A DMemoryBuffer.cpp341 char *Buf = (char *)alignAddr(Mem + StringLen, BufAlign); in getNewUninitMemBuffer()
/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp1239 alignAddr(FuncRecordsBuffer, RecordAlignment) - in create()