/third_party/vk-gl-cts/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) > 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 …]
|
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 …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineFrameInfo.cpp | 31 void MachineFrameInfo::ensureMaxAlignment(Align Alignment) { in ensureMaxAlignment() argument 33 assert(Alignment <= StackAlignment && in ensureMaxAlignment() 35 if (MaxAlignment < Alignment) in ensureMaxAlignment() 36 MaxAlignment = Alignment; in ensureMaxAlignment() 40 static inline Align clampStackAlignment(bool ShouldClamp, Align Alignment, in clampStackAlignment() argument 42 if (!ShouldClamp || Alignment <= StackAlignment) in clampStackAlignment() 43 return Alignment; in clampStackAlignment() 44 LLVM_DEBUG(dbgs() << "Warning: requested alignment " << Alignment.value() in clampStackAlignment() 50 int MachineFrameInfo::CreateStackObject(uint64_t Size, Align Alignment, in CreateStackObject() argument 55 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateStackObject() [all …]
|
D | SafeStackLayout.cpp | 41 void StackLayout::addObject(const Value *V, unsigned Size, unsigned Alignment, in addObject() argument 43 StackObjects.push_back({V, Size, Alignment, Range}); in addObject() 44 ObjectAlignments[V] = Alignment; in addObject() 45 MaxAlignment = std::max(MaxAlignment, Alignment); in addObject() 49 unsigned Alignment) { in AdjustStackOffset() argument 50 return alignTo(Offset + Size, Alignment) - Size; in AdjustStackOffset() 58 unsigned Start = AdjustStackOffset(LastRegionEnd, Obj.Size, Obj.Alignment); in layoutObject() 66 << Obj.Alignment << ", range " << Obj.Range << "\n"); in layoutObject() 67 assert(Obj.Alignment <= MaxAlignment); in layoutObject() 68 unsigned Start = AdjustStackOffset(0, Obj.Size, Obj.Alignment); in layoutObject() [all …]
|
D | ScalarizeMaskedMemIntrin.cpp | 129 Value *Alignment = CI->getArgOperand(1); in scalarizeMaskedLoad() local 133 unsigned AlignVal = cast<ConstantInt>(Alignment)->getZExtValue(); in scalarizeMaskedLoad() 268 Value *Alignment = CI->getArgOperand(2); in scalarizeMaskedStore() local 271 unsigned AlignVal = cast<ConstantInt>(Alignment)->getZExtValue(); in scalarizeMaskedStore() 392 Value *Alignment = CI->getArgOperand(1); in scalarizeMaskedGather() local 403 unsigned AlignVal = cast<ConstantInt>(Alignment)->getZExtValue(); in scalarizeMaskedGather() 517 Value *Alignment = CI->getArgOperand(2); in scalarizeMaskedScatter() local 532 unsigned AlignVal = cast<ConstantInt>(Alignment)->getZExtValue(); in scalarizeMaskedScatter() 852 unsigned Alignment; in optimizeCallInst() local 858 Alignment = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in optimizeCallInst() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | ASanStackFrameLayout.cpp | 31 return a.Alignment > b.Alignment; in CompareVars() 42 size_t Alignment) { in VarAndRedzoneSize() argument 50 return alignTo(std::max(Res, 2 * Granularity), Alignment); in VarAndRedzoneSize() 63 Vars[i].Alignment = std::max(Vars[i].Alignment, kMinAlignment); in ComputeASanStackFrameLayout() 69 Layout.FrameAlignment = std::max(Granularity, Vars[0].Alignment); in ComputeASanStackFrameLayout() 71 Vars[0].Alignment); in ComputeASanStackFrameLayout() 75 size_t Alignment = std::max(Granularity, Vars[i].Alignment); in ComputeASanStackFrameLayout() local 76 (void)Alignment; // Used only in asserts. in ComputeASanStackFrameLayout() 78 assert((Alignment & (Alignment - 1)) == 0); in ComputeASanStackFrameLayout() 79 assert(Layout.FrameAlignment >= Alignment); in ComputeASanStackFrameLayout() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/ |
D | SectionMemoryManager.cpp | 22 unsigned Alignment, in allocateDataSection() argument 28 Size, Alignment); in allocateDataSection() 30 Alignment); in allocateDataSection() 34 unsigned Alignment, in allocateCodeSection() argument 38 Alignment); in allocateCodeSection() 43 unsigned Alignment) { in allocateSection() argument 44 if (!Alignment) in allocateSection() 45 Alignment = 16; in allocateSection() 47 assert(!(Alignment & (Alignment - 1)) && "Alignment must be a power of two."); in allocateSection() 49 uintptr_t RequiredSize = Alignment * ((Size + Alignment - 1) / Alignment + 1); in allocateSection() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | Loads.cpp | 39 static bool isAligned(const Value *Base, const APInt &Offset, Align Alignment, in isAligned() argument 43 const APInt APAlign(Offset.getBitWidth(), Alignment.value()); in isAligned() 53 const Value *V, Align Alignment, const APInt &Size, const DataLayout &DL, in isDereferenceableAndAlignedPointer() argument 65 return isDereferenceableAndAlignedPointer(BC->getOperand(0), Alignment, in isDereferenceableAndAlignedPointer() 79 return isAligned(V, Offset, Alignment, DL); in isDereferenceableAndAlignedPointer() 88 !Offset.urem(APInt(Offset.getBitWidth(), Alignment.value())) in isDereferenceableAndAlignedPointer() 101 Base, Alignment, Offset + Size.sextOrTrunc(Offset.getBitWidth()), DL, in isDereferenceableAndAlignedPointer() 108 RelocateInst->getDerivedPtr(), Alignment, Size, DL, CtxI, DT, Visited); in isDereferenceableAndAlignedPointer() 111 return isDereferenceableAndAlignedPointer(ASC->getOperand(0), Alignment, in isDereferenceableAndAlignedPointer() 116 return isDereferenceableAndAlignedPointer(RP, Alignment, Size, DL, CtxI, in isDereferenceableAndAlignedPointer() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | MachineConstantPool.h | 48 unsigned Alignment) = 0; 76 unsigned Alignment; variable 79 : Alignment(A) { in MachineConstantPoolEntry() 84 : Alignment(A) { in MachineConstantPoolEntry() 86 Alignment |= 1U << (sizeof(unsigned) * CHAR_BIT - 1); in MachineConstantPoolEntry() 93 return (int)Alignment < 0; in isMachineConstantPoolEntry() 97 return Alignment & ~(1 << (sizeof(unsigned) * CHAR_BIT - 1)); in getAlignment() 142 unsigned getConstantPoolIndex(const Constant *C, unsigned Alignment); 144 unsigned Alignment);
|
D | MachineFrameInfo.h | 133 Align Alignment; member 184 StackObject(uint64_t Size, Align Alignment, int64_t SPOffset, 187 : SPOffset(SPOffset), Size(Size), Alignment(Alignment), in SPOffset() 422 void setLocalFrameMaxAlign(Align Alignment) { in setLocalFrameMaxAlign() argument 423 LocalFrameMaxAlign = Alignment; in setLocalFrameMaxAlign() 467 return Objects[ObjectIdx + NumFixedObjects].Alignment.value(); in getObjectAlignment() 474 Objects[ObjectIdx + NumFixedObjects].Alignment = assumeAligned(Align); in setObjectAlignment() 569 void ensureMaxAlignment(Align Alignment); 737 int CreateStackObject(uint64_t Size, Align Alignment, bool isSpillSlot, 740 inline int CreateStackObject(uint64_t Size, unsigned Alignment, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonTargetTransformInfo.cpp | 155 MaybeAlign Alignment, in getMemoryOpCost() argument 160 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, I); in getMemoryOpCost() 173 if (!Alignment || *Alignment > RegAlign) in getMemoryOpCost() 174 Alignment = RegAlign; in getMemoryOpCost() 175 assert(Alignment); in getMemoryOpCost() 176 unsigned AlignWidth = 8 * Alignment->value(); in getMemoryOpCost() 187 const Align BoundAlignment = std::min(Alignment.valueOrOne(), Align(8)); in getMemoryOpCost() 190 if (Alignment == Align(4) || Alignment == Align(8)) in getMemoryOpCost() 198 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, I); in getMemoryOpCost() 202 Type *Src, unsigned Alignment, unsigned AddressSpace) { in getMaskedMemoryOpCost() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.h | 136 int getMemoryOpCost(unsigned Opcode, Type *Src, MaybeAlign Alignment, 138 int getMaskedMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, 141 bool VariableMask, unsigned Alignment); 162 unsigned Alignment, unsigned AddressSpace, 167 unsigned Alignment, unsigned AddressSpace, 172 unsigned Alignment, unsigned AddressSpace, 188 bool isLegalMaskedLoad(Type *DataType, MaybeAlign Alignment); 189 bool isLegalMaskedStore(Type *DataType, MaybeAlign Alignment); 190 bool isLegalNTLoad(Type *DataType, Align Alignment); 191 bool isLegalNTStore(Type *DataType, Align Alignment); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | VectorUtils.h | 66 Align Alignment = Align(); // Optional aligment in bytes, defaulted to 1. member 70 return std::tie(ParamPos, ParamKind, LinearStepOrPos, Alignment) == 72 Other.Alignment); 419 InterleaveGroup(uint32_t Factor, bool Reverse, Align Alignment) in InterleaveGroup() argument 420 : Factor(Factor), Reverse(Reverse), Alignment(Alignment), in InterleaveGroup() 423 InterleaveGroup(InstTy *Instr, int32_t Stride, Align Alignment) in InterleaveGroup() argument 424 : Alignment(Alignment), InsertPos(Instr) { in InterleaveGroup() 434 uint32_t getAlignment() const { return Alignment.value(); } in getAlignment() 474 Alignment = std::min(Alignment, NewAlign); in insertMember() 533 Align Alignment; variable [all …]
|
D | TargetTransformInfo.h | 590 bool isLegalMaskedStore(Type *DataType, MaybeAlign Alignment) const; 592 bool isLegalMaskedLoad(Type *DataType, MaybeAlign Alignment) const; 595 bool isLegalNTStore(Type *DataType, Align Alignment) const; 597 bool isLegalNTLoad(Type *DataType, Align Alignment) const; 600 bool isLegalMaskedScatter(Type *DataType, MaybeAlign Alignment) const; 602 bool isLegalMaskedGather(Type *DataType, MaybeAlign Alignment) const; 731 unsigned Alignment = 1, 948 int getMemoryOpCost(unsigned Opcode, Type *Src, MaybeAlign Alignment, 953 int getMaskedMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, 964 bool VariableMask, unsigned Alignment) const; [all …]
|
D | Loads.h | 40 MaybeAlign Alignment, 49 bool isDereferenceableAndAlignedPointer(const Value *V, Align Alignment, 62 bool isSafeToLoadUnconditionally(Value *V, MaybeAlign Alignment, APInt &Size, 86 bool isSafeToLoadUnconditionally(Value *V, Type *Ty, MaybeAlign Alignment,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/JITLink/ |
D | JITLinkMemoryManager.h | 36 SegmentRequest(uint64_t Alignment, size_t ContentSize, in SegmentRequest() argument 38 : Alignment(Alignment), ContentSize(ContentSize), in SegmentRequest() 40 assert(isPowerOf2_32(Alignment) && "Alignment must be power of 2"); in SegmentRequest() 42 uint64_t getAlignment() const { return Alignment; } in getAlignment() 46 uint64_t Alignment = 0;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | DataLayout.cpp | 389 uint64_t Alignment = inBytes(getInt(Tok)); in parseSpecifier() local 390 if (Alignment != 0 && !llvm::isPowerOf2_64(Alignment)) in parseSpecifier() 392 StackNaturalAlign = MaybeAlign(Alignment); in parseSpecifier() 408 uint64_t Alignment = inBytes(getInt(Tok)); in parseSpecifier() local 409 if (Alignment != 0 && !llvm::isPowerOf2_64(Alignment)) in parseSpecifier() 411 FunctionPtrAlign = MaybeAlign(Alignment); in parseSpecifier() 560 unsigned Alignment = in getAlignmentInfo() local 562 Alignment *= cast<VectorType>(Ty)->getNumElements(); in getAlignmentInfo() 563 Alignment = PowerOf2Ceil(Alignment); in getAlignmentInfo() 564 return Align(Alignment); in getAlignmentInfo() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | specialIntersectionsInMappedTypes.symbols | 4 type Alignment = (string & {}) | "left" | "center" | "right"; 5 >Alignment : Symbol(Alignment, Decl(specialIntersectionsInMappedTypes.ts, 0, 0)) 7 type Alignments = Record<Alignment, string>; 10 >Alignment : Symbol(Alignment, Decl(specialIntersectionsInMappedTypes.ts, 0, 0))
|
/third_party/node/deps/cares/src/lib/ |
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
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | IntrinsicInst.h | 365 void setDestAlignment(unsigned Alignment) { in setDestAlignment() argument 366 setDestAlignment(MaybeAlign(Alignment)); in setDestAlignment() 368 void setDestAlignment(MaybeAlign Alignment) { in setDestAlignment() argument 369 removeParamAttr(ARG_DEST, Attribute::Alignment); in setDestAlignment() 370 if (Alignment) in setDestAlignment() 372 Attribute::getWithAlignment(getContext(), *Alignment)); in setDestAlignment() 374 void setDestAlignment(Align Alignment) { in setDestAlignment() argument 375 removeParamAttr(ARG_DEST, Attribute::Alignment); in setDestAlignment() 377 Attribute::getWithAlignment(getContext(), Alignment)); in setDestAlignment() 430 void setSourceAlignment(unsigned Alignment) { in setSourceAlignment() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.h | 139 int getMemoryOpCost(unsigned Opcode, Type *Src, MaybeAlign Alignment, 152 bool isLegalMaskedLoadStore(Type *DataType, MaybeAlign Alignment) { in isLegalMaskedLoadStore() argument 167 bool isLegalMaskedLoad(Type *DataType, MaybeAlign Alignment) { in isLegalMaskedLoad() argument 168 return isLegalMaskedLoadStore(DataType, Alignment); in isLegalMaskedLoad() 171 bool isLegalMaskedStore(Type *DataType, MaybeAlign Alignment) { in isLegalMaskedStore() argument 172 return isLegalMaskedLoadStore(DataType, Alignment); in isLegalMaskedStore() 176 ArrayRef<unsigned> Indices, unsigned Alignment,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMBasicBlockInfo.h | 33 inline unsigned UnknownPadding(Align Alignment, unsigned KnownBits) { in UnknownPadding() argument 34 if (KnownBits < Log2(Alignment)) in UnknownPadding() 35 return Alignment.value() - (1ull << KnownBits); in UnknownPadding() 90 unsigned postOffset(Align Alignment = Align::None()) const { 92 const Align PA = std::max(PostAlign, Alignment);
|
/third_party/node/deps/v8/src/codegen/ |
D | constant-pool.cc | 271 Alignment require_alignment = in EmitAndClear() 294 if (require_alignment == Alignment::kRequired) assm_->Align(kInt64Size); in EmitAndClear() 375 int worst_case_size = ComputeSize(Jump::kRequired, Alignment::kRequired); in ShouldEmitNow() 406 Alignment require_alignment) const { in ComputeSize() 408 int alignment = require_alignment == Alignment::kRequired ? kInstrSize : 0; in ComputeSize() 414 Alignment ConstantPool::IsAlignmentRequiredIfEmittedAt(Jump require_jump, in IsAlignmentRequiredIfEmittedAt() 419 return Alignment::kRequired; in IsAlignmentRequiredIfEmittedAt() 421 return Alignment::kOmitted; in IsAlignmentRequiredIfEmittedAt() 428 Alignment require_alignment = in IsInImmRangeIfEmittedAt() 519 Alignment require_alignment = in EmitAndClear() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | FunctionExtras.h | 107 size_t Alignment; member 148 return StorageUnion.OutOfLineStorage.Alignment; in getOutOfLineStorageAlignment() 151 void setOutOfLineStorage(void *Ptr, size_t Size, size_t Alignment) { in setOutOfLineStorage() argument 152 StorageUnion.OutOfLineStorage = {Ptr, Size, Alignment}; in setOutOfLineStorage() 242 auto Alignment = alignof(CallableT); in unique_function() local 243 CallableAddr = allocate_buffer(Size, Alignment); in unique_function() 244 setOutOfLineStorage(CallableAddr, Size, Alignment); in unique_function()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
D | StringTableBuilder.cpp | 49 StringTableBuilder::StringTableBuilder(Kind K, unsigned Alignment) in StringTableBuilder() argument 50 : K(K), Alignment(Alignment) { in StringTableBuilder() 148 if (!(Pos & (Alignment - 1))) { in finalizeStringTable() 154 Size = alignTo(Size, Alignment); in finalizeStringTable() 194 size_t Start = alignTo(Size, Alignment); in add()
|