search for: searchabletable

Displaying 3 results from an estimated 3 matches for "searchabletable".

2020 Aug 29
3
TableGen enhancements
...allow an apostrophe as a digit group separator in integers, a la C++). Perhaps there are some syntactic enhancements that would make .td files easier to read and write. Perhaps there are common portions of .td files that can be factored out to reduce future duplications, as with Automaton.td and SearchableTable.td. Perhaps there are common portions of TableGen backends that can be factored out to reduce future efforts, resulting in some general-purpose library methods. Perhaps there are new features in TableGen that, coupled with enhanced or new C++ files, would open up possibilities for using TableGen...
2020 Sep 08
2
TableGen enhancements
...e main requirement was to add a slot to the RecordVal class to hold the source location of the statement that defined the field. To make that easier to use, I added a third PrintFatalError() method that accepts a RecordVal and grabs the source location from it. To test these ideas, I worked on the SearchableTable backend. It now includes in every message at least the record location and often the field definition location. I also reworded some message to make them more consistent. I will submit a patch to Phabricator soon. The problem now is that every backend has to be modified to take advantage of these...
2020 Jun 27
3
tablegen generated enums in tablegen
I'd like to store a tablegen generated enumeration in a record field/value. Clearly this enumeration isn't available yet so it seems that a code fragment should be the escape mechanism I need. Looking at the other backends for examples, I see things like [{ return Imm >= 0 && Imm < 64; }] // promising code Requires = [{ {} }];