Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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-15.0.7/llvm/include/llvm/Support/
H A DAllocator.h186 uintptr_t AlignedAddr = alignAddr(NewSlab, Alignment); in Allocate()
196 uintptr_t AlignedAddr = alignAddr(CurPtr, Alignment); in Allocate()
405 assert(Begin == (char *)alignAddr(Begin, Align::Of<T>())); in DestroyAll()
414 char *Begin = (char *)alignAddr(*I, Align::Of<T>()); in DestroyAll()
424 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.h188 inline uintptr_t alignAddr(const void *Addr, Align Alignment) { in alignAddr() function
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DEPCGenericRTDyldMemoryManager.cpp74 alignAddr(Seg.back().Contents.get(), Align(Alignment))); in allocateCodeSection()
93 alignAddr(Seg.back().Contents.get(), Align(Alignment))); in allocateDataSection()
255 alignAddr(SecAlloc.Contents.get(), Align(SecAlloc.Align))), in finalizeMemory()
307 Dyld.mapSectionAddress(reinterpret_cast<const void *>(alignAddr( in mapAllocsToRemoteAddrs()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DAlignmentTest.cpp100 EXPECT_EQ(alignAddr(T.forgedAddr(), A), T.rounded); in TEST()
264 EXPECT_DEATH(alignAddr(unaligned_high_ptr, Align(16)), "Overflow"); in TEST()
H A DAllocatorTest.cpp226 void *Slab = (void *)alignAddr((char*)MemBase + sizeof(void *), Alignment); in Allocate()
H A DTrailingObjectsTest.cpp234 reinterpret_cast<long *>(llvm::alignAddr( in TEST()
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DMemory.inc177 uintptr_t Start = alignAddr((const uint8_t *)M.Address - PageSize.value() + 1, PageSize);
178 uintptr_t End = alignAddr((const uint8_t *)M.Address + M.AllocatedSize, PageSize);
/llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp1046 alignAddr(FuncRecordsBuffer, RecordAlignment) - in loadBinaryFormat()