|
LLVM
4.0.0
|
Pass to remove unused function declarations. More...
#include <GlobalDCE.h>
Public Member Functions | |
| PreservedAnalyses | run (Module &M, ModuleAnalysisManager &) |
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. More... | |
Pass to remove unused function declarations.
Definition at line 28 of file GlobalDCE.h.
| PreservedAnalyses GlobalDCEPass::run | ( | Module & | M, |
| ModuleAnalysisManager & | |||
| ) |
Definition at line 81 of file GlobalDCE.cpp.
References llvm::PreservedAnalyses::all(), C, llvm::Constant::destroyConstant(), F, isEmptyFunction(), llvm::isSafeToDestroyConstant(), llvm::PreservedAnalyses::none(), and llvm::optimizeGlobalCtorsList().
1.8.6