LLVM
8.0.1
|
This class implements a trivial dead store elimination. More...
#include "llvm/Transforms/Scalar/DeadStoreElimination.h"
Public Member Functions | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &FAM) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< DSEPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. More... | |
This class implements a trivial dead store elimination.
We consider only the redundant stores that are local to a single Basic Block.
Definition at line 29 of file DeadStoreElimination.h.
PreservedAnalyses DSEPass::run | ( | Function & | F, |
FunctionAnalysisManager & | FAM | ||
) |
Definition at line 1330 of file DeadStoreElimination.cpp.
References llvm::AnalysisUsage::addPreserved(), llvm::AnalysisUsage::addRequired(), llvm::PreservedAnalyses::all(), eliminateDeadStores(), F(), llvm::PassRegistry::getPassRegistry(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), INITIALIZE_PASS_BEGIN(), INITIALIZE_PASS_DEPENDENCY, llvm::initializeDSELegacyPassPass(), llvm::PreservedAnalyses::preserve(), llvm::PreservedAnalyses::preserveSet(), runOnFunction(), and llvm::AnalysisUsage::setPreservesCFG().