From 4977a163b4f6f6e77e7f8f9635d2dbbbbb6bdde0 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Sat, 28 Feb 2004 03:33:30 +0000 Subject: [PATCH] New Function-level transformation utils. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11938 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Utils/FunctionUtils.h | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 include/llvm/Transforms/Utils/FunctionUtils.h diff --git a/include/llvm/Transforms/Utils/FunctionUtils.h b/include/llvm/Transforms/Utils/FunctionUtils.h new file mode 100644 index 00000000000..4bb7c1050df --- /dev/null +++ b/include/llvm/Transforms/Utils/FunctionUtils.h @@ -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 -- 2.34.1