MCPcopy Create free account
hub / github.com/GANGE666/xVMP / getModuleSummaryIndex

Method getModuleSummaryIndex

src/lib/Bitcode/Reader/BitcodeReader.cpp:6102–6109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6100}
6101
6102Expected<std::unique_ptr<ModuleSummaryIndex>>
6103llvm::getModuleSummaryIndex(MemoryBufferRef Buffer) {
6104 Expected<BitcodeModule> BM = getSingleModule(Buffer);
6105 if (!BM)
6106 return BM.takeError();
6107
6108 return BM->getSummary();
6109}
6110
6111Expected<BitcodeLTOInfo> llvm::getBitcodeLTOInfo(MemoryBufferRef Buffer) {
6112 Expected<BitcodeModule> BM = getSingleModule(Buffer);

Callers

nothing calls this directly

Calls 3

getSingleModuleFunction · 0.85
takeErrorMethod · 0.45
getSummaryMethod · 0.45

Tested by

no test coverage detected