| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Record.cpp | 19 BaseSize(BaseSize), VirtualSize(VirtualSize), IsUnion(Decl->isUnion()), in Record() 20 IsAnonymousUnion(IsUnion && Decl->isAnonymousStructOrUnion()) { in Record()
|
| H A D | Record.h | 57 bool isUnion() const { return IsUnion; } in isUnion() 139 bool IsUnion; variable
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | RecordLayoutBuilder.cpp | 606 unsigned IsUnion : 1; 692 InferAlignment(false), Packed(false), IsUnion(false), in ItaniumRecordLayoutBuilder() 1064 assert(!IsUnion && "Unions cannot be dynamic classes."); in LayoutNonVirtualBases() 1202 assert(!IsUnion && "Unions cannot have base classes."); in LayoutBase() 1313 IsUnion = RD->isUnion(); in InitializeLayout() 1500 if (IsUnion) { in LayoutWideBitField() 1654 IsUnion ? 0 : (getDataSizeInBits() - UnfilledBitsInLastUnit); in LayoutBitField() 1662 if (!IsUnion && FieldOffset == 0 && in LayoutBitField() 1705 if (IsMsStruct && IsUnion) { in LayoutBitField() 1801 if (IsUnion) { in LayoutBitField() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.h | 82 BTFTypeFwd(StringRef Name, bool IsUnion); 330 void visitFwdDeclType(const DICompositeType *CTy, bool IsUnion,
|
| H A D | BTFDebug.cpp | 139 BTFTypeFwd::BTFTypeFwd(StringRef Name, bool IsUnion) : Name(Name) { in BTFTypeFwd() argument 141 BTFType.Info = IsUnion << 31 | Kind << 24; in BTFTypeFwd() 856 void BTFDebug::visitFwdDeclType(const DICompositeType *CTy, bool IsUnion, in visitFwdDeclType() argument 858 auto TypeEntry = std::make_unique<BTFTypeFwd>(CTy->getName(), IsUnion); in visitFwdDeclType() 1744 bool IsUnion = CTy->getTag() == dwarf::DW_TAG_union_type; in endModule() local 1756 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 | 61 IsUnion, enumerator 188 KIND_1(LVScopeKind, IsUnion, IsAggregate);
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTypeTraits.cpp | 193 bool IsUnion = D->isUnion(); in IsEligibleForTrivialRelocation() local 206 if (IsUnion && SemaRef.Context.containsAddressDiscriminatedPointerAuth( in IsEligibleForTrivialRelocation() 256 auto IsUnion = [&, Is = std::optional<bool>{}]() mutable { in CheckCXX2CRelocatableAndReplaceable() local 284 if (IsUnion()) in CheckCXX2CRelocatableAndReplaceable() 304 if (IsUnion()) in CheckCXX2CRelocatableAndReplaceable()
|
| H A D | SemaDecl.cpp | 5374 SourceLocation NameLoc, bool IsUnion, in CheckAnonMemberRedeclaration() argument 5398 << IsUnion << Name; in CheckAnonMemberRedeclaration() 13289 bool IsUnion = false; in visitStruct() local 13291 IsUnion = OrigRD->isUnion(); in visitStruct() 13293 << 0 << OrigTy << IsUnion << UseContext; in visitStruct() 13355 bool IsUnion = false; in visitStruct() local 13357 IsUnion = OrigRD->isUnion(); in visitStruct() 13359 << 1 << OrigTy << IsUnion << UseContext; in visitStruct() 13420 bool IsUnion = false; in visitStruct() local 13422 IsUnion = OrigRD->isUnion(); in visitStruct() [all …]
|
| H A D | SemaInit.cpp | 5915 bool IsUnion = RT->isUnionType(); in TryOrBuildParenListInitialization() local 5926 if (!IsUnion) { in TryOrBuildParenListInitialization() 5992 if (IsUnion) { in TryOrBuildParenListInitialization()
|
| H A D | SemaCodeComplete.cpp | 397 bool IsUnion(const NamedDecl *ND) const; 1596 bool ResultBuilder::IsUnion(const NamedDecl *ND) const { in IsUnion() function in ResultBuilder 6069 Filter = &ResultBuilder::IsUnion; in CodeCompleteTag()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | MasmParser.cpp | 122 bool IsUnion = false; member 220 : Name(StructName), IsUnion(Union), Alignment(AlignmentValue) {} in StructInfo() 230 if (!IsUnion) { in addField() 3293 if (!Struct.IsUnion) { in addIntegralField() 3481 if (!Struct.IsUnion) { in addRealField() 3975 if (!OwningStruct.IsUnion) { in addStructField() 4141 if (!Structure.Fields.empty() && !ParentStruct.IsUnion) { in parseDirectiveNestedEnds() 4147 if (ParentStruct.IsUnion) { in parseDirectiveNestedEnds() 4154 if (!ParentStruct.IsUnion) { in parseDirectiveNestedEnds() 4168 if (!ParentStruct.IsUnion) { in parseDirectiveNestedEnds()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/ |
| H A D | Options.cpp | 371 clEnumValN(LVScopeKind::IsUnion, "Union", "Union.")));
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | X86.cpp | 2105 bool IsUnion = RT->isUnionType() && !UseClang11Compat; in classify() local 2126 ((!IsUnion && Size != getContext().getTypeSize(i->getType())) || in classify()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
| H A D | LVScope.cpp | 108 {LVScopeKind::IsUnion, &LVScope::getIsUnion}};
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TokenKinds.def | 538 TYPE_TRAIT_1(__is_union, IsUnion, KEYCXX)
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGObjCMac.cpp | 2380 bool IsUnion = (RD && RD->isUnion()); in BuildRCRecordLayout() local 2448 if (IsUnion) { in BuildRCRecordLayout()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/ |
| H A D | DemangleTestCases.inc | 4857 …der7IsUnionEPN5clang9NamedDeclE", "(anonymous namespace)::ResultBuilder::IsUnion(clang::NamedDecl*…
|