Searched refs:IsUnion (Results 1 – 9 of 9) sorted by relevance
97 BTFTypeFwd::BTFTypeFwd(StringRef Name, bool IsUnion) : Name(Name) { in BTFTypeFwd() argument99 BTFType.Info = IsUnion << 31 | Kind << 24; in BTFTypeFwd()526 void BTFDebug::visitFwdDeclType(const DICompositeType *CTy, bool IsUnion, in visitFwdDeclType() argument528 auto TypeEntry = std::make_unique<BTFTypeFwd>(CTy->getName(), IsUnion); in visitFwdDeclType()1212 bool IsUnion = Fixup.second.first; in endModule() local1224 auto FwdTypeEntry = std::make_unique<BTFTypeFwd>(TypeName, IsUnion); in endModule()
74 BTFTypeFwd(StringRef Name, bool IsUnion);275 void visitFwdDeclType(const DICompositeType *CTy, bool IsUnion,
926 if (IsScalar(underlying_type.base_type) && !IsUnion(field.value.type)) { in GenStruct()1966 if (IsUnion(field.value.type)) { in GenStruct_ObjectAPI()2007 if (IsUnion(field.value.type)) { in GenStruct_ObjectAPI()
933 if (field.IsOptional() && !IsUnion(field.value.type)) { return "None"; } in GetDefaultValue()1156 if (in_a_table && !IsUnion(type) && field.IsOptional()) { in ObjectFieldType()
912 if (IsScalar(underlying_type.base_type) && !IsUnion(field.value.type)) { in GenStruct()
1266 !IsUnion(field.value.type)) { in GenStruct()
686 if (parser_.opts.mutable_buffer && !IsUnion(field.value.type)) in GenTableReaderFields()
2179 if (is_scalar && IsUnion(type)) in GenTableFieldSetter()
474 inline bool IsUnion(const Type &type) { in IsUnion() function