LLVM
8.0.1
|
Optimize globals that never have their address taken. More...
#include "llvm/Transforms/IPO/GlobalOpt.h"
Public Member Functions | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
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. More... | |
Optimize globals that never have their address taken.
Definition at line 26 of file GlobalOpt.h.
PreservedAnalyses GlobalOptPass::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 2957 of file GlobalOpt.cpp.
References llvm::AnalysisUsage::addRequired(), llvm::PreservedAnalyses::all(), F(), llvm::Module::getDataLayout(), llvm::PassRegistry::getPassRegistry(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), INITIALIZE_PASS_BEGIN(), INITIALIZE_PASS_DEPENDENCY, llvm::initializeGlobalOptLegacyPassPass(), llvm::PreservedAnalyses::none(), and optimizeGlobalsInModule().