Commit 6bfab9b8 authored by Viviane Garese's avatar Viviane Garese 🙌
Browse files

tools: llvm: fix phrasing and add missing module description

* source/tools/llvm/irbuilder.rst,
* source/tools/llvm/llvm.rst,
* source/tools/llvm/module.rst,
* source/tools/llvm/value.rst: Here.
parent 25b80a80
......@@ -5,8 +5,8 @@ IRBuilder
The `IRBuilder Class <>`_
is a helper providing an API for LLVM IR generation. Instances of the IRBuilder
class keep track of the current place to insert instructions and has methods to
create new instructions.
class keep track of the current place to insert instructions and has member
functions to create new instructions.
In order to better understand LLVM's instructions and their uses, we
strongly encourage you to checkout `LLVM's Instruction Reference
......@@ -34,7 +34,7 @@ Insert points:
void SetInsertPoint (BasicBlock *TheBB)
Instruction creation methods:
Instruction creation member functions:
.. code-block:: c++
......@@ -9,9 +9,7 @@ to any specific language. LLVM allows numerous source code to be translated
in different targets.
In our case, we will be interested in how we can use :ref:`LLVM-IR <TC-L>`
for the Tiger Compiler.
In :ref:`TC-L <TC-L>` we are using the Intermediate Representation LLVM-IR.
for the Tiger Compiler.
The LLVM IR is a Static Single Assignment (SSA) based
representation, that provides type safety, low-level operations,
......@@ -3,7 +3,8 @@
`Modules <>`_ are the
top level container of all other LLVM Intermediate Representation (IR) objects.
.. code-block:: c++
......@@ -5,7 +5,8 @@ Value
The LLVM value class is the base class of all the following classes. See
`LLVM Value Class <>`_
for more information.
for more information. Here, we document some of their most useful member
functions our Tiger Compiler.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment