From: Misha Brukman Date: Sat, 28 Feb 2004 03:33:17 +0000 (+0000) Subject: Add the prototype for the LoopExtractor Pass. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dddea54b1191d90bef4013e74d07a1f0990321f4;p=oota-llvm.git Add the prototype for the LoopExtractor Pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11937 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index 59ff8f2121e..09c12b3c296 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -137,6 +137,14 @@ Pass *createInstructionCombiningPass(); FunctionPass *createLICMPass(); +//===----------------------------------------------------------------------===// +// +// LoopExtractor - This pass moves every natural loop into its own function. +// Mostly useful in debugging via bugpoint. +// +FunctionPass *createLoopExtractorPass(); + + //===----------------------------------------------------------------------===// // // PiNodeInsertion - This pass inserts single entry Phi nodes into basic blocks