mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
New Function-level transformation utils.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11938 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dddea54b11
commit
4977a163b4
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…
Reference in New Issue
Block a user