LLVM 19.0.0git
Public Member Functions | List of all members
llvm::GlobalOptPass Class Reference

Optimize globals that never have their address taken. More...

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

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

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Optimize globals that never have their address taken.

Definition at line 25 of file GlobalOpt.h.

Member Function Documentation

◆ run()

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

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