Rename Cretonne to Cranelift!

This commit is contained in:
Dan Gohman
2018-07-13 09:01:28 -07:00
parent 19a636af96
commit f4dbd38a4c
306 changed files with 977 additions and 975 deletions

View File

@@ -1,7 +1,7 @@
"""
Cretonne DSL classes.
Cranelift DSL classes.
This module defines the classes that are used to define Cretonne instructions
This module defines the classes that are used to define Cranelift instructions
and other entitties.
"""
from __future__ import absolute_import

View File

@@ -2,7 +2,7 @@
Abstract syntax trees.
This module defines classes that can be used to create abstract syntax trees
for patern matching an rewriting of cretonne instructions.
for patern matching an rewriting of cranelift instructions.
"""
from __future__ import absolute_import
from . import instructions

View File

@@ -50,7 +50,7 @@ class InstructionFormat(object):
of values.
All instruction formats must be predefined in the
:py:mod:`cretonne.formats` module.
:py:mod:`cranelift.formats` module.
:param kinds: List of `OperandKind` objects describing the operands.
:param name: Instruction format name in CamelCase. This is used as a Rust

View File

@@ -67,7 +67,7 @@ VARIABLE_ARGS = OperandKind(
# Instances of immediate operand types are provided in the
# `cretonne.immediates` module.
# `cranelift.immediates` module.
class ImmediateKind(OperandKind):
"""
The kind of an immediate instruction operand.
@@ -152,7 +152,7 @@ class ImmediateKind(OperandKind):
# Instances of entity reference operand types are provided in the
# `cretonne.entities` module.
# `cranelift.entities` module.
class EntityRefKind(OperandKind):
"""
The kind of an entity reference instruction operand.

View File

@@ -1,5 +1,5 @@
"""
Cretonne predicates.
Cranelift predicates.
A *predicate* is a function that computes a boolean result. The inputs to the
function determine the kind of predicate:

View File

@@ -14,7 +14,7 @@ except ImportError:
class Setting(object):
"""
A named setting variable that can be configured externally to Cretonne.
A named setting variable that can be configured externally to Cranelift.
Settings are normally not named when they are created. They get their name
from the `extract_names` method.

View File

@@ -1,4 +1,4 @@
"""Cretonne ValueType hierarchy"""
"""Cranelift ValueType hierarchy"""
from __future__ import absolute_import
import math

View File

@@ -1,7 +1,7 @@
"""
Type variables for Parametric polymorphism.
Cretonne instructions and instruction transformations can be specified to be
Cranelift instructions and instruction transformations can be specified to be
polymorphic by using type variables.
"""
from __future__ import absolute_import