/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Record.h | 56 bool isUnion() const { return IsUnion; } in isUnion() 136 bool IsUnion; variable
|
H A D | Descriptor.cpp | 148 bool IsActive, bool IsUnion, const Descriptor *D, in initField() argument 155 Desc->IsActive = IsActive && !IsUnion; in initField() 170 bool IsUnion = D->ElemRecord->isUnion(); in initBase() local 177 Desc->IsActive = IsActive && !IsUnion; in initBase() 185 initField(B, Ptr + FieldOffset, IsConst, IsMutable, IsActive, IsUnion, in initBase()
|
H A D | Record.cpp | 19 BaseSize(BaseSize), VirtualSize(VirtualSize), IsUnion(Decl->isUnion()) { in Record()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | RecordLayoutBuilder.cpp | 618 unsigned IsUnion : 1; 704 InferAlignment(false), Packed(false), IsUnion(false), in ItaniumRecordLayoutBuilder() 1076 assert(!IsUnion && "Unions cannot be dynamic classes."); in LayoutNonVirtualBases() 1214 assert(!IsUnion && "Unions cannot have base classes."); in LayoutBase() 1324 IsUnion = RD->isUnion(); in InitializeLayout() 1510 if (IsUnion) { in LayoutWideBitField() 1661 IsUnion ? 0 : (getDataSizeInBits() - UnfilledBitsInLastUnit); in LayoutBitField() 1669 if (!IsUnion && FieldOffset == 0 && in LayoutBitField() 1712 if (IsMsStruct && IsUnion) { in LayoutBitField() 1808 if (IsUnion) { in LayoutBitField() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BTFDebug.h | 82 BTFTypeFwd(StringRef Name, bool IsUnion); 329 void visitFwdDeclType(const DICompositeType *CTy, bool IsUnion,
|
H A D | BTFDebug.cpp | 111 BTFTypeFwd::BTFTypeFwd(StringRef Name, bool IsUnion) : Name(Name) { in BTFTypeFwd() argument 113 BTFType.Info = IsUnion << 31 | Kind << 24; in BTFTypeFwd() 765 void BTFDebug::visitFwdDeclType(const DICompositeType *CTy, bool IsUnion, in visitFwdDeclType() argument 767 auto TypeEntry = std::make_unique<BTFTypeFwd>(CTy->getName(), IsUnion); in visitFwdDeclType() 1625 bool IsUnion = CTy->getTag() == dwarf::DW_TAG_union_type; in endModule() local 1637 auto FwdTypeEntry = std::make_unique<BTFTypeFwd>(TypeName, IsUnion); in endModule()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
H A D | LVScope.h | 59 IsUnion, enumerator 183 KIND_1(LVScopeKind, IsUnion, IsAggregate);
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/ |
H A D | Options.cpp | 367 clEnumValN(LVScopeKind::IsUnion, "Union", "Union.")));
|
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | MasmParser.cpp | 127 bool IsUnion = false; member 225 : Name(StructName), IsUnion(Union), Alignment(AlignmentValue) {} in StructInfo() 235 if (!IsUnion) { in addField() 3749 if (!Struct.IsUnion) { in addIntegralField() 3956 if (!Struct.IsUnion) { in addRealField() 4451 if (!OwningStruct.IsUnion) { in addStructField() 4617 if (!Structure.Fields.empty() && !ParentStruct.IsUnion) { in parseDirectiveNestedEnds() 4623 if (ParentStruct.IsUnion) { in parseDirectiveNestedEnds() 4630 if (!ParentStruct.IsUnion) { in parseDirectiveNestedEnds() 4644 if (!ParentStruct.IsUnion) { in parseDirectiveNestedEnds()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | X86.cpp | 2091 bool IsUnion = RT->isUnionType() && !UseClang11Compat; in classify() local 2112 ((!IsUnion && Size != getContext().getTypeSize(i->getType())) || in classify()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 5260 SourceLocation NameLoc, bool IsUnion, in CheckAnonMemberRedeclaration() argument 5284 << IsUnion << Name; in CheckAnonMemberRedeclaration() 13058 bool IsUnion = false; in visitStruct() local 13060 IsUnion = OrigRD->isUnion(); in visitStruct() 13062 << 0 << OrigTy << IsUnion << UseContext; in visitStruct() 13123 bool IsUnion = false; in visitStruct() local 13125 IsUnion = OrigRD->isUnion(); in visitStruct() 13127 << 1 << OrigTy << IsUnion << UseContext; in visitStruct() 13189 bool IsUnion = false; in visitStruct() local 13191 IsUnion = OrigRD->isUnion(); in visitStruct() [all …]
|
H A D | SemaInit.cpp | 5655 bool IsUnion = RT->isUnionType(); in TryOrBuildParenListInitialization() local 5666 if (!IsUnion) { in TryOrBuildParenListInitialization() 5732 if (IsUnion) { in TryOrBuildParenListInitialization()
|
H A D | SemaCodeComplete.cpp | 398 bool IsUnion(const NamedDecl *ND) const; 1594 bool ResultBuilder::IsUnion(const NamedDecl *ND) const { in IsUnion() function in ResultBuilder 5919 Filter = &ResultBuilder::IsUnion; in CodeCompleteTag()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
H A D | LVScope.cpp | 104 {LVScopeKind::IsUnion, &LVScope::getIsUnion}};
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | TokenKinds.def | 535 TYPE_TRAIT_1(__is_union, IsUnion, KEYCXX)
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGObjCMac.cpp | 2464 bool IsUnion = (RD && RD->isUnion()); in BuildRCRecordLayout() local 2531 if (IsUnion) { in BuildRCRecordLayout()
|