LLVM 20.0.0git
Public Member Functions | List of all members
llvm::FunctionImportGlobalProcessing Class Reference

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, bool ClearDSOLocalOnDeclarations)
 
bool run ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FunctionImportGlobalProcessing()

llvm::FunctionImportGlobalProcessing::FunctionImportGlobalProcessing ( Module M,
const ModuleSummaryIndex Index,
SetVector< GlobalValue * > *  GlobalsToImport,
bool  ClearDSOLocalOnDeclarations 
)
inline

Member Function Documentation

◆ run()

bool FunctionImportGlobalProcessing::run ( )

Definition at line 350 of file FunctionImportUtils.cpp.

Referenced by llvm::renameModuleForThinLTO().


The documentation for this class was generated from the following files: