Lines Matching refs:alignTo
976 setSize(getSize().alignTo(BaseAlign)); in EnsureVTablePointerAlignment()
1197 Offset = getDataSize().alignTo(BaseAlign); in LayoutBase()
1207 if (InferAlignment && Offset < getDataSize().alignTo(BaseAlign)) { in LayoutBase()
1295 llvm::alignTo(getSizeInBits(), Context.getTargetInfo().getCharAlign())); in Layout()
1366 return llvm::alignTo(Size, CharAlignment); in roundUpSizeToCharAlignment()
1413 FieldOffset = llvm::alignTo(getDataSizeInBits(), Context.toBits(TypeAlign)); in LayoutWideBitField()
1418 llvm::alignTo(NewSizeInBits, Context.getTargetInfo().getCharAlign())); in LayoutWideBitField()
1591 FieldOffset = llvm::alignTo(FieldOffset, FieldAlign); in LayoutBitField()
1593 llvm::alignTo(UnpackedFieldOffset, UnpackedFieldAlign); in LayoutBitField()
1605 FieldOffset = llvm::alignTo(FieldOffset, FieldAlign); in LayoutBitField()
1612 FieldOffset = llvm::alignTo(FieldOffset, ExplicitFieldAlign); in LayoutBitField()
1620 llvm::alignTo(UnpackedFieldOffset, UnpackedFieldAlign); in LayoutBitField()
1626 llvm::alignTo(UnpackedFieldOffset, ExplicitFieldAlign); in LayoutBitField()
1687 setDataSize(llvm::alignTo(NewSizeInBits, CharAlignment)); in LayoutBitField()
1777 FieldOffset = FieldOffset.alignTo(FieldAlign); in LayoutField()
1778 UnpackedFieldOffset = UnpackedFieldOffset.alignTo(UnpackedFieldAlign); in LayoutField()
1849 llvm::alignTo(getSizeInBits(), Context.toBits(UnpackedAlignment)); in FinishLayout()
1852 llvm::alignTo(getSizeInBits(), Context.toBits(Alignment)); in FinishLayout()
2394 DataSize = Size = Size.alignTo(Alignment); in layout()
2414 NonVirtualSize = Size = Size.alignTo(RoundingAlignment); in cxxLayout()
2593 BaseOffset = Size = Size.alignTo(Info.Alignment); in layoutNonVirtualBase()
2625 FieldOffset = Size.alignTo(Info.Alignment); in layoutField()
2660 CharUnits FieldOffset = Size.alignTo(Info.Alignment); in layoutBitField()
2686 CharUnits FieldOffset = Size.alignTo(Info.Alignment); in layoutZeroWidthBitField()
2699 VBPtrOffset = VBPtrOffset.alignTo(PointerInfo.Alignment); in injectVBPtr()
2709 .alignTo(std::max(RequiredAlignment, Alignment)); in injectVBPtr()
2724 PointerInfo.Size.alignTo(std::max(RequiredAlignment, Alignment)); in injectVFPtr()
2779 Size = Size.alignTo(VtorDispAlignment) + VtorDispSize; in layoutVirtualBases()
2794 BaseOffset = Size.alignTo(Info.Alignment); in layoutVirtualBases()
2813 Size = Size.alignTo(RoundingAlignment); in finalizeLayout()