Lines Matching refs:Alignment
537 CharUnits Alignment; member in __anond999b0ee0111::RecordLayoutBuilder
630 Alignment(CharUnits::One()), UnpackedAlignment(CharUnits::One()), in RecordLayoutBuilder()
649 Alignment = UnpackedAlignment = TargetAlignment; in resetWithTargetAlignment()
753 CharUnits getAligment() const { return Alignment; } in getAligment()
1202 Alignment = CharUnits::One(); in LayoutBase()
1241 Alignment = CharUnits::fromQuantity(2); in InitializeLayout()
1263 Alignment = Context.toCharUnitsFromBits(ExternalAlign); in InitializeLayout()
1292 NonVirtualAlignment = Alignment; in Layout()
1792 = llvm::RoundUpToAlignment(getSizeInBits(), Context.toBits(Alignment)); in FinishLayout()
1799 Alignment = CharUnits::One(); in FinishLayout()
1841 if (NewAlignment > Alignment) { in UpdateAlignment()
1844 Alignment = NewAlignment; in UpdateAlignment()
1865 Alignment = CharUnits::One(); in updateExternalFieldOffset()
2139 CharUnits Alignment; member
2198 CharUnits Alignment; member
2248 Info.Alignment = Layout.getAlignment(); in getAdjustedElementInfo()
2251 Info.Alignment = std::min(Info.Alignment, MaxFieldAlignment); in getAdjustedElementInfo()
2257 Alignment = std::max(Alignment, Info.Alignment); in getAdjustedElementInfo()
2259 Info.Alignment = std::max(Info.Alignment, Layout.getRequiredAlignment()); in getAdjustedElementInfo()
2268 std::tie(Info.Size, Info.Alignment) = in getAdjustedElementInfo()
2277 Info.Alignment = std::max(Info.Alignment, FieldRequiredAlignment); in getAdjustedElementInfo()
2291 Info.Alignment = std::min(Info.Alignment, MaxFieldAlignment); in getAdjustedElementInfo()
2293 Info.Alignment = CharUnits::One(); in getAdjustedElementInfo()
2294 Info.Alignment = std::max(Info.Alignment, FieldRequiredAlignment); in getAdjustedElementInfo()
2301 DataSize = Size = Size.RoundUpToAlignment(Alignment); in layout()
2315 Alignment = std::max(Alignment, PointerInfo.Alignment); in cxxLayout()
2316 auto RoundingAlignment = Alignment; in cxxLayout()
2329 Alignment = CharUnits::One(); in initializeLayout()
2364 PointerInfo.Alignment = PointerInfo.Size; in initializeCXXLayout()
2367 PointerInfo.Alignment = std::min(PointerInfo.Alignment, MaxFieldAlignment); in initializeCXXLayout()
2454 CharUnits BaseOffset = Size.RoundUpToAlignment(Info.Alignment); in layoutNonVirtualBase()
2473 Alignment = std::max(Alignment, Info.Alignment); in layoutField()
2478 CharUnits FieldOffset = Size.RoundUpToAlignment(Info.Alignment); in layoutField()
2512 CharUnits FieldOffset = Size.RoundUpToAlignment(Info.Alignment); in layoutBitField()
2515 Alignment = std::max(Alignment, Info.Alignment); in layoutBitField()
2538 CharUnits FieldOffset = Size.RoundUpToAlignment(Info.Alignment); in layoutZeroWidthBitField()
2541 Alignment = std::max(Alignment, Info.Alignment); in layoutZeroWidthBitField()
2551 VBPtrOffset = VBPtrOffset.RoundUpToAlignment(PointerInfo.Alignment); in injectVBPtr()
2557 std::max(RequiredAlignment, Alignment)); in injectVBPtr()
2577 std::max(RequiredAlignment, Alignment)); in injectVFPtr()
2630 CharUnits BaseOffset = Size.RoundUpToAlignment(Info.Alignment); in layoutVirtualBases()
2643 Alignment = std::max(Alignment, RequiredAlignment); in finalizeLayout()
2644 auto RoundingAlignment = Alignment; in finalizeLayout()
2654 Size = Alignment; in finalizeLayout()
2753 *this, Builder.Size, Builder.Alignment, Builder.RequiredAlignment, in BuildMicrosoftASTRecordLayout()
2758 Builder.Alignment, CharUnits::Zero(), Builder.PrimaryBase, in BuildMicrosoftASTRecordLayout()
2765 *this, Builder.Size, Builder.Alignment, Builder.RequiredAlignment, in BuildMicrosoftASTRecordLayout()
2816 Builder.Alignment, in getASTRecordLayout()
2818 Builder.Alignment, in getASTRecordLayout()
2838 Builder.Alignment, in getASTRecordLayout()
2840 Builder.Alignment, in getASTRecordLayout()
2958 Builder.Alignment, in getObjCLayout()
2960 Builder.Alignment, in getObjCLayout()