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

Pass to remove unused function declarations. More...

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

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

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Pass to remove unused function declarations.

Definition at line 36 of file GlobalDCE.h.

Constructor & Destructor Documentation

◆ GlobalDCEPass()

llvm::GlobalDCEPass::GlobalDCEPass ( bool  InLTOPostLink = false)
inline

Definition at line 38 of file GlobalDCE.h.

Member Function Documentation

◆ printPipeline()

void GlobalDCEPass::printPipeline ( raw_ostream OS,
function_ref< StringRef(StringRef)>  MapClassName2PassName 
)

Definition at line 420 of file GlobalDCE.cpp.

References OS, and printPipeline().

Referenced by printPipeline().

◆ run()

PreservedAnalyses GlobalDCEPass::run ( Module M,
ModuleAnalysisManager MAM 
)

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