LLVM 20.0.0git
|
Expose LoopVersioning as a pass. More...
#include "llvm/Transforms/Utils/LoopVersioning.h"
Public Member Functions | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &FAM) |
Public Member Functions inherited from llvm::PassInfoMixin< LoopVersioningPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< LoopVersioningPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Expose LoopVersioning as a pass.
Currently this is only used for unit-testing. It adds all memchecks necessary to remove all may-aliasing array accesses from the loop.
Definition at line 150 of file LoopVersioning.h.
PreservedAnalyses LoopVersioningPass::run | ( | Function & | F, |
FunctionAnalysisManager & | FAM | ||
) |
Definition at line 298 of file LoopVersioning.cpp.
References llvm::PreservedAnalyses::all(), F, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::PreservedAnalyses::none(), and runImpl().