| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | SmallVector.cpp | 32 static_assert(alignof(SmallVector<Struct16B, 0>) >= alignof(Struct16B), 34 static_assert(alignof(SmallVector<Struct32B, 0>) >= alignof(Struct32B), 36 static_assert(sizeof(SmallVector<Struct16B, 0>) >= alignof(Struct16B), 38 static_assert(sizeof(SmallVector<Struct32B, 0>) >= alignof(Struct32B),
|
| H A D | ItaniumManglingCanonicalizer.cpp | 76 class alignas(alignof(Node *)) NodeHeader : public llvm::FoldingSetNode { 99 return {new (RawAlloc.Allocate(sizeof(T), alignof(T))) in getOrCreateNode() 114 static_assert(alignof(T) <= alignof(NodeHeader), in getOrCreateNode() 117 RawAlloc.Allocate(sizeof(NodeHeader) + sizeof(T), alignof(NodeHeader)); in getOrCreateNode() 130 return RawAlloc.Allocate(sizeof(Node *) * sz, alignof(Node *)); in allocateNodeArray()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCSymbol.cpp | 40 static_assert((unsigned)alignof(MCSymbol) <= alignof(NameEntryStorageTy), in operator new() 42 void *Storage = Ctx.allocate(Size, alignof(NameEntryStorageTy)); in operator new()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | StmtCXX.cpp | 28 void *Mem = C.Allocate(Size, alignof(CXXTryStmt)); in Create() 35 void *Mem = C.Allocate(Size, alignof(CXXTryStmt)); in Create() 91 void *Mem = C.Allocate(Size, alignof(CoroutineBodyStmt)); in Create() 100 void *Mem = C.Allocate(Size, alignof(CoroutineBodyStmt)); in Create()
|
| H A D | Stmt.cpp | 421 alignof(AttributedStmt)); in Create() 959 alignof(IfStmt)); in Create() 969 alignof(IfStmt)); in CreateEmpty() 1079 alignof(SwitchStmt)); in Create() 1087 alignof(SwitchStmt)); in CreateEmpty() 1141 alignof(WhileStmt)); in Create() 1148 alignof(WhileStmt)); in CreateEmpty() 1199 alignof(ReturnStmt)); in Create() 1206 alignof(ReturnStmt)); in CreateEmpty() 1218 alignof(CaseStmt)); in Create() [all …]
|
| H A D | ExprCXX.cpp | 258 alignof(CXXNewExpr)); in Create() 272 alignof(CXXNewExpr)); in CreateEmpty() 633 alignof(CXXMemberCallExpr)); in Create() 646 alignof(CXXMemberCallExpr)); in CreateEmpty() 901 alignof(UserDefinedLiteral)); in Create() 1006 alignof(CXXTemporaryObjectExpr)); in Create() 1017 alignof(CXXTemporaryObjectExpr)); in CreateEmpty() 1040 alignof(CXXConstructExpr)); in Create() 1051 alignof(CXXConstructExpr)); in CreateEmpty() 1307 alignof(ExprWithCleanups)); in Create() [all …]
|
| H A D | StmtObjC.cpp | 52 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt)); in Create() 62 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt)); in CreateEmpty()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Allocator.h | 175 AllocatorT::Allocate(PaddedSize, alignof(std::max_align_t)); in Allocate() 272 assert(Out % alignof(T) == 0 && "Wrong alignment information"); in identifyKnownAlignedObject() 273 return Out / alignof(T); in identifyKnownAlignedObject() 335 AllocatorT::Allocate(AllocatedSlabSize, alignof(std::max_align_t)); in StartNewSlab() 351 AllocatorT::Deallocate(*I, AllocatedSlabSize, alignof(std::max_align_t)); in DeallocateSlabs() 360 AllocatorT::Deallocate(Ptr, Size, alignof(std::max_align_t)); in DeallocateCustomSizedSlabs() 438 alignof(std::max_align_t))); in new()
|
| 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) in additionalSizeToAllocImpl()
|
| H A D | AllocatorBase.h | 69 return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T))); 76 Deallocate(static_cast<const void *>(Ptr), Num * sizeof(T), alignof(T));
|
| 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, in Allocate()
|
| 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 | AlignOf.h | 29 alignas(alignof(AlignedUnion)) char buffer[sizeof(AlignedUnion)];
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | PrimType.h | 58 return ((Size + alignof(void *) - 1) / alignof(void *)) * alignof(void *);
|
| H A D | Descriptor.cpp | 210 AllocSize(alignof(void *)), IsConst(true), IsMutable(false), in Descriptor() 220 AllocSize(std::max<size_t>(alignof(void *), Size)), ElemDesc(Elem), in Descriptor() 230 Size(UnknownSizeMark), AllocSize(alignof(void *)), ElemDesc(Elem), in Descriptor() 238 : Source(D), ElemSize(std::max<size_t>(alignof(void *), R->getFullSize())), in Descriptor()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Utility/ |
| H A D | Environment.cpp | 17 Allocator.Allocate(sizeof(char) * size, alignof(char))); in make_entry() 30 Allocator.Allocate(sizeof(char *) * (Env.size() + 1), alignof(char *))); in Envp()
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/llvm/include/llvm/Demangle/ |
| H A D | MicrosoftDemangle.h | 78 (((size_t)P + alignof(T) - 1) & ~(size_t)(alignof(T) - 1)); in allocArray() 97 (((size_t)P + alignof(T) - 1) & ~(size_t)(alignof(T) - 1)); in alloc()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | FunctionExtras.h | 158 typename std::aligned_storage<InlineStorageSize, alignof(void *)>::type 261 alignof(CallableT) > alignof(decltype(StorageUnion.InlineStorage))) { 266 auto Alignment = alignof(CallableT);
|
| H A D | StringMapEntry.h | 123 sizeof(StringMapEntry), alignof(StringMapEntry), key, allocator)) in Create() 141 alignof(StringMapEntry)); in Destroy()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclarationName.h | 188 static_assert(alignof(IdentifierInfo) >= 8 && 189 alignof(detail::DeclarationNameExtra) >= 8 && 190 alignof(detail::CXXSpecialNameExtra) >= 8 && 191 alignof(detail::CXXOperatorIdName) >= 8 && 192 alignof(detail::CXXDeductionGuideNameExtra) >= 8 && 193 alignof(detail::CXXLiteralOperatorIdName) >= 8,
|
| /freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/ |
| H A D | MachONormalizedFileBinaryUtils.h | 73 assert((uint64_t)loc % alignof(T) == 0 && "invalid pointer alignment"); in read16() 79 assert((uint64_t)loc % alignof(T) == 0 && "invalid pointer alignment"); in read32() 85 assert((uint64_t)loc % alignof(T) == 0 && "invalid pointer alignment"); in read64()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | EHScopeStack.h | 277 static_assert(alignof(T) <= ScopeStackAlignment, 287 static_assert(alignof(T) <= ScopeStackAlignment, 309 static_assert(alignof(T) <= ScopeStackAlignment,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Headers/ |
| H A D | stdalign.h | 15 #define alignof _Alignof macro
|
| /freebsd-13.1/include/ |
| H A D | stdalign.h | 46 #define alignof _Alignof macro
|