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

1234

/freebsd-13-stable/contrib/llvm-project/clang/lib/Headers/
H A Dstdalign.h15 #define alignof _Alignof macro
/freebsd-13-stable/include/
H A Dstdalign.h46 #define alignof _Alignof macro
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DSmallVector.cpp29 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 DItaniumManglingCanonicalizer.cpp76 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 DMCSymbol.cpp40 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 DDeclGroup.cpp23 void *Mem = C.Allocate(Size, alignof(DeclGroup));
H A DStmtOpenMP.cpp167 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 DStmtObjC.cpp52 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt));
62 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt));
H A DStmtCXX.cpp28 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 DStmt.cpp321 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 DEnvironment.cpp17 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 DPrimType.h58 return ((Size + alignof(void *) - 1) / alignof(void *)) * alignof(void *);
/freebsd-13-stable/contrib/llvm-project/libcxx/src/
H A Dbarrier.cpp39 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 DAllocatorBase.h69 return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T)));
76 Deallocate(static_cast<const void *>(Ptr), Num * sizeof(T), alignof(T));
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 DArrayRecycler.h28 template <class T, size_t Align = alignof(T)> class ArrayRecycler {
35 static_assert(Align >= alignof(FreeList), "Object underaligned");
H A DRecyclingAllocator.h25 size_t Align = alignof(T)>
H A DAllocator.h173 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 DTrailingObjects.h65 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 DStringMapEntry.h98 size_t alignment = alignof(StringMapEntry);
129 alignof(StringMapEntry));
H A DFunctionExtras.h137 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 DUser.h317 static_assert(alignof(Use) >= alignof(User),
319 static_assert(alignof(Use *) >= alignof(User),
/freebsd-13-stable/contrib/llvm-project/lld/MachO/
H A DSymbols.h125 static_assert(alignof(T) <= alignof(SymbolUnion),
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DUser.cpp43 static_assert(alignof(Use) >= alignof(BasicBlock *),
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DMicrosoftDemangle.h78 (((size_t)P + alignof(T) - 1) & ~(size_t)(alignof(T) - 1));
97 (((size_t)P + alignof(T) - 1) & ~(size_t)(alignof(T) - 1));

Completed in 145 milliseconds

1234