LLVM 20.0.0git
|
A pass that transforms external global definitions into declarations. More...
#include "llvm/Transforms/IPO/ElimAvailExtern.h"
Public Member Functions | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &) |
Public Member Functions inherited from llvm::PassInfoMixin< EliminateAvailableExternallyPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< EliminateAvailableExternallyPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
A pass that transforms external global definitions into declarations.
Definition at line 24 of file ElimAvailExtern.h.
PreservedAnalyses EliminateAvailableExternallyPass::run | ( | Module & | M, |
ModuleAnalysisManager & | MAM | ||
) |
Definition at line 128 of file ElimAvailExtern.cpp.
References llvm::PreservedAnalyses::all(), eliminateAvailableExternally(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getCachedResult(), MAM, and llvm::PreservedAnalyses::none().