Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/unittests/DebugInfo/MSF/
DMSFBuilderTest.cpp91 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/
DMSFCommon.cpp62 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/
DMSFCommon.cpp62 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/
DGSIStreamBuilder.cpp63 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 …]
DInfoStreamBuilder.cpp25 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()
DTpiStreamBuilder.cpp34 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()
DPDBFileBuilder.cpp45 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()
DDbiStreamBuilder.cpp27 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()
DDbiModuleDescriptorBuilder.cpp41 msf::MSFBuilder &Msf) in DbiModuleDescriptorBuilder() argument
42 : MSF(Msf), ModuleName(ModuleName) { in DbiModuleDescriptorBuilder()
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DInfoStreamBuilder.cpp25 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()
DPDBFileBuilder.cpp44 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()
DTpiStreamBuilder.cpp35 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()
DGSIStreamBuilder.cpp285 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()
DDbiStreamBuilder.cpp27 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()
DDbiModuleDescriptorBuilder.cpp41 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/
DInfoStreamBuilder.h32 InfoStreamBuilder(msf::MSFBuilder &Msf, NamedStreamMap &NamedStreams);
61 msf::MSFBuilder &Msf;
DGSIStreamBuilder.h44 explicit GSIStreamBuilder(msf::MSFBuilder &Msf);
73 msf::MSFBuilder &Msf;
DTpiStreamBuilder.h49 explicit TpiStreamBuilder(msf::MSFBuilder &Msf, uint32_t StreamIdx);
71 msf::MSFBuilder &Msf;
DDbiStreamBuilder.h45 DbiStreamBuilder(msf::MSFBuilder &Msf);
109 msf::MSFBuilder &Msf; variable
DDbiModuleDescriptorBuilder.h42 msf::MSFBuilder &Msf);
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
DInfoStreamBuilder.h32 InfoStreamBuilder(msf::MSFBuilder &Msf, NamedStreamMap &NamedStreams);
61 msf::MSFBuilder &Msf;
DTpiStreamBuilder.h49 explicit TpiStreamBuilder(msf::MSFBuilder &Msf, uint32_t StreamIdx);
75 msf::MSFBuilder &Msf;
DGSIStreamBuilder.h47 explicit GSIStreamBuilder(msf::MSFBuilder &Msf);
87 msf::MSFBuilder &Msf;
DDbiStreamBuilder.h45 DbiStreamBuilder(msf::MSFBuilder &Msf);
107 msf::MSFBuilder &Msf; variable
DDbiModuleDescriptorBuilder.h42 msf::MSFBuilder &Msf);

12