<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emscripten-fastcomp/docs/TableGen, branch 1.12.1</title>
<subtitle>LLVM with the emscripten fastcomp javascript backend</subtitle>
<id>https://git.amat.us/emscripten-fastcomp/atom/docs/TableGen?h=1.12.1</id>
<link rel='self' href='https://git.amat.us/emscripten-fastcomp/atom/docs/TableGen?h=1.12.1'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/'/>
<updated>2013-03-24T19:36:51Z</updated>
<entry>
<title>Allow TableGen DAG arguments to be just a name.</title>
<updated>2013-03-24T19:36:51Z</updated>
<author>
<name>Jakob Stoklund Olesen</name>
<email>stoklund@2pi.dk</email>
</author>
<published>2013-03-24T19:36:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=4717fd4c0faf454ff37f133709320d0cfec0da89'/>
<id>urn:sha1:4717fd4c0faf454ff37f133709320d0cfec0da89</id>
<content type='text'>
DAG arguments can optionally be named:

  (dag node, node:$name)

With this change, the node is also optional:

  (dag node, node:$name, $name)

The missing node is treated as an UnsetInit, so the above is equivalent
to:

  (dag node, node:$name, ?:$name)

This syntax is useful in output patterns where we currently require the
types of variables to be repeated:

  def : Pat&lt;(subc i32:$b, i32:$c), (SUBCCrr i32:$b, i32:$c)&gt;;

This is preferable:

  def : Pat&lt;(subc i32:$b, i32:$c), (SUBCCrr $b, $c)&gt;;

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177843 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[docs] Fixup fallout from other grammar fixup.</title>
<updated>2013-02-01T03:50:20Z</updated>
<author>
<name>Sean Silva</name>
<email>silvas@purdue.edu</email>
</author>
<published>2013-02-01T03:50:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=f1f57c5c1a53cfcb0de23660a4d607ed57e0525a'/>
<id>urn:sha1:f1f57c5c1a53cfcb0de23660a4d607ed57e0525a</id>
<content type='text'>
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174144 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[docs] Add missing colon to TableGen grammar.</title>
<updated>2013-02-01T03:32:38Z</updated>
<author>
<name>Sean Silva</name>
<email>silvas@purdue.edu</email>
</author>
<published>2013-02-01T03:32:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=de4b0a083a668985152dac5dc1dcfb0466540d0c'/>
<id>urn:sha1:de4b0a083a668985152dac5dc1dcfb0466540d0c</id>
<content type='text'>
Spotted by Eli Bendersky.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174143 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Add an addition operator to TableGen</title>
<updated>2013-01-25T14:49:08Z</updated>
<author>
<name>Hal Finkel</name>
<email>hfinkel@anl.gov</email>
</author>
<published>2013-01-25T14:49:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=d23a41c153712b929bd84f5e713bda5db5d6e66d'/>
<id>urn:sha1:d23a41c153712b929bd84f5e713bda5db5d6e66d</id>
<content type='text'>
This adds an !add(a, b) operator to tablegen; this will be used
to cleanup the PPC register definitions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173445 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>TableGen/LangRef: link bang operators into the productionlist</title>
<updated>2013-01-09T02:20:31Z</updated>
<author>
<name>Sean Silva</name>
<email>silvas@purdue.edu</email>
</author>
<published>2013-01-09T02:20:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=96a05b3074e8633db936d6ba337a0d2bd6a7dd95'/>
<id>urn:sha1:96a05b3074e8633db936d6ba337a0d2bd6a7dd95</id>
<content type='text'>
Now BangOperator should be nicely hyperlinked.

Pointed out by Joel Jones.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171942 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>TableGen/LangRef: discuss specific C-like escapes</title>
<updated>2013-01-09T02:20:30Z</updated>
<author>
<name>Sean Silva</name>
<email>silvas@purdue.edu</email>
</author>
<published>2013-01-09T02:20:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=104f2b5e9180d078b85014d7d8850d869f3f1ec1'/>
<id>urn:sha1:104f2b5e9180d078b85014d7d8850d869f3f1ec1</id>
<content type='text'>
Suggested by Joel Jones.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171941 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>docs: Fix mention of DefmID to MultiClassID.</title>
<updated>2013-01-09T02:20:24Z</updated>
<author>
<name>Sean Silva</name>
<email>silvas@purdue.edu</email>
</author>
<published>2013-01-09T02:20:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=d155ffc03fd744c8b1c67b0a913c55d6e42044c8'/>
<id>urn:sha1:d155ffc03fd744c8b1c67b0a913c55d6e42044c8</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171940 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>docs: Bring TableGen syntax a bit closer to reality.</title>
<updated>2013-01-09T02:11:55Z</updated>
<author>
<name>Sean Silva</name>
<email>silvas@purdue.edu</email>
</author>
<published>2013-01-09T02:11:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=9302dcc91458f9d6c8005934f1180ead4427aaba'/>
<id>urn:sha1:9302dcc91458f9d6c8005934f1180ead4427aaba</id>
<content type='text'>
It's not just def's but actually a limited subset of Object's that are
allowed inside a multiclass.

Spotted by Joel Jones.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171935 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>tblgen, docs: Add initial syntax reference.</title>
<updated>2013-01-07T02:43:44Z</updated>
<author>
<name>Sean Silva</name>
<email>silvas@purdue.edu</email>
</author>
<published>2013-01-07T02:43:44Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=26b8aab72e6895d7851c0b4568a54920162dd736'/>
<id>urn:sha1:26b8aab72e6895d7851c0b4568a54920162dd736</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171685 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
</feed>
