LLVM
8.0.1
|
#include "llvm/Transforms/Scalar/MemCpyOptimizer.h"
Public Member Functions | |
MemCpyOptPass ()=default | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
bool | runImpl (Function &F, MemoryDependenceResults *MD_, TargetLibraryInfo *TLI_, std::function< AliasAnalysis &()> LookupAliasAnalysis_, std::function< AssumptionCache &()> LookupAssumptionCache_, std::function< DominatorTree &()> LookupDomTree_) |
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. More... | |
Definition at line 40 of file MemCpyOptimizer.h.
|
default |
PreservedAnalyses MemCpyOptPass::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Definition at line 1457 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, |
MemoryDependenceResults * | MD_, | ||
TargetLibraryInfo * | TLI_, | ||
std::function< AliasAnalysis &()> | LookupAliasAnalysis_, | ||
std::function< AssumptionCache &()> | LookupAssumptionCache_, | ||
std::function< DominatorTree &()> | LookupDomTree_ | ||
) |
Definition at line 1483 of file MemCpyOptimizer.cpp.
References F(), and runOnFunction().