|
LLVM
10.0.0
|
Class to handle necessary GlobalValue changes required by ThinLTO function importing, including linkage changes and any necessary renaming. More...
#include "llvm/Transforms/Utils/FunctionImportUtils.h"
Public Member Functions | |
| FunctionImportGlobalProcessing (Module &M, const ModuleSummaryIndex &Index, SetVector< GlobalValue *> *GlobalsToImport=nullptr) | |
| bool | run () |
Class to handle necessary GlobalValue changes required by ThinLTO function importing, including linkage changes and any necessary renaming.
Definition at line 25 of file FunctionImportUtils.h.
|
inline |
Definition at line 88 of file FunctionImportUtils.h.
References llvm::collectUsedGlobalVariables(), llvm::computeSyntheticCounts(), llvm::ModuleSummaryIndex::hasExportedFunctions(), llvm::renameModuleForThinLTO(), and run().
| bool FunctionImportGlobalProcessing::run | ( | ) |
Definition at line 316 of file FunctionImportUtils.cpp.
Referenced by FunctionImportGlobalProcessing(), and llvm::renameModuleForThinLTO().
1.8.13