Lines Matching refs:Align
60 const Align TyAlign = ST->isPacked() ? Align(1) : DL.getABITypeAlign(Ty); in StructLayout()
125 LayoutAlignElem LayoutAlignElem::get(Align ABIAlign, Align PrefAlign, in get()
145 Align ABIAlign, Align PrefAlign, in getInBits()
182 {INTEGER_ALIGN, {1, Align(1), Align(1)}}, // i1
183 {INTEGER_ALIGN, {8, Align(1), Align(1)}}, // i8
184 {INTEGER_ALIGN, {16, Align(2), Align(2)}}, // i16
185 {INTEGER_ALIGN, {32, Align(4), Align(4)}}, // i32
186 {INTEGER_ALIGN, {64, Align(4), Align(8)}}, // i64
187 {FLOAT_ALIGN, {16, Align(2), Align(2)}}, // half, bfloat
188 {FLOAT_ALIGN, {32, Align(4), Align(4)}}, // float
189 {FLOAT_ALIGN, {64, Align(8), Align(8)}}, // double
190 {FLOAT_ALIGN, {128, Align(16), Align(16)}}, // ppcf128, quad, ...
191 {VECTOR_ALIGN, {64, Align(8), Align(8)}}, // v2i32, v1i64, ...
192 {VECTOR_ALIGN, {128, Align(16), Align(16)}}, // v16i8, v8i16, v4i32, ...
208 StructAlignment = LayoutAlignElem::get(Align(1), Align(8), 0); in reset()
216 if (Error Err = setPointerAlignmentInBits(0, Align(8), Align(8), 64, 64)) in reset()
586 Error DataLayout::setAlignment(AlignTypeEnum AlignType, Align ABIAlign, in setAlignment()
587 Align PrefAlign, uint32_t BitWidth) { in setAlignment()
645 Error DataLayout::setPointerAlignmentInBits(uint32_t AddrSpace, Align ABIAlign, in setPointerAlignmentInBits()
646 Align PrefAlign, in setPointerAlignmentInBits()
672 Align DataLayout::getIntegerAlignment(uint32_t BitWidth, in getIntegerAlignment()
742 Align DataLayout::getPointerABIAlignment(unsigned AS) const { in getPointerABIAlignment()
746 Align DataLayout::getPointerPrefAlignment(unsigned AS) const { in getPointerPrefAlignment()
789 Align DataLayout::getAlignment(Type *Ty, bool abi_or_pref) const { in getAlignment()
806 return Align(1); in getAlignment()
810 const Align Align = in getAlignment() local
812 return std::max(Align, Layout->getAlignment()); in getAlignment()
836 return Align(PowerOf2Ceil(BitWidth / 8)); in getAlignment()
852 return Align(PowerOf2Ceil(getTypeStoreSize(Ty).getKnownMinValue())); in getAlignment()
855 return Align(64); in getAlignment()
865 Align DataLayout::getABITypeAlign(Type *Ty) const { in getABITypeAlign()
874 Align DataLayout::getPrefTypeAlign(Type *Ty) const { in getPrefTypeAlign()
1015 Align DataLayout::getPreferredAlign(const GlobalVariable *GV) const { in getPreferredAlign()
1029 Align Alignment = getPrefTypeAlign(ElemType); in getPreferredAlign()
1041 if (Alignment < Align(16)) { in getPreferredAlign()
1045 Alignment = Align(16); // 16-byte alignment. in getPreferredAlign()