/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
H A D | AlignOf.h | 30 /// AlignOf<int>::Alignment represents the alignment of type "int". The 37 enum { Alignment = enumerator in enum:llvm::AlignOf::__anon18377 40 enum { Alignment_GreaterEqual_2Bytes = Alignment >= 2 ? 1 : 0 }; 41 enum { Alignment_GreaterEqual_4Bytes = Alignment >= 4 ? 1 : 0 }; 42 enum { Alignment_GreaterEqual_8Bytes = Alignment >= 8 ? 1 : 0 }; 43 enum { Alignment_GreaterEqual_16Bytes = Alignment >= 16 ? 1 : 0 }; 45 enum { Alignment_LessEqual_2Bytes = Alignment <= 2 ? 1 : 0 }; 46 enum { Alignment_LessEqual_4Bytes = Alignment <= 4 ? 1 : 0 }; 47 enum { Alignment_LessEqual_8Bytes = Alignment <= 8 ? 1 : 0 }; 48 enum { Alignment_LessEqual_16Bytes = Alignment < [all...] |
H A D | Allocator.h | 36 void *Allocate(size_t Size, size_t /*Alignment*/) { return malloc(Size); } 123 /// AlignPtr - Align Ptr to Alignment bytes, rounding up. Alignment should 126 static char *AlignPtr(char *Ptr, size_t Alignment); 150 void *Allocate(size_t Size, size_t Alignment); 156 return static_cast<T*>(Allocate(sizeof(T),AlignOf<T>::Alignment)); 163 return static_cast<T*>(Allocate(Num * sizeof(T), AlignOf<T>::Alignment)); 169 T *Allocate(size_t Num, size_t Alignment) { argument 171 size_t EltSize = (sizeof(T)+Alignment-1)&(-Alignment); [all...] |
/external/deqp/framework/delibs/decpp/ |
H A D | dePoolArray.hpp | 38 template<typename T, deUint32 Alignment> 41 template<typename T, deUint32 Alignment> 51 template<typename T, deUint32 Alignment = (sizeof(T) > sizeof(void*) ? (deUint32)sizeof(void*) : (deUint32)sizeof(T))> 55 typedef PoolArrayIterator<T, Alignment> Iterator; 56 typedef PoolArrayConstIterator<T, Alignment> ConstIterator; 62 PoolArray (MemPool* pool, const PoolArray<T, Alignment>& other); 101 PoolArray (const PoolArray<T, Alignment>& other); // \note Default copy ctor is not allowed, use PoolArray(pool, copy) instead. 114 template<typename T, deUint32 Alignment> 127 template<typename T, deUint32 Alignment> 128 class PoolArrayConstIterator : public PoolArrayIteratorBase<T, Alignment> [all...] |
H A D | deArrayBuffer.hpp | 47 template <typename T, size_t Alignment = (sizeof(T) > 4 ? 4 : sizeof(T)), size_t Stride = sizeof(T)> 76 template <typename T, size_t Alignment, size_t Stride> 77 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (void) throw() 83 template <typename T, size_t Alignment, size_t Stride> 84 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (size_t numElements) 92 void* const ptr = detail::ArrayBuffer_AlignedMalloc(storageSize, Alignment); 102 template <typename T, size_t Alignment, size_t Stride> 103 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (const T* ptr, size_t numElements) 110 ArrayBuffer<T,Alignment,Stride> tmp(numElements); 129 template <typename T, size_t Alignment, size_ [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | MachineConstantPool.h | 50 unsigned Alignment) = 0; 78 unsigned Alignment; member in class:llvm::MachineConstantPoolEntry 81 : Alignment(A) { 85 : Alignment(A) { 87 Alignment |= 1U << (sizeof(unsigned) * CHAR_BIT - 1); 94 return (int)Alignment < 0; 98 return Alignment & ~(1 << (sizeof(unsigned) * CHAR_BIT - 1)); 143 unsigned getConstantPoolIndex(const Constant *C, unsigned Alignment); 145 unsigned Alignment);
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
H A D | MachineConstantPool.h | 55 unsigned Alignment) = 0; 84 unsigned Alignment; member in class:llvm::MachineConstantPoolEntry 87 : Alignment(A) { 91 : Alignment(A) { 93 Alignment |= 1U << (sizeof(unsigned)*CHAR_BIT-1); 100 return (int)Alignment < 0; 104 return Alignment & ~(1 << (sizeof(unsigned)*CHAR_BIT-1)); 152 unsigned getConstantPoolIndex(const Constant *C, unsigned Alignment); 153 unsigned getConstantPoolIndex(MachineConstantPoolValue *V,unsigned Alignment);
|
H A D | MachineFrameInfo.h | 89 // Alignment - The required alignment of this stack slot. 90 unsigned Alignment; member in struct:llvm::MachineFrameInfo::StackObject 112 : SPOffset(SP), Size(Sz), Alignment(Al), isImmutable(IM), 354 return Objects[ObjectIdx+NumFixedObjects].Alignment; 361 Objects[ObjectIdx+NumFixedObjects].Alignment = Align; 482 int CreateStackObject(uint64_t Size, unsigned Alignment, bool isSS, argument 485 Objects.push_back(StackObject(Size, Alignment, 0, false, isSS, MayNeedSP)); 488 MaxAlignment = std::max(MaxAlignment, Alignment); 496 int CreateSpillStackObject(uint64_t Size, unsigned Alignment) { argument 497 CreateStackObject(Size, Alignment, tru 515 CreateVariableSizedObject(unsigned Alignment) argument [all...] |
H A D | JITCodeEmitter.h | 74 unsigned Alignment) = 0; 150 void emitAlignment(unsigned Alignment) { argument 151 if (Alignment == 0) Alignment = 1; 153 Alignment); 159 void emitAlignmentWithFill(unsigned Alignment, uint8_t Fill) { argument 160 if (Alignment == 0) Alignment = 1; 162 Alignment); 255 /// failure. Alignment i 256 allocateSpace(uintptr_t Size, unsigned Alignment) argument [all...] |
/external/clang/test/CXX/temp/temp.spec/temp.inst/ |
H A D | p11.cpp | 9 void Allocate(unsigned Alignment
|
/external/llvm/lib/Transforms/Utils/ |
H A D | ASanStackFrameLayout.cpp | 30 return a.Alignment > b.Alignment; 38 // The resulting frame size is a multiple of Alignment. 39 static size_t VarAndRedzoneSize(size_t Size, size_t Alignment) { argument 47 return alignTo(Res, Alignment); 61 Vars[i].Alignment = std::max(Vars[i].Alignment, kMinAlignment); 67 Layout->FrameAlignment = std::max(Granularity, Vars[0].Alignment); 71 Vars[0].Alignment); 76 size_t Alignment local [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/ |
H A D | Allocator.cpp | 32 /// AlignPtr - Align Ptr to Alignment bytes, rounding up. Alignment should 35 char *BumpPtrAllocator::AlignPtr(char *Ptr, size_t Alignment) { argument 36 assert(Alignment && (Alignment & (Alignment - 1)) == 0 && 37 "Alignment is not a power of two!"); 40 return (char*)(((uintptr_t)Ptr + Alignment - 1) & 41 ~(uintptr_t)(Alignment - 1)); 89 void *BumpPtrAllocator::Allocate(size_t Size, size_t Alignment) { argument [all...] |
/external/llvm/lib/Target/Mips/ |
H A D | MipsFrameLowering.h | 28 explicit MipsFrameLowering(const MipsSubtarget &sti, unsigned Alignment) argument 29 : TargetFrameLowering(StackGrowsDown, Alignment, 0, Alignment), STI(sti) {}
|
/external/llvm/include/llvm/Support/ |
H A D | AlignOf.h | 65 /// AlignOf<int>::Alignment represents the alignment of type "int". The 78 static constexpr unsigned Alignment = static_cast<unsigned int>( member in struct:llvm::AlignOf 82 Alignment = static_cast<unsigned int>( 86 enum { Alignment_GreaterEqual_2Bytes = Alignment >= 2 ? 1 : 0 }; 87 enum { Alignment_GreaterEqual_4Bytes = Alignment >= 4 ? 1 : 0 }; 88 enum { Alignment_GreaterEqual_8Bytes = Alignment >= 8 ? 1 : 0 }; 89 enum { Alignment_GreaterEqual_16Bytes = Alignment >= 16 ? 1 : 0 }; 91 enum { Alignment_LessEqual_2Bytes = Alignment <= 2 ? 1 : 0 }; 92 enum { Alignment_LessEqual_4Bytes = Alignment <= 4 ? 1 : 0 }; 93 enum { Alignment_LessEqual_8Bytes = Alignment < 98 template <typename T> constexpr unsigned AlignOf<T>::Alignment; member in class:llvm::AlignOf [all...] |
/external/llvm/lib/ExecutionEngine/ |
H A D | SectionMemoryManager.cpp | 23 unsigned Alignment, 28 return allocateSection(RODataMem, Size, Alignment); 29 return allocateSection(RWDataMem, Size, Alignment); 33 unsigned Alignment, 36 return allocateSection(CodeMem, Size, Alignment); 41 unsigned Alignment) { 42 if (!Alignment) 43 Alignment = 16; 45 assert(!(Alignment & (Alignment 22 allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName, bool IsReadOnly) argument 32 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument 39 allocateSection(MemoryGroup &MemGroup, uintptr_t Size, unsigned Alignment) argument [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | alloca-align.cpp | 5 unsigned Alignment; member in struct:s0
|
/external/llvm/lib/CodeGen/ |
H A D | SafeStackLayout.cpp | 36 void StackLayout::addObject(const Value *V, unsigned Size, unsigned Alignment, argument 38 StackObjects.push_back({V, Size, Alignment, Range}); 39 MaxAlignment = std::max(MaxAlignment, Alignment); 43 unsigned Alignment) { 44 return alignTo(Offset + Size, Alignment) - Size; 52 unsigned Start = AdjustStackOffset(LastRegionEnd, Obj.Size, Obj.Alignment); 59 DEBUG(dbgs() << "Layout: size " << Obj.Size << ", align " << Obj.Alignment 61 assert(Obj.Alignment <= MaxAlignment); 62 unsigned Start = AdjustStackOffset(0, Obj.Size, Obj.Alignment); 75 Start = AdjustStackOffset(R.End, Obj.Size, Obj.Alignment); 42 AdjustStackOffset(unsigned Offset, unsigned Size, unsigned Alignment) argument [all...] |
H A D | SafeStackLayout.h | 35 unsigned Size, Alignment; member in struct:llvm::safestack::StackLayout::StackObject 48 void addObject(const Value *V, unsigned Size, unsigned Alignment,
|
/external/llvm/unittests/Support/ |
H A D | AlignOfTest.cpp | 1 //=== - llvm/unittest/Support/AlignOfTest.cpp - Alignment utility tests ---===// 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 > [all...] |
/external/eigen/Eigen/src/Core/functors/ |
H A D | AssignmentFunctors.h | 26 template<int Alignment, typename Packet> 28 { internal::pstoret<DstScalar,Packet,Alignment>(a,b); } 51 template<int Alignment, typename Packet> 53 { internal::pstoret<DstScalar,Packet,Alignment>(a,internal::padd(internal::ploadt<Packet,Alignment>(a),b)); } 72 template<int Alignment, typename Packet> 74 { internal::pstoret<DstScalar,Packet,Alignment>(a,internal::psub(internal::ploadt<Packet,Alignment>(a),b)); } 94 template<int Alignment, typename Packet> 96 { internal::pstoret<DstScalar,Packet,Alignment>( [all...] |
/external/eigen/Eigen/src/Geometry/arch/ |
H A D | Geometry_SSE.h | 39 template<class Derived, int Alignment> 40 struct quat_conj<Architecture::SSE, Derived, float, Alignment> 46 pstore(&res.x(), _mm_xor_ps(mask, q.coeffs().template packet<Alignment>(0))); 58 __m128 a = lhs.template packet<traits<VectorLhs>::Alignment>(0); 59 __m128 b = rhs.template packet<traits<VectorRhs>::Alignment>(0); 71 template<class Derived, class OtherDerived, int Alignment> 72 struct quat_product<Architecture::SSE, Derived, OtherDerived, double, Alignment> 81 Packet2d b_xy = _b.coeffs().template packet<Alignment>(0); 82 Packet2d b_zw = _b.coeffs().template packet<Alignment>(2); 123 template<class Derived, int Alignment> [all...] |
/external/llvm/include/llvm/MC/ |
H A D | StringTableBuilder.h | 29 unsigned Alignment; member in class:llvm::StringTableBuilder 34 StringTableBuilder(Kind K, unsigned Alignment = 1);
|
/external/swiftshader/src/Reactor/ |
H A D | RoutineManager.hpp | 40 virtual uint8_t *allocateSpace(intptr_t Size, unsigned Alignment); 41 virtual uint8_t *allocateGlobal(uintptr_t Size, unsigned int Alignment);
|
/external/compiler-rt/lib/scudo/ |
H A D | scudo_allocator.h | 54 void *scudoMemalign(uptr Alignment, uptr Size); 57 int scudoPosixMemalign(void **MemPtr, uptr Alignment, uptr Size); 58 void *scudoAlignedAlloc(uptr Alignment, uptr Size);
|
/external/llvm/include/llvm/ExecutionEngine/ |
H A D | SectionMemoryManager.h | 48 /// The value of \p Alignment must be a power of two. If \p Alignment is zero 50 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, 57 /// The value of \p Alignment must be a power of two. If \p Alignment is zero 59 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, 111 unsigned Alignment);
|
/external/swiftshader/third_party/LLVM/include/llvm/ExecutionEngine/ |
H A D | JITMemoryManager.h | 93 unsigned Alignment) = 0; 106 virtual uint8_t *allocateSpace(intptr_t Size, unsigned Alignment) = 0; 109 virtual uint8_t *allocateGlobal(uintptr_t Size, unsigned Alignment) = 0;
|