class FunctionImporter
Declaration
class FunctionImporter { /* full declaration omitted */ };
Description
The function importer is automatically importing function from other modules based on the provided summary informations.
Declared at: llvm/include/llvm/Transforms/IPO/FunctionImport.h:33
Method Overview
- public FunctionImporter(const llvm::ModuleSummaryIndex & Index, llvm::FunctionImporter::ModuleLoaderTy ModuleLoader)
- public Expected<bool> importFunctions(llvm::Module & M, const llvm::FunctionImporter::ImportMapTy & ImportList)
Methods
¶FunctionImporter(
const llvm::ModuleSummaryIndex& Index,
llvm::FunctionImporter::ModuleLoaderTy
ModuleLoader)
FunctionImporter(
const llvm::ModuleSummaryIndex& Index,
llvm::FunctionImporter::ModuleLoaderTy
ModuleLoader)
Description
Create a Function Importer.
Declared at: llvm/include/llvm/Transforms/IPO/FunctionImport.h:108
Parameters
- const llvm::ModuleSummaryIndex& Index
- llvm::FunctionImporter::ModuleLoaderTy ModuleLoader
¶Expected<bool> importFunctions(
llvm::Module& M,
const llvm::FunctionImporter::ImportMapTy&
ImportList)
Expected<bool> importFunctions(
llvm::Module& M,
const llvm::FunctionImporter::ImportMapTy&
ImportList)
Description
Import functions in Module \p M based on the supplied import list.
Declared at: llvm/include/llvm/Transforms/IPO/FunctionImport.h:112
Parameters
- llvm::Module& M
- const llvm::FunctionImporter::ImportMapTy& ImportList