HomeSort by relevance Sort by last modified time
    Searched refs:AlignOf (Results 1 - 25 of 48) sorted by null

1 2

  /external/swiftshader/third_party/LLVM/include/llvm/Support/
AlignOf.h 1 //===--- AlignOf.h - Portable calculation of type alignment -----*- C++ -*-===//
10 // This file defines the AlignOf function that computes alignments for
28 /// AlignOf - A templated class that contains an enum value representing
30 /// AlignOf<int>::Alignment represents the alignment of type "int". The
36 struct AlignOf {
52 /// alignOf - A templated function that returns the minimum alignment of
53 /// of a type. This provides no extra functionality beyond the AlignOf
55 /// alignOf<int>() returns the alignment of an int.
57 static inline unsigned alignOf() { return AlignOf<T>::Alignment;
    [all...]
RecyclingAllocator.h 26 size_t Size = sizeof(T), size_t Align = AlignOf<T>::Alignment>
Recycler.h 19 #include "llvm/Support/AlignOf.h"
63 template<class T, size_t Size = sizeof(T), size_t Align = AlignOf<T>::Alignment>
93 assert(AlignOf<SubClass>::Alignment <= Align &&
Allocator.h 17 #include "llvm/Support/AlignOf.h"
156 return static_cast<T*>(Allocate(sizeof(T),AlignOf<T>::Alignment));
163 return static_cast<T*>(Allocate(Num * sizeof(T), AlignOf<T>::Alignment));
209 Ptr = Allocator.AlignPtr(Ptr, alignOf<T>());
  /external/llvm/unittests/Support/
AlignOfTest.cpp 16 #include "llvm/Support/AlignOf.h"
110 [AlignOf<char>::Alignment > 0]
111 [AlignOf<short>::Alignment > 0]
112 [AlignOf<int>::Alignment > 0]
113 [AlignOf<long>::Alignment > 0]
114 [AlignOf<long long>::Alignment > 0]
115 [AlignOf<float>::Alignment > 0]
116 [AlignOf<double>::Alignment > 0]
117 [AlignOf<long double>::Alignment > 0]
118 [AlignOf<void *>::Alignment > 0
    [all...]
  /external/clang/lib/AST/
DeclGroup.cpp 23 void* Mem = C.Allocate(Size, llvm::AlignOf<DeclGroup>::Alignment);
DeclBase.cpp 49 static_assert(llvm::AlignOf<Decl>::Alignment >= \
50 llvm::AlignOf<DERIVED##Decl>::Alignment, \
59 static_assert(sizeof(unsigned) * 2 >= llvm::AlignOf<Decl>::Alignment,
85 llvm::AlignOf<Decl>::Alignment);
    [all...]
  /external/llvm/lib/MC/
MCSymbol.cpp 34 static_assert((unsigned)AlignOf<MCSymbol>::Alignment <=
35 AlignOf<NameEntryStorageTy>::Alignment,
37 void *Storage = Ctx.allocate(Size, alignOf<NameEntryStorageTy>());
  /external/llvm/include/llvm/IR/
User.h 25 #include "llvm/Support/AlignOf.h"
253 static_assert(AlignOf<Use>::Alignment >= AlignOf<User>::Alignment,
255 static_assert(AlignOf<Use *>::Alignment >= AlignOf<User>::Alignment,
DerivedTypes.h 140 static_assert(AlignOf<FunctionType>::Alignment >= AlignOf<Type *>::Alignment,
  /external/llvm/include/llvm/Support/
AlignOf.h 1 //===--- AlignOf.h - Portable calculation of type alignment -----*- C++ -*-===//
10 // This file defines the AlignOf function that computes alignments for
33 // generated by any class using AlignOf<T> with a manually specified alignment.
35 // as AlignOf.h is a published support header that's available for use
63 /// AlignOf - A templated class that contains an enum value representing
65 /// AlignOf<int>::Alignment represents the alignment of type "int". The
71 struct AlignOf {
74 // comparison between 'enum llvm::AlignOf<X>::<anonymous>' and 'enum
75 // llvm::AlignOf<Y>::<anonymous>' [-Wenum-compare]
98 template <typename T> constexpr unsigned AlignOf<T>::Alignment
    [all...]
ArrayRecycler.h 29 template<class T, size_t Align = AlignOf<T>::Alignment>
37 static_assert(Align >= AlignOf<FreeList>::Alignment, "Object underaligned");
Recycler.h 19 #include "llvm/Support/AlignOf.h"
35 template<class T, size_t Size = sizeof(T), size_t Align = AlignOf<T>::Alignment>
83 static_assert(AlignOf<SubClass>::Alignment <= Align,
TrailingObjects.h 50 #include "llvm/Support/AlignOf.h"
65 FirstAlignment = AlignOf<First>::Alignment,
77 enum { Alignment = AlignOf<First>::Alignment };
150 return llvm::AlignOf<PrevTy>::Alignment < llvm::AlignOf<NextTy>::Alignment;
172 llvm::alignAddr(Ptr, llvm::alignOf<NextTy>()));
187 llvm::alignAddr(Ptr, llvm::alignOf<NextTy>()));
200 ? llvm::alignTo(SizeSoFar, llvm::alignOf<NextTy>())
365 llvm::AlignOf<BaseTy>::Alignment, Size
PointerLikeTypeTraits.h 18 #include "llvm/Support/AlignOf.h"
46 NumLowBitsAvailable = detail::ConstantLog2<AlignOf<T>::Alignment>::value
RecyclingAllocator.h 26 size_t Size = sizeof(T), size_t Align = AlignOf<T>::Alignment>
  /external/llvm/lib/IR/
User.cpp 46 static_assert(AlignOf<Use>::Alignment >= AlignOf<Use::UserRef>::Alignment,
48 static_assert(AlignOf<Use::UserRef>::Alignment >=
49 AlignOf<BasicBlock *>::Alignment,
  /external/clang/lib/CodeGen/
EHScopeStack.h 102 /* Should switch to alignof(uint64_t) instead of 8, when EHCleanupScope can */
274 static_assert(llvm::AlignOf<T>::Alignment <= ScopeStackAlignment,
284 static_assert(llvm::AlignOf<T>::Alignment <= ScopeStackAlignment,
306 static_assert(llvm::AlignOf<T>::Alignment <= ScopeStackAlignment,
  /external/clang/lib/Sema/
TypeLocBuilder.h 42 enum { BufferMaxAlignment = llvm::AlignOf<void*>::Alignment };
AttributeList.cpp 66 return Alloc.Allocate(size, llvm::AlignOf<AttributeFactory>::Alignment);
  /external/llvm/lib/DebugInfo/PDB/Raw/
DbiStreamBuilder.cpp 51 llvm::AlignOf<DbiStream::HeaderInfo>::Alignment));
PDBFileBuilder.cpp 31 llvm::AlignOf<PDBFile::SuperBlock>::Alignment));
  /external/flatbuffers/include/flatbuffers/
flatbuffers.h 205 template<typename T> size_t AlignOf() {
209 #ifndef alignof
212 return alignof(T);
600 auto largest_align = AlignOf<largest_scalar_t>();
807 Align(AlignOf<T>());
    [all...]
  /system/chre/external/flatbuffers/include/flatbuffers/
flatbuffers.h 234 template<typename T> size_t AlignOf() {
238 #ifndef alignof
241 return alignof(T);
643 auto largest_align = AlignOf<largest_scalar_t>();
858 Align(AlignOf<T>());
    [all...]
  /external/clang/include/clang/Analysis/Analyses/
ThreadSafetyUtil.h 19 #include "llvm/Support/AlignOf.h"
48 return Allocator->Allocate(Sz, llvm::AlignOf<AlignmentType>::Alignment);

Completed in 1111 milliseconds

1 2