LLVM 22.0.0git
|
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 | |
LLVM_ABI | FunctionImportGlobalProcessing (Module &M, const ModuleSummaryIndex &Index, SetVector< GlobalValue * > *GlobalsToImport, bool ClearDSOLocalOnDeclarations) |
LLVM_ABI void | run () |
Class to handle necessary GlobalValue changes required by ThinLTO function importing, including linkage changes and any necessary renaming.
Definition at line 26 of file FunctionImportUtils.h.
FunctionImportGlobalProcessing::FunctionImportGlobalProcessing | ( | Module & | M, |
const ModuleSummaryIndex & | Index, | ||
SetVector< GlobalValue * > * | GlobalsToImport, | ||
bool | ClearDSOLocalOnDeclarations ) |
Definition at line 38 of file FunctionImportUtils.cpp.
References llvm::collectUsedGlobalVariables(), llvm::from_range, MoveSymbolGUID, and NDEBUG.
void FunctionImportGlobalProcessing::run | ( | ) |
Definition at line 370 of file FunctionImportUtils.cpp.
Referenced by llvm::renameModuleForThinLTO().