Rename langref.rst to ir.rst.

This aligns with our use of the term "IR" rather than "IL" or
other terms involving "language".
This commit is contained in:
Dan Gohman
2018-08-02 09:18:59 -07:00
parent 987bbfa922
commit c61f8a5baf
8 changed files with 11 additions and 11 deletions

View File

@@ -89,7 +89,7 @@ representation. Some target ISAs have a fast instruction selector that can
translate simple code directly to MachineInstrs, bypassing SelectionDAG when
possible.
:doc:`Cranelift <langref>` uses a single intermediate representation to cover
:doc:`Cranelift <ir>` uses a single intermediate representation to cover
these levels of abstraction. This is possible in part because of Cranelift's
smaller scope.

View File

@@ -6,8 +6,8 @@ Contents:
.. toctree::
:maxdepth: 1
langref
metaref
ir
meta
testing
regalloc
compare-llvm

View File

@@ -1,6 +1,6 @@
****************************
Cranelift Language Reference
****************************
**********************
Cranelift IR Reference
**********************
.. default-domain:: clif
.. highlight:: clif

View File

@@ -80,7 +80,7 @@ open :class:`InstructionGroup`.
.. autoclass:: InstructionGroup
:members:
The basic Cranelift instruction set described in :doc:`langref` is defined by the
The basic Cranelift instruction set described in :doc:`ir` is defined by the
Python module :mod:`base.instructions`. This module has a global value
:data:`base.instructions.GROUP` which is an :class:`InstructionGroup` instance
containing all the base instructions.

View File

@@ -90,7 +90,7 @@ easier to provide substantial input functions for the compiler tests.
File tests are :file:`*.clif` files in the :file:`filetests/` directory
hierarchy. Each file has a header describing what to test followed by a number
of input functions in the :doc:`Cranelift textual intermediate representation
<langref>`:
<ir>`:
.. productionlist::
test_file : test_header `function_list`