mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
add a helper method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22767 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e0391beda8
commit
07216eabb7
@ -101,6 +101,11 @@ public:
|
||||
/// and deletes it.
|
||||
///
|
||||
void eraseFromParent();
|
||||
|
||||
/// moveBefore - Unlink this instruction from its current function and
|
||||
/// insert it into the function that MovePos lives in, right before
|
||||
/// MovePos.
|
||||
void moveBefore(BasicBlock *MovePos);
|
||||
|
||||
/// getSinglePredecessor - If this basic block has a single predecessor block,
|
||||
/// return the block, otherwise return a null pointer.
|
||||
|
Loading…
Reference in New Issue
Block a user