Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h159 AlignRequirementKind AlignRequirement; member
161 TypeInfo() : AlignRequirement(AlignRequirementKind::None) {} in TypeInfo()
163 AlignRequirementKind AlignRequirement) in TypeInfo()
164 : Width(Width), Align(Align), AlignRequirement(AlignRequirement) {} in TypeInfo()
166 return AlignRequirement != AlignRequirementKind::None; in isAlignRequired()
173 AlignRequirementKind AlignRequirement; member
175 TypeInfoChars() : AlignRequirement(AlignRequirementKind::None) {} in TypeInfoChars()
177 AlignRequirementKind AlignRequirement) in TypeInfoChars()
178 : Width(Width), Align(Align), AlignRequirement(AlignRequirement) {} in TypeInfoChars()
180 return AlignRequirement != AlignRequirementKind::None; in isAlignRequired()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRecordLayoutBuilder.cpp1900 AlignRequirementKind AlignRequirement = AlignRequirementKind::None; in LayoutField() local
1915 AlignRequirement = TI.AlignRequirement; in LayoutField()
1985 auto alignedAttrCanDecreaseAIXAlignment = [AlignRequirement, FieldPacked] { in LayoutField()
1989 return AlignRequirement == AlignRequirementKind::RequiredByTypedef || in LayoutField()
1990 (AlignRequirement == AlignRequirementKind::RequiredByRecord && in LayoutField()
H A DASTContext.cpp1810 EltInfo.AlignRequirement); in getConstantArrayInfoInChars()
1818 toCharUnitsFromBits(Info.Align), Info.AlignRequirement); in getTypeInfoInChars()
1864 return getTypeInfo(T).AlignRequirement != AlignRequirementKind::None; in isAlignmentRequired()
1916 AlignRequirementKind AlignRequirement = AlignRequirementKind::None; in getTypeInfoImpl() local
1951 AlignRequirement = EltInfo.AlignRequirement; in getTypeInfoImpl()
2323 Info.AlignRequirement = AlignRequirementKind::RequiredByEnum; in getTypeInfoImpl()
2333 AlignRequirement = RD->hasAttr<AlignedAttr>() in getTypeInfoImpl()
2372 AlignRequirement = AlignRequirementKind::RequiredByTypedef; in getTypeInfoImpl()
2375 AlignRequirement = Info.AlignRequirement; in getTypeInfoImpl()
2427 return TypeInfo(Width, Align, AlignRequirement); in getTypeInfoImpl()
[all …]