Sean Silva
1aaa6caadc
[docs] Fixup fallout from other grammar fixup.
...
My "excuse" for not refactoring the grammar here is to not diverge too
far from the grammar in the comments of TGParser.cpp, since I'm not
taking on the quest of majorly refactoring TGParser.cpp at the moment.
One benefit of doing this is that Ideas for refactoring and clarifying
the grammar in this document should translate almost immediately to
beneficial refactorings that can be made to TGParser.cpp.
llvm-svn: 174144
2013-02-01 03:50:20 +00:00
Sean Silva
041e217ae9
[docs] Add missing colon to TableGen grammar.
...
Spotted by Eli Bendersky.
llvm-svn: 174143
2013-02-01 03:32:38 +00:00
Hal Finkel
4279c8573b
Add an addition operator to TableGen
...
This adds an !add(a, b) operator to tablegen; this will be used
to cleanup the PPC register definitions.
llvm-svn: 173445
2013-01-25 14:49:08 +00:00
Sean Silva
8c288065d5
TableGen/LangRef: link bang operators into the productionlist
...
Now BangOperator should be nicely hyperlinked.
Pointed out by Joel Jones.
llvm-svn: 171942
2013-01-09 02:20:31 +00:00
Sean Silva
4d52e97d28
TableGen/LangRef: discuss specific C-like escapes
...
Suggested by Joel Jones.
llvm-svn: 171941
2013-01-09 02:20:30 +00:00
Sean Silva
719c1e325e
docs: Fix mention of DefmID to MultiClassID.
...
llvm-svn: 171940
2013-01-09 02:20:24 +00:00
Sean Silva
83bc854f4c
docs: Bring TableGen syntax a bit closer to reality.
...
It's not just def's but actually a limited subset of Object's that are
allowed inside a multiclass.
Spotted by Joel Jones.
llvm-svn: 171935
2013-01-09 02:11:55 +00:00
Sean Silva
b71fcc17d7
tblgen, docs: Add initial syntax reference.
...
llvm-svn: 171685
2013-01-07 02:43:44 +00:00