/freebsd-current/contrib/llvm-project/clang/lib/Headers/ |
H A D | stdalign.h | 17 #define alignof _Alignof macro
|
/freebsd-current/include/ |
H A D | stdalign.h | 44 #define alignof _Alignof macro
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_thread_list.cpp | 16 static ALIGNED(alignof( 23 static ALIGNED(alignof(
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | AlignOf.h | 29 alignas(alignof(AlignedUnion)) char buffer[sizeof(AlignedUnion)];
|
H A D | Recycler.h | 33 template <class T, size_t Size = sizeof(T), size_t Align = alignof(T)> 84 static_assert(alignof(SubClass) <= Align,
|
H A D | TrailingObjects.h | 65 FirstAlignment = alignof(First), 77 enum { Alignment = alignof(First) }; 124 static const bool value = alignof(PrevTy) < alignof(NextTy); 180 (requiresRealignment() ? llvm::alignTo<alignof(NextTy)>(SizeSoFar)
|
H A D | ArrayRecycler.h | 28 template <class T, size_t Align = alignof(T)> class ArrayRecycler { 35 static_assert(Align >= alignof(FreeList), "Object underaligned");
|
H A D | AllocatorBase.h | 76 return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T))); 83 Deallocate(static_cast<const void *>(Ptr), Num * sizeof(T), alignof(T));
|
H A D | RecyclingAllocator.h | 25 size_t Align = alignof(T)>
|
H A D | Allocator.h | 180 this->getAllocator().Allocate(PaddedSize, alignof(std::max_align_t)); 277 assert(Out % alignof(T) == 0 && "Wrong alignment information"); 278 return Out / alignof(T); 340 alignof(std::max_align_t)); 357 alignof(std::max_align_t)); 366 this->getAllocator().Deallocate(Ptr, Size, alignof(std::max_align_t)); 444 alignof(std::max_align_t)));
|
/freebsd-current/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCSymbol.cpp | 39 static_assert((unsigned)alignof(MCSymbol) <= alignof(NameEntryStorageTy), 41 void *Storage = Ctx.allocate(Size, alignof(NameEntryStorageTy));
|
/freebsd-current/contrib/llvm-project/llvm/lib/Support/ |
H A D | SmallVector.cpp | 43 static_assert(alignof(SmallVector<Struct16B, 0>) >= alignof(Struct16B), 45 static_assert(alignof(SmallVector<Struct32B, 0>) >= alignof(Struct32B), 47 static_assert(sizeof(SmallVector<Struct16B, 0>) >= alignof(Struct16B), 49 static_assert(sizeof(SmallVector<Struct32B, 0>) >= alignof(Struct32B),
|
/freebsd-current/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclGroup.cpp | 23 void *Mem = C.Allocate(Size, alignof(DeclGroup));
|
H A D | StmtObjC.cpp | 51 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt)); 60 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt));
|
H A D | StmtCXX.cpp | 29 void *Mem = C.Allocate(Size, alignof(CXXTryStmt)); 36 void *Mem = C.Allocate(Size, alignof(CXXTryStmt)); 92 void *Mem = C.Allocate(Size, alignof(CoroutineBodyStmt)); 101 void *Mem = C.Allocate(Size, alignof(CoroutineBodyStmt));
|
/freebsd-current/contrib/llvm-project/lldb/source/Utility/ |
H A D | Environment.cpp | 17 Allocator.Allocate(sizeof(char) * size, alignof(char))); 30 Allocator.Allocate(sizeof(char *) * (Env.size() + 1), alignof(char *)));
|
/freebsd-current/contrib/llvm-project/libcxx/include/__utility/ |
H A D | small_buffer.h | 45 sizeof(_Decayed) <= _BufferSize && alignof(_Decayed) <= _BufferAlignment; 69 byte* __allocation = static_cast<byte*>(::operator new[](sizeof(_Stored), align_val_t{alignof(_Stored)})); 78 ::operator delete[](*reinterpret_cast<void**>(__buffer_), sizeof(_Stored), align_val_t{alignof(_Stored)});
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_thread.cpp | 38 static ALIGNED(alignof( 43 static ALIGNED(alignof(ThreadArgRetval)) char
|
/freebsd-current/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | PrimType.h | 92 return ((Size + alignof(void *) - 1) / alignof(void *)) * alignof(void *);
|
/freebsd-current/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | ItaniumManglingCanonicalizer.cpp | 77 class alignas(alignof(Node *)) NodeHeader : public llvm::FoldingSetNode { 100 return {new (RawAlloc.Allocate(sizeof(T), alignof(T))) 115 static_assert(alignof(T) <= alignof(NodeHeader), 118 RawAlloc.Allocate(sizeof(NodeHeader) + sizeof(T), alignof(NodeHeader)); 131 return RawAlloc.Allocate(sizeof(Node *) * sz, alignof(Node *));
|
/freebsd-current/contrib/llvm-project/libcxx/include/__memory_resource/ |
H A D | polymorphic_allocator.h | 67 return static_cast<_ValueType*>(__res_->allocate(__n * sizeof(_ValueType), alignof(_ValueType))); 75 __res_->deallocate(__p, __n * sizeof(_ValueType), alignof(_ValueType)); 81 allocate_bytes(size_t __nbytes, size_t __alignment = alignof(max_align_t)) { argument 85 _LIBCPP_HIDE_FROM_ABI void deallocate_bytes(void* __ptr, size_t __nbytes, size_t __alignment = alignof(max_align_t)) { argument 93 return static_cast<_Type*>(allocate_bytes(__n * sizeof(_Type), alignof(_Type))); 98 deallocate_bytes(__ptr, __n * sizeof(_Type), alignof(_Type));
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | User.h | 317 static_assert(alignof(Use) >= alignof(User), 319 static_assert(alignof(Use *) >= alignof(User),
|
/freebsd-current/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | Formula.cpp | 28 alignof(Formula));
|
/freebsd-current/contrib/llvm-project/libcxx/include/__coroutine/ |
H A D | noop_coroutine_handle.h | 50 __builtin_coro_promise(this->__handle_, alignof(noop_coroutine_promise), false));
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | tsd.h | 33 DCHECK(isAligned(reinterpret_cast<uptr>(this), alignof(ThisT)));
|