Searched refs:alignof (Results 1 - 25 of 133) sorted by relevance

123456

/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A Dstdalign.h17 #define alignof _Alignof macro
/freebsd-current/include/
H A Dstdalign.h44 #define alignof _Alignof macro
/freebsd-current/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_thread_list.cpp16 static ALIGNED(alignof(
23 static ALIGNED(alignof(
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DAlignOf.h29 alignas(alignof(AlignedUnion)) char buffer[sizeof(AlignedUnion)];
H A DRecycler.h33 template <class T, size_t Size = sizeof(T), size_t Align = alignof(T)>
84 static_assert(alignof(SubClass) <= Align,
H A DTrailingObjects.h65 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 DArrayRecycler.h28 template <class T, size_t Align = alignof(T)> class ArrayRecycler {
35 static_assert(Align >= alignof(FreeList), "Object underaligned");
H A DAllocatorBase.h76 return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T)));
83 Deallocate(static_cast<const void *>(Ptr), Num * sizeof(T), alignof(T));
H A DRecyclingAllocator.h25 size_t Align = alignof(T)>
H A DAllocator.h180 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 DMCSymbol.cpp39 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 DSmallVector.cpp43 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 DDeclGroup.cpp23 void *Mem = C.Allocate(Size, alignof(DeclGroup));
H A DStmtObjC.cpp51 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt));
60 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt));
H A DStmtCXX.cpp29 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 DEnvironment.cpp17 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 Dsmall_buffer.h45 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 Dlsan_thread.cpp38 static ALIGNED(alignof(
43 static ALIGNED(alignof(ThreadArgRetval)) char
/freebsd-current/contrib/llvm-project/clang/lib/AST/Interp/
H A DPrimType.h92 return ((Size + alignof(void *) - 1) / alignof(void *)) * alignof(void *);
/freebsd-current/contrib/llvm-project/llvm/lib/ProfileData/
H A DItaniumManglingCanonicalizer.cpp77 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 Dpolymorphic_allocator.h67 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 DUser.h317 static_assert(alignof(Use) >= alignof(User),
319 static_assert(alignof(Use *) >= alignof(User),
/freebsd-current/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DFormula.cpp28 alignof(Formula));
/freebsd-current/contrib/llvm-project/libcxx/include/__coroutine/
H A Dnoop_coroutine_handle.h50 __builtin_coro_promise(this->__handle_, alignof(noop_coroutine_promise), false));
/freebsd-current/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dtsd.h33 DCHECK(isAligned(reinterpret_cast<uptr>(this), alignof(ThisT)));

Completed in 395 milliseconds

123456