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:
@@ -3,7 +3,7 @@ Cranelift Code Generator
|
||||
|
||||
Cranelift is a low-level retargetable code generator. It translates a
|
||||
[target-independent intermediate
|
||||
representation](https://cranelift.readthedocs.io/en/latest/langref.html)
|
||||
representation](https://cranelift.readthedocs.io/en/latest/ir.html)
|
||||
into executable machine code.
|
||||
|
||||
[](https://cranelift.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
@@ -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`
|
||||
|
||||
@@ -19,7 +19,7 @@ pub enum CodegenError {
|
||||
/// Cranelift can compile very large and complicated functions, but the [implementation has
|
||||
/// limits][limits] that cause compilation to fail when they are exceeded.
|
||||
///
|
||||
/// [limits]: https://cranelift.readthedocs.io/en/latest/langref.html#implementation-limits
|
||||
/// [limits]: https://cranelift.readthedocs.io/en/latest/ir.html#implementation-limits
|
||||
#[fail(display = "Implementation limit exceeded")]
|
||||
ImplLimitExceeded,
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ pub enum WasmError {
|
||||
/// Cranelift can compile very large and complicated functions, but the [implementation has
|
||||
/// limits][limits] that cause compilation to fail when they are exceeded.
|
||||
///
|
||||
/// [limits]: https://cranelift.readthedocs.io/en/latest/langref.html#implementation-limits
|
||||
/// [limits]: https://cranelift.readthedocs.io/en/latest/ir.html#implementation-limits
|
||||
#[fail(display = "Implementation limit exceeded")]
|
||||
ImplLimitExceeded,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user