X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FTableGenFundamentals.html;h=ca327ce421fc11e74a5bc46b5a8a8354322f3aa3;hb=004e19e38d810c3146c77b68a9274210ee008b1d;hp=c63c5cef5fa8190c785bc8619fe9153a0b77fd4e;hpb=85234aca74411051406287a3b1991947feff6810;p=oota-llvm.git diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html index c63c5cef5fa..ca327ce421f 100644 --- a/docs/TableGenFundamentals.html +++ b/docs/TableGenFundamentals.html @@ -41,13 +41,13 @@
-The core part of TableGen parses a file, instantiates the declarations, and hands the result off to a domain-specific "TableGen backend" for processing. The current major user -of TableGen is the LLVM code generator.
+of TableGen is the LLVM code generator.Note that if you work on TableGen much, and use emacs or vim, that you can find an emacs "TableGen mode" and a vim language file in @@ -230,7 +230,8 @@ the line, and it also supports nestable "/* */" comments.
-TableGen allows for a pretty reasonable number of different expression forms when building up values. These forms allow the TableGen file to be written in a natural syntax and flavor for the application. The current expression forms supported include:
Note that all of the values have rules specifying how they convert to values @@ -321,15 +324,17 @@ for different types. These rules allow you to assign a value like "7" to a
As mentioned in the intro, classes and definitions (collectively known as 'records') in TableGen are the main high-level unit of information that TableGen collects. Records are defined with a def or class keyword, the record name, and an optional list of "template arguments". If the record has superclasses, +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 @@ -542,18 +547,6 @@ about any particular backend, except maybe -print-enums as an example. This should highlight the APIs in TableGen/Record.h.
This is just a temporary, convenient, place to put stuff about the code -generator before it gets its own document. This should describe all of the -tablegen backends used by the code generator and the classes/definitions they -expect.
-