/external/deqp/framework/delibs/decpp/ |
D | dePoolArray.hpp | 38 template<typename T, deUint32 Alignment> 41 template<typename T, deUint32 Alignment> 51 template<typename T, deUint32 Alignment = (sizeof(T) > 4 ? 4 : (deUint32)sizeof(T))> 55 typedef PoolArrayIterator<T, Alignment> Iterator; 56 typedef PoolArrayConstIterator<T, Alignment> ConstIterator; 59 PoolArray (MemPool* pool, const PoolArray<T, Alignment>& other); 92 …PoolArray (const PoolArray<T, Alignment>& other); // \note Default copy ctor is not allowed, use… 105 template<typename T, deUint32 Alignment> 118 template<typename T, deUint32 Alignment> 119 class PoolArrayConstIterator : public PoolArrayIteratorBase<T, Alignment> [all …]
|
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() 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/llvm/unittests/Support/ |
D | AlignOfTest.cpp | 94 [AlignOf<char>::Alignment > 0] 95 [AlignOf<short>::Alignment > 0] 96 [AlignOf<int>::Alignment > 0] 97 [AlignOf<long>::Alignment > 0] 98 [AlignOf<long long>::Alignment > 0] 99 [AlignOf<float>::Alignment > 0] 100 [AlignOf<double>::Alignment > 0] 101 [AlignOf<long double>::Alignment > 0] 102 [AlignOf<void *>::Alignment > 0] 103 [AlignOf<int *>::Alignment > 0] [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | ASanStackFrameLayout.cpp | 30 return a.Alignment > b.Alignment; in CompareVars() 39 static size_t VarAndRedzoneSize(size_t Size, size_t Alignment) { in VarAndRedzoneSize() argument 47 return RoundUpToAlignment(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/include/llvm/Support/ |
D | AlignOf.h | 53 static constexpr unsigned Alignment = member 56 enum { Alignment = 59 enum { Alignment_GreaterEqual_2Bytes = Alignment >= 2 ? 1 : 0 }; 60 enum { Alignment_GreaterEqual_4Bytes = Alignment >= 4 ? 1 : 0 }; 61 enum { Alignment_GreaterEqual_8Bytes = Alignment >= 8 ? 1 : 0 }; 62 enum { Alignment_GreaterEqual_16Bytes = Alignment >= 16 ? 1 : 0 }; 64 enum { Alignment_LessEqual_2Bytes = Alignment <= 2 ? 1 : 0 }; 65 enum { Alignment_LessEqual_4Bytes = Alignment <= 4 ? 1 : 0 }; 66 enum { Alignment_LessEqual_8Bytes = Alignment <= 8 ? 1 : 0 }; 67 enum { Alignment_LessEqual_16Bytes = Alignment <= 16 ? 1 : 0 }; [all …]
|
D | TrailingObjects.h | 68 FirstAlignment = AlignOf<First>::Alignment, 69 RestAlignment = AlignmentCalcHelper<Rest...>::Alignment, 74 Alignment = FirstAlignment > RestAlignment ? FirstAlignment : RestAlignment enumerator 80 enum { Alignment = AlignOf<First>::Alignment }; enumerator 153 static_assert(llvm::AlignOf<PrevTy>::Alignment >= 154 llvm::AlignOf<NextTy>::Alignment, 224 TrailingTys...>::Alignment, 234 trailing_objects_internal::AlignmentCalcHelper<TrailingTys...>::Alignment,
|
D | Allocator.h | 46 void *Allocate(size_t Size, size_t Alignment) { in Allocate() argument 55 return static_cast<DerivedT *>(this)->Allocate(Size, Alignment); in Allocate() 77 return static_cast<T *>(Allocate(Num * sizeof(T), AlignOf<T>::Alignment)); 208 Allocate(size_t Size, size_t Alignment) { in Allocate() argument 209 assert(Alignment > 0 && "0-byte alignnment is not allowed. Use 1 instead."); in Allocate() 214 size_t Adjustment = alignmentAdjustment(CurPtr, Alignment); in Allocate() 231 size_t PaddedSize = Size + Alignment - 1; in Allocate() 239 uintptr_t AlignedAddr = alignAddr(NewSlab, Alignment); in Allocate() 249 uintptr_t AlignedAddr = alignAddr(CurPtr, Alignment); in Allocate()
|
/external/llvm/lib/ExecutionEngine/ |
D | SectionMemoryManager.cpp | 23 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/test/CodeGen/Generic/ |
D | 2009-03-17-LSR-APInt.ll | 5 %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/llvm/include/llvm/CodeGen/ |
D | MachineConstantPool.h | 50 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/clang/lib/Sema/ |
D | SemaAttr.cpp | 34 unsigned Alignment; member 44 unsigned Alignment; member in __anon9b44d0920111::PragmaPackStack 51 PragmaPackStack() : Alignment(0) {} in PragmaPackStack() 53 void setAlignment(unsigned A) { Alignment = A; } in setAlignment() 54 unsigned getAlignment() { return Alignment; } in getAlignment() 59 PackStackEntry PSE = { Alignment, Name }; in push() 81 if (!Alignment) in pop() 85 Alignment = 0; in pop() 87 Alignment = Stack.back().Alignment; in pop() 99 Alignment = Stack[i].Alignment; in pop() [all …]
|
/external/llvm/lib/CodeGen/ |
D | MachineFunction.cpp | 82 Alignment = STI->getTargetLowering()->getMinFunctionAlignment(); in MachineFunction() 87 Alignment = std::max(Alignment, in MachineFunction() 537 int MachineFrameInfo::CreateStackObject(uint64_t Size, unsigned Alignment, in CreateStackObject() argument 540 Alignment = clampStackAlignment(!StackRealignable || !RealignOption, in CreateStackObject() 541 Alignment, StackAlignment); in CreateStackObject() 542 Objects.push_back(StackObject(Size, Alignment, 0, false, isSS, Alloca, in CreateStackObject() 546 ensureMaxAlignment(Alignment); in CreateStackObject() 553 unsigned Alignment) { in CreateSpillStackObject() argument 554 Alignment = clampStackAlignment(!StackRealignable || !RealignOption, in CreateSpillStackObject() 555 Alignment, StackAlignment); in CreateSpillStackObject() [all …]
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 580 CharUnits Alignment; member in __anon07e898d70111::ItaniumRecordLayoutBuilder 661 Alignment(CharUnits::One()), UnpackedAlignment(CharUnits::One()), in ItaniumRecordLayoutBuilder() 772 CharUnits getAligment() const { return Alignment; } in getAligment() 1210 Alignment = CharUnits::One(); in LayoutBase() 1249 Alignment = CharUnits::fromQuantity(2); in InitializeLayout() 1268 Alignment = Context.toCharUnitsFromBits(External.Align); in InitializeLayout() 1297 NonVirtualAlignment = Alignment; in Layout() 1839 = llvm::RoundUpToAlignment(getSizeInBits(), Context.toBits(Alignment)); in FinishLayout() 1846 Alignment = CharUnits::One(); in FinishLayout() 1888 if (NewAlignment > Alignment) { in UpdateAlignment() [all …]
|
/external/clang/unittests/Format/ |
D | FormatTest.cpp | 8658 FormatStyle Alignment = getLLVMStyle(); in TEST_F() local 8659 Alignment.AlignConsecutiveAssignments = false; in TEST_F() 8662 Alignment); in TEST_F() 8665 Alignment); in TEST_F() 8667 Alignment.AlignConsecutiveAssignments = true; in TEST_F() 8670 Alignment); in TEST_F() 8673 Alignment); in TEST_F() 8683 Alignment); in TEST_F() 8686 Alignment); in TEST_F() 8689 Alignment); in TEST_F() [all …]
|
/external/llvm/tools/lli/ |
D | RemoteMemoryManager.cpp | 33 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, in allocateCodeSection() argument 41 AllocatedSections.push_back( Allocation(Block, Alignment, true) ); in allocateCodeSection() 43 UnmappedSections.push_back( Allocation(Block, Alignment, true) ); in allocateCodeSection() 48 allocateDataSection(uintptr_t Size, unsigned Alignment, in allocateDataSection() argument 57 AllocatedSections.push_back( Allocation(Block, Alignment, false) ); in allocateDataSection() 59 UnmappedSections.push_back( Allocation(Block, Alignment, false) ); in allocateDataSection() 102 unsigned Align = Section.Alignment; in notifyObjectLoaded() 119 unsigned Align = Section.Alignment; in notifyObjectLoaded()
|
D | RemoteMemoryManager.h | 34 : MB(mb), Alignment(a), IsCode(code) {} in Allocation() 37 unsigned Alignment; member 69 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, 73 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
|
/external/clang/lib/Frontend/ |
D | LayoutOverrideSource.cpp | 95 unsigned long long Alignment = 0; in LayoutOverrideSource() local 96 (void)LineStr.getAsInteger(10, Alignment); in LayoutOverrideSource() 97 CurrentLayout.Align = Alignment; in LayoutOverrideSource() 118 unsigned long long Alignment = 0; in LayoutOverrideSource() local 119 (void)LineStr.getAsInteger(10, Alignment); in LayoutOverrideSource() 120 CurrentLayout.Align = Alignment; in LayoutOverrideSource() 157 uint64_t &Size, uint64_t &Alignment, in layoutRecordType() argument 187 Alignment = Known->second.Align; in layoutRecordType()
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITCAPITest.cpp | 98 void useSpace(uintptr_t* UsedSize, uintptr_t Size, unsigned Alignment) { in useSpace() argument 99 uintptr_t AlignedSize = (Size + Alignment - 1) / Alignment * Alignment; in useSpace() 100 uintptr_t AlignedBegin = (*UsedSize + Alignment - 1) / Alignment * Alignment; in useSpace() 104 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, in allocateDataSection() argument 107 useSpace(IsReadOnly ? &UsedDataSizeRO : &UsedDataSizeRW, Size, Alignment); in allocateDataSection() 108 return SectionMemoryManager::allocateDataSection(Size, Alignment, in allocateDataSection() 112 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, in allocateCodeSection() argument 115 useSpace(&UsedCodeSize, Size, Alignment); in allocateCodeSection() 116 return SectionMemoryManager::allocateCodeSection(Size, Alignment, in allocateCodeSection()
|
/external/c-ares/ |
D | ares_iphlpapi.h | 122 ULONGLONG Alignment; member 140 ULONGLONG Alignment; member 152 ULONGLONG Alignment; member 164 ULONGLONG Alignment; member 176 ULONGLONG Alignment; member 189 ULONGLONG Alignment; member
|
/external/clang/lib/CodeGen/ |
D | CGValue.h | 181 int64_t Alignment; variable 221 CharUnits Alignment, AlignmentSource AlignSource, 223 assert((!Alignment.isZero() || Type->isIncompleteType()) && 227 this->Alignment = Alignment.getQuantity(); 228 assert(this->Alignment == Alignment.getQuantity() && 316 CharUnits getAlignment() const { return CharUnits::fromQuantity(Alignment); } in getAlignment() 317 void setAlignment(CharUnits A) { Alignment = A.getQuantity(); } in setAlignment() 335 Alignment = address.getAlignment().getQuantity(); in setAddress() 448 unsigned short Alignment; variable 511 AV.Alignment = addr.getAlignment().getQuantity(); [all …]
|
/external/eigen/test/ |
D | mapstride.cpp | 12 template<int Alignment,typename VectorType> void map_class_vector(const VectorType& m) in map_class_vector() 25 if(Alignment!=Aligned) in map_class_vector() 29 Map<VectorType, Alignment, InnerStride<3> > map(array, size); in map_class_vector() 51 template<int Alignment,typename MatrixType> void map_class_matrix(const MatrixType& _m) in map_class_matrix() 64 if(Alignment!=Aligned) in map_class_matrix() 69 …Map<MatrixType, Alignment, OuterStride<Dynamic> > map(array, rows, cols, OuterStride<Dynamic>(m.in… in map_class_matrix() 87 Map<MatrixType, Alignment, OuterStride<OuterStrideAtCompileTime> > in map_class_matrix() 101 …Map<MatrixType, Alignment, Stride<Dynamic,Dynamic> > map(array, rows, cols, Stride<Dynamic,Dynamic… in map_class_matrix()
|
/external/llvm/test/tools/llvm-readobj/ |
D | program-headers.test | 22 ELF-I386-NEXT: Alignment: 4096 35 ELF-I386-NEXT: Alignment: 4 51 ELF-X86-64-NEXT: Alignment: 2097152 63 ELF-X86-64-NEXT: Alignment: 4 76 ELF-X86-64-NEXT: Alignment: 8 95 ELF-MIPS-NEXT: Alignment: 8 107 ELF-MIPS-NEXT: Alignment: 4 120 ELF-MIPS-NEXT: Alignment: 65536 140 ELF-MIPS64-NEXT: Alignment: 65536
|
/external/llvm/test/tools/dsymutil/X86/ |
D | dsym-companion.test | 39 CHECK: Alignment: 4 57 CHECK: Alignment: 2 72 CHECK32: Alignment: 2 88 CHECK: Alignment: 2 104 CHECK: Alignment: 2 120 CHECK: Alignment: 2 135 CHECK64: Alignment: 0 150 CHECK64: Alignment: 0 165 CHECK64: Alignment: 0 180 CHECK64: Alignment: 0 [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMConstantPoolValue.cpp | 63 unsigned Alignment) { in getExistingMachineCPValue() argument 164 unsigned Alignment) { in getExistingMachineCPValue() argument 165 return getExistingMachineCPValueImpl<ARMConstantPoolConstant>(CP, Alignment); in getExistingMachineCPValue() 203 unsigned Alignment) { in getExistingMachineCPValue() argument 204 return getExistingMachineCPValueImpl<ARMConstantPoolSymbol>(CP, Alignment); in getExistingMachineCPValue() 243 unsigned Alignment) { in getExistingMachineCPValue() argument 244 return getExistingMachineCPValueImpl<ARMConstantPoolMBB>(CP, Alignment); in getExistingMachineCPValue()
|
/external/mesa3d/src/mesa/main/ |
D | pixelstore.c | 128 if (ctx->Pack.Alignment == param) in _mesa_PixelStorei() 131 ctx->Pack.Alignment = param; in _mesa_PixelStorei() 232 if (ctx->Unpack.Alignment == param) in _mesa_PixelStorei() 235 ctx->Unpack.Alignment = param; in _mesa_PixelStorei() 264 ctx->Pack.Alignment = 4; in _mesa_init_pixelstore() 277 ctx->Unpack.Alignment = 4; in _mesa_init_pixelstore() 297 ctx->DefaultPacking.Alignment = 1; in _mesa_init_pixelstore()
|