Home
last modified time | relevance | path

Searched refs:ModuleSummaryIndex (Results 1 – 25 of 71) sorted by relevance

123

/external/llvm/include/llvm/Object/
DModuleSummaryIndexObjectFile.h21 class ModuleSummaryIndex; variable
32 std::unique_ptr<ModuleSummaryIndex> Index;
36 std::unique_ptr<ModuleSummaryIndex> I);
62 const ModuleSummaryIndex &getIndex() const { in getIndex()
65 ModuleSummaryIndex &getIndex() { return *Index; } in getIndex()
66 std::unique_ptr<ModuleSummaryIndex> takeIndex();
99 ErrorOr<std::unique_ptr<ModuleSummaryIndex>> getModuleSummaryIndexForFile(
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/
DBitcodeWriter.h90 const ModuleSummaryIndex *Index = nullptr,
100 void writeThinLinkBitcode(const Module &M, const ModuleSummaryIndex &Index,
104 const ModuleSummaryIndex *Index,
131 const ModuleSummaryIndex *Index = nullptr,
143 const ModuleSummaryIndex &Index,
151 void WriteIndexToFile(const ModuleSummaryIndex &Index, raw_ostream &Out,
DBitcodeReader.h110 Expected<std::unique_ptr<ModuleSummaryIndex>> getSummary();
114 Error readSummary(ModuleSummaryIndex &CombinedIndex, StringRef ModulePath,
173 Expected<std::unique_ptr<ModuleSummaryIndex>>
178 ModuleSummaryIndex &CombinedIndex,
185 Expected<std::unique_ptr<ModuleSummaryIndex>>
/external/llvm/lib/IR/
DModuleSummaryIndex.cpp21 void ModuleSummaryIndex::mergeFrom(std::unique_ptr<ModuleSummaryIndex> Other, in mergeFrom()
56 void ModuleSummaryIndex::removeEmptySummaryEntries() { in removeEmptySummaryEntries()
70 void ModuleSummaryIndex::collectDefinedFunctionsForModule( in collectDefinedFunctionsForModule()
88 void ModuleSummaryIndex::collectDefinedGVSummariesPerModule( in collectDefinedGVSummariesPerModule()
99 ModuleSummaryIndex::getGlobalValueSummary(uint64_t ValueGUID, in getGlobalValueSummary()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DModuleSummaryAnalysis.h36 ModuleSummaryIndex buildModuleSummaryIndex(
49 using Result = ModuleSummaryIndex;
56 Optional<ModuleSummaryIndex> Index;
64 ModuleSummaryIndex &getIndex() { return *Index; } in getIndex()
65 const ModuleSummaryIndex &getIndex() const { return *Index; } in getIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/IPO/
DFunctionImport.h61 FunctionImporter(const ModuleSummaryIndex &Index, ModuleLoaderTy ModuleLoader) in FunctionImporter()
69 const ModuleSummaryIndex &Index;
94 const ModuleSummaryIndex &Index,
104 StringRef ModulePath, const ModuleSummaryIndex &Index,
113 StringRef ModulePath, const ModuleSummaryIndex &Index,
127 ModuleSummaryIndex &Index,
DLowerTypeTests.h29 class ModuleSummaryIndex; variable
201 ModuleSummaryIndex *ExportSummary;
202 const ModuleSummaryIndex *ImportSummary;
203 LowerTypeTestsPass(ModuleSummaryIndex *ExportSummary, in LowerTypeTestsPass()
204 const ModuleSummaryIndex *ImportSummary) in LowerTypeTestsPass()
DWholeProgramDevirt.h31 class ModuleSummaryIndex; variable
222 ModuleSummaryIndex *ExportSummary;
223 const ModuleSummaryIndex *ImportSummary;
224 WholeProgramDevirtPass(ModuleSummaryIndex *ExportSummary, in WholeProgramDevirtPass()
225 const ModuleSummaryIndex *ImportSummary) in WholeProgramDevirtPass()
DPassManagerBuilder.h24 class ModuleSummaryIndex; variable
138 ModuleSummaryIndex *ExportSummary = nullptr;
143 const ModuleSummaryIndex *ImportSummary = nullptr;
/external/llvm/include/llvm/Analysis/
DModuleSummaryAnalysis.h29 std::unique_ptr<ModuleSummaryIndex> Index;
44 ModuleSummaryIndex &getIndex() const { return *Index; } in getIndex()
47 std::unique_ptr<ModuleSummaryIndex> takeIndex() { return std::move(Index); } in takeIndex()
68 ModuleSummaryIndex &getIndex() { return IndexBuilder->getIndex(); } in getIndex()
69 const ModuleSummaryIndex &getIndex() const { in getIndex()
/external/llvm/include/llvm/LTO/legacy/
DThinLTOCodeGenerator.h198 std::unique_ptr<ModuleSummaryIndex> linkCombinedIndex();
205 void promote(Module &Module, ModuleSummaryIndex &Index);
211 ModuleSummaryIndex &Index);
217 void crossModuleImport(Module &Module, ModuleSummaryIndex &Index);
223 StringRef ModulePath, ModuleSummaryIndex &Index,
229 void internalize(Module &Module, ModuleSummaryIndex &Index);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/
DIPO.h26 class ModuleSummaryIndex; variable
235 ModulePass *createLowerTypeTestsPass(ModuleSummaryIndex *ExportSummary,
236 const ModuleSummaryIndex *ImportSummary);
252 createWholeProgramDevirtPass(ModuleSummaryIndex *ExportSummary,
253 const ModuleSummaryIndex *ImportSummary);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/AsmParser/
DParser.h24 class ModuleSummaryIndex; variable
75 std::unique_ptr<ModuleSummaryIndex> Index;
108 std::unique_ptr<ModuleSummaryIndex>
152 std::unique_ptr<ModuleSummaryIndex>
171 bool parseAssemblyInto(MemoryBufferRef F, Module *M, ModuleSummaryIndex *Index,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/LTO/legacy/
DThinLTOCodeGenerator.h264 std::unique_ptr<ModuleSummaryIndex> linkCombinedIndex();
271 void promote(Module &Module, ModuleSummaryIndex &Index);
277 ModuleSummaryIndex &Index);
283 void crossModuleImport(Module &Module, ModuleSummaryIndex &Index);
289 StringRef ModulePath, ModuleSummaryIndex &Index,
295 void internalize(Module &Module, ModuleSummaryIndex &Index);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DParser.cpp27 ModuleSummaryIndex *Index, SMDiagnostic &Err, in parseAssemblyInto()
76 std::unique_ptr<ModuleSummaryIndex> Index = in parseAssemblyWithIndex()
77 make_unique<ModuleSummaryIndex>(/*HaveGVs=*/true); in parseAssemblyWithIndex()
112 ModuleSummaryIndex &Index, in parseSummaryIndexAssemblyInto()
124 std::unique_ptr<ModuleSummaryIndex>
126 std::unique_ptr<ModuleSummaryIndex> Index = in parseSummaryIndexAssembly()
127 make_unique<ModuleSummaryIndex>(/*HaveGVs=*/false); in parseSummaryIndexAssembly()
135 std::unique_ptr<ModuleSummaryIndex>
/external/llvm/lib/Transforms/IPO/
DFunctionImport.cpp108 static bool canBeExternallyReferenced(const ModuleSummaryIndex &Index, in canBeExternallyReferenced()
126 static bool eligibleForImport(const ModuleSummaryIndex &Index, in eligibleForImport()
165 selectCallee(const ModuleSummaryIndex &Index, in selectCallee()
206 const ModuleSummaryIndex &Index) { in selectCallee()
216 static void exportGlobalInModule(const ModuleSummaryIndex &Index, in exportGlobalInModule()
266 const FunctionSummary &Summary, const ModuleSummaryIndex &Index, in computeImportForFunction()
337 const GVSummaryMapTy &DefinedGVSummaries, const ModuleSummaryIndex &Index, in ComputeImportForModule()
378 const ModuleSummaryIndex &Index, in ComputeCrossModuleImport()
411 StringRef ModulePath, const ModuleSummaryIndex &Index, in ComputeCrossModuleImportForModule()
533 ModuleSummaryIndex::getOriginalNameBeforePromote(GV.getName()); in thinLTOInternalizeModule()
[all …]
/external/llvm/include/llvm/Transforms/IPO/
DFunctionImport.h47 const ModuleSummaryIndex &Index, in FunctionImporter()
60 const ModuleSummaryIndex &Index;
79 const ModuleSummaryIndex &Index,
89 StringRef ModulePath, const ModuleSummaryIndex &Index,
/external/llvm/lib/Object/
DModuleSummaryIndexObjectFile.cpp26 MemoryBufferRef Object, std::unique_ptr<ModuleSummaryIndex> I) in ModuleSummaryIndexObjectFile()
32 std::unique_ptr<ModuleSummaryIndex> ModuleSummaryIndexObjectFile::takeIndex() { in takeIndex()
89 std::unique_ptr<ModuleSummaryIndex> Index; in create()
95 ErrorOr<std::unique_ptr<ModuleSummaryIndex>> IOrErr = in create()
109 ErrorOr<std::unique_ptr<ModuleSummaryIndex>> llvm::getModuleSummaryIndexForFile( in getModuleSummaryIndexForFile()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DModuleSummaryIndex.cpp35 void ModuleSummaryIndex::collectDefinedFunctionsForModule( in collectDefinedFunctionsForModule()
53 void ModuleSummaryIndex::collectDefinedGVSummariesPerModule( in collectDefinedGVSummariesPerModule()
64 ModuleSummaryIndex::getGlobalValueSummary(uint64_t ValueGUID, in getGlobalValueSummary()
74 bool ModuleSummaryIndex::isGUIDLive(GlobalValue::GUID GUID) const { in isGUIDLive()
90 void ModuleSummaryIndex::dumpSCCs(raw_ostream &O) { in dumpSCCs()
91 for (scc_iterator<ModuleSummaryIndex *> I = in dumpSCCs()
92 scc_begin<ModuleSummaryIndex *>(this); in dumpSCCs()
230 void ModuleSummaryIndex::exportToDot(raw_ostream& OS) const { in exportToDot()
/external/llvm/include/llvm/Transforms/Utils/
DFunctionImportUtils.h31 const ModuleSummaryIndex &ImportIndex;
74 Module &M, const ModuleSummaryIndex &Index,
95 Module &M, const ModuleSummaryIndex &Index,
/external/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp118 const ModuleSummaryIndex &Index, in computePrevailingCopies()
142 static void promoteModule(Module &TheModule, const ModuleSummaryIndex &Index) { in promoteModule()
148 crossImportIntoModule(Module &TheModule, const ModuleSummaryIndex &Index, in crossImportIntoModule()
227 StringRef CachePath, const ModuleSummaryIndex &Index, StringRef ModuleID, in ModuleCacheEntry()
331 ProcessThinLTOModule(Module &TheModule, ModuleSummaryIndex &Index, in ProcessThinLTOModule()
395 ModuleSummaryIndex &Index, in resolveWeakForLinkerInIndex()
489 std::unique_ptr<ModuleSummaryIndex> ThinLTOCodeGenerator::linkCombinedIndex() { in linkCombinedIndex()
490 std::unique_ptr<ModuleSummaryIndex> CombinedIndex; in linkCombinedIndex()
517 ModuleSummaryIndex &Index) { in promote()
544 ModuleSummaryIndex &Index) { in crossModuleImport()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp123 const ModuleSummaryIndex &Index, in computePrevailingCopies()
148 static void promoteModule(Module &TheModule, const ModuleSummaryIndex &Index) { in promoteModule()
199 crossImportIntoModule(Module &TheModule, const ModuleSummaryIndex &Index, in crossImportIntoModule()
296 StringRef CachePath, const ModuleSummaryIndex &Index, StringRef ModuleID, in ModuleCacheEntry()
443 ProcessThinLTOModule(Module &TheModule, ModuleSummaryIndex &Index, in ProcessThinLTOModule()
508 ModuleSummaryIndex &Index, in resolveWeakForLinkerInIndex()
608 std::unique_ptr<ModuleSummaryIndex> ThinLTOCodeGenerator::linkCombinedIndex() { in linkCombinedIndex()
609 std::unique_ptr<ModuleSummaryIndex> CombinedIndex = in linkCombinedIndex()
610 llvm::make_unique<ModuleSummaryIndex>(/*HaveGVs=*/false); in linkCombinedIndex()
628 ModuleSummaryIndex &Index) { in internalizeAndPromoteInIndex()
[all …]
DLTOBackend.cpp103 CombinedIndexHook = [=](const ModuleSummaryIndex &Index) { in addSaveTemps()
148 ModuleSummaryIndex *ExportSummary, in runNewPMPasses()
149 const ModuleSummaryIndex *ImportSummary) { in runNewPMPasses()
252 bool IsThinLTO, ModuleSummaryIndex *ExportSummary, in runOldPMPasses()
253 const ModuleSummaryIndex *ImportSummary) { in runOldPMPasses()
278 bool IsThinLTO, ModuleSummaryIndex *ExportSummary, in opt()
279 const ModuleSummaryIndex *ImportSummary) { in opt()
406 ModuleSummaryIndex &CombinedIndex) { in backend()
436 const ModuleSummaryIndex &Index) { in dropDeadSymbols()
457 Module &Mod, const ModuleSummaryIndex &CombinedIndex, in thinBackend()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DFunctionImportUtils.h31 const ModuleSummaryIndex &ImportIndex;
87 Module &M, const ModuleSummaryIndex &Index,
114 Module &M, const ModuleSummaryIndex &Index,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DFunctionImport.cpp164 selectCallee(const ModuleSummaryIndex &Index, in selectCallee()
232 updateValueInfoForIndirectCalls(const ModuleSummaryIndex &Index, ValueInfo VI) { in updateValueInfoForIndirectCalls()
276 const FunctionSummary &Summary, const ModuleSummaryIndex &Index, in computeImportForFunction()
422 const GVSummaryMapTy &DefinedGVSummaries, const ModuleSummaryIndex &Index, in ComputeImportForModule()
466 static bool isGlobalVarSummary(const ModuleSummaryIndex &Index, in isGlobalVarSummary()
479 static unsigned numGlobalVarSummaries(const ModuleSummaryIndex &Index, in numGlobalVarSummaries()
491 const ModuleSummaryIndex &Index, in ComputeCrossModuleImport()
544 static void dumpImportListForModule(const ModuleSummaryIndex &Index, in dumpImportListForModule()
562 StringRef ModulePath, const ModuleSummaryIndex &Index, in ComputeCrossModuleImportForModule()
581 StringRef ModulePath, const ModuleSummaryIndex &Index, in ComputeCrossModuleImportForModuleFromIndex()
[all …]

123