summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial/OCamlLangImpl3.html
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-04-13 06:22:09 +0000
committerDuncan Sands <baldrick@free.fr>2008-04-13 06:22:09 +0000
commita07136ee2dc29579568e4f08c65db974855841dc (patch)
treede2cd5ce847fd3fbbb0858c23b058d239355110b /llvm/docs/tutorial/OCamlLangImpl3.html
parentfcd78b02c213d6e436f53fa5ef830e28189db900 (diff)
downloadbcm5719-llvm-a07136ee2dc29579568e4f08c65db974855841dc.tar.gz
bcm5719-llvm-a07136ee2dc29579568e4f08c65db974855841dc.zip
Merge LLVMBuilder and FoldingBuilder, calling
the result IRBuilder. Patch by Dominic Hamon. llvm-svn: 49604
Diffstat (limited to 'llvm/docs/tutorial/OCamlLangImpl3.html')
-rw-r--r--llvm/docs/tutorial/OCamlLangImpl3.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/tutorial/OCamlLangImpl3.html b/llvm/docs/tutorial/OCamlLangImpl3.html
index 079ab1c2b49..b396ef07ae5 100644
--- a/llvm/docs/tutorial/OCamlLangImpl3.html
+++ b/llvm/docs/tutorial/OCamlLangImpl3.html
@@ -108,7 +108,7 @@ top-level structure that the LLVM IR uses to contain code.</p>
<p>The <tt>Codegen.builder</tt> object is a helper object that makes it easy to
generate LLVM instructions. Instances of the <a
-href="http://llvm.org/doxygen/LLVMBuilder_8h-source.html"><tt>LLVMBuilder</tt></a>
+href="http://llvm.org/doxygen/IRBuilder_8h-source.html"><tt>IRBuilder</tt></a>
class keep track of the current place to insert instructions and has methods to
create new instructions.</p>
@@ -194,7 +194,7 @@ code, we do a simple switch on the opcode to create the right LLVM instruction.
</p>
<p>In the example above, the LLVM builder class is starting to show its value.
-LLVMBuilder knows where to insert the newly created instruction, all you have to
+IRBuilder knows where to insert the newly created instruction, all you have to
do is specify what instruction to create (e.g. with <tt>Llvm.create_add</tt>),
which operands to use (<tt>lhs</tt> and <tt>rhs</tt> here) and optionally
provide a name for the generated instruction.</p>
OpenPOWER on IntegriCloud