Home
last modified time | relevance | path

Searched refs:ModuleSummaryIndex (Results 1 – 25 of 69) 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-10.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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DFunctionImport.h108 FunctionImporter(const ModuleSummaryIndex &Index, ModuleLoaderTy ModuleLoader) in FunctionImporter()
116 const ModuleSummaryIndex &Index;
141 const ModuleSummaryIndex &Index,
151 StringRef ModulePath, const ModuleSummaryIndex &Index,
160 StringRef ModulePath, const ModuleSummaryIndex &Index,
174 ModuleSummaryIndex &Index,
181 ModuleSummaryIndex &Index,
DLowerTypeTests.h28 class ModuleSummaryIndex; variable
202 ModuleSummaryIndex *ExportSummary;
203 const ModuleSummaryIndex *ImportSummary;
204 LowerTypeTestsPass(ModuleSummaryIndex *ExportSummary, in LowerTypeTestsPass()
205 const ModuleSummaryIndex *ImportSummary) in LowerTypeTestsPass()
DWholeProgramDevirt.h32 class ModuleSummaryIndex; variable
224 ModuleSummaryIndex *ExportSummary;
225 const ModuleSummaryIndex *ImportSummary;
226 WholeProgramDevirtPass(ModuleSummaryIndex *ExportSummary, in WholeProgramDevirtPass()
227 const ModuleSummaryIndex *ImportSummary) in WholeProgramDevirtPass()
247 ModuleSummaryIndex &Summary, std::set<GlobalValue::GUID> &ExportedGUIDs,
253 ModuleSummaryIndex &Summary,
/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-10.0/llvm/include/llvm/Analysis/
DModuleSummaryAnalysis.h35 ModuleSummaryIndex buildModuleSummaryIndex(
48 using Result = ModuleSummaryIndex;
55 Optional<ModuleSummaryIndex> Index;
63 ModuleSummaryIndex &getIndex() { return *Index; } in getIndex()
64 const ModuleSummaryIndex &getIndex() const { return *Index; } in getIndex()
/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-10.0/llvm/include/llvm/Transforms/
DIPO.h25 class ModuleSummaryIndex; variable
243 ModulePass *createLowerTypeTestsPass(ModuleSummaryIndex *ExportSummary,
244 const ModuleSummaryIndex *ImportSummary);
260 createWholeProgramDevirtPass(ModuleSummaryIndex *ExportSummary,
261 const ModuleSummaryIndex *ImportSummary);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/AsmParser/
DParser.h23 class ModuleSummaryIndex; variable
74 std::unique_ptr<ModuleSummaryIndex> Index;
107 std::unique_ptr<ModuleSummaryIndex>
151 std::unique_ptr<ModuleSummaryIndex>
170 bool parseAssemblyInto(MemoryBufferRef F, Module *M, ModuleSummaryIndex *Index,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DFunctionImportUtils.h30 const ModuleSummaryIndex &ImportIndex;
89 Module &M, const ModuleSummaryIndex &Index,
113 Module &M, const ModuleSummaryIndex &Index,
117 void computeSyntheticCounts(ModuleSummaryIndex &Index);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/
DThinLTOCodeGenerator.h247 std::unique_ptr<ModuleSummaryIndex> linkCombinedIndex();
254 void promote(Module &Module, ModuleSummaryIndex &Index,
261 ModuleSummaryIndex &Index,
268 void crossModuleImport(Module &Module, ModuleSummaryIndex &Index,
275 Module &Module, ModuleSummaryIndex &Index,
282 void internalize(Module &Module, ModuleSummaryIndex &Index,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DParser.cpp26 ModuleSummaryIndex *Index, SMDiagnostic &Err, in parseAssemblyInto()
75 std::unique_ptr<ModuleSummaryIndex> Index = in parseAssemblyWithIndex()
76 std::make_unique<ModuleSummaryIndex>(/*HaveGVs=*/true); in parseAssemblyWithIndex()
111 ModuleSummaryIndex &Index, in parseSummaryIndexAssemblyInto()
123 std::unique_ptr<ModuleSummaryIndex>
125 std::unique_ptr<ModuleSummaryIndex> Index = in parseSummaryIndexAssembly()
126 std::make_unique<ModuleSummaryIndex>(/*HaveGVs=*/false); in parseSummaryIndexAssembly()
134 std::unique_ptr<ModuleSummaryIndex>
/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/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/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DModuleSummaryIndex.cpp69 constexpr uint64_t ModuleSummaryIndex::BitcodeSummaryVersion;
73 void ModuleSummaryIndex::collectDefinedFunctionsForModule( in collectDefinedFunctionsForModule()
91 ModuleSummaryIndex::getGlobalValueSummary(uint64_t ValueGUID, in getGlobalValueSummary()
101 bool ModuleSummaryIndex::isGUIDLive(GlobalValue::GUID GUID) const { in isGUIDLive()
163 void ModuleSummaryIndex::propagateAttributes( in propagateAttributes()
207 bool ModuleSummaryIndex::canImportGlobalVar(GlobalValueSummary *S, in canImportGlobalVar()
241 void ModuleSummaryIndex::dumpSCCs(raw_ostream &O) { in dumpSCCs()
242 for (scc_iterator<ModuleSummaryIndex *> I = in dumpSCCs()
243 scc_begin<ModuleSummaryIndex *>(this); in dumpSCCs()
408 void ModuleSummaryIndex::exportToDot( 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-10.0/llvm/lib/Transforms/IPO/
DFunctionImport.cpp177 selectCallee(const ModuleSummaryIndex &Index, in selectCallee()
270 updateValueInfoForIndirectCalls(const ModuleSummaryIndex &Index, ValueInfo VI) { in updateValueInfoForIndirectCalls()
285 const FunctionSummary &Summary, const ModuleSummaryIndex &Index, in computeImportForReferencedGlobals()
363 const FunctionSummary &Summary, const ModuleSummaryIndex &Index, in computeImportForFunction()
539 const GVSummaryMapTy &DefinedGVSummaries, const ModuleSummaryIndex &Index, in ComputeImportForModule()
607 static bool isGlobalVarSummary(const ModuleSummaryIndex &Index, ValueInfo VI) { in isGlobalVarSummary()
614 static bool isGlobalVarSummary(const ModuleSummaryIndex &Index, in isGlobalVarSummary()
622 static unsigned numGlobalVarSummaries(const ModuleSummaryIndex &Index, in numGlobalVarSummaries()
634 checkVariableImport(const ModuleSummaryIndex &Index, in checkVariableImport()
667 const ModuleSummaryIndex &Index, in ComputeCrossModuleImport()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DSummaryBasedOptimizations.cpp28 static void initializeCounts(ModuleSummaryIndex &Index) { in initializeCounts()
45 void llvm::computeSyntheticCounts(ModuleSummaryIndex &Index) { in computeSyntheticCounts()
83 SyntheticCountsUtils<ModuleSummaryIndex *>::propagate(&Index, GetProfileCount, in computeSyntheticCounts()
DThinLTOCodeGenerator.cpp130 const ModuleSummaryIndex &Index, in computePrevailingCopies()
154 static void promoteModule(Module &TheModule, const ModuleSummaryIndex &Index) { in promoteModule()
206 crossImportIntoModule(Module &TheModule, const ModuleSummaryIndex &Index, in crossImportIntoModule()
231 ModuleSummaryIndex *Index) { in optimizeModule()
315 StringRef CachePath, const ModuleSummaryIndex &Index, StringRef ModuleID, in ModuleCacheEntry()
400 ProcessThinLTOModule(Module &TheModule, ModuleSummaryIndex &Index, in ProcessThinLTOModule()
465 ModuleSummaryIndex &Index, in resolvePrevailingInIndex()
566 std::unique_ptr<ModuleSummaryIndex> ThinLTOCodeGenerator::linkCombinedIndex() { in linkCombinedIndex()
567 std::unique_ptr<ModuleSummaryIndex> CombinedIndex = in linkCombinedIndex()
568 std::make_unique<ModuleSummaryIndex>(/*HaveGVs=*/false); in linkCombinedIndex()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/
DSummaryBasedOptimizations.h12 class ModuleSummaryIndex; variable
13 void computeSyntheticCounts(ModuleSummaryIndex &Index);

123