llvm-6502/docs/TableGen
Adam Nemet 30cced119b [TableGen] Allow shift operators to take bits<n>
Convert the operand to int if possible, i.e. if the value is properly
initialized.  (I suppose there is further room for improvement here to also
peform the shift if the uninitialized bits are shifted out.)

With this little change we can now compute the scaling factor for compressed
displacement with pure tablegen code in the X86 backend.  This is useful
because both the X86-disassembler-specific part of tablegen and the assembler
need this and TD is the natural sharing place.

The patch also adds the missing documentation for the shift and add operator.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213277 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-17 17:04:27 +00:00
..
BackEnds.rst Adding some very nascent information about the clang tablegen backends, with a promise to add more information later. 2014-03-24 18:18:31 +00:00
Deficiencies.rst Re-factor TableGen docs 2014-03-20 16:08:34 +00:00
index.rst Recover TableGen/LangRef, make it official 2014-04-01 09:51:49 +00:00
LangIntro.rst [TableGen] Allow shift operators to take bits<n> 2014-07-17 17:04:27 +00:00
LangRef.rst [tablegen] Add !listconcat operator with the similar semantics as !strconcat 2014-05-07 10:13:19 +00:00