mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Add prototype for ExtractCodeRegion()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12069 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
38b8fd1078
commit
7ace0409aa
@ -7,7 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
//
|
//
|
||||||
// This family of functions perform manipulations on functions.
|
// This family of transformations manipulate LLVM functions.
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
@ -19,6 +19,10 @@ namespace llvm {
|
|||||||
class Function;
|
class Function;
|
||||||
class Loop;
|
class Loop;
|
||||||
|
|
||||||
|
/// ExtractCodeRegion - rip out a sequence of basic blocks into a new function
|
||||||
|
///
|
||||||
|
Function* ExtractCodeRegion(const std::vector<BasicBlock*> &code);
|
||||||
|
|
||||||
/// ExtractLoop - rip out a natural loop into a new function
|
/// ExtractLoop - rip out a natural loop into a new function
|
||||||
///
|
///
|
||||||
Function* ExtractLoop(Loop *L);
|
Function* ExtractLoop(Loop *L);
|
||||||
|
Loading…
Reference in New Issue
Block a user