Home
last modified time | relevance | path

Searched refs:TypeLeafKind (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecordHelpers.h29 inline bool isIdRecord(TypeLeafKind K) { in isIdRecord()
31 case TypeLeafKind::LF_FUNC_ID: in isIdRecord()
32 case TypeLeafKind::LF_MFUNC_ID: in isIdRecord()
33 case TypeLeafKind::LF_STRING_ID: in isIdRecord()
34 case TypeLeafKind::LF_SUBSTR_LIST: in isIdRecord()
35 case TypeLeafKind::LF_BUILDINFO: in isIdRecord()
36 case TypeLeafKind::LF_UDT_SRC_LINE: in isIdRecord()
37 case TypeLeafKind::LF_UDT_MOD_SRC_LINE: in isIdRecord()
H A DTypeRecordMapping.h49 std::optional<TypeLeafKind> TypeKind;
50 std::optional<TypeLeafKind> MemberKind;
H A DTypeDeserializer.h114 RecordPrefix Pre(static_cast<uint16_t>(TypeLeafKind::LF_FIELDLIST)); in FieldListDeserializer()
120 RecordPrefix Pre(static_cast<uint16_t>(TypeLeafKind::LF_FIELDLIST)); in ~FieldListDeserializer()
H A DCVTypeVisitor.h41 Error visitMemberRecord(TypeLeafKind Kind, ArrayRef<uint8_t> Record,
H A DEnumTables.h22 ArrayRef<EnumEntry<TypeLeafKind>> getTypeLeafNames();
H A DTypeVisitorCallbackPipeline.h25 Error visitUnknownType(CVRecord<TypeLeafKind> &Record) override { in visitUnknownType()
H A DCVRecord.h64 using CVType = CVRecord<TypeLeafKind>;
H A DCodeView.h34 enum TypeLeafKind : uint16_t { enum
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeIndexDiscovery.cpp214 TypeLeafKind Kind = in handleFieldList()
215 static_cast<TypeLeafKind>(support::endian::read16le(Content.data())); in handleFieldList()
274 static void discoverTypeIndices(ArrayRef<uint8_t> Content, TypeLeafKind Kind, in discoverTypeIndices()
281 case TypeLeafKind::LF_FUNC_ID: in discoverTypeIndices()
285 case TypeLeafKind::LF_MFUNC_ID: in discoverTypeIndices()
288 case TypeLeafKind::LF_STRING_ID: in discoverTypeIndices()
291 case TypeLeafKind::LF_SUBSTR_LIST: in discoverTypeIndices()
296 case TypeLeafKind::LF_BUILDINFO: in discoverTypeIndices()
301 case TypeLeafKind::LF_UDT_SRC_LINE: in discoverTypeIndices()
305 case TypeLeafKind in discoverTypeIndices()
[all...]
H A DContinuationRecordBuilder.cpp8 ulittle16_t Kind{uint16_t(TypeLeafKind::LF_INDEX)};
14 SegmentInjection(TypeLeafKind Kind) { Prefix.RecordKind = Kind; } in SegmentInjection()
34 static SegmentInjection InjectFieldList(TypeLeafKind::LF_FIELDLIST);
35 static SegmentInjection InjectMethodOverloadList(TypeLeafKind::LF_METHODLIST);
41 static inline TypeLeafKind getTypeLeafKind(ContinuationRecordKind CK) { in getTypeLeafKind()
83 CVMR.Kind = static_cast<TypeLeafKind>(Record.getKind()); in writeMemberType()
165 assert(CR->Kind == TypeLeafKind::LF_INDEX); in createSegmentRecord()
H A DTypeRecordMapping.cpp44 static const EnumEntry<TypeLeafKind> LeafTypeNames[] = {
49 static StringRef getLeafTypeName(TypeLeafKind LT) { in getLeafTypeName()
240 if (CVR.kind() != TypeLeafKind::LF_FIELDLIST && in visitTypeBegin()
241 CVR.kind() != TypeLeafKind::LF_METHODLIST) in visitTypeBegin()
441 assert((CVR.kind() == TypeLeafKind::LF_STRUCTURE) || in visitKnownRecord()
442 (CVR.kind() == TypeLeafKind::LF_CLASS) || in visitKnownRecord()
443 (CVR.kind() == TypeLeafKind::LF_INTERFACE)); in visitKnownRecord()
H A DCVTypeVisitor.cpp171 TypeLeafKind Leaf; in visitFieldListMemberStream()
262 Error llvm::codeview::visitMemberRecord(TypeLeafKind Kind, in visitMemberRecord()
H A DEnumTables.cpp28 static const EnumEntry<TypeLeafKind> TypeLeafNames[] = {
462 ArrayRef<EnumEntry<TypeLeafKind>> getTypeLeafNames() { in getTypeLeafNames()
H A DTypeDumpVisitor.cpp24 static const EnumEntry<TypeLeafKind> LeafTypeNames[] = {
151 static StringRef getLeafTypeName(TypeLeafKind LT) { in getLeafTypeName()
H A DRecordName.cpp74 Error TypeNameComputer::visitKnownRecord(CVRecord<TypeLeafKind> &CVR, in visitKnownRecord()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumTypes.cpp27 std::vector<codeview::TypeLeafKind> Kinds) in NativeEnumTypes()
32 TypeLeafKind K = CVT.kind(); in NativeEnumTypes()
37 } else if (K == TypeLeafKind::LF_MODIFIER) { in NativeEnumTypes()
H A DFormatUtil.cpp116 std::string llvm::pdb::formatTypeLeafKind(TypeLeafKind K) { in formatTypeLeafKind()
H A DSymbolCache.cpp89 SymbolCache::createTypeEnumerator(TypeLeafKind Kind) { in createTypeEnumerator()
90 return createTypeEnumerator(std::vector<TypeLeafKind>{Kind}); in createTypeEnumerator()
94 SymbolCache::createTypeEnumerator(std::vector<TypeLeafKind> Kinds) { in createTypeEnumerator()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp53 LLVM_YAML_DECLARE_ENUM_TRAITS(TypeLeafKind)
79 TypeLeafKind Kind;
81 explicit LeafRecordBase(TypeLeafKind K) : Kind(K) {} in LeafRecordBase()
90 explicit LeafRecordImpl(TypeLeafKind K) in LeafRecordImpl()
108 explicit LeafRecordImpl(TypeLeafKind K) : LeafRecordBase(K) {} in LeafRecordImpl()
118 TypeLeafKind Kind;
120 explicit MemberRecordBase(TypeLeafKind K) : Kind(K) {} in MemberRecordBase()
128 explicit MemberRecordImpl(TypeLeafKind K) in MemberRecordImpl()
198 void ScalarEnumerationTraits<TypeLeafKind>::enumeration(IO &io, in enumeration()
199 TypeLeafKind &Value) { in enumeration()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp78 static const EnumEntry<TypeLeafKind> LeafTypeNames[] = {
128 using RecordEntry = std::pair<TypeLeafKind, LVElement *>;
140 void add(uint32_t StreamIdx, TypeIndex TI, TypeLeafKind Kind,
305 using LVTypeKinds = std::set<TypeLeafKind>;
336 void LVTypeRecords::add(uint32_t StreamIdx, TypeIndex TI, TypeLeafKind Kind, in add()
1854 ? (uint32_t)(TypeLeafKind)TIElementType.getSimpleKind() in visitKnownRecord()
2776 if (LVElement *MemberFunction = createElement(TypeLeafKind::LF_ONEMETHOD)) { in visitKnownMember()
2945 TypeLeafKind Leaf; in visitFieldListMemberStream()
2982 LVElement *LVLogicalVisitor::createElement(TypeLeafKind Kind) { in createElement()
2998 case TypeLeafKind::LF_ENUMERATE: in createElement()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DSymbolCache.h146 createTypeEnumerator(codeview::TypeLeafKind Kind);
149 createTypeEnumerator(std::vector<codeview::TypeLeafKind> Kinds);
H A DNativeEnumTypes.h31 std::vector<codeview::TypeLeafKind> Kinds);
H A DFormatUtil.h61 std::string formatTypeLeafKind(codeview::TypeLeafKind K);
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbUtil.h110 llvm::pdb::PDB_SymType CVTypeToPDBType(llvm::codeview::TypeLeafKind kind);
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.h312 LVElement *createElement(TypeLeafKind Kind);
314 LVElement *createElement(TypeIndex TI, TypeLeafKind Kind);

12