From: Joel Stanley
Date: Wed, 18 Sep 2002 03:17:23 +0000 (+0000)
Subject: Finished instruction replacement section, etc. Need better example for replaceAllUse...
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9dd1ad62ab8f947fea116430c8c15a06779879ba;p=oota-llvm.git
Finished instruction replacement section, etc. Need better example for replaceAllUsesWith().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3806 91177308-0d34-0410-b5e6-96231b3b80d8
---
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html
index 421f3021ed3..d9571c882d4 100644
--- a/docs/ProgrammersManual.html
+++ b/docs/ProgrammersManual.html
@@ -669,8 +669,7 @@ pb->getInstList().insert(pi, newInst); // inserts newInst before pi in pb
Insertion into an implicit instruction list
-
-Instruction instances that are already in
+
Instruction instances that are already in
BasicBlocks are implicitly associated with an existing
instruction list: the instruction list of the enclosing basic block.
Thus, we could have accomplished the same thing as the above code
@@ -695,7 +694,7 @@ Instruction* newInst = new Instruction(..., pi);
which is much cleaner, especially if you're creating a lot of
instructions and adding them to BasicBlocks.
-
+
@@ -718,17 +717,59 @@ For example:
BB->getInstList().erase(I);
-
-
@@ -1575,6 +1616,6 @@ pointer to the parent Function.
Chris Lattner
-Last modified: Tue Sep 17 17:41:54 CDT 2002
+Last modified: Tue Sep 17 22:16:24 CDT 2002