Lines Matching refs:RoundUpToAlignment
976 setSize(getSize().RoundUpToAlignment(BaseAlign)); in EnsureVTablePointerAlignment()
1197 Offset = getDataSize().RoundUpToAlignment(BaseAlign); in LayoutBase()
1207 if (InferAlignment && Offset < getDataSize().RoundUpToAlignment(BaseAlign)){ in LayoutBase()
1295 llvm::RoundUpToAlignment(getSizeInBits(), in Layout()
1367 return llvm::RoundUpToAlignment(Size, CharAlignment); in roundUpSizeToCharAlignment()
1414 FieldOffset = llvm::RoundUpToAlignment(getDataSizeInBits(), in LayoutWideBitField()
1419 setDataSize(llvm::RoundUpToAlignment(NewSizeInBits, in LayoutWideBitField()
1589 FieldOffset = llvm::RoundUpToAlignment(FieldOffset, FieldAlign); in LayoutBitField()
1590 UnpackedFieldOffset = llvm::RoundUpToAlignment(UnpackedFieldOffset, in LayoutBitField()
1603 FieldOffset = llvm::RoundUpToAlignment(FieldOffset, FieldAlign); in LayoutBitField()
1610 UnpackedFieldOffset = llvm::RoundUpToAlignment(UnpackedFieldOffset, in LayoutBitField()
1672 setDataSize(llvm::RoundUpToAlignment(NewSizeInBits, CharAlignment)); in LayoutBitField()
1762 FieldOffset = FieldOffset.RoundUpToAlignment(FieldAlign); in LayoutField()
1764 UnpackedFieldOffset.RoundUpToAlignment(UnpackedFieldAlign); in LayoutField()
1835 llvm::RoundUpToAlignment(getSizeInBits(), in FinishLayout()
1839 = llvm::RoundUpToAlignment(getSizeInBits(), Context.toBits(Alignment)); in FinishLayout()
2380 DataSize = Size = Size.RoundUpToAlignment(Alignment); in layout()
2400 NonVirtualSize = Size = Size.RoundUpToAlignment(RoundingAlignment); in cxxLayout()
2555 BaseOffset = Size.RoundUpToAlignment(Info.Alignment); in layoutNonVirtualBase()
2585 FieldOffset = Size.RoundUpToAlignment(Info.Alignment); in layoutField()
2620 CharUnits FieldOffset = Size.RoundUpToAlignment(Info.Alignment); in layoutBitField()
2646 CharUnits FieldOffset = Size.RoundUpToAlignment(Info.Alignment); in layoutZeroWidthBitField()
2659 VBPtrOffset = VBPtrOffset.RoundUpToAlignment(PointerInfo.Alignment); in injectVBPtr()
2668 CharUnits Offset = (FieldStart - InjectionSite).RoundUpToAlignment( in injectVBPtr()
2683 CharUnits Offset = PointerInfo.Size.RoundUpToAlignment( in injectVFPtr()
2738 Size = Size.RoundUpToAlignment(VtorDispAlignment) + VtorDispSize; in layoutVirtualBases()
2753 BaseOffset = Size.RoundUpToAlignment(Info.Alignment); in layoutVirtualBases()
2772 Size = Size.RoundUpToAlignment(RoundingAlignment); in finalizeLayout()