LLVM  13.0.0git
Namespaces | Functions
LTOBackend.h File Reference
#include "llvm/ADT/MapVector.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/ModuleSummaryIndex.h"
#include "llvm/LTO/LTO.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Transforms/IPO/FunctionImport.h"
Include dependency graph for LTOBackend.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.




bool llvm::lto::opt (const Config &Conf, TargetMachine *TM, unsigned Task, Module &Mod, bool IsThinLTO, ModuleSummaryIndex *ExportSummary, const ModuleSummaryIndex *ImportSummary, const std::vector< uint8_t > &CmdArgs)
 Runs middle-end LTO optimizations on Mod. More...
Error llvm::lto::backend (const Config &C, AddStreamFn AddStream, unsigned ParallelCodeGenParallelismLevel, Module &M, ModuleSummaryIndex &CombinedIndex)
 Runs a regular LTO backend. More...
Error llvm::lto::thinBackend (const Config &C, unsigned Task, AddStreamFn AddStream, Module &M, const ModuleSummaryIndex &CombinedIndex, const FunctionImporter::ImportMapTy &ImportList, const GVSummaryMapTy &DefinedGlobals, MapVector< StringRef, BitcodeModule > *ModuleMap, const std::vector< uint8_t > &CmdArgs=std::vector< uint8_t >())
 Runs a ThinLTO backend. More...
Error llvm::lto::finalizeOptimizationRemarks (std::unique_ptr< ToolOutputFile > DiagOutputFile)
BitcodeModulellvm::lto::findThinLTOModule (MutableArrayRef< BitcodeModule > BMs)
 Returns the BitcodeModule that is ThinLTO. More...
Expected< BitcodeModulellvm::lto::findThinLTOModule (MemoryBufferRef MBRef)
 Variant of the above. More...
bool llvm::lto::initImportList (const Module &M, const ModuleSummaryIndex &CombinedIndex, FunctionImporter::ImportMapTy &ImportList)
 Distributed ThinLTO: collect the referenced modules based on module summary and initialize ImportList. More...