@@ -64,7 +64,7 @@ Classes and concrete records have a unique *name*, either chosen by
6464the programmer or generated by TableGen. Associated with that name
6565is a list of *fields * with values and an optional list of *parent classes *
6666(sometimes called base or super classes). The fields are the primary data that
67- backends will process. Note that TableGen assigns no meanings to fields; the
67+ backends will process. Note that TableGen assigns no meaning to fields; the
6868meanings are entirely up to the backends and the programs that incorporate
6969the output of those backends.
7070
@@ -243,7 +243,7 @@ Include files
243243-------------
244244
245245TableGen has an include mechanism. The content of the included file
246- lexically replaces the ``include `` directive and is then parsed as if it was
246+ lexically replaces the ``include `` directive and is then parsed as if it were
247247originally in the main file.
248248
249249.. productionlist ::
@@ -670,17 +670,17 @@ name of a multiclass.
670670The argument values can be specified in two forms:
671671
672672* Positional argument (``value ``). The value is assigned to the argument in the
673- corresponding position. For ``Foo<a0, a1> ``, ``a0 `` will be assigned to first
674- argument and ``a1 `` will be assigned to second argument.
673+ corresponding position. For ``Foo<a0, a1> ``, ``a0 `` will be assigned to the first
674+ argument and ``a1 `` will be assigned to the second argument.
675675* Named argument (``name=value ``). The value is assigned to the argument with
676676 the specified name. For ``Foo<a=a0, b=a1> ``, ``a0 `` will be assigned to the
677677 argument with name ``a `` and ``a1 `` will be assigned to the argument with
678678 name ``b ``.
679679
680- Required arguments can also be specified as named argument.
680+ Required arguments can also be specified as a named argument.
681681
682682Note that the argument can only be specified once regardless of the way (named
683- or positional) to specify and positional arguments should be put before named
683+ or positional) to specify and positional arguments should precede named
684684arguments.
685685
686686.. productionlist ::
@@ -817,7 +817,7 @@ type. It provides a single field, ``Value``, which holds a 3-bit number. Its
817817template argument, ``val ``, is used to set the ``Value `` field. Each of the
818818eight records is defined with ``FPFormat `` as its parent class. The
819819enumeration value is passed in angle brackets as the template argument. Each
820- record will inherent the ``Value `` field with the appropriate enumeration
820+ record will inherit the ``Value `` field with the appropriate enumeration
821821value.
822822
823823Here is a more complex example of classes with template arguments. First, we
@@ -1308,7 +1308,7 @@ with ``F0``, ``F1``, ``F2``, and ``F3``.
13081308-------------------------------------
13091309
13101310A ``dump `` statement prints the input string to standard error
1311- output. It is intended for debugging purpose .
1311+ output. It is intended for debugging purposes .
13121312
13131313* At top level, the message is printed immediately.
13141314
@@ -1727,7 +1727,7 @@ and non-0 as true.
17271727
17281728``!div( ``\ *a *\ ``, `` *b *\ ``) ``
17291729 This operator performs signed division of *a * by *b *, and produces the quotient.
1730- Division by 0 produces an error. Division of INT64_MIN by -1 produces an error.
1730+ Division by 0 produces an error. Division of `` INT64_MIN `` by -1 produces an error.
17311731
17321732``!empty( ``\ *a *\ ``) ``
17331733 This operator produces 1 if the string, list, or DAG *a * is empty; 0 otherwise.
@@ -1914,7 +1914,7 @@ and non-0 as true.
19141914``!or( ``\ *a *\ ``, `` *b *\ ``, ...) ``
19151915 This operator does a bitwise OR on *a *, *b *, etc., and produces the
19161916 result. A logical OR can be performed if all the arguments are either
1917- 0 or 1. This operator is short-circuit to -1 (all ones) the left-most
1917+ 0 or 1. This operator is short-circuit to -1 (all ones) when the left-most
19181918 operand is -1.
19191919
19201920``!range([ ``\ *start *\ ``,] `` *end *\ ``[, ``\ *step *\ ``]) ``
@@ -1937,7 +1937,7 @@ and non-0 as true.
19371937 Equivalent to ``!range(0, !size(list)) ``.
19381938
19391939``!repr( ``\ *value *\ ``) ``
1940- Represents *value * as a string. String format for the value is not
1940+ Represents *value * as a string. The string format for the value is not
19411941 guaranteed to be stable. Intended for debugging purposes only.
19421942
19431943``!setdagarg( ``\ *dag *\ ``, ``\ *key *\ ``, ``\ *arg *\ ``) ``
0 commit comments