Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DRecordLayoutBuilder.cpp1422 unsigned FieldAlign = FieldInfo.second; in LayoutBitField() local
1484 FieldAlign = TypeSize; in LayoutBitField()
1492 FieldAlign = 1; in LayoutBitField()
1519 FieldAlign = std::max(FieldAlign, ZeroLengthBitfieldBoundary); in LayoutBitField()
1523 FieldAlign = 1; in LayoutBitField()
1528 unsigned UnpackedFieldAlign = FieldAlign; in LayoutBitField()
1532 FieldAlign = 1; in LayoutBitField()
1536 FieldAlign = std::max(FieldAlign, ExplicitFieldAlign); in LayoutBitField()
1544 FieldAlign = std::min(FieldAlign, MaxFieldAlignmentInBits); in LayoutBitField()
1563 FieldOffset = llvm::RoundUpToAlignment(FieldOffset, FieldAlign); in LayoutBitField()
[all …]
DASTContext.cpp1351 unsigned FieldAlign = toBits(Layout.getAlignment()); in getDeclAlign() local
1359 if (LowBitOfOffset < FieldAlign) in getDeclAlign()
1360 FieldAlign = static_cast<unsigned>(LowBitOfOffset); in getDeclAlign()
1363 Align = std::min(Align, FieldAlign); in getDeclAlign()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp673 unsigned FieldAlign; in CreateType() local
709 FieldAlign = CGM.getContext().getTypeAlign(Ty); in CreateType()
711 LineNo, FieldSize, FieldAlign, in CreateType()
1736 unsigned FieldAlign = 0; in CreateTypeDefinition() local
1744 FieldAlign = CGM.getContext().getTypeAlign(FType); in CreateTypeDefinition()
1792 FieldLine, FieldSize, FieldAlign, in CreateTypeDefinition()
2311 unsigned FieldAlign = CGM.getContext().getTypeAlign(FType); in CreateMemberType() local
2313 FieldSize, FieldAlign, in CreateMemberType()
2640 unsigned FieldAlign; in EmitTypeForVarWithBlocksAttr() local
2693 FieldAlign = CGM.getContext().toBits(Align); in EmitTypeForVarWithBlocksAttr()
[all …]