LLVM 20.0.0git
|
This class implements a trivial dead store elimination. More...
#include "llvm/Transforms/Scalar/DeadStoreElimination.h"
Public Member Functions | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &FAM) |
Public Member Functions inherited from llvm::PassInfoMixin< DSEPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
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. | |
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 28 of file DeadStoreElimination.h.
PreservedAnalyses DSEPass::run | ( | Function & | F, |
FunctionAnalysisManager & | FAM | ||
) |
Definition at line 2546 of file DeadStoreElimination.cpp.
References llvm::PreservedAnalyses::all(), llvm::AreStatisticsEnabled(), F, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), I, instructions, llvm::PreservedAnalyses::preserve(), and llvm::PreservedAnalyses::preserveSet().