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

Merge identical functions. More...

#include "llvm/Transforms/IPO/MergeFunctions.h"

Inheritance diagram for llvm::MergeFunctionsPass:
Inheritance graph
[legend]

Public Member Functions

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 bool runOnModule (Module &M)
 
static 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.
 

Detailed Description

Merge identical functions.

Definition at line 26 of file MergeFunctions.h.

Member Function Documentation

◆ run()

PreservedAnalyses MergeFunctionsPass::run ( Module M,
ModuleAnalysisManager AM 
)

◆ runOnFunctions()

DenseMap< Function *, Function * > MergeFunctionsPass::runOnFunctions ( ArrayRef< Function * >  F)
static

Definition at line 328 of file MergeFunctions.cpp.

References F.

◆ runOnModule()

bool MergeFunctionsPass::runOnModule ( Module M)
static

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