Lines Matching refs:FieldAlign
1760 unsigned FieldAlign = FieldInfo.second;
1762 if (TypeSize > FieldAlign &&
1767 FieldAlign = TypeSize;
1796 FieldAlign = std::max(FieldAlign, FieldAlignLastFD);
1802 FieldAlign = std::min(FieldAlign, MaxFieldAlignmentInBits);
1806 llvm::RoundUpToAlignment(UnpaddedFieldOffset, FieldAlign);
1923 unsigned FieldAlign = FieldInfo.second;
1926 if (IsMsStruct && (TypeSize > FieldAlign) &&
1930 FieldAlign = TypeSize;
1944 if ((ZeroLengthBitfieldAlignment > FieldAlign) || (FieldSize == 0))
1945 FieldAlign = ZeroLengthBitfieldAlignment;
1955 if (ZeroLengthBitfieldBoundary > FieldAlign)
1956 FieldAlign = ZeroLengthBitfieldBoundary;
1967 unsigned UnpackedFieldAlign = FieldAlign;
1974 FieldAlign = 1;
1975 FieldAlign = std::max(FieldAlign, D->getMaxAlignment());
1981 FieldAlign = std::min(FieldAlign, MaxFieldAlignmentInBits);
1988 (FieldOffset & (FieldAlign-1)) + FieldSize > TypeSize))
1989 FieldOffset = llvm::RoundUpToAlignment(FieldOffset, FieldAlign);
2000 FieldAlign = UnpackedFieldAlign = 1;
2031 UpdateAlignment(Context.toCharUnitsFromBits(FieldAlign),
2050 CharUnits FieldAlign;
2059 FieldAlign = Context.getTypeAlignInChars(ATy->getElementType());
2064 FieldAlign =
2070 FieldAlign = FieldInfo.second;
2084 if (ZeroLengthBitfieldAlignment > FieldAlign)
2085 FieldAlign = ZeroLengthBitfieldAlignment;
2086 } else if (ZeroLengthBitfieldBoundary > FieldAlign) {
2091 FieldAlign = ZeroLengthBitfieldBoundary;
2105 if (TypeSize > FieldAlign)
2106 FieldAlign = TypeSize;
2113 CharUnits UnpackedFieldAlign = FieldAlign;
2117 FieldAlign = CharUnits::One();
2120 FieldAlign = std::max(FieldAlign, MaxAlignmentInChars);
2125 FieldAlign = std::min(FieldAlign, MaxFieldAlignment);
2130 FieldOffset = FieldOffset.RoundUpToAlignment(FieldAlign);
2149 FieldOffset += FieldAlign;
2173 UpdateAlignment(FieldAlign, UnpackedFieldAlign);