[llvm-commits] CVS: llvm/include/llvm/Transforms/Utils/FunctionUtils.h
Misha Brukman
brukman at cs.uiuc.edu
Fri Feb 27 21:35:14 PST 2004
Changes in directory llvm/include/llvm/Transforms/Utils:
FunctionUtils.h added (r1.1)
---
Log message:
New Function-level transformation utils.
---
Diffs of the changes: (+28 -0)
Index: llvm/include/llvm/Transforms/Utils/FunctionUtils.h
diff -c /dev/null llvm/include/llvm/Transforms/Utils/FunctionUtils.h:1.1
*** /dev/null Fri Feb 27 21:33:40 2004
--- llvm/include/llvm/Transforms/Utils/FunctionUtils.h Fri Feb 27 21:33:30 2004
***************
*** 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
More information about the llvm-commits
mailing list