summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/TGParser.h
Commit message (Collapse)AuthorAgeFilesLines
* various cleanups to tblgen, patch by Garrison Venn!Chris Lattner2010-12-151-2/+2
| | | | llvm-svn: 121837
* eliminate the Records global variable, patch by Garrison Venn!Chris Lattner2010-12-131-1/+6
| | | | llvm-svn: 121659
* Push twines deeper into SourceMgr's error handling methods.Benjamin Kramer2010-09-271-2/+3
| | | | llvm-svn: 114847
* Teach tablegen to allow "let" expressions inside multiclasses,Bruno Cardoso Lopes2010-06-101-6/+5
| | | | | | providing more ways to factor out commonality from the records. llvm-svn: 105776
* Teach tablegen to support 'defm' inside multiclasses.Bruno Cardoso Lopes2010-06-051-1/+1
| | | | llvm-svn: 105519
* move include searching logic from TGLexer to SourceMgr.Chris Lattner2009-06-211-2/+0
| | | | llvm-svn: 73845
* Rename TGSourceMgr -> SourceMgr.Chris Lattner2009-06-211-1/+1
| | | | llvm-svn: 73844
* rename TGLoc -> SMLoc.Chris Lattner2009-06-211-6/+6
| | | | llvm-svn: 73843
* move TGSourceMgr class out of TableGen into libsupport.Chris Lattner2009-06-211-1/+1
| | | | llvm-svn: 73842
* Make IntInits and ListInits typed. This helps deduce types of !if andDavid Greene2009-06-081-3/+3
| | | | | | | | other operators. For the rare cases where a list type cannot be deduced, provide a []<type> syntax, where <type> is the list element type. llvm-svn: 73078
* Operation EnhancementsDavid Greene2009-05-141-0/+2
| | | | | | | | | | | Create an OpInit class to serve as a base for all operation Inits. Move parsing of operation constructs to separate functions and reference from multiple places. Add some commented out new operations. Coming soon. llvm-svn: 71789
* Rename the CurMultiClass formal parameter of TGParser::AddSubMultiClassBob Wilson2009-04-301-2/+3
| | | | | | | so that it doesn't shadow the instance variable of the same name. Make the parameter names in method declarations match the definitions. llvm-svn: 70502
* Remove unnecessary "class" keywords.Bob Wilson2009-04-301-1/+1
| | | | llvm-svn: 70499
* Implement multiclass inheritance.David Greene2009-04-221-1/+4
| | | | llvm-svn: 69810
* Fix the Win32 VS2008 build:Sebastian Redl2009-03-191-1/+1
| | | | | | | | | | - Make type declarations match the struct/class keyword of the definition. - Move AddSignalHandler into the namespace where it belongs. - Correctly call functions from template base. - Some other small changes. With this patch, LLVM and Clang should build properly and with far less noise under VS2008. llvm-svn: 67347
* make "locations" a class instead of a typedef.Chris Lattner2009-03-131-7/+7
| | | | llvm-svn: 66895
* split buffer management and diagnostic printing out of the tblgenChris Lattner2009-03-131-1/+1
| | | | | | lexer into its own TGSourceMgr class. llvm-svn: 66873
* Unbreak the build on win32.Cedric Venet2009-02-141-2/+2
| | | | | | | | | | Cleanup some warning. Remark: when struct/class are declared differently than they are defined, this make problem for VC++ since it seems to mangle class differently that struct. These error are very hard to understand and find. So please, try to keep your definition/declaration in sync. Only tested with VS2008. hope it does not break anything. feel free to revert. llvm-svn: 64554
* Make tblgen more portable, allowing it to build with ICC.Chris Lattner2009-01-221-2/+2
| | | | | | Patch by Robert Zeh! llvm-svn: 62750
* remove attributions from utils.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45419
* Rewrite the tblgen parser in a recursive descent style, eliminating the ↵Chris Lattner2007-11-221-0/+109
bison parser. This makes the parser much easier to understand, eliminates a ton of global variables, and gives tblgen nice caret diagnostics. It is also faster, but tblgen probably doesn't care about performance. There are a couple of FIXMEs which I will take care of next. llvm-svn: 44274
OpenPOWER on IntegriCloud