Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rewrite the tblgen parser in a recursive descent style, eliminating the ↵ | Chris Lattner | 2007-11-22 | 1 | -806/+0 |
| | | | | | | | | | | | | 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 | ||||
* | Added \!con(a,b) syntax to concatnate two dag fragments. | Evan Cheng | 2007-05-15 | 1 | -1/+3 |
| | | | | llvm-svn: 37063 | ||||
* | What should be the last unnecessary <iostream>s in the library. | Bill Wendling | 2006-12-07 | 1 | -1/+2 |
| | | | | llvm-svn: 32333 | ||||
* | Add support for let expressions around an mdef. This implements a new part | Chris Lattner | 2006-10-11 | 1 | -2/+10 |
| | | | | | | of Regression/TableGen/MultiClass.td. llvm-svn: 30887 | ||||
* | Bugfix: this allows multiclasses to have default arguments. | Chris Lattner | 2006-10-07 | 1 | -1/+2 |
| | | | | llvm-svn: 30798 | ||||
* | Make sure to clear CurDefmPrefix = 0, otherwise stuff after a defm won't | Chris Lattner | 2006-09-01 | 1 | -0/+1 |
| | | | | | | parse right. This fixes TableGen/MultiClass.td llvm-svn: 30037 | ||||
* | fix an assertion with multidefs. Def inside of multiclasses don't need to | Chris Lattner | 2006-09-01 | 1 | -1/+5 |
| | | | | | | be complete. llvm-svn: 30034 | ||||
* | Add often-requested support for defining "multiclasses" which can be ↵ | Chris Lattner | 2006-09-01 | 1 | -38/+200 |
| | | | | | | | | | instantiated. This allows you to define multiple definitions with one line, encouraging more .td file factoring. llvm-svn: 30027 | ||||
* | Generalize the previous binary operator support and add a string concatenation | Chris Lattner | 2006-03-31 | 1 | -16/+6 |
| | | | | | | operation. This implements Regression/TableGen/strconcat.td. llvm-svn: 27312 | ||||
* | Implement Regression/TableGen/DagDefSubst.ll | Chris Lattner | 2006-03-30 | 1 | -25/+24 |
| | | | | llvm-svn: 27263 | ||||
* | implement test/Regression/TableGen/DagIntSubst.ll | Chris Lattner | 2006-01-31 | 1 | -1/+1 |
| | | | | llvm-svn: 25836 | ||||
* | Refactor this a bit to move ParsingTemplateArgs to only apply to classes, | Chris Lattner | 2005-09-30 | 1 | -11/+25 |
| | | | | | | | | | not defs. Implement support for forward definitions of classes. This implements TableGen/ForwardRef.td. llvm-svn: 23548 | ||||
* | Generate a parse error instead of a checked exception if template args are | Chris Lattner | 2005-09-30 | 1 | -14/+10 |
| | | | | | | used on a def. llvm-svn: 23545 | ||||
* | Refactor the grammar a bit to implement TableGen/ForwardRef.td | Chris Lattner | 2005-09-30 | 1 | -28/+38 |
| | | | | llvm-svn: 23542 | ||||
* | Rearrange two rules, which apparently makes some versions of bison happier. | Chris Lattner | 2005-09-12 | 1 | -15/+15 |
| | | | | llvm-svn: 23310 | ||||
* | Add support for automatically created anonymous definitions. | Chris Lattner | 2005-09-08 | 1 | -1/+30 |
| | | | | | | This implements Regression/TableGen/AnonDefinitionOnDemand.td llvm-svn: 23274 | ||||
* | Tabs to spaces. | Chris Lattner | 2005-09-08 | 1 | -12/+12 |
| | | | | llvm-svn: 23270 | ||||
* | Major change to tblgen: instead of resolving values every time a class is | Chris Lattner | 2005-04-19 | 1 | -20/+31 |
| | | | | | | | | | | | finished up, only resolve fully when the def is defined. This allows things to be changed and all uses to be propagated through. This implements TableGen/LazyChange.td and fixes TemplateArgRename.td in the process. None of the .td files used in LLVM backends are changed at all by this patch. llvm-svn: 21344 | ||||
* | Add initial lexer and parser support for shifting values. Every use of this | Chris Lattner | 2005-04-19 | 1 | -0/+19 |
| | | | | | | will lead to it being rejected though. llvm-svn: 21335 | ||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -1/+1 |
| | | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137 | ||||
* | Add initial support for list slices. This currently allows you to do stuff | Chris Lattner | 2004-07-26 | 1 | -16/+44 |
| | | | | | | | | | | | | like this: def B { list<int> X = [10, 20, 30, 4, 1, 1231, 20] [2-4,2,2,0-6]; } ... which isn't particularly useful, but more is to come. llvm-svn: 15247 | ||||
* | Do not remove an active template argument even if the superclass had one of the | Chris Lattner | 2004-02-28 | 1 | -1/+2 |
| | | | | | | same name llvm-svn: 11950 | ||||
* | Ignore X = X assignments that was causing Alkis's rewrite of X86.td to crash | Chris Lattner | 2004-02-28 | 1 | -3/+9 |
| | | | | | | tblgen. llvm-svn: 11948 | ||||
* | exit(1) instead of abort()'ing on error | Chris Lattner | 2004-02-13 | 1 | -23/+23 |
| | | | | llvm-svn: 11380 | ||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -10/+17 |
| | | | | llvm-svn: 9903 | ||||
* | Added LLVM copyright notice. | John Criswell | 2003-10-21 | 1 | -0/+7 |
| | | | | llvm-svn: 9324 | ||||
* | Regularize header file comments | Chris Lattner | 2003-10-13 | 1 | -1/+1 |
| | | | | llvm-svn: 9071 | ||||
* | Move support/tools/* back into utils | Chris Lattner | 2003-10-05 | 1 | -0/+510 |
llvm-svn: 8875 |