Home
last modified time | relevance | path

Searched refs:IsUnion (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DRecordLayoutBuilder.cpp614 unsigned IsUnion : 1; member in __anond6239b400111::ItaniumRecordLayoutBuilder
697 InferAlignment(false), Packed(false), IsUnion(false), in ItaniumRecordLayoutBuilder()
1069 assert(!IsUnion && "Unions cannot be dynamic classes."); in LayoutNonVirtualBases()
1207 assert(!IsUnion && "Unions cannot have base classes."); in LayoutBase()
1315 IsUnion = RD->isUnion(); in InitializeLayout()
1501 if (IsUnion) { in LayoutWideBitField()
1652 IsUnion ? 0 : (getDataSizeInBits() - UnfilledBitsInLastUnit); in LayoutBitField()
1660 if (!IsUnion && FieldOffset == 0 && in LayoutBitField()
1703 if (IsMsStruct && IsUnion) { in LayoutBitField()
1786 if (IsUnion) { in LayoutBitField()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBTFDebug.cpp98 BTFTypeFwd::BTFTypeFwd(StringRef Name, bool IsUnion) : Name(Name) { in BTFTypeFwd() argument
100 BTFType.Info = IsUnion << 31 | Kind << 24; in BTFTypeFwd()
557 void BTFDebug::visitFwdDeclType(const DICompositeType *CTy, bool IsUnion, in visitFwdDeclType() argument
559 auto TypeEntry = std::make_unique<BTFTypeFwd>(CTy->getName(), IsUnion); in visitFwdDeclType()
1339 bool IsUnion = Fixup.second.first; in endModule() local
1351 auto FwdTypeEntry = std::make_unique<BTFTypeFwd>(TypeName, IsUnion); in endModule()
H A DBTFDebug.h80 BTFTypeFwd(StringRef Name, bool IsUnion);
290 void visitFwdDeclType(const DICompositeType *CTy, bool IsUnion,
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DDescriptor.cpp119 const bool IsUnion = D->ElemRecord->isUnion(); in ctorRecord() local
126 Desc->IsActive = IsActive && !IsUnion; in ctorRecord()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DMasmParser.cpp130 bool IsUnion = false; member
143 : Name(StructName), IsUnion(Union), Alignment(AlignmentValue) {} in StructInfo()
347 if (IsUnion) { in addField()
3545 if (Struct.IsUnion) in addIntegralField()
3751 if (Struct.IsUnion) in addRealField()
4249 if (OwningStruct.IsUnion) in addStructField()
4411 if (!ParentStruct.IsUnion) { in parseDirectiveNestedEnds()
4418 if (ParentStruct.IsUnion) in parseDirectiveNestedEnds()
4430 if (ParentStruct.IsUnion) in parseDirectiveNestedEnds()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDecl.cpp4837 bool IsUnion) { in CheckAnonMemberRedeclaration() argument
4850 << IsUnion << Name; in CheckAnonMemberRedeclaration()
11896 bool IsUnion = false; in visitStruct() local
11898 IsUnion = OrigRD->isUnion(); in visitStruct()
11900 << 0 << OrigTy << IsUnion << UseContext; in visitStruct()
11961 bool IsUnion = false; in visitStruct() local
11963 IsUnion = OrigRD->isUnion(); in visitStruct()
11965 << 1 << OrigTy << IsUnion << UseContext; in visitStruct()
12027 bool IsUnion = false; in visitStruct() local
12029 IsUnion = OrigRD->isUnion(); in visitStruct()
[all …]
H A DSemaCodeComplete.cpp369 bool IsUnion(const NamedDecl *ND) const;
1493 bool ResultBuilder::IsUnion(const NamedDecl *ND) const { in IsUnion() function in ResultBuilder
5477 Filter = &ResultBuilder::IsUnion; in CodeCompleteTag()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DTokenKinds.def503 TYPE_TRAIT_1(__is_union, IsUnion, KEYCXX)
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGObjCMac.cpp2524 bool IsUnion = (RD && RD->isUnion()); in BuildRCRecordLayout() local
2591 if (IsUnion) { in BuildRCRecordLayout()
H A DTargetInfo.cpp3082 bool IsUnion = RT->isUnionType() && !UseClang11Compat; in classify() local
3103 ((!IsUnion && Size != getContext().getTypeSize(i->getType())) || in classify()