Home
last modified time | relevance | path

Searched refs:Union (Results 1 – 25 of 91) sorted by relevance

1234

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPointerUnion.h282 using Union = PointerUnion<PTs...>;
286 static inline Union getEmptyKey() { return Union(FirstInfo::getEmptyKey()); }
288 static inline Union getTombstoneKey() {
289 return Union(FirstInfo::getTombstoneKey());
292 static unsigned getHashValue(const Union &UnionVal) {
297 static bool isEqual(const Union &LHS, const Union &RHS) {
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeUDT.cpp28 Union(std::move(UR)), Tag(&*Union) {} in NativeTypeUDT()
52 if (getUdtKind() != PDB_UdtType::Union) in dump()
107 return Union->getSize(); in getLength()
117 case TypeRecordKind::Union: in getUdtKind()
118 return PDB_UdtType::Union; in getUdtKind()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DTpiHashing.h35 : FullRecordHash(Full), ForwardDeclHash(Forward), Union(std::move(UR)) { in TagRecordHash()
49 return Union; in getRecord()
58 codeview::UnionRecord Union; member
H A DNativeTypeUDT.h30 codeview::UnionRecord Union);
67 std::optional<codeview::UnionRecord> Union; variable
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-private-enumerations.h196 Union = 1 << 5, enumerator
207 AnyType = Any | Class | Struct | Union | Enum | Typedef | Builtin,
209 AnyDeclContext = Any | Namespace | Class | Struct | Union | Enum | Function
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbUtil.h38 enum Kind { Class, Struct, Union, Enum }; enumerator
63 assert(m_kind == Union); in asUnion()
68 if (m_kind == Struct || m_kind == Union) in name()
H A DUdtRecordCompleter.cpp55 m_record.record.kind = Member::Union; in UdtRecordCompleter()
357 case Member::Union: { in AddMember()
360 : clang::TagTypeKind::Union; in AddMember()
483 parent->fields.push_back(std::make_unique<Member>(Member::Union)); in ConstructRecord()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Platform/NetBSD/
H A DPlatformNetBSD.cpp231 llvm::to_underlying(clang::TagTypeKind::Union), lldb::eLanguageTypeC); in GetSiginfoType()
241 llvm::to_underlying(clang::TagTypeKind::Union), lldb::eLanguageTypeC); in GetSiginfoType()
252 llvm::to_underlying(clang::TagTypeKind::Union), lldb::eLanguageTypeC); in GetSiginfoType()
275 llvm::to_underlying(clang::TagTypeKind::Union), lldb::eLanguageTypeC); in GetSiginfoType()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp349 UnionRecord &Union) { in visitKnownRecord() argument
350 P.format(" `{0}`", Union.Name); in visitKnownRecord()
351 if (Union.hasUniqueName()) in visitKnownRecord()
352 P.formatLine("unique name: `{0}`", Union.UniqueName); in visitKnownRecord()
353 P.formatLine("field list: {0}", Union.FieldList); in visitKnownRecord()
355 formatClassOptions(P.getIndentLevel(), Union.Options, Stream, in visitKnownRecord()
357 Union.Size); in visitKnownRecord()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeDumpVisitor.cpp260 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, UnionRecord &Union) { in visitKnownRecord() argument
261 uint16_t Props = static_cast<uint16_t>(Union.getOptions()); in visitKnownRecord()
262 W->printNumber("MemberCount", Union.getMemberCount()); in visitKnownRecord()
264 printTypeIndex("FieldList", Union.getFieldList()); in visitKnownRecord()
265 W->printNumber("SizeOf", Union.getSize()); in visitKnownRecord()
266 W->printString("Name", Union.getName()); in visitKnownRecord()
268 W->printString("LinkageName", Union.getUniqueName()); in visitKnownRecord()
H A DRecordName.cpp115 Error TypeNameComputer::visitKnownRecord(CVType &CVR, UnionRecord &Union) { in visitKnownRecord() argument
116 Name = Union.getName(); in visitKnownRecord()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DCalledValuePropagation.cpp157 std::vector<Function *> Union; in MergeValues() local
160 std::back_inserter(Union), CVPLatticeVal::Compare{}); in MergeValues()
161 if (Union.size() > MaxFunctionsPerValue) in MergeValues()
163 return CVPLatticeVal(std::move(Union)); in MergeValues()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp102 else if (RK == TypeRecordKind::Union) in getRecordName()
659 W.printString("Name", Union.getName()); in visitKnownRecord()
660 if (Union.hasUniqueName()) in visitKnownRecord()
666 Shared->ForwardReferences.record(Union.isForwardRef(), Union.getName(), in visitKnownRecord()
2454 W.printString("Name", Union.getName()); in visitKnownRecord()
2455 if (Union.hasUniqueName()) in visitKnownRecord()
2468 Scope->setName(Union.getName()); in visitKnownRecord()
2469 if (Union.hasUniqueName()) in visitKnownRecord()
2472 if (Union.isNested()) { in visitKnownRecord()
2474 createParents(Union.getName(), Scope); in visitKnownRecord()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprConstShared.h45 Union = 13, enumerator
H A DAPValue.cpp366 case Union: in APValue()
422 else if (Kind == Union) in DestroyDataAndMakeUninit()
438 case Union: in needsCleanup()
504 case Union: in Profile()
916 case APValue::Union: in printPretty()
1150 case APValue::Union: in getLVForValue()
/freebsd-14.2/tests/atf_python/sys/net/
H A Drtsock.py18 from typing import Union
530 def new_rtm_any(self, msg_type, prefix: str, gw: Union[str, bytes]):
549 def new_rtm_add(self, prefix: str, gw: Union[str, bytes]):
552 def new_rtm_del(self, prefix: str, gw: Union[str, bytes]):
555 def new_rtm_change(self, prefix: str, gw: Union[str, bytes]):
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DJSON.cpp117 memcpy(&Union, &M.Union, sizeof(Union)); in copyFrom()
142 memcpy(&Union, &M.Union, sizeof(Union)); in moveFrom()
/freebsd-14.2/tests/atf_python/sys/netpfil/ipfw/
H A Dutils.py12 from typing import Union
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Platform/FreeBSD/
H A DPlatformFreeBSD.cpp209 llvm::to_underlying(clang::TagTypeKind::Union), lldb::eLanguageTypeC); in GetSiginfoType()
242 llvm::to_underlying(clang::TagTypeKind::Union), lldb::eLanguageTypeC); in GetSiginfoType()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/
H A DRangeMap.h57 bool Union(const Range &rhs) { in Union() function
194 if (pos != end && pos->Union(entry)) { in Insert()
200 if (prev->Union(entry)) { in Insert()
393 if (prev->Union(*pos)) in CombinePrevAndNext()
402 if (pos->Union(*next)) in CombinePrevAndNext()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp726 SmallSetVector<Metadata *, 4> Union; in uniteAccessGroups() local
727 addToAccessGroupList(Union, AccGroups1); in uniteAccessGroups()
728 addToAccessGroupList(Union, AccGroups2); in uniteAccessGroups()
730 if (Union.size() == 0) in uniteAccessGroups()
732 if (Union.size() == 1) in uniteAccessGroups()
733 return cast<MDNode>(Union.front()); in uniteAccessGroups()
736 return MDNode::get(Ctx, Union.getArrayRef()); in uniteAccessGroups()
/freebsd-14.2/contrib/libcbor/doc/source/
H A Dinternal.rst81 Union discriminated by :member:`type`. Contains type-specific metadata
111 Union type of the following members, based on the item type:
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Index/
H A DIndexSymbol.h36 Union, enumerator
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDIE.cpp405 push_ctx(CompilerContextKind::Union, die.GetName()); in GetDeclContextImpl()
458 push_ctx(CompilerContextKind::Union, name); in GetTypeLookupContext()
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp112 case TagTypeKind::Union: in getSymbolInfo()
113 Info.Kind = SymbolKind::Union; break; in getSymbolInfo()
520 case SymbolKind::Union: return "union"; in getSymbolKindString()

1234