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

1234

/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/
H A Dstdalign.h15 #define alignof _Alignof macro
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DSmallVector.cpp28 static_assert(alignof(SmallVector<Struct16B, 0>) >= alignof(Struct16B),
30 static_assert(alignof(SmallVector<Struct32B, 0>) >= alignof(Struct32B),
32 static_assert(sizeof(SmallVector<Struct16B, 0>) >= alignof(Struct16B),
34 static_assert(sizeof(SmallVector<Struct32B, 0>) >= alignof(Struct32B),
H A DItaniumManglingCanonicalizer.cpp81 class alignas(alignof(Node *)) NodeHeader : public llvm::FoldingSetNode {
104 return {new (RawAlloc.Allocate(sizeof(T), alignof(T)))
119 static_assert(alignof(T) <= alignof(NodeHeader),
122 RawAlloc.Allocate(sizeof(NodeHeader) + sizeof(T), alignof(NodeHeader));
135 return RawAlloc.Allocate(sizeof(Node *) * sz, alignof(Node *));
/freebsd-11-stable/include/
H A Dstdalign.h44 #define alignof _Alignof macro
/freebsd-11-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-11-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclGroup.cpp23 void *Mem = C.Allocate(Size, alignof(DeclGroup));
H A DStmtObjC.cpp52 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt));
62 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt));
H A DStmtOpenMP.cpp167 llvm::alignTo(sizeof(OMPParallelDirective), alignof(OMPClause *));
182 llvm::alignTo(sizeof(OMPParallelDirective), alignof(OMPClause *));
193 unsigned Size = llvm::alignTo(sizeof(OMPSimdDirective), alignof(OMPClause *));
224 unsigned Size = llvm::alignTo(sizeof(OMPSimdDirective), alignof(OMPClause *));
236 unsigned Size = llvm::alignTo(sizeof(OMPForDirective), alignof(OMPClause *));
276 unsigned Size = llvm::alignTo(sizeof(OMPForDirective), alignof(OMPClause *));
289 llvm::alignTo(sizeof(OMPForSimdDirective), alignof(OMPClause *));
329 llvm::alignTo(sizeof(OMPForSimdDirective), alignof(OMPClause *));
340 llvm::alignTo(sizeof(OMPSectionsDirective), alignof(OMPClause *));
355 llvm::alignTo(sizeof(OMPSectionsDirective), alignof(OMPClaus
[all...]
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.cpp322 C.Allocate(totalSizeToAlloc<Stmt *>(Stmts.size()), alignof(CompoundStmt));
329 C.Allocate(totalSizeToAlloc<Stmt *>(NumStmts), alignof(CompoundStmt));
361 alignof(AttributedStmt));
369 alignof(AttributedStmt));
873 alignof(IfStmt));
883 alignof(IfStmt));
982 alignof(SwitchStmt));
990 alignof(SwitchStmt));
1039 alignof(WhileStmt));
1046 alignof(WhileStm
[all...]
H A DASTConcept.cpp57 void *Mem = C.Allocate(size, alignof(ASTConstraintSatisfaction));
/freebsd-11-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-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DPrimType.h58 return ((Size + alignof(void *) - 1) / alignof(void *)) * alignof(void *);
H A DInterpStack.h68 constexpr size_t PtrAlign = alignof(void *);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DUser.cpp42 static_assert(alignof(Use) >= alignof(Use::UserRef),
44 static_assert(alignof(Use::UserRef) >= alignof(BasicBlock *),
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
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 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-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DFunctionExtras.h115 typename std::aligned_storage<InlineStorageSize, alignof(void *)>::type
237 alignof(CallableT) > alignof(decltype(StorageUnion.InlineStorage))) {
242 auto Alignment = alignof(CallableT);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DUser.h312 static_assert(alignof(Use) >= alignof(User),
314 static_assert(alignof(Use *) >= alignof(User),
/freebsd-11-stable/contrib/netbsd-tests/usr.bin/xlint/lint1/
H A Dt_integration.sh105 test_case check_valid alignof "Checks __alignof__"
/freebsd-11-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));
/freebsd-11-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileBinaryUtils.h73 assert((uint64_t)loc % alignof(T) == 0 && "invalid pointer alignment");
79 assert((uint64_t)loc % alignof(T) == 0 && "invalid pointer alignment");
85 assert((uint64_t)loc % alignof(T) == 0 && "invalid pointer alignment");
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DEHScopeStack.h101 /* Should switch to alignof(uint64_t) instead of 8, when EHCleanupScope can */
273 static_assert(alignof(T) <= ScopeStackAlignment,
283 static_assert(alignof(T) <= ScopeStackAlignment,
305 static_assert(alignof(T) <= ScopeStackAlignment,

Completed in 184 milliseconds

1234