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

A pass that merges duplicate global constants into a single constant. More...

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

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

Public Member Functions

PreservedAnalyses run (Module &M, ModuleAnalysisManager &)
 
- Public Member Functions inherited from llvm::PassInfoMixin< ConstantMergePass >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::PassInfoMixin< ConstantMergePass >
static StringRef name ()
 Gets the name of the pass we are mixed into.
 

Detailed Description

A pass that merges duplicate global constants into a single constant.

Definition at line 29 of file ConstantMerge.h.

Member Function Documentation

◆ run()

PreservedAnalyses ConstantMergePass::run ( Module M,
ModuleAnalysisManager  
)

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