Home
last modified time | relevance | path

Searched refs:CVType (Results 1 – 25 of 50) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
H A DRecordName.cpp38 Error visitTypeBegin(CVType &Record) override;
39 Error visitTypeBegin(CVType &Record, TypeIndex Index) override;
40 Error visitTypeEnd(CVType &Record) override;
43 Error visitKnownRecord(CVType &CVR, Name##Record &Record) override;
50 Error TypeNameComputer::visitTypeBegin(CVType &Record) { in visitTypeBegin()
55 Error TypeNameComputer::visitTypeBegin(CVType &Record, TypeIndex Index) { in visitTypeBegin()
62 Error TypeNameComputer::visitTypeEnd(CVType &CVR) { return Error::success(); } in visitTypeEnd()
64 Error TypeNameComputer::visitKnownRecord(CVType &CVR, in visitKnownRecord()
76 Error TypeNameComputer::visitKnownRecord(CVType &CVR, ArgListRecord &Args) { in visitKnownRecord()
92 Error TypeNameComputer::visitKnownRecord(CVType &CVR, in visitKnownRecord()
[all …]
H A DTypeDumpVisitor.cpp169 Error TypeDumpVisitor::visitTypeBegin(CVType &Record) { in visitTypeBegin()
173 Error TypeDumpVisitor::visitTypeBegin(CVType &Record, TypeIndex Index) { in visitTypeBegin()
183 Error TypeDumpVisitor::visitTypeEnd(CVType &Record) { in visitTypeEnd()
210 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
218 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, StringIdRecord &String) { in visitKnownRecord()
224 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, ArgListRecord &Args) { in visitKnownRecord()
235 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, StringListRecord &Strs) { in visitKnownRecord()
246 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, ClassRecord &Class) { in visitKnownRecord()
260 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, UnionRecord &Union) { in visitKnownRecord()
272 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, EnumRecord &Enum) { in visitKnownRecord()
[all …]
H A DTypeRecordMapping.cpp212 Error TypeRecordMapping::visitTypeBegin(CVType &CVR) { in visitTypeBegin()
237 Error TypeRecordMapping::visitTypeBegin(CVType &CVR, TypeIndex Index) { in visitTypeBegin()
244 Error TypeRecordMapping::visitTypeEnd(CVType &Record) { in visitTypeEnd()
294 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, ModifierRecord &Record) { in visitKnownRecord()
303 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, in visitKnownRecord()
319 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, in visitKnownRecord()
338 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, ArgListRecord &Record) { in visitKnownRecord()
348 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, in visitKnownRecord()
360 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, PointerRecord &Record) { in visitKnownRecord()
412 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, ArrayRecord &Record) { in visitKnownRecord()
[all …]
H A DCVTypeVisitor.cpp24 static Error visitKnownRecord(CVType &Record, TypeVisitorCallbacks &Callbacks) { in visitKnownRecord()
77 Error visitTypeRecord(CVType &Record, TypeIndex Index);
78 Error visitTypeRecord(CVType &Record);
89 Error finishVisitation(CVType &Record);
98 Error CVTypeVisitor::finishVisitation(CVType &Record) { in finishVisitation()
123 Error CVTypeVisitor::visitTypeRecord(CVType &Record, TypeIndex Index) { in visitTypeRecord()
130 Error CVTypeVisitor::visitTypeRecord(CVType &Record) { in visitTypeRecord()
161 CVType Type = Types.getType(*I); in visitTypeStream()
218 Error llvm::codeview::visitTypeRecord(CVType &Record, TypeIndex Index, in visitTypeRecord()
225 Error llvm::codeview::visitTypeRecord(CVType &Record, in visitTypeRecord()
H A DContinuationRecordBuilder.cpp71 CVType Type(&Prefix, sizeof(Prefix)); in begin()
149 CVType ContinuationRecordBuilder::createSegmentRecord( in createSegmentRecord()
170 return CVType(Data); in createSegmentRecord()
173 std::vector<CVType> ContinuationRecordBuilder::end(TypeIndex Index) { in end()
175 CVType Type(&Prefix, sizeof(Prefix)); in end()
224 std::vector<CVType> Types; in end()
H A DTypeStreamMerger.cpp106 Error remapType(const CVType &Type);
135 ArrayRef<uint8_t> remapIndices(const CVType &OriginalType,
167 Expected<bool> shouldRemapType(const CVType &Type);
348 return forEachCodeViewRecord<CVType>( in remapAllTypes()
349 Buffer, [this](const CVType &T) { return remapType(T); }); in remapAllTypes()
352 Error TypeStreamMerger::remapType(const CVType &Type) { in remapType()
389 TypeStreamMerger::remapIndices(const CVType &OriginalType, in remapIndices()
481 Expected<bool> TypeStreamMerger::shouldRemapType(const CVType &Type) { in shouldRemapType()
487 if (auto EC = TypeDeserializer::deserializeAs(const_cast<CVType &>(Type), in shouldRemapType()
H A DTypeRecordHelpers.cpp18 template <typename RecordT> static ClassOptions getUdtOptions(CVType CVT) { in getUdtOptions()
27 bool llvm::codeview::isUdtForwardRef(CVType CVT) { in isUdtForwardRef()
47 TypeIndex llvm::codeview::getModifiedType(const CVType &CVT) { in getModifiedType()
H A DTypeTableCollection.cpp37 CVType TypeTableCollection::getType(TypeIndex Index) { in getType()
39 return CVType(Records[Index.toArrayIndex()]); in getType()
62 bool TypeTableCollection::replaceType(TypeIndex &Index, CVType Data, in replaceType()
H A DAppendingTypeTableBuilder.cpp52 CVType AppendingTypeTableBuilder::getType(TypeIndex Index){ in getType()
53 return CVType(SeenRecords[Index.toArrayIndex()]); in getType()
102 bool AppendingTypeTableBuilder::replaceType(TypeIndex &Index, CVType Data, in replaceType()
H A DGlobalTypeTableBuilder.cpp54 CVType GlobalTypeTableBuilder::getType(TypeIndex Index) { in getType()
55 CVType Type(SeenRecords[Index.toArrayIndex()]); in getType()
115 bool GlobalTypeTableBuilder::replaceType(TypeIndex &Index, CVType Data, in replaceType()
H A DMergingTypeTableBuilder.cpp54 CVType MergingTypeTableBuilder::getType(TypeIndex Index) { in getType()
55 CVType Type(SeenRecords[Index.toArrayIndex()]); in getType()
127 bool MergingTypeTableBuilder::replaceType(TypeIndex &Index, CVType Data, in replaceType()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp221 Error MinimalTypeDumpVisitor::visitTypeBegin(CVType &Record, TypeIndex Index) { in visitTypeBegin()
258 Error MinimalTypeDumpVisitor::visitTypeEnd(CVType &Record) { in visitTypeEnd()
286 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
294 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
300 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
315 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
330 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
344 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
357 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, EnumRecord &Enum) { in visitKnownRecord()
369 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, ArrayRecord &AT) { in visitKnownRecord()
[all …]
H A DMinimalTypeDumper.h37 Error visitTypeBegin(codeview::CVType &Record,
39 Error visitTypeEnd(codeview::CVType &Record) override;
44 Error visitKnownRecord(codeview::CVType &CVR, \
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
H A DTpiHashing.cpp43 static Expected<uint32_t> getHashForUdt(const CVType &Rec) { in getHashForUdt()
45 if (auto E = TypeDeserializer::deserializeAs(const_cast<CVType &>(Rec), in getHashForUdt()
52 static Expected<TagRecordHash> getTagRecordHashForUdt(const CVType &Rec) { in getTagRecordHashForUdt()
54 if (auto E = TypeDeserializer::deserializeAs(const_cast<CVType &>(Rec), in getTagRecordHashForUdt()
78 static Expected<uint32_t> getSourceLineHash(const CVType &Rec) { in getSourceLineHash()
80 if (auto E = TypeDeserializer::deserializeAs(const_cast<CVType &>(Rec), in getSourceLineHash()
88 Expected<TagRecordHash> llvm::pdb::hashTagRecord(const codeview::CVType &Type) { in hashTagRecord()
105 Expected<uint32_t> llvm::pdb::hashTypeRecord(const CVType &Rec) { in hashTypeRecord()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeDeserializer.h42 template <typename T> static Error deserializeAs(CVType &CVT, T &Record) { in deserializeAs()
61 CVType CVT(Data); in deserializeAs()
67 Error visitTypeBegin(CVType &Record) override { in visitTypeBegin()
73 Error visitTypeBegin(CVType &Record, TypeIndex Index) override { in visitTypeBegin()
77 Error visitTypeEnd(CVType &Record) override { in visitTypeEnd()
85 Error visitKnownRecord(CVType &CVR, Name##Record &Record) override { \
95 Error visitKnownRecordImpl(CVType &CVR, RecordType &Record) { in visitKnownRecordImpl()
115 CVType FieldList(&Pre, sizeof(Pre)); in FieldListDeserializer()
121 CVType FieldList(&Pre, sizeof(Pre)); in ~FieldListDeserializer()
H A DTypeVisitorCallbacks.h23 virtual Error visitUnknownType(CVType &Record) { return Error::success(); } in visitUnknownType()
31 virtual Error visitTypeBegin(CVType &Record) { return Error::success(); } in visitTypeBegin()
32 virtual Error visitTypeBegin(CVType &Record, TypeIndex Index) { in visitTypeBegin()
35 virtual Error visitTypeEnd(CVType &Record) { return Error::success(); } in visitTypeEnd()
50 virtual Error visitKnownRecord(CVType &CVR, Name##Record &Record) { \
H A DTypeDumpVisitor.h43 Error visitUnknownType(CVType &Record) override;
48 Error visitTypeBegin(CVType &Record) override;
49 Error visitTypeBegin(CVType &Record, TypeIndex Index) override;
50 Error visitTypeEnd(CVType &Record) override;
55 Error visitKnownRecord(CVType &CVR, Name##Record &Record) override;
H A DTypeVisitorCallbackPipeline.h41 Error visitTypeBegin(CVType &Record) override { in visitTypeBegin()
49 Error visitTypeBegin(CVType &Record, TypeIndex Index) override { in visitTypeBegin()
57 Error visitTypeEnd(CVType &Record) override { in visitTypeEnd()
86 Error visitKnownRecord(CVType &CVR, Name##Record &Record) override { \
99 template <typename T> Error visitKnownRecordImpl(CVType &CVR, T &Record) { in visitKnownRecordImpl()
H A DTypeRecordMapping.h30 Error visitTypeBegin(CVType &Record) override;
31 Error visitTypeBegin(CVType &Record, TypeIndex Index) override;
32 Error visitTypeEnd(CVType &Record) override;
38 Error visitKnownRecord(CVType &CVR, Name##Record &Record) override;
H A DLazyRandomTypeCollection.h53 CVType Type;
72 Optional<CVType> tryGetType(TypeIndex Index);
74 CVType getType(TypeIndex Index) override;
81 bool replaceType(TypeIndex &Index, CVType Data, bool Stabilize) override;
H A DTypeRecordHelpers.h21 bool isUdtForwardRef(CVType CVT);
25 TypeIndex getModifiedType(const CVType &CVT);
H A DContinuationRecordBuilder.h44 CVType createSegmentRecord(uint32_t OffBegin, uint32_t OffEnd,
58 std::vector<CVType> end(TypeIndex Index);
H A DTypeIndexDiscovery.h28 void discoverTypeIndices(const CVType &Type,
30 void discoverTypeIndices(const CVType &Type,
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/
H A DTpiStreamBuilder.h28 template <> struct BinaryItemTraits<llvm::codeview::CVType> {
29 static size_t length(const codeview::CVType &Item) { return Item.length(); }
30 static ArrayRef<uint8_t> bytes(const codeview::CVType &Item) {
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp85 virtual CVType toCodeViewRecord(AppendingTypeTableBuilder &TS) const = 0;
86 virtual Error fromCodeViewRecord(CVType Type) = 0;
95 Error fromCodeViewRecord(CVType Type) override { in fromCodeViewRecord()
99 CVType toCodeViewRecord(AppendingTypeTableBuilder &TS) const override { in toCodeViewRecord()
101 return CVType(TS.records().back()); in toCodeViewRecord()
111 CVType toCodeViewRecord(AppendingTypeTableBuilder &TS) const override;
112 Error fromCodeViewRecord(CVType Type) override;
491 Error LeafRecordImpl<FieldListRecord>::fromCodeViewRecord(CVType Type) { in fromCodeViewRecord()
496 CVType LeafRecordImpl<FieldListRecord>::toCodeViewRecord( in toCodeViewRecord()
504 return CVType(TS.records().back()); in toCodeViewRecord()
[all …]

12