Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | Add support for "named positional arguments" | Chris Lattner | 2003-07-30 | 1 | -15/+34 | |
| | | | | llvm-svn: 7421 | |||||
* | 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 | |||||
* | The RTLD_GLOBAL flag allows symbols to be globally accessible, which makes | Misha Brukman | 2003-07-28 | 1 | -1/+1 | |
| | | | | | | | resolution of symbols in the .so possible (currently assists debugging with bugpoint). llvm-svn: 7366 | |||||
* | 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 | |||||
* | Include llvm/Support/Mangler.h first. Don't include <iostream>, <set>, | Brian Gaeke | 2003-07-25 | 1 | -5/+1 | |
| | | | | | | <string>, or llvm/Value.h. Move up the inclusion of llvm/Support/Mangler.h. llvm-svn: 7321 | |||||
* | Use C++ headers, not C headers | Chris Lattner | 2003-07-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 7308 | |||||
* | Cleanups: | Brian Gaeke | 2003-07-24 | 1 | -4/+5 | |
| | | | | | | | | | Mangler.cpp: Constify parameter to makeNameProper, and use const_iterator. Make Count an unsigned int, and use utostr(). Don't name parameters things that start with underscore. Mangler.h: All of the above, and also: Add Emacs mode-line. Include <set>. llvm-svn: 7301 | |||||
* | Factor out name-mangling from X86/Printer, which is derived from CWriter, | Brian Gaeke | 2003-07-24 | 1 | -0/+83 | |
| | | | | | | into this new support class. llvm-svn: 7300 | |||||
* | Simplify code by using ConstantInt::getRawValue instead of checking to see | Chris Lattner | 2003-07-23 | 1 | -4/+1 | |
| | | | | | | whether the constant is signed or unsigned, then casting llvm-svn: 7252 | |||||
* | 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 | |||||
* | The word `separate' only has one `e'. | Misha Brukman | 2003-07-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 7173 | |||||
* | Fixed grammatical error. | Misha Brukman | 2003-07-10 | 1 | -1/+1 | |
| | | | | llvm-svn: 7160 | |||||
* | Lowercase versions of `occurrence' need to be spelled correctly, too. | Misha Brukman | 2003-07-10 | 1 | -15/+15 | |
| | | | | llvm-svn: 7142 | |||||
* | `Occurrence' has no `a' and the `r' is doubled. | Misha Brukman | 2003-07-10 | 1 | -21/+21 | |
| | | | | llvm-svn: 7140 | |||||
* | 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 | 6 | -19/+29 | |
| | | | | | | system. llvm-svn: 7014 | |||||
* | Add support for 'unsigned' command line arguments | Chris Lattner | 2003-06-28 | 1 | -2/+13 | |
| | | | | llvm-svn: 6928 | |||||
* | Added code to the clean rule that deletes files placed in the source directory. | John Criswell | 2003-06-27 | 1 | -0/+1 | |
| | | | | | | These files interfer with a second build attempt. llvm-svn: 6927 | |||||
* | Remove usage of sys/unistd.h | Chris Lattner | 2003-06-19 | 1 | -1/+0 | |
| | | | | llvm-svn: 6788 | |||||
* | Put ifdefs around use of malloc.h/mallinfo, which isn't available on FreeBSD. | Brian Gaeke | 2003-06-17 | 1 | -2/+5 | |
| | | | | llvm-svn: 6750 | |||||
* | Fix misspelling of ExtraSources, hopefully to unbreak the nightly tester | Chris Lattner | 2003-06-17 | 1 | -2/+1 | |
| | | | | | | Remove evil rcs tag :) llvm-svn: 6737 | |||||
* | Actually, change it to use explicit new/delete, which is more likely to be | Chris Lattner | 2003-06-16 | 1 | -6/+7 | |
| | | | | | | optimized INTO an alloca llvm-svn: 6727 | |||||
* | Remove usage of alloca | Chris Lattner | 2003-06-16 | 1 | -6/+6 | |
| | | | | llvm-svn: 6726 | |||||
* | Isolate machine-dependent use of <alloca.h> in "Support/Alloca.h", | Brian Gaeke | 2003-06-16 | 1 | -1/+1 | |
| | | | | | | | so that we can easily change its use to be conditional on the result of an autoconf test later. llvm-svn: 6723 | |||||
* | Added assert.h so that it compiles under newer versions of GCC. | John Criswell | 2003-06-11 | 1 | -0/+2 | |
| | | | | llvm-svn: 6683 | |||||
* | Updated to the new Makefile.common. | John Criswell | 2003-06-11 | 1 | -2/+2 | |
| | | | | | | | Modified the test rule so that it can be added to the regular test rule (I believe the term is double dependency?). llvm-svn: 6681 | |||||
* | Old versions of GCC doesn't have <ostream> :( | Chris Lattner | 2003-06-06 | 2 | -2/+1 | |
| | | | | llvm-svn: 6661 | |||||
* | Fix compilation problem with some versions of G++ | Chris Lattner | 2003-06-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 6660 | |||||
* | Fix problem with perror | Chris Lattner | 2003-06-06 | 1 | -0/+1 | |
| | | | | llvm-svn: 6659 | |||||
* | 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 |