Home
last modified time | relevance | path

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

123

/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DModuleSummaryAnalysis.h36 ModuleSummaryIndex buildModuleSummaryIndex(
51 using Result = ModuleSummaryIndex;
58 std::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 DStackSafetyAnalysis.h55 getParamAccesses(ModuleSummaryIndex &Index) const;
65 const ModuleSummaryIndex *Index = nullptr;
73 const ModuleSummaryIndex *Index);
169 void generateParamAccessSummary(ModuleSummaryIndex &Index);
/openbsd/gnu/llvm/llvm/include/llvm/Transforms/IPO/
H A DFunctionImport.h108 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 DLowerTypeTests.h28 class ModuleSummaryIndex; variable
203 ModuleSummaryIndex *ExportSummary = nullptr;
204 const ModuleSummaryIndex *ImportSummary = nullptr;
209 LowerTypeTestsPass(ModuleSummaryIndex *ExportSummary,
210 const ModuleSummaryIndex *ImportSummary,
H A DWholeProgramDevirt.h33 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 DPassManagerBuilder.h23 class ModuleSummaryIndex; variable
86 ModuleSummaryIndex *ExportSummary = nullptr;
91 const ModuleSummaryIndex *ImportSummary = nullptr;
H A DFunctionAttrs.h26 class ModuleSummaryIndex; variable
37 ModuleSummaryIndex &Index,
/openbsd/gnu/llvm/llvm/include/llvm/Bitcode/
H A 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,
H A DBitcodeReader.h36 class ModuleSummaryIndex; variable
154 Expected<std::unique_ptr<ModuleSummaryIndex>> getSummary();
159 readSummary(ModuleSummaryIndex &CombinedIndex, StringRef ModulePath,
222 Expected<std::unique_ptr<ModuleSummaryIndex>>
227 ModuleSummaryIndex &CombinedIndex,
234 Expected<std::unique_ptr<ModuleSummaryIndex>>
/openbsd/gnu/llvm/llvm/include/llvm/LTO/
H A DLTOBackend.h38 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 DSummaryBasedOptimizations.h12 class ModuleSummaryIndex; variable
15 void computeSyntheticCounts(ModuleSummaryIndex &Index);
H A DLTO.h47 const lto::Config &C, ModuleSummaryIndex &Index,
58 ModuleSummaryIndex &Index,
68 const ModuleSummaryIndex &Index, StringRef ModuleID,
194 const Config &C, ModuleSummaryIndex &CombinedIndex,
321 ModuleSummaryIndex CombinedIndex;
/openbsd/gnu/llvm/llvm/include/llvm/AsmParser/
H A DParser.h27 class ModuleSummaryIndex; variable
70 std::unique_ptr<ModuleSummaryIndex> Index;
106 std::unique_ptr<ModuleSummaryIndex>
117 std::unique_ptr<ModuleSummaryIndex>
153 std::unique_ptr<ModuleSummaryIndex>
170 MemoryBufferRef F, Module *M, ModuleSummaryIndex *Index, SMDiagnostic &Err,
/openbsd/gnu/llvm/llvm/lib/AsmParser/
H A DParser.cpp24 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()
144 ModuleSummaryIndex &Index, in parseSummaryIndexAssemblyInto()
157 std::unique_ptr<ModuleSummaryIndex>
159 std::unique_ptr<ModuleSummaryIndex> Index = in parseSummaryIndexAssembly()
160 std::make_unique<ModuleSummaryIndex>(/*HaveGVs=*/false); in parseSummaryIndexAssembly()
168 std::unique_ptr<ModuleSummaryIndex>
181 std::unique_ptr<ModuleSummaryIndex>
/openbsd/gnu/llvm/llvm/include/llvm/LTO/legacy/
H A DThinLTOCodeGenerator.h249 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,
/openbsd/gnu/llvm/llvm/lib/IR/
H A DModuleSummaryIndex.cpp90 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 …]
/openbsd/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DFunctionImportUtils.h30 const ModuleSummaryIndex &ImportIndex;
101 FunctionImportGlobalProcessing(Module &M, const ModuleSummaryIndex &Index, in FunctionImportGlobalProcessing()
129 Module &M, const ModuleSummaryIndex &Index,
/openbsd/gnu/llvm/llvm/lib/LTO/
H A DSummaryBasedOptimizations.cpp30 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 DLTOBackend.cpp133 [=](const ModuleSummaryIndex &Index, in addSaveTemps()
233 ModuleSummaryIndex *ExportSummary, in runNewPMPasses()
234 const ModuleSummaryIndex *ImportSummary) { in runNewPMPasses()
335 bool IsThinLTO, ModuleSummaryIndex *ExportSummary, in opt()
336 const ModuleSummaryIndex *ImportSummary, in opt()
363 const ModuleSummaryIndex &CombinedIndex) { in codegen()
422 const ModuleSummaryIndex &CombinedIndex) { in splitCodeGen()
497 ModuleSummaryIndex &CombinedIndex) { in backend()
521 const ModuleSummaryIndex &Index) { in dropDeadSymbols()
542 Module &Mod, const ModuleSummaryIndex &CombinedIndex, in thinBackend()
[all …]
H A DThinLTOCodeGenerator.cpp136 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 …]
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp173 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 DWholeProgramDevirt.cpp547 ModuleSummaryIndex *ExportSummary;
548 const ModuleSummaryIndex *ImportSummary;
584 ModuleSummaryIndex *ExportSummary, in DevirtModule()
585 const ModuleSummaryIndex *ImportSummary) in DevirtModule()
715 ModuleSummaryIndex &ExportSummary;
729 ModuleSummaryIndex &ExportSummary, in DevirtIndex()
861 ModuleSummaryIndex &Summary, in updateIndexWPDForExports()
907 std::unique_ptr<ModuleSummaryIndex> Summary = in runForTesting()
994 ModuleSummaryIndex *ExportSummary) { in tryFindVirtualCallTargets()
1203 ModuleSummaryIndex *ExportSummary, in trySingleImplDevirt()
[all …]
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp93 static bool findRefEdges(ModuleSummaryIndex &Index, const User *CurUser, in findRefEdges()
254 ModuleSummaryIndex &Index, const Module &M, const Function &F, in computeFunctionSummary()
620 static void computeVTableFuncs(ModuleSummaryIndex &Index, in computeVTableFuncs()
644 recordTypeIdCompatibleVtableReferences(ModuleSummaryIndex &Index, in recordTypeIdCompatibleVtableReferences()
661 static void computeVariableSummary(ModuleSummaryIndex &Index, in computeVariableSummary()
731 static void setLiveRoot(ModuleSummaryIndex &Index, StringRef Name) { in setLiveRoot()
737 ModuleSummaryIndex llvm::buildModuleSummaryIndex( in buildModuleSummaryIndex()
747 ModuleSummaryIndex Index(/*HaveGVs=*/true, EnableSplitLTOUnit); in buildModuleSummaryIndex()
945 ModuleSummaryIndex
1018 const ModuleSummaryIndex *Index) in ImmutableModuleSummaryIndexWrapperPass()
[all …]
/openbsd/gnu/llvm/llvm/tools/llvm-as/
H A Dllvm-as.cpp71 static void WriteOutputFile(const Module *M, const ModuleSummaryIndex *Index) { in WriteOutputFile()
92 const ModuleSummaryIndex *IndexToWrite = nullptr; in WriteOutputFile()
142 std::unique_ptr<ModuleSummaryIndex> Index = std::move(ModuleAndIndex.Index); in main()
/openbsd/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriterPass.cpp22 const ModuleSummaryIndex *Index = in run()
53 const ModuleSummaryIndex *Index = in runOnModule()

123