Home
last modified time | relevance | path

Searched refs:Tpi (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DAnalyze.cpp50 explicit HashLookupVisitor(TpiStream &Tpi) : Tpi(Tpi) {} in HashLookupVisitor()
53 uint32_t H = Tpi.getHashValues()[I]; in visitTypeBegin()
63 TpiStream &Tpi; member
70 auto Tpi = File.getPDBTpiStream(); in dump() local
71 if (!Tpi) in dump()
72 return Tpi.takeError(); in dump()
74 HashLookupVisitor Hasher(*Tpi); in dump()
76 uint32_t RecordCount = Tpi->getNumTypeRecords(); in dump()
77 auto Offsets = Tpi->getTypeIndexOffsets(); in dump()
79 Tpi->typeArray(), RecordCount, Offsets); in dump()
[all …]
DStreamUtil.cpp72 auto Tpi = File.getPDBTpiStream(); in discoverStreamPurposes() local
120 else if (Tpi && StreamIdx == Tpi->getTypeHashStreamIndex()) in discoverStreamPurposes()
123 else if (Tpi && StreamIdx == Tpi->getTypeHashStreamAuxIndex()) in discoverStreamPurposes()
189 if (!Tpi) in discoverStreamPurposes()
190 consumeError(Tpi.takeError()); in discoverStreamPurposes()
DBytesOutputStyle.cpp454 auto Tpi = (StreamIdx == StreamTPI) ? File.getPDBTpiStream() in initializeTypes() local
456 if (!Tpi) in initializeTypes()
457 return Tpi.takeError(); in initializeTypes()
459 auto &Types = Tpi->typeArray(); in initializeTypes()
460 uint32_t Count = Tpi->getNumTypeRecords(); in initializeTypes()
461 auto Offsets = Tpi->getTypeIndexOffsets(); in initializeTypes()
Dllvm-pdbutil.cpp766 const auto &Tpi = YamlObj.TpiStream.getValueOr(DefaultTpiStream); in yamlToPdb() local
767 TpiBuilder.setVersionHeader(Tpi.Version); in yamlToPdb()
769 for (const auto &R : Tpi.Records) { in yamlToPdb()
1180 auto &Tpi = ExitOnErr(File.getPDBTpiStream()); in mergePdbs() local
1182 codeview::mergeTypeRecords(MergedTpi, TypeMap, Tpi.typeArray())); in mergePdbs()
/external/llvm/tools/llvm-pdbdump/
DLLVMOutputStyle.cpp121 auto Tpi = File.getPDBTpiStream(); in dumpStreamSummary() local
162 else if (Tpi && StreamIdx == Tpi->getTypeHashStreamIndex()) in dumpStreamSummary()
164 else if (Tpi && StreamIdx == Tpi->getTypeHashStreamAuxIndex()) in dumpStreamSummary()
225 if (!Tpi) in dumpStreamSummary()
226 consumeError(Tpi.takeError()); in dumpStreamSummary()
341 static void dumpTpiHash(ScopedPrinter &P, TpiStream &Tpi) { in dumpTpiHash() argument
345 P.printNumber("Number of Hash Buckets", Tpi.NumHashBuckets()); in dumpTpiHash()
346 P.printNumber("Hash Key Size", Tpi.getHashKeySize()); in dumpTpiHash()
347 P.printList("Values", Tpi.getHashValues()); in dumpTpiHash()
348 P.printList("Type Index Offsets", Tpi.getTypeIndexOffsets(), in dumpTpiHash()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
DNativeSession.cpp113 auto Tpi = Pdb->getPDBTpiStream(); in createTypeEnumerator() local
114 if (!Tpi) { in createTypeEnumerator()
115 consumeError(Tpi.takeError()); in createTypeEnumerator()
118 auto &Types = Tpi->typeCollection(); in createTypeEnumerator()
151 auto Tpi = Pdb->getPDBTpiStream(); in findSymbolByTypeIndex() local
152 if (!Tpi) { in findSymbolByTypeIndex()
153 consumeError(Tpi.takeError()); in findSymbolByTypeIndex()
156 auto &Types = Tpi->typeCollection(); in findSymbolByTypeIndex()
DPDBFileBuilder.cpp65 if (!Tpi) in getTpiBuilder()
66 Tpi = llvm::make_unique<TpiStreamBuilder>(*Msf, StreamTPI); in getTpiBuilder()
67 return *Tpi; in getTpiBuilder()
151 if (Tpi) { in finalizeMsfLayout()
152 if (auto EC = Tpi->finalizeMsfLayout()) in finalizeMsfLayout()
307 if (Tpi) { in commit()
308 if (auto EC = Tpi->commit(Layout, Buffer)) in commit()
DPDBFile.cpp301 if (!Tpi) { in getPDBTpiStream()
308 Tpi = std::move(TempTpi); in getPDBTpiStream()
310 return *Tpi; in getPDBTpiStream()
/external/llvm/lib/DebugInfo/PDB/Raw/
DPDBFile.cpp203 if (!Tpi) { in getPDBTpiStream()
210 Tpi = std::move(TempTpi); in getPDBTpiStream()
212 return *Tpi; in getPDBTpiStream()
389 if (Tpi) { in commit()
390 if (auto EC = Tpi->commit()) in commit()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/PDB/Native/
DPDBFileBuilder.h94 std::unique_ptr<TpiStreamBuilder> Tpi; variable
DPDBFile.h133 std::unique_ptr<TpiStream> Tpi; variable
/external/llvm/include/llvm/DebugInfo/PDB/Raw/
DPDBFile.h137 std::unique_ptr<TpiStream> Tpi; variable