/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/MSF/ |
D | MSFBuilderTest.cpp | 92 auto &Msf = *ExpectedMsf; in TEST_F() local 94 EXPECT_THAT_EXPECTED(Msf.addStream(Blocks.size() * 4096, Blocks), in TEST_F() 98 EXPECT_FALSE(Msf.isBlockFree(B)); in TEST_F() 103 EXPECT_TRUE(Msf.isBlockFree(I)); in TEST_F() 113 auto &Msf = *ExpectedMsf; in TEST_F() local 115 auto ExpectedL1 = Msf.generateLayout(); in TEST_F() 147 auto &Msf = *ExpectedMsf; in TEST_F() local 149 EXPECT_THAT_EXPECTED(Msf.addStream(4096 * 4096 / sizeof(uint32_t)), in TEST_F() 152 auto ExpectedL1 = Msf.generateLayout(); in TEST_F() 164 auto &Msf = *ExpectedMsf; in TEST_F() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/MSF/ |
D | MSFCommon.cpp | 63 MSFStreamLayout llvm::msf::getFpmStreamLayout(const MSFLayout &Msf, in getFpmStreamLayout() argument 68 getNumFpmIntervals(Msf, IncludeUnusedFpmData, AltFpm); in getFpmStreamLayout() 70 uint32_t FpmBlock = AltFpm ? Msf.alternateFpmBlock() : Msf.mainFpmBlock(); in getFpmStreamLayout() 74 FpmBlock += msf::getFpmIntervalLength(Msf); in getFpmStreamLayout() 78 FL.Length = NumFpmIntervals * Msf.SB->BlockSize; in getFpmStreamLayout() 80 FL.Length = divideCeil(Msf.SB->NumBlocks, 8); in getFpmStreamLayout()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/ |
D | GSIStreamBuilder.cpp | 43 template <typename T> void addSymbol(const T &Symbol, MSFBuilder &Msf) { in addSymbol() 45 Records.push_back(SymbolSerializer::writeOneSymbol(Copy, Msf.getAllocator(), in addSymbol() 158 GSIStreamBuilder::GSIStreamBuilder(msf::MSFBuilder &Msf) in GSIStreamBuilder() argument 159 : Msf(Msf), PSH(llvm::make_unique<GSIHashStreamBuilder>()), in GSIStreamBuilder() 186 Expected<uint32_t> Idx = Msf.addStream(calculateGlobalsHashStreamSize()); in finalizeMsfLayout() 190 Idx = Msf.addStream(calculatePublicsHashStreamSize()); in finalizeMsfLayout() 198 Idx = Msf.addStream(RecordBytes); in finalizeMsfLayout() 261 PSH->addSymbol(Pub, Msf); in addPublicSymbol() 265 GSH->addSymbol(Sym, Msf); in addGlobalSymbol() 269 GSH->addSymbol(Sym, Msf); in addGlobalSymbol() [all …]
|
D | InfoStreamBuilder.cpp | 26 InfoStreamBuilder::InfoStreamBuilder(msf::MSFBuilder &Msf, in InfoStreamBuilder() argument 28 : Msf(Msf), Ver(PdbRaw_ImplVer::PdbImplVC70), Age(0), in InfoStreamBuilder() 49 if (auto EC = Msf.setStreamSize(StreamPDB, Length)) in finalizeMsfLayout() 57 Layout, Buffer, StreamPDB, Msf.getAllocator()); 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() 116 if (auto EC = Msf.setStreamSize(Idx, Length)) in finalizeMsfLayout() 125 auto ExpectedIndex = Msf.addStream(HashStreamSize); in finalizeMsfLayout()
|
D | PDBFileBuilder.cpp | 46 Msf = llvm::make_unique<MSFBuilder>(std::move(*ExpectedMsf)); in initialize() 50 MSFBuilder &PDBFileBuilder::getMsfBuilder() { return *Msf; } in getMsfBuilder() 54 Info = llvm::make_unique<InfoStreamBuilder>(*Msf, NamedStreams); in getInfoBuilder() 60 Dbi = llvm::make_unique<DbiStreamBuilder>(*Msf); in getDbiBuilder() 66 Tpi = llvm::make_unique<TpiStreamBuilder>(*Msf, StreamTPI); in getTpiBuilder() 72 Ipi = llvm::make_unique<TpiStreamBuilder>(*Msf, StreamIPI); in getIpiBuilder() 82 Gsi = llvm::make_unique<GSIStreamBuilder>(*Msf); in getGsiBuilder() 88 auto ExpectedStream = Msf->addStream(Size); in allocateNamedStream() 271 auto ExpectedMsfBuffer = 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() 100 llvm::make_unique<DbiModuleDescriptorBuilder>(ModuleName, Index, Msf)); in addModuleInfo() 278 auto ExpectedIndex = Msf.addStream(S->Data.size()); in finalizeMsfLayout() 290 if (auto EC = Msf.setStreamSize(StreamDBI, Length)) in finalizeMsfLayout()
|
D | DbiModuleDescriptorBuilder.cpp | 43 msf::MSFBuilder &Msf) in DbiModuleDescriptorBuilder() argument 44 : MSF(Msf), ModuleName(ModuleName) { in DbiModuleDescriptorBuilder()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/PDB/Native/ |
D | InfoStreamBuilder.h | 33 InfoStreamBuilder(msf::MSFBuilder &Msf, NamedStreamMap &NamedStreams); 55 msf::MSFBuilder &Msf;
|
D | GSIStreamBuilder.h | 45 explicit GSIStreamBuilder(msf::MSFBuilder &Msf); 75 msf::MSFBuilder &Msf;
|
D | TpiStreamBuilder.h | 50 explicit TpiStreamBuilder(msf::MSFBuilder &Msf, uint32_t StreamIdx); 72 msf::MSFBuilder &Msf;
|
D | DbiStreamBuilder.h | 41 DbiStreamBuilder(msf::MSFBuilder &Msf); 102 msf::MSFBuilder &Msf; variable
|
D | DbiModuleDescriptorBuilder.h | 43 msf::MSFBuilder &Msf);
|
D | PDBFileBuilder.h | 90 std::unique_ptr<msf::MSFBuilder> Msf; variable
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/MSF/ |
D | MSFCommon.h | 87 MSFStreamLayout getFpmStreamLayout(const MSFLayout &Msf,
|