Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/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.h16 #include "llvm/IR/ModuleSummaryIndex.h"
55 getParamAccesses(ModuleSummaryIndex &Index) const;
65 const ModuleSummaryIndex *Index = nullptr;
73 const ModuleSummaryIndex *Index);
171 void generateParamAccessSummary(ModuleSummaryIndex &Index);
/freebsd/contrib/llvm-project/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,
132 const ModuleSummaryIndex *Index = nullptr,
144 const ModuleSummaryIndex &Index,
153 void writeIndexToFile(const ModuleSummaryIndex &Index, raw_ostream &Out,
H A DBitcodeReader.h36 class ModuleSummaryIndex; variable
155 Expected<std::unique_ptr<ModuleSummaryIndex>> getSummary();
160 readSummary(ModuleSummaryIndex &CombinedIndex, StringRef ModulePath,
222 Expected<std::unique_ptr<ModuleSummaryIndex>>
227 ModuleSummaryIndex &CombinedIndex);
233 Expected<std::unique_ptr<ModuleSummaryIndex>>
/freebsd/contrib/llvm-project/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 DLTO.h47 const lto::Config &C, ModuleSummaryIndex &Index,
58 ModuleSummaryIndex &Index,
68 const ModuleSummaryIndex &Index, StringRef ModuleID,
103 void updateMemProfAttributes(Module &Mod, const ModuleSummaryIndex &Index);
200 const Config &C, ModuleSummaryIndex &CombinedIndex,
343 ModuleSummaryIndex CombinedIndex;
H A DSummaryBasedOptimizations.h12 class ModuleSummaryIndex; variable
15 void computeSyntheticCounts(ModuleSummaryIndex &Index);
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
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()
251 ModuleSummaryIndex &Index, bool WholeProgramVisibilityEnabledInLTO,
256 ModuleSummaryIndex &Index,
268 ModuleSummaryIndex &Summary, std::set<GlobalValue::GUID> &ExportedGUIDs,
274 ModuleSummaryIndex &Summary,
H A DMemProfContextDisambiguation.h19 #include "llvm/IR/ModuleSummaryIndex.h"
40 const ModuleSummaryIndex *ImportSummary;
44 std::unique_ptr<ModuleSummaryIndex> ImportSummaryForTesting;
47 MemProfContextDisambiguation(const ModuleSummaryIndex *Summary = nullptr);
51 void run(ModuleSummaryIndex &Index,
H A DFunctionImport.h117 FunctionImporter(const ModuleSummaryIndex &Index, ModuleLoaderTy ModuleLoader, in FunctionImporter()
127 const ModuleSummaryIndex &Index;
165 const ModuleSummaryIndex &Index,
181 void updateIndirectCalls(ModuleSummaryIndex &Index);
191 ModuleSummaryIndex &Index,
198 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 DFunctionAttrs.h26 class ModuleSummaryIndex; variable
36 ModuleSummaryIndex &Index,
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DParser.h28 class ModuleSummaryIndex; variable
71 std::unique_ptr<ModuleSummaryIndex> Index;
107 std::unique_ptr<ModuleSummaryIndex>
118 std::unique_ptr<ModuleSummaryIndex>
154 std::unique_ptr<ModuleSummaryIndex>
171 MemoryBufferRef F, Module *M, ModuleSummaryIndex *Index, SMDiagnostic &Err,
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DParser.cpp25 ModuleSummaryIndex *Index, SMDiagnostic &Err, in parseAssemblyInto()
39 ModuleSummaryIndex *Index, SMDiagnostic &Err, in parseAssemblyInto()
81 std::unique_ptr<ModuleSummaryIndex> Index = in parseAssemblyWithIndex()
82 std::make_unique<ModuleSummaryIndex>(/*HaveGVs=*/true); in parseAssemblyWithIndex()
145 ModuleSummaryIndex &Index, in parseSummaryIndexAssemblyInto()
158 std::unique_ptr<ModuleSummaryIndex>
160 std::unique_ptr<ModuleSummaryIndex> Index = in parseSummaryIndexAssembly()
161 std::make_unique<ModuleSummaryIndex>(/*HaveGVs=*/false); in parseSummaryIndexAssembly()
169 std::unique_ptr<ModuleSummaryIndex>
182 std::unique_ptr<ModuleSummaryIndex>
/freebsd/contrib/llvm-project/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,
278 Module &Module, ModuleSummaryIndex &Index,
285 void internalize(Module &Module, ModuleSummaryIndex &Index,
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DModuleSummaryIndex.cpp90 constexpr uint64_t ModuleSummaryIndex::BitcodeSummaryVersion;
92 uint64_t ModuleSummaryIndex::getFlags() const { in getFlags()
117 void ModuleSummaryIndex::setFlags(uint64_t Flags) { in setFlags()
164 void ModuleSummaryIndex::collectDefinedFunctionsForModule( in collectDefinedFunctionsForModule()
182 ModuleSummaryIndex::getGlobalValueSummary(uint64_t ValueGUID, in getGlobalValueSummary()
192 bool ModuleSummaryIndex::isGUIDLive(GlobalValue::GUID GUID) const { in isGUIDLive()
262 void ModuleSummaryIndex::propagateAttributes( in propagateAttributes()
332 bool ModuleSummaryIndex::canImportGlobalVar(const GlobalValueSummary *S, in canImportGlobalVar()
367 void ModuleSummaryIndex::dumpSCCs(raw_ostream &O) { in dumpSCCs()
368 for (scc_iterator<ModuleSummaryIndex *> I = in dumpSCCs()
[all …]
/freebsd/contrib/llvm-project/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,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp204 const ModuleSummaryIndex &Index, in qualifyCalleeCandidates()
274 selectCallee(const ModuleSummaryIndex &Index, in selectCallee()
321 const ModuleSummaryIndex &Index;
416 const ModuleSummaryIndex &Index, const GVSummaryMapTy &DefinedGVSummaries, in GlobalsImporter()
440 const ModuleSummaryIndex &Index;
446 const ModuleSummaryIndex &Index, in ModuleImportsManager()
464 const ModuleSummaryIndex &Index,
593 const ModuleSummaryIndex &Index, in WorkloadImportsManager()
680 const ModuleSummaryIndex &Index, in create()
719 const FunctionSummary &Summary, const ModuleSummaryIndex &Index, in computeImportForFunction()
[all …]
H A DWholeProgramDevirt.cpp545 ModuleSummaryIndex *ExportSummary;
546 const ModuleSummaryIndex *ImportSummary;
586 ModuleSummaryIndex *ExportSummary, in DevirtModule()
587 const ModuleSummaryIndex *ImportSummary) in DevirtModule()
616 ModuleSummaryIndex *ExportSummary);
620 bool trySingleImplDevirt(ModuleSummaryIndex *ExportSummary,
695 ModuleSummaryIndex *ExportSummary);
706 ModuleSummaryIndex *ExportSummary);
717 ModuleSummaryIndex &ExportSummary;
731 ModuleSummaryIndex &ExportSummary, in DevirtIndex()
[all …]
H A DThinLTOBitcodeWriter.cpp285 ModuleSummaryIndex Index = buildModuleSummaryIndex(M, nullptr, &PSI); in splitAndWriteThinLTOBitcode()
475 ModuleSummaryIndex Index = buildModuleSummaryIndex(M, nullptr, &PSI); in splitAndWriteThinLTOBitcode()
480 ModuleSummaryIndex MergedMIndex = in splitAndWriteThinLTOBitcode()
533 Module &M, const ModuleSummaryIndex *Index) { in writeThinLTOBitcode()
534 std::unique_ptr<ModuleSummaryIndex> NewIndex = nullptr; in writeThinLTOBitcode()
555 NewIndex = std::make_unique<ModuleSummaryIndex>( in writeThinLTOBitcode()
/freebsd/contrib/llvm-project/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 DThinLTOCodeGenerator.cpp138 const ModuleSummaryIndex &Index, in computePrevailingCopies()
163 static void promoteModule(Module &TheModule, const ModuleSummaryIndex &Index, in promoteModule()
216 crossImportIntoModule(Module &TheModule, const ModuleSummaryIndex &Index, in crossImportIntoModule()
242 bool DebugPassManager, ModuleSummaryIndex *Index) { in optimizeModule()
363 StringRef CachePath, const ModuleSummaryIndex &Index, StringRef ModuleID, in ModuleCacheEntry()
433 ProcessThinLTOModule(Module &TheModule, ModuleSummaryIndex &Index, in ProcessThinLTOModule()
513 ModuleSummaryIndex &Index, in resolvePrevailingInIndex()
610 std::unique_ptr<ModuleSummaryIndex> ThinLTOCodeGenerator::linkCombinedIndex() { in linkCombinedIndex()
611 std::unique_ptr<ModuleSummaryIndex> CombinedIndex = in linkCombinedIndex()
612 std::make_unique<ModuleSummaryIndex>(/*HaveGVs=*/false); in linkCombinedIndex()
[all …]
H A DLTOBackend.cpp134 [=](const ModuleSummaryIndex &Index, in addSaveTemps()
235 ModuleSummaryIndex *ExportSummary, in runNewPMPasses()
236 const ModuleSummaryIndex *ImportSummary) { in runNewPMPasses()
342 bool IsThinLTO, ModuleSummaryIndex *ExportSummary, in opt()
343 const ModuleSummaryIndex *ImportSummary, in opt()
370 const ModuleSummaryIndex &CombinedIndex) { in codegen()
429 const ModuleSummaryIndex &CombinedIndex) { in splitCodeGen()
508 ModuleSummaryIndex &CombinedIndex) { in backend()
533 const ModuleSummaryIndex &Index) { in dropDeadSymbols()
554 Module &Mod, const ModuleSummaryIndex &CombinedIndex, in thinBackend()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp102 static bool findRefEdges(ModuleSummaryIndex &Index, const User *CurUser, in findRefEdges()
298 ModuleSummaryIndex &Index, const Module &M, const Function &F, in computeFunctionSummary()
691 const Module &M, ModuleSummaryIndex &Index, in findFuncPointers()
762 static void computeVTableFuncs(ModuleSummaryIndex &Index, in computeVTableFuncs()
786 recordTypeIdCompatibleVtableReferences(ModuleSummaryIndex &Index, in recordTypeIdCompatibleVtableReferences()
803 static void computeVariableSummary(ModuleSummaryIndex &Index, in computeVariableSummary()
854 static void computeAliasSummary(ModuleSummaryIndex &Index, const GlobalAlias &A, in computeAliasSummary()
878 static void setLiveRoot(ModuleSummaryIndex &Index, StringRef Name) { in setLiveRoot()
884 ModuleSummaryIndex llvm::buildModuleSummaryIndex( in buildModuleSummaryIndex()
898 ModuleSummaryIndex Index(/*HaveGVs=*/true, EnableSplitLTOUnit, UnifiedLTO); in buildModuleSummaryIndex()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-as/
H A Dllvm-as.cpp73 static void WriteOutputFile(const Module *M, const ModuleSummaryIndex *Index) { in WriteOutputFile()
94 const ModuleSummaryIndex *IndexToWrite = nullptr; in WriteOutputFile()
151 std::unique_ptr<ModuleSummaryIndex> Index = std::move(ModuleAndIndex.Index); in main()

123