New Function-level transformation utils.
authorMisha Brukman <brukman+llvm@gmail.com>
Sat, 28 Feb 2004 03:33:30 +0000 (03:33 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Sat, 28 Feb 2004 03:33:30 +0000 (03:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11938 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Utils/FunctionUtils.h [new file with mode: 0644]

diff --git a/include/llvm/Transforms/Utils/FunctionUtils.h b/include/llvm/Transforms/Utils/FunctionUtils.h
new file mode 100644 (file)
index 0000000..4bb7c10
--- /dev/null
@@ -0,0 +1,28 @@
+//===-- Transform/Utils/FunctionUtils.h - Function Utils --------*- C++ -*-===//
+// 
+//                     The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// 
+//===----------------------------------------------------------------------===//
+//
+// This family of functions perform manipulations on functions.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_TRANSFORMS_UTILS_FUNCTION_H
+#define LLVM_TRANSFORMS_UTILS_FUNCTION_H
+
+namespace llvm {
+
+class Function;
+class Loop;
+
+/// ExtractLoop - rip out a natural loop into a new function
+///
+Function* ExtractLoop(Loop *L);
+
+}
+
+#endif