projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
660538c
)
add a new helper method
author
Chris Lattner
<sabre@nondot.org>
Mon, 8 Aug 2005 05:21:33 +0000
(
05:21
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 8 Aug 2005 05:21:33 +0000
(
05:21
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22697
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Instruction.h
patch
|
blob
|
history
diff --git
a/include/llvm/Instruction.h
b/include/llvm/Instruction.h
index 9bf629a7f02698ff97bcf3122320f4c286ac67e1..ef6285261d06028e76afc6b9d5e8953c55def2f6 100644
(file)
--- a/
include/llvm/Instruction.h
+++ b/
include/llvm/Instruction.h
@@
-93,6
+93,11
@@
public:
///
void eraseFromParent();
+ /// moveBefore - Unlink this instruction from its current basic block and
+ /// insert it into the basic block that MovePos lives in, right before
+ /// MovePos.
+ void moveBefore(Instruction *MovePos);
+
// ---------------------------------------------------------------------------
/// Subclass classification... getOpcode() returns a member of
/// one of the enums that is coming soon (down below)...