LLVM 20.0.0git
|
#include "llvm/Transforms/Scalar/MemCpyOptimizer.h"
Public Member Functions | |
MemCpyOptPass ()=default | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
bool | runImpl (Function &F, TargetLibraryInfo *TLI, AAResults *AA, AssumptionCache *AC, DominatorTree *DT, PostDominatorTree *PDT, MemorySSA *MSSA) |
Public Member Functions inherited from llvm::PassInfoMixin< MemCpyOptPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< MemCpyOptPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Definition at line 44 of file MemCpyOptimizer.h.
|
default |
PreservedAnalyses MemCpyOptPass::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Definition at line 2157 of file MemCpyOptimizer.cpp.
References llvm::PreservedAnalyses::all(), F, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::PreservedAnalyses::preserve(), llvm::PreservedAnalyses::preserveSet(), and runImpl().
bool MemCpyOptPass::runImpl | ( | Function & | F, |
TargetLibraryInfo * | TLI, | ||
AAResults * | AA, | ||
AssumptionCache * | AC, | ||
DominatorTree * | DT, | ||
PostDominatorTree * | PDT, | ||
MemorySSA * | MSSA | ||
) |
Definition at line 2175 of file MemCpyOptimizer.cpp.
References F, llvm::MemorySSA::verifyMemorySSA(), and llvm::VerifyMemorySSA.
Referenced by run().