/freebsd-13-stable/contrib/llvm-project/clang/lib/Headers/ |
H A D | stdalign.h | 15 #define alignof _Alignof macro
|
/freebsd-13-stable/include/ |
H A D | stdalign.h | 46 #define alignof _Alignof macro
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | SmallVector.cpp | 29 static_assert(alignof(SmallVector<Struct16B, 0>) >= alignof(Struct16B), 31 static_assert(alignof(SmallVector<Struct32B, 0>) >= alignof(Struct32B), 33 static_assert(sizeof(SmallVector<Struct16B, 0>) >= alignof(Struct16B), 35 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))) 114 static_assert(alignof(T) <= alignof(NodeHeader), 117 RawAlloc.Allocate(sizeof(NodeHeader) + sizeof(T), alignof(NodeHeader)); 130 return RawAlloc.Allocate(sizeof(Node *) * sz, alignof(Node *));
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCSymbol.cpp | 40 static_assert((unsigned)alignof(MCSymbol) <= alignof(NameEntryStorageTy), 42 void *Storage = Ctx.allocate(Size, alignof(NameEntryStorageTy));
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclGroup.cpp | 23 void *Mem = C.Allocate(Size, alignof(DeclGroup));
|
H A D | StmtOpenMP.cpp | 167 llvm::alignTo(sizeof(OMPParallelDirective), alignof(OMPClause *)); 183 llvm::alignTo(sizeof(OMPParallelDirective), alignof(OMPClause *)); 194 unsigned Size = llvm::alignTo(sizeof(OMPSimdDirective), alignof(OMPClause *)); 225 unsigned Size = llvm::alignTo(sizeof(OMPSimdDirective), alignof(OMPClause *)); 236 unsigned Size = llvm::alignTo(sizeof(OMPForDirective), alignof(OMPClause *)); 277 unsigned Size = llvm::alignTo(sizeof(OMPForDirective), alignof(OMPClause *)); 290 llvm::alignTo(sizeof(OMPForSimdDirective), alignof(OMPClause *)); 330 llvm::alignTo(sizeof(OMPForSimdDirective), alignof(OMPClause *)); 342 llvm::alignTo(sizeof(OMPSectionsDirective), alignof(OMPClause *)); 358 llvm::alignTo(sizeof(OMPSectionsDirective), alignof(OMPClaus [all...] |
H A D | StmtObjC.cpp | 52 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt)); 62 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt));
|
H A D | StmtCXX.cpp | 28 void *Mem = C.Allocate(Size, alignof(CXXTryStmt)); 35 void *Mem = C.Allocate(Size, alignof(CXXTryStmt)); 91 void *Mem = C.Allocate(Size, alignof(CoroutineBodyStmt)); 100 void *Mem = C.Allocate(Size, alignof(CoroutineBodyStmt));
|
H A D | Stmt.cpp | 321 C.Allocate(totalSizeToAlloc<Stmt *>(Stmts.size()), alignof(CompoundStmt)); 328 C.Allocate(totalSizeToAlloc<Stmt *>(NumStmts), alignof(CompoundStmt)); 360 alignof(AttributedStmt)); 368 alignof(AttributedStmt)); 872 alignof(IfStmt)); 882 alignof(IfStmt)); 981 alignof(SwitchStmt)); 989 alignof(SwitchStmt)); 1043 alignof(WhileStmt)); 1050 alignof(WhileStm [all...] |
/freebsd-13-stable/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-13-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | PrimType.h | 58 return ((Size + alignof(void *) - 1) / alignof(void *)) * alignof(void *);
|
/freebsd-13-stable/contrib/llvm-project/libcxx/src/ |
H A D | barrier.cpp | 39 size_t __allocation_size = __size + alignof(__state_t); 42 void* const __state_ = align(alignof(__state_t), __size, __allocation, __allocation_size);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
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,
|
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 | RecyclingAllocator.h | 25 size_t Align = alignof(T)>
|
H A D | Allocator.h | 173 void *NewSlab = Allocator.Allocate(PaddedSize, alignof(std::max_align_t)); 270 assert(Out % alignof(T) == 0 && "Wrong alignment information"); 271 return Out / alignof(T); 336 Allocator.Allocate(AllocatedSlabSize, alignof(std::max_align_t)); 352 Allocator.Deallocate(*I, AllocatedSlabSize, alignof(std::max_align_t)); 361 Allocator.Deallocate(Ptr, Size, alignof(std::max_align_t)); 439 alignof(std::max_align_t)));
|
H A D | TrailingObjects.h | 65 FirstAlignment = alignof(First), 77 enum { Alignment = alignof(First) }; 141 static const bool value = alignof(PrevTy) < alignof(NextTy); 197 (requiresRealignment() ? llvm::alignTo<alignof(NextTy)>(SizeSoFar)
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | StringMapEntry.h | 98 size_t alignment = alignof(StringMapEntry); 129 alignof(StringMapEntry));
|
H A D | FunctionExtras.h | 137 typename std::aligned_storage<InlineStorageSize, alignof(void *)>::type 240 alignof(CallableT) > alignof(decltype(StorageUnion.InlineStorage))) { 245 auto Alignment = alignof(CallableT);
|
/freebsd-13-stable/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-stable/contrib/llvm-project/lld/MachO/ |
H A D | Symbols.h | 125 static_assert(alignof(T) <= alignof(SymbolUnion),
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | User.cpp | 43 static_assert(alignof(Use) >= alignof(BasicBlock *),
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Demangle/ |
H A D | MicrosoftDemangle.h | 78 (((size_t)P + alignof(T) - 1) & ~(size_t)(alignof(T) - 1)); 97 (((size_t)P + alignof(T) - 1) & ~(size_t)(alignof(T) - 1));
|