From aa55c8cc38d57fce6e169112da63137d35d4e19c Mon Sep 17 00:00:00 2001 From: John Criswell Date: Thu, 12 Feb 2004 18:11:53 +0000 Subject: [PATCH 1/1] Fixed minor typos. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11356 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/TableGenFundamentals.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html index 50349347dff..a74ffe3f0e1 100644 --- a/docs/TableGenFundamentals.html +++ b/docs/TableGenFundamentals.html @@ -299,7 +299,7 @@ value, such as 5.
  • "string" - The 'string' type represents an ordered sequence of characters of arbitrary length.
  • -
  • "bits<n>" - A 'bits' type is a arbitrary, but fixed, +
  • "bits<n>" - A 'bits' type is an arbitrary, but fixed, size integer that is broken up into individual bits. This type is useful because it can handle some bits being defined while others are undefined.
  • @@ -363,7 +363,7 @@ including nested 'dag' values.

    -Note that all of the values have rules specifying how they convert to to values +Note that all of the values have rules specifying how they convert to values for different types. These rules allow you to assign a value like "7" to a "bits<4>" value, for example.

    @@ -387,8 +387,8 @@ information that TableGen collects. Records are defined with a def or href="templateargs">template arguments". If the record has superclasses, they are specified as a comma seperated list that starts with a colon character (":"). If value definitions or let -expressions are needed for the class they are enclosed in curly braces -("{}"), otherwise the record ends with a semicolon. Here is a simple TableGen +expressions are needed for the class, they are enclosed in curly braces +("{}"); otherwise, the record ends with a semicolon. Here is a simple TableGen file:

    @@ -408,7 +408,7 @@ bit value. The Y definition also gets the Greeting member as well.

    In general, classes are useful for collecting together the commonality between a -group of records, and isolating it in a single places. Also, classes permit the +group of records and isolating it in a single place. Also, classes permit the specification of default values for their subclasses, allowing the subclasses to override them as they wish.

    @@ -423,7 +423,7 @@ override them as they wish.

    Value definitions define named entries in records. A value must be defined -before it can be referred to as the operand for another value definition, or +before it can be referred to as the operand for another value definition or before the value is reset with a let expression. A value is defined by specifying a TableGen type and a name. If an initial value is available, it may be specified after the type with an @@ -439,9 +439,9 @@ equal sign. Value definitions require terminating semicolons.

    A record-level let expression is used to change the value of a value definition in a record. This is primarily useful when a superclass defines a value that a -derived class or definitions wants to override. Let expressions consist of the -'let' keyword, followed by a value name, an equal sign ("="), and a new -value for example, a new class could be added to the example above, redefining +derived class or definition wants to override. Let expressions consist of the +'let' keyword followed by a value name, an equal sign ("="), and a new +value. For example, a new class could be added to the example above, redefining the V field for all of its subclasses:

    -- 
    2.34.1