From: Misha Brukman Date: Sat, 28 Feb 2004 03:33:30 +0000 (+0000) Subject: New Function-level transformation utils. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4977a163b4f6f6e77e7f8f9635d2dbbbbb6bdde0;p=oota-llvm.git New Function-level transformation utils. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11938 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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