/external/llvm-project/llvm/unittests/DebugInfo/MSF/ |
D | MSFBuilderTest.cpp | 91 auto &Msf = *ExpectedMsf; in TEST_F() local 93 EXPECT_THAT_EXPECTED(Msf.addStream(Blocks.size() * 4096, Blocks), in TEST_F() 97 EXPECT_FALSE(Msf.isBlockFree(B)); in TEST_F() 102 EXPECT_TRUE(Msf.isBlockFree(I)); in TEST_F() 112 auto &Msf = *ExpectedMsf; in TEST_F() local 114 auto ExpectedL1 = Msf.generateLayout(); in TEST_F() 146 auto &Msf = *ExpectedMsf; in TEST_F() local 148 EXPECT_THAT_EXPECTED(Msf.addStream(4096 * 4096 / sizeof(uint32_t)), in TEST_F() 151 auto ExpectedL1 = Msf.generateLayout(); in TEST_F() 163 auto &Msf = *ExpectedMsf; in TEST_F() local [all …]
|
/external/llvm-project/llvm/lib/DebugInfo/MSF/ |
D | MSFCommon.cpp | 62 MSFStreamLayout llvm::msf::getFpmStreamLayout(const MSFLayout &Msf, in getFpmStreamLayout() argument 67 getNumFpmIntervals(Msf, IncludeUnusedFpmData, AltFpm); in getFpmStreamLayout() 69 uint32_t FpmBlock = AltFpm ? Msf.alternateFpmBlock() : Msf.mainFpmBlock(); in getFpmStreamLayout() 73 FpmBlock += msf::getFpmIntervalLength(Msf); in getFpmStreamLayout() 77 FL.Length = NumFpmIntervals * Msf.SB->BlockSize; in getFpmStreamLayout() 79 FL.Length = divideCeil(Msf.SB->NumBlocks, 8); in getFpmStreamLayout()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/ |
D | MSFCommon.cpp | 62 MSFStreamLayout llvm::msf::getFpmStreamLayout(const MSFLayout &Msf, in getFpmStreamLayout() argument 67 getNumFpmIntervals(Msf, IncludeUnusedFpmData, AltFpm); in getFpmStreamLayout() 69 uint32_t FpmBlock = AltFpm ? Msf.alternateFpmBlock() : Msf.mainFpmBlock(); in getFpmStreamLayout() 73 FpmBlock += msf::getFpmIntervalLength(Msf); in getFpmStreamLayout() 77 FL.Length = NumFpmIntervals * Msf.SB->BlockSize; in getFpmStreamLayout() 79 FL.Length = divideCeil(Msf.SB->NumBlocks, 8); in getFpmStreamLayout()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | GSIStreamBuilder.cpp | 63 template <typename T> void addSymbol(const T &Symbol, MSFBuilder &Msf) { in addSymbol() 65 addSymbol(SymbolSerializer::writeOneSymbol(Copy, Msf.getAllocator(), in addSymbol() 185 GSIStreamBuilder::GSIStreamBuilder(msf::MSFBuilder &Msf) in GSIStreamBuilder() argument 186 : Msf(Msf), PSH(std::make_unique<GSIHashStreamBuilder>()), in GSIStreamBuilder() 213 Expected<uint32_t> Idx = Msf.addStream(calculateGlobalsHashStreamSize()); in finalizeMsfLayout() 217 Idx = Msf.addStream(calculatePublicsHashStreamSize()); in finalizeMsfLayout() 225 Idx = Msf.addStream(RecordBytes); in finalizeMsfLayout() 287 PSH->addSymbol(Pub, Msf); in addPublicSymbol() 291 GSH->addSymbol(Sym, Msf); in addGlobalSymbol() 295 GSH->addSymbol(Sym, Msf); in addGlobalSymbol() [all …]
|
D | InfoStreamBuilder.cpp | 25 InfoStreamBuilder::InfoStreamBuilder(msf::MSFBuilder &Msf, in InfoStreamBuilder() argument 27 : Msf(Msf), Ver(PdbRaw_ImplVer::PdbImplVC70), Age(0), in InfoStreamBuilder() 53 if (auto EC = Msf.setStreamSize(StreamPDB, Length)) in finalizeMsfLayout() 61 Layout, Buffer, StreamPDB, Msf.getAllocator()); in commit()
|
D | TpiStreamBuilder.cpp | 34 TpiStreamBuilder::TpiStreamBuilder(MSFBuilder &Msf, uint32_t StreamIdx) in TpiStreamBuilder() argument 35 : Msf(Msf), Allocator(Msf.getAllocator()), Header(nullptr), Idx(StreamIdx) { in TpiStreamBuilder() 115 if (auto EC = Msf.setStreamSize(Idx, Length)) in finalizeMsfLayout() 124 auto ExpectedIndex = Msf.addStream(HashStreamSize); in finalizeMsfLayout()
|
D | PDBFileBuilder.cpp | 45 Msf = std::make_unique<MSFBuilder>(std::move(*ExpectedMsf)); in initialize() 49 MSFBuilder &PDBFileBuilder::getMsfBuilder() { return *Msf; } in getMsfBuilder() 53 Info = std::make_unique<InfoStreamBuilder>(*Msf, NamedStreams); in getInfoBuilder() 59 Dbi = std::make_unique<DbiStreamBuilder>(*Msf); in getDbiBuilder() 65 Tpi = std::make_unique<TpiStreamBuilder>(*Msf, StreamTPI); in getTpiBuilder() 71 Ipi = std::make_unique<TpiStreamBuilder>(*Msf, StreamIPI); in getIpiBuilder() 81 Gsi = std::make_unique<GSIStreamBuilder>(*Msf); in getGsiBuilder() 87 auto ExpectedStream = Msf->addStream(Size); in allocateNamedStream() 271 Msf->commit(Filename, Layout); in commit()
|
D | DbiStreamBuilder.cpp | 27 DbiStreamBuilder::DbiStreamBuilder(msf::MSFBuilder &Msf) in DbiStreamBuilder() argument 28 : Msf(Msf), Allocator(Msf.getAllocator()), Age(1), BuildNumber(0), in DbiStreamBuilder() 117 std::make_unique<DbiModuleDescriptorBuilder>(ModuleName, Index, Msf)); in addModuleInfo() 315 auto ExpectedIndex = Msf.addStream(S->Size); in finalizeMsfLayout() 327 if (auto EC = Msf.setStreamSize(StreamDBI, Length)) in finalizeMsfLayout()
|
D | DbiModuleDescriptorBuilder.cpp | 41 msf::MSFBuilder &Msf) in DbiModuleDescriptorBuilder() argument 42 : MSF(Msf), ModuleName(ModuleName) { in DbiModuleDescriptorBuilder()
|
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
D | InfoStreamBuilder.cpp | 25 InfoStreamBuilder::InfoStreamBuilder(msf::MSFBuilder &Msf, in InfoStreamBuilder() argument 27 : Msf(Msf), Ver(PdbRaw_ImplVer::PdbImplVC70), Age(0), in InfoStreamBuilder() 53 if (auto EC = Msf.setStreamSize(StreamPDB, Length)) in finalizeMsfLayout() 61 Layout, Buffer, StreamPDB, Msf.getAllocator()); in commit()
|
D | PDBFileBuilder.cpp | 44 Msf = std::make_unique<MSFBuilder>(std::move(*ExpectedMsf)); in initialize() 48 MSFBuilder &PDBFileBuilder::getMsfBuilder() { return *Msf; } in getMsfBuilder() 52 Info = std::make_unique<InfoStreamBuilder>(*Msf, NamedStreams); in getInfoBuilder() 58 Dbi = std::make_unique<DbiStreamBuilder>(*Msf); in getDbiBuilder() 64 Tpi = std::make_unique<TpiStreamBuilder>(*Msf, StreamTPI); in getTpiBuilder() 70 Ipi = std::make_unique<TpiStreamBuilder>(*Msf, StreamIPI); in getIpiBuilder() 80 Gsi = std::make_unique<GSIStreamBuilder>(*Msf); in getGsiBuilder() 86 auto ExpectedStream = Msf->addStream(Size); in allocateNamedStream() 270 Msf->commit(Filename, Layout); in commit()
|
D | TpiStreamBuilder.cpp | 35 TpiStreamBuilder::TpiStreamBuilder(MSFBuilder &Msf, uint32_t StreamIdx) in TpiStreamBuilder() argument 36 : Msf(Msf), Allocator(Msf.getAllocator()), Header(nullptr), Idx(StreamIdx) { in TpiStreamBuilder() 148 if (auto EC = Msf.setStreamSize(Idx, Length)) in finalizeMsfLayout() 157 auto ExpectedIndex = Msf.addStream(HashStreamSize); in finalizeMsfLayout()
|
D | GSIStreamBuilder.cpp | 285 GSIStreamBuilder::GSIStreamBuilder(msf::MSFBuilder &Msf) in GSIStreamBuilder() argument 286 : Msf(Msf), PSH(std::make_unique<GSIHashStreamBuilder>()), in GSIStreamBuilder() 310 Expected<uint32_t> Idx = Msf.addStream(calculateGlobalsHashStreamSize()); in finalizeMsfLayout() 315 Idx = Msf.addStream(calculatePublicsHashStreamSize()); in finalizeMsfLayout() 322 Idx = Msf.addStream(RecordBytes); in finalizeMsfLayout() 365 addGlobalSymbol(SymbolSerializer::writeOneSymbol(Copy, Msf.getAllocator(), in serializeAndAddGlobal() 481 Layout, Buffer, getGlobalsStreamIndex(), Msf.getAllocator()); in commit() 483 Layout, Buffer, getPublicsStreamIndex(), Msf.getAllocator()); in commit() 485 Layout, Buffer, getRecordStreamIndex(), Msf.getAllocator()); in commit()
|
D | DbiStreamBuilder.cpp | 27 DbiStreamBuilder::DbiStreamBuilder(msf::MSFBuilder &Msf) in DbiStreamBuilder() argument 28 : Msf(Msf), Allocator(Msf.getAllocator()), Age(1), BuildNumber(0), in DbiStreamBuilder() 113 std::make_unique<DbiModuleDescriptorBuilder>(ModuleName, Index, Msf)); in addModuleInfo() 311 auto ExpectedIndex = Msf.addStream(S->Size); in finalizeMsfLayout() 323 if (auto EC = Msf.setStreamSize(StreamDBI, Length)) in finalizeMsfLayout()
|
D | DbiModuleDescriptorBuilder.cpp | 41 msf::MSFBuilder &Msf) in DbiModuleDescriptorBuilder() argument 42 : MSF(Msf), ModuleName(std::string(ModuleName)) { in DbiModuleDescriptorBuilder()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/ |
D | InfoStreamBuilder.h | 32 InfoStreamBuilder(msf::MSFBuilder &Msf, NamedStreamMap &NamedStreams); 61 msf::MSFBuilder &Msf;
|
D | GSIStreamBuilder.h | 44 explicit GSIStreamBuilder(msf::MSFBuilder &Msf); 73 msf::MSFBuilder &Msf;
|
D | TpiStreamBuilder.h | 49 explicit TpiStreamBuilder(msf::MSFBuilder &Msf, uint32_t StreamIdx); 71 msf::MSFBuilder &Msf;
|
D | DbiStreamBuilder.h | 45 DbiStreamBuilder(msf::MSFBuilder &Msf); 109 msf::MSFBuilder &Msf; variable
|
D | DbiModuleDescriptorBuilder.h | 42 msf::MSFBuilder &Msf);
|
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
D | InfoStreamBuilder.h | 32 InfoStreamBuilder(msf::MSFBuilder &Msf, NamedStreamMap &NamedStreams); 61 msf::MSFBuilder &Msf;
|
D | TpiStreamBuilder.h | 49 explicit TpiStreamBuilder(msf::MSFBuilder &Msf, uint32_t StreamIdx); 75 msf::MSFBuilder &Msf;
|
D | GSIStreamBuilder.h | 47 explicit GSIStreamBuilder(msf::MSFBuilder &Msf); 87 msf::MSFBuilder &Msf;
|
D | DbiStreamBuilder.h | 45 DbiStreamBuilder(msf::MSFBuilder &Msf); 107 msf::MSFBuilder &Msf; variable
|
D | DbiModuleDescriptorBuilder.h | 42 msf::MSFBuilder &Msf);
|