X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FTransforms%2FUtils%2FLoopVersioning.h;fp=include%2Fllvm%2FTransforms%2FUtils%2FLoopVersioning.h;h=4779b7ede2b4fdcbbd63a4e111ab8b66dc11c8d0;hb=a395eac8a8fbb95e7f4fe9055e769d02221130fe;hp=d4932fc5946272faf53b013683a80408fa3fc265;hpb=cbdd65c7954ff5df6a33f40251dcb1fe3d7eeaee;p=oota-llvm.git diff --git a/include/llvm/Transforms/Utils/LoopVersioning.h b/include/llvm/Transforms/Utils/LoopVersioning.h index d4932fc5946..4779b7ede2b 100644 --- a/include/llvm/Transforms/Utils/LoopVersioning.h +++ b/include/llvm/Transforms/Utils/LoopVersioning.h @@ -31,10 +31,17 @@ class LoopInfo; /// already has a preheader. class LoopVersioning { public: + /// \brief Expects MemCheck, LoopAccessInfo, Loop, LoopInfo, DominatorTree + /// as input. It uses runtime check provided by user. LoopVersioning(SmallVector Checks, const LoopAccessInfo &LAI, Loop *L, LoopInfo *LI, DominatorTree *DT); + /// \brief Expects LoopAccessInfo, Loop, LoopInfo, DominatorTree as input. + /// It uses default runtime check provided by LoopAccessInfo. + LoopVersioning(const LoopAccessInfo &LAInfo, Loop *L, LoopInfo *LI, + DominatorTree *DT); + /// \brief Performs the CFG manipulation part of versioning the loop including /// the DominatorTree and LoopInfo updates. ///