aboutsummaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* DEBUG got moved to Debug.hChris Lattner2003-08-011-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7491 91177308-0d34-0410-b5e6-96231b3b80d8
* Tablegen should only replace the output if it changesChris Lattner2003-08-011-4/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7486 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to delete the output file if there is an errorChris Lattner2003-08-011-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7481 91177308-0d34-0410-b5e6-96231b3b80d8
* add support for emitting register classesChris Lattner2003-08-013-1/+63
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7473 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new getValueAsListInit and getValueAsInt methodsChris Lattner2003-08-012-0/+41
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7472 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the ability to emit register file enumsChris Lattner2003-08-013-4/+59
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7471 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the way field bit references are resolved, also allow resolution of ↵Chris Lattner2003-08-012-9/+19
| | | | | | field references overall! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7470 91177308-0d34-0410-b5e6-96231b3b80d8
* Dead code eliminationChris Lattner2003-08-011-10/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7468 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new getValueAsBitsInit 'high-level' methodChris Lattner2003-08-013-9/+25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7467 91177308-0d34-0410-b5e6-96231b3b80d8
* Add file commentChris Lattner2003-08-011-40/+52
| | | | | | | | Add register info emitter Simplify code by using "high-level" methods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7466 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of register info emitterChris Lattner2003-08-012-0/+68
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7465 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify code to match new interfacesChris Lattner2003-08-012-10/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7464 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch over to an exception handling model for "high-level" requests.Chris Lattner2003-08-012-10/+39
| | | | | | | Add new getValueAsString method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7463 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor cleanupsChris Lattner2003-08-011-6/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7462 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor code out into a new getAllDerivedDefinitions method, which is ↵Chris Lattner2003-08-013-6/+31
| | | | | | generally useful git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7461 91177308-0d34-0410-b5e6-96231b3b80d8
* Forget about KEEP_SYMBOLS, make sure to build into the temp directory, not ↵Chris Lattner2003-07-311-3/+1
| | | | | | into localhome git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7450 91177308-0d34-0410-b5e6-96231b3b80d8
* More minor cleanups of the interfaceChris Lattner2003-07-312-3/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7446 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename createEmitter to run because eventually all tablegen backends willChris Lattner2003-07-313-5/+6
| | | | | | | be subclasses of a common interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7445 91177308-0d34-0410-b5e6-96231b3b80d8
* Add file commentChris Lattner2003-07-311-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7444 91177308-0d34-0410-b5e6-96231b3b80d8
* Tighten up interfaceChris Lattner2003-07-311-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7443 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for code fragmentsChris Lattner2003-07-303-7/+29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7440 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial support for the 'code' type.Chris Lattner2003-07-303-1/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7439 91177308-0d34-0410-b5e6-96231b3b80d8
* Move err() to the lexer, implement file inclusion capabilities directly in ↵Chris Lattner2003-07-302-9/+88
| | | | | | tblgen git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7436 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor reorganization, move ParseFile to the lexerChris Lattner2003-07-302-24/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7432 91177308-0d34-0410-b5e6-96231b3b80d8
* Make tablegen take an input filename to parse if one is specified, otherwiseChris Lattner2003-07-302-6/+21
| | | | | | | use stdin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7431 91177308-0d34-0410-b5e6-96231b3b80d8
* Directly support C style comments in tblgen, but allow them to actually nestChris Lattner2003-07-301-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7429 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix coredump for when an ID is used illegally outside a recordChris Lattner2003-07-301-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7411 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't pollute the namespace with template arguments after they have been ↵Chris Lattner2003-07-302-3/+24
| | | | | | resolved git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7410 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement TODO: disallow 'def's with template arguments.Chris Lattner2003-07-301-1/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7409 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow specification of anonymous definitionsChris Lattner2003-07-301-4/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7408 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow passing lists through variablesChris Lattner2003-07-302-5/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7407 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement resolution of variables to the value of the variable once it gets ↵Chris Lattner2003-07-302-1/+22
| | | | | | a value git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7406 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't crash if there is no Inst class in the tablegen file!Chris Lattner2003-07-293-5/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7402 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for Set statements without {}'s. Now we can just sayChris Lattner2003-07-281-7/+14
| | | | | | | | set Foo = bar in def blah: blahclass {} git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7355 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow initializing variable initializers with variablesChris Lattner2003-07-282-1/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7354 91177308-0d34-0410-b5e6-96231b3b80d8
* Use C++ headers, not C headersChris Lattner2003-07-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7308 91177308-0d34-0410-b5e6-96231b3b80d8
* (1) Pass 'VAR=string' arguments to gmakeVikram S. Adve2003-07-221-5/+40
| | | | | | | | (2) Detect LLVMDIR using the LEVEL variable in Makefile. (3) To perform #2 propertly, use the same Makefile search rules as gmake. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7228 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a DEBUG() guard to a debug information printout.Misha Brukman2003-07-181-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7203 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7180 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7179 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7123 91177308-0d34-0410-b5e6-96231b3b80d8
* * Made $Template refer to a path relative to the checked-out treeMisha Brukman2003-07-071-14/+11
| | | | | | | | | | | | | | * Made error messages print out what directory failed chdir() * Put quotes around search arguments to grep * Use `egrep' instead of `grep -e' because they are equivalent but `grep' does not have the `-e' option on Sparc/Solaris * Added `--enable-jit' to the ./configure command because both X86 and Sparc have JITs and we want them to be tested * Fixed the regular expressions parsing the changes in CVS which were causing the script to die git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7118 91177308-0d34-0410-b5e6-96231b3b80d8
* Add -d option to trust the disassembler.Brian Gaeke2003-07-031-1/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7105 91177308-0d34-0410-b5e6-96231b3b80d8
* here little scriptie, nice scriptie...Brian Gaeke2003-07-031-0/+112
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7104 91177308-0d34-0410-b5e6-96231b3b80d8
* Update to configure the tree before building it.Chris Lattner2003-07-011-7/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7026 91177308-0d34-0410-b5e6-96231b3b80d8
* Merged in autoconf branch. This provides configuration via the autoconfJohn Criswell2003-06-302-1/+8
| | | | | | | system. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7014 91177308-0d34-0410-b5e6-96231b3b80d8
* Added code to the clean rule that deletes files placed in the source directory.John Criswell2003-06-271-0/+1
| | | | | | | These files interfer with a second build attempt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6927 91177308-0d34-0410-b5e6-96231b3b80d8
* Modify script to support checkins on branchesChris Lattner2003-06-261-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6921 91177308-0d34-0410-b5e6-96231b3b80d8
* update documentation about columnsChris Lattner2003-06-211-7/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6833 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix breakage due to John's recent changesChris Lattner2003-06-181-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6771 91177308-0d34-0410-b5e6-96231b3b80d8