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:
@@ -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.
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ Contents:
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
langref
|
||||
metaref
|
||||
ir
|
||||
meta
|
||||
testing
|
||||
regalloc
|
||||
compare-llvm
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
****************************
|
||||
Cranelift Language Reference
|
||||
****************************
|
||||
**********************
|
||||
Cranelift IR Reference
|
||||
**********************
|
||||
|
||||
.. default-domain:: clif
|
||||
.. highlight:: clif
|
||||
@@ -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.
|
||||
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user