Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPointerUnion.h288 using Union = PointerUnion<PTs...>;
292 static inline Union getEmptyKey() { return Union(FirstInfo::getEmptyKey()); }
294 static inline Union getTombstoneKey() {
295 return Union(FirstInfo::getTombstoneKey());
298 static unsigned getHashValue(const Union &UnionVal) {
303 static bool isEqual(const Union &LHS, const Union &RHS) {
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeUDT.cpp27 Union(std::move(UR)), Tag(&*Union) {} in NativeTypeUDT()
51 if (getUdtKind() != PDB_UdtType::Union) in dump()
106 return Union->getSize(); in getLength()
116 case TypeRecordKind::Union: in getUdtKind()
117 return PDB_UdtType::Union; in getUdtKind()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DTpiHashing.h36 : FullRecordHash(Full), ForwardDeclHash(Forward), Union(std::move(UR)) { in TagRecordHash()
50 return Union; in getRecord()
59 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.h203 Union = 1 << 5, enumerator
212 AnyType = Any | ClassOrStruct | Union | Enum | Typedef | Builtin,
214 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.cpp97 else if (RK == TypeRecordKind::Union) in getRecordName()
641 Error LVTypeVisitor::visitKnownRecord(CVType &Record, UnionRecord &Union) { in visitKnownRecord() argument
643 W.printNumber("MemberCount", Union.getMemberCount()); in visitKnownRecord()
644 printTypeIndex("FieldList", Union.getFieldList(), StreamTPI); in visitKnownRecord()
645 W.printNumber("SizeOf", Union.getSize()); in visitKnownRecord()
646 W.printString("Name", Union.getName()); in visitKnownRecord()
647 if (Union.hasUniqueName()) in visitKnownRecord()
648 W.printString("UniqueName", Union.getUniqueName()); in visitKnownRecord()
652 Shared->NamespaceDeduction.add(Union.getName()); in visitKnownRecord()
653 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.h53 Union = 13, enumerator
H A DAPValue.cpp367 case Union: in APValue()
427 else if (Kind == Union) in DestroyDataAndMakeUninit()
444 case Union: in needsCleanup()
514 case Union: in Profile()
930 case APValue::Union: in printPretty()
1159 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()
412 if (prev->Union(*pos)) in CombinePrevAndNext()
421 if (pos->Union(*next)) in CombinePrevAndNext()
/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/llvm/lib/Transforms/Vectorize/SandboxVectorizer/
H A DDependencyGraph.cpp545 Interval<Instruction> Union = DAGInterval.getUnionInterval(InstrsInterval); in extend() local
546 auto NewInterval = Union.getSingleDiff(DAGInterval); in extend()
640 DAGInterval = Union; in extend()
/freebsd/contrib/llvm-project/clang/include/clang/Index/
H A DIndexSymbol.h36 Union, enumerator
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp1003 SmallSetVector<Metadata *, 4> Union; in uniteAccessGroups() local
1004 addToAccessGroupList(Union, AccGroups1); in uniteAccessGroups()
1005 addToAccessGroupList(Union, AccGroups2); in uniteAccessGroups()
1007 if (Union.size() == 0) in uniteAccessGroups()
1009 if (Union.size() == 1) in uniteAccessGroups()
1010 return cast<MDNode>(Union.front()); in uniteAccessGroups()
1013 return MDNode::get(Ctx, Union.getArrayRef()); in uniteAccessGroups()
/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/clang/include/clang/AST/
H A DAPValue.h141 Union,
476 bool isUnion() const { return Kind == Union; }
739 Kind = Union;

1234