mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 15:19:33 +00:00
add a helper method
llvm-svn: 22767
This commit is contained in:
parent
a5c0038c25
commit
879c4db070
@ -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