|
LLVM 22.0.0git
|
Merge identical functions. More...
#include "llvm/Transforms/IPO/MergeFunctions.h"
Public Member Functions | |
| LLVM_ABI PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
| Public Member Functions inherited from llvm::PassInfoMixin< MergeFunctionsPass > | |
| void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
| static LLVM_ABI bool | runOnModule (Module &M) |
| static LLVM_ABI DenseMap< Function *, Function * > | runOnFunctions (ArrayRef< Function * > F) |
| Static Public Member Functions inherited from llvm::PassInfoMixin< MergeFunctionsPass > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. | |
Merge identical functions.
Definition at line 27 of file MergeFunctions.h.
| PreservedAnalyses MergeFunctionsPass::run | ( | Module & | M, |
| ModuleAnalysisManager & | AM ) |
Definition at line 309 of file MergeFunctions.cpp.
References llvm::PreservedAnalyses::all(), llvm::PreservedAnalyses::none(), and runOnModule().
|
static |
Definition at line 328 of file MergeFunctions.cpp.
References F.
Definition at line 318 of file MergeFunctions.cpp.
References llvm::collectUsedGlobalVariables().
Referenced by run().