| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ModuleSummaryAnalysis.h | 36 ModuleSummaryIndex buildModuleSummaryIndex( 51 using Result = ModuleSummaryIndex; 58 Optional<ModuleSummaryIndex> Index; 66 ModuleSummaryIndex &getIndex() { return *Index; } in getIndex() 67 const ModuleSummaryIndex &getIndex() const { return *Index; } in getIndex() 83 const ModuleSummaryIndex *Index; 89 const ModuleSummaryIndex *Index = nullptr); 90 const ModuleSummaryIndex *getIndex() const { return Index; } in getIndex() 100 createImmutableModuleSummaryIndexWrapperPass(const ModuleSummaryIndex *Index);
|
| H A D | StackSafetyAnalysis.h | 55 getParamAccesses(ModuleSummaryIndex &Index) const; 65 const ModuleSummaryIndex *Index = nullptr; 73 const ModuleSummaryIndex *Index); 169 void generateParamAccessSummary(ModuleSummaryIndex &Index);
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/ |
| H A D | FunctionImport.h | 108 FunctionImporter(const ModuleSummaryIndex &Index, ModuleLoaderTy ModuleLoader, in FunctionImporter() 118 const ModuleSummaryIndex &Index; 147 const ModuleSummaryIndex &Index, 157 StringRef ModulePath, const ModuleSummaryIndex &Index, 166 StringRef ModulePath, const ModuleSummaryIndex &Index, 178 void updateIndirectCalls(ModuleSummaryIndex &Index); 188 ModuleSummaryIndex &Index, 195 ModuleSummaryIndex &Index,
|
| H A D | LowerTypeTests.h | 28 class ModuleSummaryIndex; variable 203 ModuleSummaryIndex *ExportSummary = nullptr; 204 const ModuleSummaryIndex *ImportSummary = nullptr; 209 LowerTypeTestsPass(ModuleSummaryIndex *ExportSummary, 210 const ModuleSummaryIndex *ImportSummary,
|
| H A D | WholeProgramDevirt.h | 33 class ModuleSummaryIndex; variable 225 ModuleSummaryIndex *ExportSummary; 226 const ModuleSummaryIndex *ImportSummary; 230 WholeProgramDevirtPass(ModuleSummaryIndex *ExportSummary, in WholeProgramDevirtPass() 231 const ModuleSummaryIndex *ImportSummary) in WholeProgramDevirtPass() 249 ModuleSummaryIndex &Index, bool WholeProgramVisibilityEnabledInLTO, 260 ModuleSummaryIndex &Summary, std::set<GlobalValue::GUID> &ExportedGUIDs, 266 ModuleSummaryIndex &Summary,
|
| H A D | PassManagerBuilder.h | 23 class ModuleSummaryIndex; variable 148 ModuleSummaryIndex *ExportSummary = nullptr; 153 const ModuleSummaryIndex *ImportSummary = nullptr;
|
| H A D | FunctionAttrs.h | 26 class ModuleSummaryIndex; variable 38 ModuleSummaryIndex &Index,
|
| /llvm-project-15.0.7/llvm/include/llvm/Bitcode/ |
| H A D | BitcodeWriter.h | 90 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,
|
| H A D | BitcodeReader.h | 33 class ModuleSummaryIndex; variable 116 Expected<std::unique_ptr<ModuleSummaryIndex>> getSummary(); 120 Error readSummary(ModuleSummaryIndex &CombinedIndex, StringRef ModulePath, 182 Expected<std::unique_ptr<ModuleSummaryIndex>> 187 ModuleSummaryIndex &CombinedIndex, 194 Expected<std::unique_ptr<ModuleSummaryIndex>>
|
| /llvm-project-15.0.7/llvm/include/llvm/LTO/ |
| H A D | LTOBackend.h | 38 bool IsThinLTO, ModuleSummaryIndex *ExportSummary, 39 const ModuleSummaryIndex *ImportSummary, 46 ModuleSummaryIndex &CombinedIndex); 55 Module &M, const ModuleSummaryIndex &CombinedIndex, 73 bool initImportList(const Module &M, const ModuleSummaryIndex &CombinedIndex,
|
| H A D | SummaryBasedOptimizations.h | 12 class ModuleSummaryIndex; variable 15 void computeSyntheticCounts(ModuleSummaryIndex &Index);
|
| H A D | LTO.h | 47 const lto::Config &C, ModuleSummaryIndex &Index, 58 ModuleSummaryIndex &Index, 68 const ModuleSummaryIndex &Index, StringRef ModuleID, 194 const Config &C, ModuleSummaryIndex &CombinedIndex, 321 ModuleSummaryIndex CombinedIndex;
|
| /llvm-project-15.0.7/llvm/include/llvm/AsmParser/ |
| H A D | Parser.h | 28 class ModuleSummaryIndex; variable 71 std::unique_ptr<ModuleSummaryIndex> Index; 105 std::unique_ptr<ModuleSummaryIndex> 139 std::unique_ptr<ModuleSummaryIndex> 156 MemoryBufferRef F, Module *M, ModuleSummaryIndex *Index, SMDiagnostic &Err,
|
| /llvm-project-15.0.7/llvm/lib/AsmParser/ |
| H A D | Parser.cpp | 24 ModuleSummaryIndex *Index, SMDiagnostic &Err, in parseAssemblyInto() 38 ModuleSummaryIndex *Index, SMDiagnostic &Err, in parseAssemblyInto() 80 std::unique_ptr<ModuleSummaryIndex> Index = in parseAssemblyWithIndex() 81 std::make_unique<ModuleSummaryIndex>(/*HaveGVs=*/true); in parseAssemblyWithIndex() 143 ModuleSummaryIndex &Index, in parseSummaryIndexAssemblyInto() 156 std::unique_ptr<ModuleSummaryIndex> 158 std::unique_ptr<ModuleSummaryIndex> Index = in parseSummaryIndexAssembly() 159 std::make_unique<ModuleSummaryIndex>(/*HaveGVs=*/false); in parseSummaryIndexAssembly() 167 std::unique_ptr<ModuleSummaryIndex>
|
| /llvm-project-15.0.7/llvm/include/llvm/LTO/legacy/ |
| H A D | ThinLTOCodeGenerator.h | 249 std::unique_ptr<ModuleSummaryIndex> linkCombinedIndex(); 256 void promote(Module &Module, ModuleSummaryIndex &Index, 263 ModuleSummaryIndex &Index, 270 void crossModuleImport(Module &Module, ModuleSummaryIndex &Index, 277 Module &Module, ModuleSummaryIndex &Index, 284 void internalize(Module &Module, ModuleSummaryIndex &Index,
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ModuleSummaryIndex.cpp | 90 constexpr uint64_t ModuleSummaryIndex::BitcodeSummaryVersion; 92 uint64_t ModuleSummaryIndex::getFlags() const { in getFlags() 113 void ModuleSummaryIndex::setFlags(uint64_t Flags) { in setFlags() 152 void ModuleSummaryIndex::collectDefinedFunctionsForModule( in collectDefinedFunctionsForModule() 170 ModuleSummaryIndex::getGlobalValueSummary(uint64_t ValueGUID, in getGlobalValueSummary() 180 bool ModuleSummaryIndex::isGUIDLive(GlobalValue::GUID GUID) const { in isGUIDLive() 250 void ModuleSummaryIndex::propagateAttributes( in propagateAttributes() 355 void ModuleSummaryIndex::dumpSCCs(raw_ostream &O) { in dumpSCCs() 356 for (scc_iterator<ModuleSummaryIndex *> I = in dumpSCCs() 357 scc_begin<ModuleSummaryIndex *>(this); in dumpSCCs() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | FunctionImportUtils.h | 30 const ModuleSummaryIndex &ImportIndex; 101 FunctionImportGlobalProcessing(Module &M, const ModuleSummaryIndex &Index, in FunctionImportGlobalProcessing() 129 Module &M, const ModuleSummaryIndex &Index,
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | FunctionImport.cpp | 173 selectCallee(const ModuleSummaryIndex &Index, in selectCallee() 601 static bool isGlobalVarSummary(const ModuleSummaryIndex &Index, in isGlobalVarSummary() 621 checkVariableImport(const ModuleSummaryIndex &Index, in checkVariableImport() 654 const ModuleSummaryIndex &Index, in ComputeCrossModuleImport() 762 StringRef ModulePath, const ModuleSummaryIndex &Index, in ComputeCrossModuleImportForModule() 781 StringRef ModulePath, const ModuleSummaryIndex &Index, in ComputeCrossModuleImportForModuleFromIndex() 808 void updateValueInfoForIndirectCalls(ModuleSummaryIndex &Index, in updateValueInfoForIndirectCalls() 838 void llvm::updateIndirectCalls(ModuleSummaryIndex &Index) { in updateIndirectCalls() 848 ModuleSummaryIndex &Index, in computeDeadSymbolsAndUpdateIndirectCalls() 964 ModuleSummaryIndex &Index, in computeDeadSymbolsWithConstProp() [all …]
|
| H A D | WholeProgramDevirt.cpp | 548 ModuleSummaryIndex *ExportSummary; 549 const ModuleSummaryIndex *ImportSummary; 585 ModuleSummaryIndex *ExportSummary, in DevirtModule() 586 const ModuleSummaryIndex *ImportSummary) in DevirtModule() 716 ModuleSummaryIndex &ExportSummary; 730 ModuleSummaryIndex &ExportSummary, in DevirtIndex() 862 ModuleSummaryIndex &Summary, in updateIndexWPDForExports() 908 std::unique_ptr<ModuleSummaryIndex> Summary = in runForTesting() 995 ModuleSummaryIndex *ExportSummary) { in tryFindVirtualCallTargets() 1204 ModuleSummaryIndex *ExportSummary, in trySingleImplDevirt() [all …]
|
| /llvm-project-15.0.7/llvm/lib/LTO/ |
| H A D | SummaryBasedOptimizations.cpp | 30 static void initializeCounts(ModuleSummaryIndex &Index) { in initializeCounts() 47 void llvm::computeSyntheticCounts(ModuleSummaryIndex &Index) { in computeSyntheticCounts() 85 SyntheticCountsUtils<ModuleSummaryIndex *>::propagate(&Index, GetProfileCount, in computeSyntheticCounts()
|
| H A D | LTOBackend.cpp | 132 [=](const ModuleSummaryIndex &Index, in addSaveTemps() 232 ModuleSummaryIndex *ExportSummary, in runNewPMPasses() 233 const ModuleSummaryIndex *ImportSummary) { in runNewPMPasses() 334 bool IsThinLTO, ModuleSummaryIndex *ExportSummary, in opt() 335 const ModuleSummaryIndex *ImportSummary, in opt() 362 const ModuleSummaryIndex &CombinedIndex) { in codegen() 420 const ModuleSummaryIndex &CombinedIndex) { in splitCodeGen() 495 ModuleSummaryIndex &CombinedIndex) { in backend() 519 const ModuleSummaryIndex &Index) { in dropDeadSymbols() 540 Module &Mod, const ModuleSummaryIndex &CombinedIndex, in thinBackend() [all …]
|
| H A D | ThinLTOCodeGenerator.cpp | 136 const ModuleSummaryIndex &Index, in computePrevailingCopies() 213 crossImportIntoModule(Module &TheModule, const ModuleSummaryIndex &Index, in crossImportIntoModule() 445 ProcessThinLTOModule(Module &TheModule, ModuleSummaryIndex &Index, in ProcessThinLTOModule() 525 ModuleSummaryIndex &Index, in resolvePrevailingInIndex() 632 std::unique_ptr<ModuleSummaryIndex> CombinedIndex = in linkCombinedIndex() 633 std::make_unique<ModuleSummaryIndex>(/*HaveGVs=*/false); in linkCombinedIndex() 682 ModuleSummaryIndex &Index, in computeDeadSymbolsInIndex() 749 ModuleSummaryIndex &Index, in crossModuleImport() 783 Module &TheModule, ModuleSummaryIndex &Index, in gatherImportedSummariesForModule() 817 ModuleSummaryIndex &Index, in emitImports() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ModuleSummaryAnalysis.cpp | 89 static bool findRefEdges(ModuleSummaryIndex &Index, const User *CurUser, in findRefEdges() 250 ModuleSummaryIndex &Index, const Module &M, const Function &F, in computeFunctionSummary() 562 static void computeVTableFuncs(ModuleSummaryIndex &Index, in computeVTableFuncs() 586 recordTypeIdCompatibleVtableReferences(ModuleSummaryIndex &Index, in recordTypeIdCompatibleVtableReferences() 603 static void computeVariableSummary(ModuleSummaryIndex &Index, in computeVariableSummary() 673 static void setLiveRoot(ModuleSummaryIndex &Index, StringRef Name) { in setLiveRoot() 679 ModuleSummaryIndex llvm::buildModuleSummaryIndex( in buildModuleSummaryIndex() 689 ModuleSummaryIndex Index(/*HaveGVs=*/true, EnableSplitLTOUnit); in buildModuleSummaryIndex() 886 ModuleSummaryIndex 959 const ModuleSummaryIndex *Index) in ImmutableModuleSummaryIndexWrapperPass() [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-as/ |
| H A D | llvm-as.cpp | 70 static void WriteOutputFile(const Module *M, const ModuleSummaryIndex *Index) { in WriteOutputFile() 91 const ModuleSummaryIndex *IndexToWrite = nullptr; in WriteOutputFile() 141 std::unique_ptr<ModuleSummaryIndex> Index = std::move(ModuleAndIndex.Index); in main()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriterPass.cpp | 22 const ModuleSummaryIndex *Index = in run() 53 const ModuleSummaryIndex *Index = in runOnModule()
|