Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Dead code elimination | Chris Lattner | 2003-08-01 | 1 | -10/+3 | |
| | | | | llvm-svn: 7468 | |||||
* | Add new getValueAsBitsInit 'high-level' method | Chris Lattner | 2003-08-01 | 3 | -9/+25 | |
| | | | | llvm-svn: 7467 | |||||
* | Add file comment | Chris Lattner | 2003-08-01 | 1 | -40/+52 | |
| | | | | | | | Add register info emitter Simplify code by using "high-level" methods. llvm-svn: 7466 | |||||
* | Initial checkin of register info emitter | Chris Lattner | 2003-08-01 | 2 | -0/+68 | |
| | | | | llvm-svn: 7465 | |||||
* | Simplify code to match new interfaces | Chris Lattner | 2003-08-01 | 2 | -10/+6 | |
| | | | | llvm-svn: 7464 | |||||
* | Switch over to an exception handling model for "high-level" requests. | Chris Lattner | 2003-08-01 | 2 | -10/+39 | |
| | | | | | | Add new getValueAsString method. llvm-svn: 7463 | |||||
* | Minor cleanups | Chris Lattner | 2003-08-01 | 1 | -6/+2 | |
| | | | | llvm-svn: 7462 | |||||
* | Factor code out into a new getAllDerivedDefinitions method, which is ↵ | Chris Lattner | 2003-08-01 | 3 | -6/+31 | |
| | | | | | | generally useful llvm-svn: 7461 | |||||
* | More minor cleanups of the interface | Chris Lattner | 2003-07-31 | 2 | -3/+11 | |
| | | | | llvm-svn: 7446 | |||||
* | Rename createEmitter to run because eventually all tablegen backends will | Chris Lattner | 2003-07-31 | 3 | -5/+6 | |
| | | | | | | be subclasses of a common interface. llvm-svn: 7445 | |||||
* | Add file comment | Chris Lattner | 2003-07-31 | 1 | -0/+2 | |
| | | | | llvm-svn: 7444 | |||||
* | Tighten up interface | Chris Lattner | 2003-07-31 | 1 | -3/+3 | |
| | | | | llvm-svn: 7443 | |||||
* | Add support for code fragments | Chris Lattner | 2003-07-30 | 3 | -7/+29 | |
| | | | | llvm-svn: 7440 | |||||
* | Initial support for the 'code' type. | Chris Lattner | 2003-07-30 | 3 | -1/+13 | |
| | | | | llvm-svn: 7439 | |||||
* | Move err() to the lexer, implement file inclusion capabilities directly in ↵ | Chris Lattner | 2003-07-30 | 2 | -9/+88 | |
| | | | | | | tblgen llvm-svn: 7436 | |||||
* | Minor reorganization, move ParseFile to the lexer | Chris Lattner | 2003-07-30 | 2 | -24/+22 | |
| | | | | llvm-svn: 7432 | |||||
* | Make tablegen take an input filename to parse if one is specified, otherwise | Chris Lattner | 2003-07-30 | 2 | -6/+21 | |
| | | | | | | use stdin. llvm-svn: 7431 | |||||
* | Directly support C style comments in tblgen, but allow them to actually nest | Chris Lattner | 2003-07-30 | 1 | -0/+13 | |
| | | | | llvm-svn: 7429 | |||||
* | Fix coredump for when an ID is used illegally outside a record | Chris Lattner | 2003-07-30 | 1 | -0/+4 | |
| | | | | llvm-svn: 7411 | |||||
* | Don't pollute the namespace with template arguments after they have been ↵ | Chris Lattner | 2003-07-30 | 2 | -3/+24 | |
| | | | | | | resolved llvm-svn: 7410 | |||||
* | Implement TODO: disallow 'def's with template arguments. | Chris Lattner | 2003-07-30 | 1 | -1/+6 | |
| | | | | llvm-svn: 7409 | |||||
* | Allow specification of anonymous definitions | Chris Lattner | 2003-07-30 | 1 | -4/+9 | |
| | | | | llvm-svn: 7408 | |||||
* | Allow passing lists through variables | Chris Lattner | 2003-07-30 | 2 | -5/+19 | |
| | | | | llvm-svn: 7407 | |||||
* | Implement resolution of variables to the value of the variable once it gets ↵ | Chris Lattner | 2003-07-30 | 2 | -1/+22 | |
| | | | | | | a value llvm-svn: 7406 | |||||
* | Don't crash if there is no Inst class in the tablegen file! | Chris Lattner | 2003-07-29 | 3 | -5/+12 | |
| | | | | llvm-svn: 7402 | |||||
* | Add support for Set statements without {}'s. Now we can just say | Chris Lattner | 2003-07-28 | 1 | -7/+14 | |
| | | | | | | | set Foo = bar in def blah: blahclass {} llvm-svn: 7355 | |||||
* | Allow initializing variable initializers with variables | Chris Lattner | 2003-07-28 | 2 | -1/+11 | |
| | | | | llvm-svn: 7354 | |||||
* | Use C++ headers, not C headers | Chris Lattner | 2003-07-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 7308 | |||||
* | Added a DEBUG() guard to a debug information printout. | Misha Brukman | 2003-07-18 | 1 | -1/+2 | |
| | | | | llvm-svn: 7203 | |||||
* | Fixed a bug: outputting name of variable instead of its value. | Misha Brukman | 2003-07-15 | 1 | -11/+17 | |
| | | | | | | | Also, placed DEBUG() guards around debug information so that the generated file is much smaller and hence should be faster to preprocess/compile. llvm-svn: 7180 | |||||
* | This optimization greatly enhances efficiency of creating new instructions by | Misha Brukman | 2003-07-15 | 1 | -6/+106 | |
| | | | | | | | masking and shifting operands directly into their place in the instruction, instead of the old-fashioned way of ORing in each bit separately. llvm-svn: 7179 | |||||
* | Stop using the `Offset' variable, as we are cycling through the bits of a field | Misha Brukman | 2003-07-07 | 1 | -8/+7 | |
| | | | | | | | initializer and the loop index variable already carries the offset information that we need. llvm-svn: 7123 | |||||
* | Merged in autoconf branch. This provides configuration via the autoconf | John Criswell | 2003-06-30 | 1 | -0/+7 | |
| | | | | | | system. llvm-svn: 7014 | |||||
* | Added assert.h so that it compiles under newer versions of GCC. | John Criswell | 2003-06-11 | 1 | -0/+2 | |
| | | | | llvm-svn: 6683 | |||||
* | Old versions of GCC doesn't have <ostream> :( | Chris Lattner | 2003-06-06 | 2 | -2/+1 | |
| | | | | llvm-svn: 6661 | |||||
* | All debug print statements are now output with the DEBUG() guard to make | Misha Brukman | 2003-06-06 | 1 | -3/+3 | |
| | | | | | | output clean so that tests can automatically diff the output. llvm-svn: 6643 | |||||
* | * Stop ignoring cc registers, since we actually use them in branches. | Misha Brukman | 2003-06-05 | 1 | -1/+2 | |
| | | | | | | * Added comment as to why we are still ignoring predict and annul bits. llvm-svn: 6636 | |||||
* | Spiff up options a bit | Chris Lattner | 2003-06-03 | 1 | -2/+3 | |
| | | | | llvm-svn: 6573 | |||||
* | Add -o support for TableGen | Chris Lattner | 2003-06-03 | 1 | -4/+25 | |
| | | | | | | | I figure that misha has done a lot of things on my todo list, the least I can do is reciprocate a bit. :) llvm-svn: 6571 | |||||
* | Make tablegen use more structured command line options | Chris Lattner | 2003-06-03 | 1 | -16/+33 | |
| | | | | llvm-svn: 6570 | |||||
* | Stop ignoring the `cc' field, we actually use it now (e.g. conditional move) | Misha Brukman | 2003-06-03 | 1 | -2/+1 | |
| | | | | llvm-svn: 6555 | |||||
* | getValueOp() now takes a MachineInstr as well as a MachineOperand. | Misha Brukman | 2003-05-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 6450 | |||||
* | Output the opcode name of the instruction being emitted to cerr. | Misha Brukman | 2003-05-28 | 1 | -3/+4 | |
| | | | | llvm-svn: 6386 | |||||
* | Cannot output `static' in generated cpp code: results in error. It's already | Misha Brukman | 2003-05-27 | 1 | -1/+1 | |
| | | | | | | specified as a static member in class definition. llvm-svn: 6370 | |||||
* | * Now outputting a static function getBinaryCodeForInstr() (JIT-accessible) | Misha Brukman | 2003-05-27 | 1 | -16/+33 | |
| | | | | | | | | | | | * For debugging purposes: + output the predefined bit pattern of the instruction * Fixed inefficiency: only load an operand from MachineInstr once * Bug fix: did not advance bit index when seeing named bit-fields "annul", "cc" and "predict" * Added a catch-all for non-supported instructions at the end of switch stmt. llvm-svn: 6368 | |||||
* | Add ability to utilize the code emitter generator (CodeEmitterGen). | Misha Brukman | 2003-05-24 | 1 | -1/+21 | |
| | | | | llvm-svn: 6322 | |||||
* | First cut at the Code Generator using the TableGen methodology. | Misha Brukman | 2003-05-24 | 2 | -0/+128 | |
| | | | | llvm-svn: 6321 | |||||
* | I fixed that ``thang'', yo. | Misha Brukman | 2003-05-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 6252 | |||||
* | Fix bug | Chris Lattner | 2002-12-06 | 1 | -2/+2 | |
| | | | | llvm-svn: 4942 | |||||
* | Allow printing partially constructed bitsets | Chris Lattner | 2002-12-06 | 1 | -1/+4 | |
| | | | | llvm-svn: 4941 |