summaryrefslogtreecommitdiffstats
path: root/llvm/support/tools/TableGen
Commit message (Collapse)AuthorAgeFilesLines
...
* Dead code eliminationChris Lattner2003-08-011-10/+3
| | | | llvm-svn: 7468
* Add new getValueAsBitsInit 'high-level' methodChris Lattner2003-08-013-9/+25
| | | | llvm-svn: 7467
* Add file commentChris Lattner2003-08-011-40/+52
| | | | | | | Add register info emitter Simplify code by using "high-level" methods. llvm-svn: 7466
* Initial checkin of register info emitterChris Lattner2003-08-012-0/+68
| | | | llvm-svn: 7465
* Simplify code to match new interfacesChris Lattner2003-08-012-10/+6
| | | | llvm-svn: 7464
* Switch over to an exception handling model for "high-level" requests.Chris Lattner2003-08-012-10/+39
| | | | | | Add new getValueAsString method. llvm-svn: 7463
* Minor cleanupsChris Lattner2003-08-011-6/+2
| | | | llvm-svn: 7462
* Factor code out into a new getAllDerivedDefinitions method, which is ↵Chris Lattner2003-08-013-6/+31
| | | | | | generally useful llvm-svn: 7461
* More minor cleanups of the interfaceChris Lattner2003-07-312-3/+11
| | | | llvm-svn: 7446
* Rename createEmitter to run because eventually all tablegen backends willChris Lattner2003-07-313-5/+6
| | | | | | be subclasses of a common interface. llvm-svn: 7445
* Add file commentChris Lattner2003-07-311-0/+2
| | | | llvm-svn: 7444
* Tighten up interfaceChris Lattner2003-07-311-3/+3
| | | | llvm-svn: 7443
* Add support for code fragmentsChris Lattner2003-07-303-7/+29
| | | | llvm-svn: 7440
* Initial support for the 'code' type.Chris Lattner2003-07-303-1/+13
| | | | llvm-svn: 7439
* Move err() to the lexer, implement file inclusion capabilities directly in ↵Chris Lattner2003-07-302-9/+88
| | | | | | tblgen llvm-svn: 7436
* Minor reorganization, move ParseFile to the lexerChris Lattner2003-07-302-24/+22
| | | | llvm-svn: 7432
* Make tablegen take an input filename to parse if one is specified, otherwiseChris Lattner2003-07-302-6/+21
| | | | | | use stdin. llvm-svn: 7431
* Directly support C style comments in tblgen, but allow them to actually nestChris Lattner2003-07-301-0/+13
| | | | llvm-svn: 7429
* Fix coredump for when an ID is used illegally outside a recordChris Lattner2003-07-301-0/+4
| | | | llvm-svn: 7411
* Don't pollute the namespace with template arguments after they have been ↵Chris Lattner2003-07-302-3/+24
| | | | | | resolved llvm-svn: 7410
* Implement TODO: disallow 'def's with template arguments.Chris Lattner2003-07-301-1/+6
| | | | llvm-svn: 7409
* Allow specification of anonymous definitionsChris Lattner2003-07-301-4/+9
| | | | llvm-svn: 7408
* Allow passing lists through variablesChris Lattner2003-07-302-5/+19
| | | | llvm-svn: 7407
* Implement resolution of variables to the value of the variable once it gets ↵Chris Lattner2003-07-302-1/+22
| | | | | | a value llvm-svn: 7406
* Don't crash if there is no Inst class in the tablegen file!Chris Lattner2003-07-293-5/+12
| | | | llvm-svn: 7402
* Add support for Set statements without {}'s. Now we can just sayChris Lattner2003-07-281-7/+14
| | | | | | | set Foo = bar in def blah: blahclass {} llvm-svn: 7355
* Allow initializing variable initializers with variablesChris Lattner2003-07-282-1/+11
| | | | llvm-svn: 7354
* Use C++ headers, not C headersChris Lattner2003-07-251-1/+1
| | | | llvm-svn: 7308
* Added a DEBUG() guard to a debug information printout.Misha Brukman2003-07-181-1/+2
| | | | llvm-svn: 7203
* Fixed a bug: outputting name of variable instead of its value.Misha Brukman2003-07-151-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 byMisha Brukman2003-07-151-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 fieldMisha Brukman2003-07-071-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 autoconfJohn Criswell2003-06-301-0/+7
| | | | | | system. llvm-svn: 7014
* Added assert.h so that it compiles under newer versions of GCC.John Criswell2003-06-111-0/+2
| | | | llvm-svn: 6683
* Old versions of GCC doesn't have <ostream> :(Chris Lattner2003-06-062-2/+1
| | | | llvm-svn: 6661
* All debug print statements are now output with the DEBUG() guard to makeMisha Brukman2003-06-061-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 Brukman2003-06-051-1/+2
| | | | | | * Added comment as to why we are still ignoring predict and annul bits. llvm-svn: 6636
* Spiff up options a bitChris Lattner2003-06-031-2/+3
| | | | llvm-svn: 6573
* Add -o support for TableGenChris Lattner2003-06-031-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 optionsChris Lattner2003-06-031-16/+33
| | | | llvm-svn: 6570
* Stop ignoring the `cc' field, we actually use it now (e.g. conditional move)Misha Brukman2003-06-031-2/+1
| | | | llvm-svn: 6555
* getValueOp() now takes a MachineInstr as well as a MachineOperand.Misha Brukman2003-05-301-1/+1
| | | | llvm-svn: 6450
* Output the opcode name of the instruction being emitted to cerr.Misha Brukman2003-05-281-3/+4
| | | | llvm-svn: 6386
* Cannot output `static' in generated cpp code: results in error. It's alreadyMisha Brukman2003-05-271-1/+1
| | | | | | specified as a static member in class definition. llvm-svn: 6370
* * Now outputting a static function getBinaryCodeForInstr() (JIT-accessible)Misha Brukman2003-05-271-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 Brukman2003-05-241-1/+21
| | | | llvm-svn: 6322
* First cut at the Code Generator using the TableGen methodology.Misha Brukman2003-05-242-0/+128
| | | | llvm-svn: 6321
* I fixed that ``thang'', yo.Misha Brukman2003-05-201-1/+1
| | | | llvm-svn: 6252
* Fix bugChris Lattner2002-12-061-2/+2
| | | | llvm-svn: 4942
* Allow printing partially constructed bitsetsChris Lattner2002-12-061-1/+4
| | | | llvm-svn: 4941
OpenPOWER on IntegriCloud