Home
last modified time | relevance | path

Searched refs:Alignment (Results 1 – 25 of 744) sorted by relevance

12345678910>>...30

/external/deqp/framework/delibs/decpp/
DdePoolArray.hpp38 template<typename T, deUint32 Alignment>
41 template<typename T, deUint32 Alignment>
51 template<typename T, deUint32 Alignment = (sizeof(T) > sizeof(void*) ? (deUint32)sizeof(void*) : (d…
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…
114 template<typename T, deUint32 Alignment>
127 template<typename T, deUint32 Alignment>
128 class PoolArrayConstIterator : public PoolArrayIteratorBase<T, Alignment>
[all …]
DdeArrayBuffer.hpp47 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() in ArrayBuffer()
83 template <typename T, size_t Alignment, size_t Stride>
84 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (size_t numElements) in ArrayBuffer()
92 void* const ptr = detail::ArrayBuffer_AlignedMalloc(storageSize, Alignment); in ArrayBuffer()
102 template <typename T, size_t Alignment, size_t Stride>
103 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (const T* ptr, size_t numElements) in ArrayBuffer()
110 ArrayBuffer<T,Alignment,Stride> tmp(numElements); in ArrayBuffer()
129 template <typename T, size_t Alignment, size_t Stride>
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineFrameInfo.cpp50 int MachineFrameInfo::CreateStackObject(uint64_t Size, unsigned Alignment, in CreateStackObject() argument
55 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateStackObject()
56 Objects.push_back(StackObject(Size, Alignment, 0, false, IsSpillSlot, Alloca, in CreateStackObject()
60 ensureMaxAlignment(Alignment); in CreateStackObject()
65 unsigned Alignment) { in CreateSpillStackObject() argument
66 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateSpillStackObject()
67 CreateStackObject(Size, Alignment, true); in CreateSpillStackObject()
69 ensureMaxAlignment(Alignment); in CreateSpillStackObject()
73 int MachineFrameInfo::CreateVariableSizedObject(unsigned Alignment, in CreateVariableSizedObject() argument
76 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateVariableSizedObject()
[all …]
DSafeStackLayout.cpp42 void StackLayout::addObject(const Value *V, unsigned Size, unsigned Alignment, in addObject() argument
44 StackObjects.push_back({V, Size, Alignment, Range}); in addObject()
45 ObjectAlignments[V] = Alignment; in addObject()
46 MaxAlignment = std::max(MaxAlignment, Alignment); in addObject()
50 unsigned Alignment) { in AdjustStackOffset() argument
51 return alignTo(Offset + Size, Alignment) - Size; in AdjustStackOffset()
59 unsigned Start = AdjustStackOffset(LastRegionEnd, Obj.Size, Obj.Alignment); in layoutObject()
67 << Obj.Alignment << ", range " << Obj.Range << "\n"); in layoutObject()
68 assert(Obj.Alignment <= MaxAlignment); in layoutObject()
69 unsigned Start = AdjustStackOffset(0, Obj.Size, Obj.Alignment); in layoutObject()
[all …]
/external/llvm/unittests/Support/
DAlignOfTest.cpp110 [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]
119 [AlignOf<int *>::Alignment > 0]
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DAlignOf.h37 enum { Alignment = enumerator
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 <= 16 ? 1 : 0 };
57 static inline unsigned alignOf() { return AlignOf<T>::Alignment; } in alignOf()
/external/llvm/lib/Transforms/Utils/
DASanStackFrameLayout.cpp30 return a.Alignment > b.Alignment; in CompareVars()
39 static size_t VarAndRedzoneSize(size_t Size, size_t Alignment) { in VarAndRedzoneSize() argument
47 return alignTo(Res, Alignment); in VarAndRedzoneSize()
61 Vars[i].Alignment = std::max(Vars[i].Alignment, kMinAlignment); in ComputeASanStackFrameLayout()
67 Layout->FrameAlignment = std::max(Granularity, Vars[0].Alignment); in ComputeASanStackFrameLayout()
71 Vars[0].Alignment); in ComputeASanStackFrameLayout()
76 size_t Alignment = std::max(Granularity, Vars[i].Alignment); in ComputeASanStackFrameLayout() local
77 (void)Alignment; // Used only in asserts. in ComputeASanStackFrameLayout()
80 assert((Alignment & (Alignment - 1)) == 0); in ComputeASanStackFrameLayout()
81 assert(Layout->FrameAlignment >= Alignment); in ComputeASanStackFrameLayout()
[all …]
/external/llvm/lib/ExecutionEngine/
DSectionMemoryManager.cpp23 unsigned Alignment, in allocateDataSection() argument
28 return allocateSection(RODataMem, Size, Alignment); in allocateDataSection()
29 return allocateSection(RWDataMem, Size, Alignment); in allocateDataSection()
33 unsigned Alignment, in allocateCodeSection() argument
36 return allocateSection(CodeMem, Size, Alignment); in allocateCodeSection()
41 unsigned Alignment) { in allocateSection() argument
42 if (!Alignment) in allocateSection()
43 Alignment = 16; in allocateSection()
45 assert(!(Alignment & (Alignment - 1)) && "Alignment must be a power of two."); in allocateSection()
47 uintptr_t RequiredSize = Alignment * ((Size + Alignment - 1)/Alignment + 1); in allocateSection()
[all …]
/external/llvm/include/llvm/Support/
DAlignOf.h78 static constexpr unsigned Alignment = static_cast<unsigned int>(
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 <= 8 ? 1 : 0 };
94 enum { Alignment_LessEqual_16Bytes = Alignment <= 16 ? 1 : 0 };
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DASanStackFrameLayout.cpp32 return a.Alignment > b.Alignment; in CompareVars()
43 size_t Alignment) { in VarAndRedzoneSize() argument
51 return alignTo(std::max(Res, 2 * Granularity), Alignment); in VarAndRedzoneSize()
64 Vars[i].Alignment = std::max(Vars[i].Alignment, kMinAlignment); in ComputeASanStackFrameLayout()
70 Layout.FrameAlignment = std::max(Granularity, Vars[0].Alignment); in ComputeASanStackFrameLayout()
72 Vars[0].Alignment); in ComputeASanStackFrameLayout()
76 size_t Alignment = std::max(Granularity, Vars[i].Alignment); in ComputeASanStackFrameLayout() local
77 (void)Alignment; // Used only in asserts. in ComputeASanStackFrameLayout()
79 assert((Alignment & (Alignment - 1)) == 0); in ComputeASanStackFrameLayout()
80 assert(Layout.FrameAlignment >= Alignment); in ComputeASanStackFrameLayout()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DAllocator.cpp35 char *BumpPtrAllocator::AlignPtr(char *Ptr, size_t Alignment) { in AlignPtr() argument
36 assert(Alignment && (Alignment & (Alignment - 1)) == 0 && in AlignPtr()
40 return (char*)(((uintptr_t)Ptr + Alignment - 1) & in AlignPtr()
41 ~(uintptr_t)(Alignment - 1)); in AlignPtr()
89 void *BumpPtrAllocator::Allocate(size_t Size, size_t Alignment) { in Allocate() argument
97 if (Alignment == 0) Alignment = 1; in Allocate()
100 char *Ptr = AlignPtr(CurPtr, Alignment); in Allocate()
109 size_t PaddedSize = Size + sizeof(MemSlab) + Alignment - 1; in Allocate()
118 Ptr = AlignPtr((char*)(NewSlab + 1), Alignment); in Allocate()
125 Ptr = AlignPtr(CurPtr, Alignment); in Allocate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/
DSectionMemoryManager.cpp23 unsigned Alignment, in allocateDataSection() argument
29 Size, Alignment); in allocateDataSection()
31 Alignment); in allocateDataSection()
35 unsigned Alignment, in allocateCodeSection() argument
39 Alignment); in allocateCodeSection()
44 unsigned Alignment) { in allocateSection() argument
45 if (!Alignment) in allocateSection()
46 Alignment = 16; in allocateSection()
48 assert(!(Alignment & (Alignment - 1)) && "Alignment must be a power of two."); in allocateSection()
50 uintptr_t RequiredSize = Alignment * ((Size + Alignment - 1) / Alignment + 1); in allocateSection()
[all …]
/external/llvm/test/CodeGen/Generic/
D2009-03-17-LSR-APInt.ll5 %struct.Alignment = type { i32 }
11 …type { %"struct.QHashData::Node"*, %"struct.QHashData::Node"**, %struct.Alignment, i32, i32, i16, …
16 %"struct.QListData::Data" = type { %struct.Alignment, i32, i32, i32, i8, [1 x i8*] }
25 …%struct.QWidgetData = type { i64, i32, %struct.Alignment, i8, i8, i16, %struct.QRect, %struct.QPal…
41 …%struct.Alignment*), i32 (%struct.pthread_mutex_t*, %struct.Alignment*)* @pthread_mutex_init ; <i…
44 …ttr_t = weak alias i32 (%struct.Alignment*), i32 (%struct.Alignment*)* @pthread_mutexattr_init ; …
45 … weak alias i32 (%struct.Alignment*, i32), i32 (%struct.Alignment*, i32)* @pthread_mutexattr_setty…
46 …r_t = weak alias i32 (%struct.Alignment*), i32 (%struct.Alignment*)* @pthread_mutexattr_destroy ;…
98 define i32 @pthread_mutex_init(%struct.pthread_mutex_t*, %struct.Alignment*) {
110 define i32 @pthread_mutexattr_init(%struct.Alignment*) {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Generic/
D2009-03-17-LSR-APInt.ll5 %struct.Alignment = type { i32 }
11 …type { %"struct.QHashData::Node"*, %"struct.QHashData::Node"**, %struct.Alignment, i32, i32, i16, …
16 %"struct.QListData::Data" = type { %struct.Alignment, i32, i32, i32, i8, [1 x i8*] }
25 …%struct.QWidgetData = type { i64, i32, %struct.Alignment, i8, i8, i16, %struct.QRect, %struct.QPal…
41 …%struct.Alignment*), i32 (%struct.pthread_mutex_t*, %struct.Alignment*)* @pthread_mutex_init ; <i…
44 …ttr_t = weak alias i32 (%struct.Alignment*), i32 (%struct.Alignment*)* @pthread_mutexattr_init ; …
45 … weak alias i32 (%struct.Alignment*, i32), i32 (%struct.Alignment*, i32)* @pthread_mutexattr_setty…
46 …r_t = weak alias i32 (%struct.Alignment*), i32 (%struct.Alignment*)* @pthread_mutexattr_destroy ;…
98 define i32 @pthread_mutex_init(%struct.pthread_mutex_t*, %struct.Alignment*) {
110 define i32 @pthread_mutexattr_init(%struct.Alignment*) {
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineConstantPool.h55 unsigned Alignment) = 0;
84 unsigned Alignment; variable
87 : Alignment(A) { in MachineConstantPoolEntry()
91 : Alignment(A) { in MachineConstantPoolEntry()
93 Alignment |= 1U << (sizeof(unsigned)*CHAR_BIT-1); in MachineConstantPoolEntry()
100 return (int)Alignment < 0; in isMachineConstantPoolEntry()
104 return Alignment & ~(1 << (sizeof(unsigned)*CHAR_BIT-1)); in getAlignment()
152 unsigned getConstantPoolIndex(const Constant *C, unsigned Alignment);
153 unsigned getConstantPoolIndex(MachineConstantPoolValue *V,unsigned Alignment);
DJITCodeEmitter.h74 unsigned Alignment) = 0;
150 void emitAlignment(unsigned Alignment) { in emitAlignment() argument
151 if (Alignment == 0) Alignment = 1; in emitAlignment()
153 Alignment); in emitAlignment()
159 void emitAlignmentWithFill(unsigned Alignment, uint8_t Fill) { in emitAlignmentWithFill() argument
160 if (Alignment == 0) Alignment = 1; in emitAlignmentWithFill()
162 Alignment); in emitAlignmentWithFill()
256 virtual void *allocateSpace(uintptr_t Size, unsigned Alignment) { in allocateSpace() argument
257 emitAlignment(Alignment); in allocateSpace()
276 virtual void *allocateGlobal(uintptr_t Size, unsigned Alignment) = 0;
/external/eigen/Eigen/src/Core/functors/
DAssignmentFunctors.h26 template<int Alignment, typename Packet>
28 { internal::pstoret<DstScalar,Packet,Alignment>(a,b); } in assignPacket()
51 template<int Alignment, typename Packet>
53 …{ internal::pstoret<DstScalar,Packet,Alignment>(a,internal::padd(internal::ploadt<Packet,Alignment
72 template<int Alignment, typename Packet>
74 …{ internal::pstoret<DstScalar,Packet,Alignment>(a,internal::psub(internal::ploadt<Packet,Alignment
94 template<int Alignment, typename Packet>
96 …{ internal::pstoret<DstScalar,Packet,Alignment>(a,internal::pmul(internal::ploadt<Packet,Alignment
115 template<int Alignment, typename Packet>
117 …{ internal::pstoret<DstScalar,Packet,Alignment>(a,internal::pdiv(internal::ploadt<Packet,Alignment
/external/llvm/include/llvm/CodeGen/
DMachineConstantPool.h50 unsigned Alignment) = 0;
78 unsigned Alignment; variable
81 : Alignment(A) { in MachineConstantPoolEntry()
85 : Alignment(A) { in MachineConstantPoolEntry()
87 Alignment |= 1U << (sizeof(unsigned) * CHAR_BIT - 1); in MachineConstantPoolEntry()
94 return (int)Alignment < 0; in isMachineConstantPoolEntry()
98 return Alignment & ~(1 << (sizeof(unsigned) * CHAR_BIT - 1)); in getAlignment()
143 unsigned getConstantPoolIndex(const Constant *C, unsigned Alignment);
145 unsigned Alignment);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineConstantPool.h49 unsigned Alignment) = 0;
77 unsigned Alignment; variable
80 : Alignment(A) { in MachineConstantPoolEntry()
85 : Alignment(A) { in MachineConstantPoolEntry()
87 Alignment |= 1U << (sizeof(unsigned) * CHAR_BIT - 1); in MachineConstantPoolEntry()
94 return (int)Alignment < 0; in isMachineConstantPoolEntry()
98 return Alignment & ~(1 << (sizeof(unsigned) * CHAR_BIT - 1)); in getAlignment()
143 unsigned getConstantPoolIndex(const Constant *C, unsigned Alignment);
145 unsigned Alignment);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp154 unsigned Alignment, unsigned AddressSpace, const Instruction *I) { in getMemoryOpCost() argument
157 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, I); in getMemoryOpCost()
164 Alignment = std::min(Alignment, RegWidth/8); in getMemoryOpCost()
169 unsigned AlignWidth = 8 * std::max(1u, Alignment); in getMemoryOpCost()
178 Alignment = std::min(Alignment, 8u); in getMemoryOpCost()
179 unsigned AlignWidth = 8 * std::max(1u, Alignment); in getMemoryOpCost()
181 if (Alignment == 4 || Alignment == 8) in getMemoryOpCost()
184 unsigned LogA = Log2_32(Alignment); in getMemoryOpCost()
188 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, I); in getMemoryOpCost()
192 Type *Src, unsigned Alignment, unsigned AddressSpace) { in getMaskedMemoryOpCost() argument
[all …]
/external/eigen/Eigen/src/Geometry/arch/
DGeometry_SSE.h22 AAlignment = traits<Derived>::Alignment,
23 BAlignment = traits<OtherDerived>::Alignment,
24 ResAlignment = traits<Quaternion<float> >::Alignment
49 ResAlignment = traits<Quaternion<float> >::Alignment
55 …sAlignment>(&res.x(), _mm_xor_ps(mask, q.coeffs().template packet<traits<Derived>::Alignment>(0)));
65 ResAlignment = traits<typename plain_matrix_type<VectorLhs>::type>::Alignment
70 __m128 a = lhs.template packet<traits<VectorLhs>::Alignment>(0);
71 __m128 b = rhs.template packet<traits<VectorRhs>::Alignment>(0);
87 BAlignment = traits<OtherDerived>::Alignment,
88 ResAlignment = traits<Quaternion<double> >::Alignment
[all …]
/external/universal-tween-engine/java/applets/src/aurelienribon/tweenengine/applets/
DTweenApplet.java227 jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) in initComponents()
230 … .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) in initComponents()
239 jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) in initComponents()
242 … .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) in initComponents()
287 jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) in initComponents()
290 … .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) in initComponents()
291 .addComponent(yoyoChk, javax.swing.GroupLayout.Alignment.TRAILING) in initComponents()
296 … .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() in initComponents()
298 … .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) in initComponents()
302 … .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) in initComponents()
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/Generic/
D2009-03-17-LSR-APInt.ll5 %struct.Alignment = type { i32 }
11 …type { %"struct.QHashData::Node"*, %"struct.QHashData::Node"**, %struct.Alignment, i32, i32, i16, …
16 %"struct.QListData::Data" = type { %struct.Alignment, i32, i32, i32, i8, [1 x i8*] }
25 …%struct.QWidgetData = type { i64, i32, %struct.Alignment, i8, i8, i16, %struct.QRect, %struct.QPal…
41 …%struct.pthread_mutex_t*, %struct.Alignment*)* @pthread_mutex_init ; <i32 (%struct.pthread_mutex_…
44 …thread_mutexattr_t = alias weak i32 (%struct.Alignment*)* @pthread_mutexattr_init ; <i32 (%struct…
45 …d_mutexattr_ti = alias weak i32 (%struct.Alignment*, i32)* @pthread_mutexattr_settype ; <i32 (%st…
46 …read_mutexattr_t = alias weak i32 (%struct.Alignment*)* @pthread_mutexattr_destroy ; <i32 (%struc…
82 declare i32 @pthread_mutex_init(%struct.pthread_mutex_t*, %struct.Alignment*)
88 declare i32 @pthread_mutexattr_init(%struct.Alignment*)
[all …]
/external/llvm/lib/CodeGen/
DMachineFunction.cpp125 Alignment = STI->getTargetLowering()->getMinFunctionAlignment(); in MachineFunction()
130 Alignment = std::max(Alignment, in MachineFunction()
134 Alignment = AlignAllFunctions; in MachineFunction()
583 int MachineFrameInfo::CreateStackObject(uint64_t Size, unsigned Alignment, in CreateStackObject() argument
586 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateStackObject()
587 Objects.push_back(StackObject(Size, Alignment, 0, false, isSS, Alloca, in CreateStackObject()
591 ensureMaxAlignment(Alignment); in CreateStackObject()
598 unsigned Alignment) { in CreateSpillStackObject() argument
599 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateSpillStackObject()
600 CreateStackObject(Size, Alignment, true); in CreateSpillStackObject()
[all …]
DSafeStackLayout.cpp36 void StackLayout::addObject(const Value *V, unsigned Size, unsigned Alignment, in addObject() argument
38 StackObjects.push_back({V, Size, Alignment, Range}); in addObject()
39 MaxAlignment = std::max(MaxAlignment, Alignment); in addObject()
43 unsigned Alignment) { in AdjustStackOffset() argument
44 return alignTo(Offset + Size, Alignment) - Size; in AdjustStackOffset()
52 unsigned Start = AdjustStackOffset(LastRegionEnd, Obj.Size, Obj.Alignment); in layoutObject()
59 DEBUG(dbgs() << "Layout: size " << Obj.Size << ", align " << Obj.Alignment in layoutObject()
61 assert(Obj.Alignment <= MaxAlignment); in layoutObject()
62 unsigned Start = AdjustStackOffset(0, Obj.Size, Obj.Alignment); in layoutObject()
75 Start = AdjustStackOffset(R.End, Obj.Size, Obj.Alignment); in layoutObject()

12345678910>>...30