Home
last modified time | relevance | path

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

1234

/freebsd/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/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/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/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-private-enumerations.h202 Union = 1 << 5, enumerator
213 AnyType = Any | ClassOrStruct | Union | Enum | Typedef | Builtin,
215 AnyDeclContext = Any | Namespace | ClassOrStruct | Union | Enum | Function,
/freebsd/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.cpp57 m_record.record.kind = Member::Union; in UdtRecordCompleter()
360 case Member::Union: { in AddMember()
363 : clang::TagTypeKind::Union; in AddMember()
486 parent->fields.push_back(std::make_unique<Member>(Member::Union)); in ConstructRecord()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeDumpVisitor.cpp261 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, UnionRecord &Union) { in visitKnownRecord() argument
262 uint16_t Props = static_cast<uint16_t>(Union.getOptions()); in visitKnownRecord()
263 W->printNumber("MemberCount", Union.getMemberCount()); in visitKnownRecord()
265 printTypeIndex("FieldList", Union.getFieldList()); in visitKnownRecord()
266 W->printNumber("SizeOf", Union.getSize()); in visitKnownRecord()
267 W->printString("Name", Union.getName()); in visitKnownRecord()
269 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/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp350 UnionRecord &Union) { in visitKnownRecord() argument
351 P.format(" `{0}`", Union.Name); in visitKnownRecord()
352 if (Union.hasUniqueName()) in visitKnownRecord()
353 P.formatLine("unique name: `{0}`", Union.UniqueName); in visitKnownRecord()
354 P.formatLine("field list: {0}", Union.FieldList); in visitKnownRecord()
356 formatClassOptions(P.getIndentLevel(), Union.Options, Stream, in visitKnownRecord()
358 Union.Size); in visitKnownRecord()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DCalledValuePropagation.cpp158 std::vector<Function *> Union; in MergeValues() local
161 std::back_inserter(Union), CVPLatticeVal::Compare{}); in MergeValues()
162 if (Union.size() > MaxFunctionsPerValue) in MergeValues()
164 return CVPLatticeVal(std::move(Union)); in MergeValues()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp102 else if (RK == TypeRecordKind::Union) in getRecordName()
654 Error LVTypeVisitor::visitKnownRecord(CVType &Record, UnionRecord &Union) { in visitKnownRecord() argument
656 W.printNumber("MemberCount", Union.getMemberCount()); in visitKnownRecord()
657 printTypeIndex("FieldList", Union.getFieldList(), StreamTPI); in visitKnownRecord()
658 W.printNumber("SizeOf", Union.getSize()); in visitKnownRecord()
659 W.printString("Name", Union.getName()); in visitKnownRecord()
660 if (Union.hasUniqueName()) in visitKnownRecord()
661 W.printString("UniqueName", Union.getUniqueName()); in visitKnownRecord()
665 Shared->NamespaceDeduction.add(Union.getName()); in visitKnownRecord()
666 Shared->ForwardReferences.record(Union.isForwardRef(), Union.getName(), in visitKnownRecord()
[all …]
/freebsd/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/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/contrib/llvm-project/clang/lib/AST/
H A DExprConstShared.h48 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()
920 case APValue::Union: in printPretty()
1154 case APValue::Union: in getLVForValue()
/freebsd/tests/atf_python/sys/netpfil/ipfw/
H A Dutils.py12 from typing import Union
H A Dipfw.py23 from typing import Union
/freebsd/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/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp781 SmallSetVector<Metadata *, 4> Union; in uniteAccessGroups() local
782 addToAccessGroupList(Union, AccGroups1); in uniteAccessGroups()
783 addToAccessGroupList(Union, AccGroups2); in uniteAccessGroups()
785 if (Union.size() == 0) in uniteAccessGroups()
787 if (Union.size() == 1) in uniteAccessGroups()
788 return cast<MDNode>(Union.front()); in uniteAccessGroups()
791 return MDNode::get(Ctx, Union.getArrayRef()); in uniteAccessGroups()
/freebsd/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/contrib/llvm-project/clang/include/clang/Index/
H A DIndexSymbol.h36 Union, enumerator
/freebsd/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()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDIE.cpp402 push_ctx(CompilerContextKind::Union, die.GetName()); in GetDeclContextImpl()
462 push_ctx(CompilerContextKind::Union, die.GetName()); in GetTypeLookupContextImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DJSON.h496 __asan_unpoison_memory_region(&Union, sizeof(T)); in create()
498 new (reinterpret_cast<T *>(&Union)) T(std::forward<U>(V)...); in create()
503 void *Storage = static_cast<void *>(&Union); in as()
525 Union; variable

1234