mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-26 21:47:07 +00:00
Add ability to extract a single basic block into a new function.
llvm-svn: 12052
This commit is contained in:
parent
3b5ed865eb
commit
f5abaea3a5
@ -23,6 +23,10 @@ class Loop;
|
|||||||
///
|
///
|
||||||
Function* ExtractLoop(Loop *L);
|
Function* ExtractLoop(Loop *L);
|
||||||
|
|
||||||
|
/// ExtractBasicBlock - rip out a basic block into a new function
|
||||||
|
///
|
||||||
|
Function* ExtractBasicBlock(BasicBlock *BB);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user