LLVM
8.0.1
|
Basic Dead Code Elimination pass. More...
#include "llvm/Transforms/Scalar/DCE.h"
Public Member Functions | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< DCEPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. More... | |
PreservedAnalyses DCEPass::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Definition at line 137 of file DCE.cpp.
References llvm::PreservedAnalyses::all(), eliminateDeadCode(), F(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getCachedResult(), llvm::PassRegistry::getPassRegistry(), INITIALIZE_PASS(), llvm::initializeDCELegacyPassPass(), llvm::PreservedAnalyses::preserveSet(), runOnFunction(), and llvm::AnalysisUsage::setPreservesCFG().