Home
last modified time | relevance | path

Searched refs:FieldAlign (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/AST/
DRecordLayoutBuilder.cpp1440 unsigned FieldAlign = FieldInfo.Align; in LayoutBitField() local
1502 FieldAlign = TypeSize; in LayoutBitField()
1510 FieldAlign = 1; in LayoutBitField()
1537 FieldAlign = std::max(FieldAlign, ZeroLengthBitfieldBoundary); in LayoutBitField()
1541 FieldAlign = 1; in LayoutBitField()
1546 unsigned UnpackedFieldAlign = FieldAlign; in LayoutBitField()
1550 FieldAlign = 1; in LayoutBitField()
1555 FieldAlign = std::max(FieldAlign, ExplicitFieldAlign); in LayoutBitField()
1565 FieldAlign = UnpackedFieldAlign; in LayoutBitField()
1567 FieldAlign = std::min(FieldAlign, MaxFieldAlignmentInBits); in LayoutBitField()
[all …]
DASTContext.cpp1424 unsigned FieldAlign = toBits(Layout.getAlignment()); in getDeclAlign() local
1432 if (LowBitOfOffset < FieldAlign) in getDeclAlign()
1433 FieldAlign = static_cast<unsigned>(LowBitOfOffset); in getDeclAlign()
1436 Align = std::min(Align, FieldAlign); in getDeclAlign()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp782 unsigned FieldAlign; in CreateType() local
816 FieldAlign = CGM.getContext().getTypeAlign(Ty); in CreateType()
818 FieldSize, FieldAlign, FieldOffset, in CreateType()
1979 unsigned FieldAlign = 0; in CreateTypeDefinition() local
1987 FieldAlign = CGM.getContext().getTypeAlign(FType); in CreateTypeDefinition()
2036 FieldSize, FieldAlign, FieldOffset, Flags, in CreateTypeDefinition()
2597 unsigned FieldAlign = CGM.getContext().getTypeAlign(FType); in CreateMemberType() local
2599 FieldAlign, *Offset, 0, FieldTy); in CreateMemberType()
3053 unsigned FieldAlign; in EmitTypeForVarWithBlocksAttr() local
3103 FieldAlign = CGM.getContext().toBits(Align); in EmitTypeForVarWithBlocksAttr()
[all …]
DTargetInfo.cpp1632 CharUnits FieldAlign = CharUnits::fromQuantity(4); in addFieldToArgStruct() local
1634 assert(StackOffset.isMultipleOf(FieldAlign) && "unaligned inalloca struct"); in addFieldToArgStruct()
1641 StackOffset = FieldEnd.alignTo(FieldAlign); in addFieldToArgStruct()