diff options
-rw-r--r-- | include/llvm/Transforms/Scalar.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index 59ff8f2..09c12b3 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -139,6 +139,14 @@ 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 // that are preceeded by a conditional branch, where the branch gives // information about the operands of the condition. For example, this C code: |