moved crates in lib/ to src/, renamed crates, modified some files' text (#660)
moved crates in lib/ to src/, renamed crates, modified some files' text (#660)
This commit is contained in:
@@ -11,7 +11,7 @@ domain specific language embedded in Python. This document describes the Python
|
||||
modules that form the embedded DSL.
|
||||
|
||||
The meta language descriptions are Python modules under the
|
||||
:file:`lib/codegen/meta-python` directory. The descriptions are processed in two
|
||||
:file:`cranelift-codegen/meta-python` directory. The descriptions are processed in two
|
||||
steps:
|
||||
|
||||
1. The Python modules are imported. This has the effect of building static data
|
||||
@@ -23,8 +23,8 @@ steps:
|
||||
constant tables.
|
||||
|
||||
The main driver for this source code generation process is the
|
||||
:file:`lib/codegen/meta-python/build.py` script which is invoked as part of the build
|
||||
process if anything in the :file:`lib/codegen/meta-python` directory has changed
|
||||
:file:`cranelift-codegen/meta-python/build.py` script which is invoked as part of the build
|
||||
process if anything in the :file:`cranelift-codegen/meta-python` directory has changed
|
||||
since the last build.
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ of code generation. Each setting is defined in the meta language so a compact
|
||||
and consistent Rust representation can be generated. Shared settings are defined
|
||||
in the :mod:`base.settings` module. Some settings are specific to a target ISA,
|
||||
and defined in a :file:`settings.py` module under the appropriate
|
||||
:file:`lib/codegen/meta-python/isa/*` directory.
|
||||
:file:`cranelift-codegen/meta-python/isa/*` directory.
|
||||
|
||||
Settings can take boolean on/off values, small numbers, or explicitly enumerated
|
||||
symbolic values. Each type is represented by a sub-class of :class:`Setting`:
|
||||
@@ -433,7 +433,7 @@ architectures. Each ISA is represented by a :py:class:`cdsl.isa.TargetISA` insta
|
||||
.. autoclass:: TargetISA
|
||||
|
||||
The definitions for each supported target live in a package under
|
||||
:file:`lib/codegen/meta-python/isa`.
|
||||
:file:`cranelift-codegen/meta-python/isa`.
|
||||
|
||||
.. automodule:: isa
|
||||
:members:
|
||||
|
||||
Reference in New Issue
Block a user