mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-29 16:12:44 +00:00
New Function-level transformation utils.
llvm-svn: 11938
This commit is contained in:
parent
1ddb180929
commit
13b5b048fb
28
include/llvm/Transforms/Utils/FunctionUtils.h
Normal file
28
include/llvm/Transforms/Utils/FunctionUtils.h
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user