Commit Graph

2187 Commits

Author SHA1 Message Date
Misha Brukman
f77ed7afd9 Added the to' keyword as in cast <type> <data> to <type>'.
Cleaned up the header of the file (comments/description/etc).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6557 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-03 00:57:41 +00:00
Misha Brukman
5981d788f2 * Added the to' keyword, as in cast <type> <data> to <type>'.
* Gave the file a maintainer.
* Cleaned up the layout somewhat.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6556 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-03 00:56:09 +00:00
Misha Brukman
9ced1671a6 Stop ignoring the `cc' field, we actually use it now (e.g. conditional move)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6555 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-03 00:07:17 +00:00
Misha Brukman
e7800b5458 getValueOp() now takes a MachineInstr as well as a MachineOperand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6450 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-30 20:32:01 +00:00
Misha Brukman
ecc7fd3c56 Output the opcode name of the instruction being emitted to cerr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6386 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-28 18:29:10 +00:00
Misha Brukman
b9dd8154b6 Cannot output `static' in generated cpp code: results in error. It's already
specified as a static member in class definition.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6370 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-27 22:29:02 +00:00
Misha Brukman
cbfde0a612 * Now outputting a static function getBinaryCodeForInstr() (JIT-accessible)
* 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6368 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-27 22:19:58 +00:00
Misha Brukman
3578d7e7ad Do not show errors when moving file. The error is shown the first time anyone
runs `utils/cvsupdate' since there is no `cvs.out' file for mv to move, and it
is reported as such.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6330 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-25 16:38:24 +00:00
Misha Brukman
f00ce8bc29 Add ability to utilize the code emitter generator (CodeEmitterGen).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6322 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-24 00:17:12 +00:00
Misha Brukman
9fff7e194a First cut at the Code Generator using the TableGen methodology.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6321 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-24 00:15:53 +00:00
Misha Brukman
e3d333edd1 I fixed that ``thang'', yo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6252 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-20 23:45:36 +00:00
Chris Lattner
6e51bfa2ea Fix a halfway done change to the nightly tester :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6084 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-11 15:23:10 +00:00
Chris Lattner
2e8be14165 Get the nightly tester to detect other kind of testing problems
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6083 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-10 21:40:10 +00:00
Chris Lattner
30ac0c0285 Force overwriting the file if it already exists.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6080 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-10 21:19:00 +00:00
Chris Lattner
8240c66cb2 Update column info
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6079 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-10 20:54:55 +00:00
Chris Lattner
c567567759 Add support for new va_arg instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6026 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-08 02:41:11 +00:00
Chris Lattner
8ad51f5965 Update to add new keywords
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5846 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-22 19:31:55 +00:00
Chris Lattner
2c72b184b8 Add missing keyword, add new linkage keywords
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5785 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-16 20:26:11 +00:00
Chris Lattner
828b278d80 Add new linkage keywords. Spell uninitialized correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5784 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-16 20:25:57 +00:00
Chris Lattner
88a9a3e6e3 Update to work with newer versions of bison
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5762 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-31 21:26:06 +00:00
Chris Lattner
ec0e374ba7 * Don't run tests if compilation failed
* Don't summarize tests if testing failed


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5680 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-28 20:30:20 +00:00
Chris Lattner
915e030edf Fix broken links
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5678 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-28 20:05:20 +00:00
Chris Lattner
9b50cbf757 Allow tests to run for 5 minutes before timing out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5677 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-28 19:40:05 +00:00
Chris Lattner
09bfdf51e8 Indent for uniformity
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5470 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-02 17:02:20 +00:00
Chris Lattner
b16b39914b Fix warning on sparc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5426 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-29 16:26:46 +00:00
Chris Lattner
e7113ad6c6 Make sure the files get sorted correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5421 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-24 16:28:25 +00:00
Chris Lattner
5d6c438d2f Compress large logs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5414 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-23 19:31:28 +00:00
Chris Lattner
d9bdbaac96 Implement "new/removed/broken/fixed" tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5399 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-22 20:35:59 +00:00
Chris Lattner
b344030725 Implement program tests, and test for compile time problems
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5397 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-22 16:14:05 +00:00
Chris Lattner
8a4baf4f55 Add support for program tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5395 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-22 16:13:10 +00:00
Chris Lattner
1cbc0a65c8 Fix indentation code, simplify a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5379 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-20 19:18:44 +00:00
Chris Lattner
2f8cb57169 Add information about new warnings and warning changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5378 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-20 18:05:27 +00:00
Chris Lattner
4170123278 Fix warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5377 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-20 06:19:18 +00:00
Chris Lattner
4c7e30347d Initial checkin of the nightly build scripts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5376 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-20 06:11:03 +00:00
Chris Lattner
1f30a07ea0 Include tablegen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4967 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-12 03:44:42 +00:00
Chris Lattner
28c2d409a5 Fix bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4942 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-06 04:42:16 +00:00
Chris Lattner
23ffa4a488 Allow printing partially constructed bitsets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4941 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-06 04:42:10 +00:00
Chris Lattner
cdbfa422cd Don't delete values that may still be referenced!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4940 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-06 04:02:48 +00:00
Chris Lattner
ade0de9123 Tighten up assertion checking
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4939 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-06 03:55:39 +00:00
Chris Lattner
7b1d49b61d Add code that can be used for debugging
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4888 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-03 20:01:04 +00:00
Chris Lattner
b1ed0fc630 Continue implementing field initializers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4879 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-03 06:00:33 +00:00
Chris Lattner
4767a0c1b6 Don't delete temporary files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4878 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-03 06:00:11 +00:00
Chris Lattner
b45b3b3cd1 Continued support for field intitializers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4855 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-02 17:53:54 +00:00
Chris Lattner
db1b766fe6 Continued support for field initializer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4854 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-02 17:44:35 +00:00
Chris Lattner
7331ab9d56 Continued support for Field Initializer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4853 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-02 17:43:58 +00:00
Chris Lattner
9833493bae Adjustments due to new FieldInit stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4852 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-02 17:43:43 +00:00
Chris Lattner
f1e37d9d03 Add comments, factor out common code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4851 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-02 16:57:01 +00:00
Chris Lattner
34a7769b0b Add support for field exprs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4850 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-02 16:43:43 +00:00
Chris Lattner
28520c4b61 * Move BitsInit::resolveReferences up with the rest of BitsInit code
* Initial support for field expressions


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4849 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-02 16:43:30 +00:00
Chris Lattner
a1651900e1 Initial support for Field Expressions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4848 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-02 16:42:52 +00:00
Chris Lattner
d00e8f1f83 Add correct dependency
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4847 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-02 16:31:46 +00:00
Chris Lattner
24e79094f9 Split up targets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4846 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-02 16:13:42 +00:00
Chris Lattner
07278e48dc Add comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4845 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-02 16:13:23 +00:00
Chris Lattner
e62c1185be Initial checkin of TableGen utility
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4843 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-02 01:23:04 +00:00
Chris Lattner
24567a9202 Add makefile to build subdirs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4842 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-02 01:21:34 +00:00
Chris Lattner
e6f960a512 Fix burg build problem.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4480 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-01 03:16:45 +00:00
Vikram S. Adve
38bb2ff828 Do not print "NEW FILES AND DIRECTORIES" unless requested separately
because this is usually such a long list that it makes the output
useless anyway.

Disable checking exit status until we can find something more precise.
The exit status is too coarse-grain to be useful.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4468 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-31 15:32:24 +00:00
Chris Lattner
a50d6ec97d Work better with other versions of bison
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4290 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-27 19:06:56 +00:00
Misha Brukman
d9b11cf4df Added a major mode for Emacs to edit LLVM assembler code with syntax
highlighting.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4092 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-09 00:30:20 +00:00
Nick Hildenbrandt
75f79b9b0e LLVM syntax highlighting for VIM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4067 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-07 22:54:48 +00:00
Chris Lattner
28c664d0e2 Clean up dead rules
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3875 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-22 02:41:20 +00:00
Chris Lattner
9c9bfa7f29 Fix tons of warnings, convert burg to use Makefile.common system, rename
gram.y to gram.yc so that we don't try to turn it into a .cpp file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3874 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-22 02:40:40 +00:00
Vikram S. Adve
c4f67270f3 Build burg separately for different architectures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3861 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-20 16:14:47 +00:00
Vikram S. Adve
b194f626dc Include our config and system-specific Makefiles to get the
right compilers and paths.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3852 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-20 13:56:32 +00:00
Vikram S. Adve
39c36e868d Add support for passing in arbitrary flags to gmake (except -n and -h
which are interpreted by this script).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3818 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-19 14:54:53 +00:00
Vikram S. Adve
d3448cd7a6 Fix to work in new location (utils/) and to use gmake instead of gnumake
since gnumake doesn't exist on our new spiffy Linux machines.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3815 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-18 23:22:27 +00:00
Chris Lattner
3ae260d267 TEst commit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3791 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:22:31 +00:00
Chris Lattner
9277d45c2a Test commit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3790 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:20:47 +00:00
Chris Lattner
72c6f02e70 Test change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3789 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:19:46 +00:00
Chris Lattner
29e8558daa We need an 'all' target to build burg, add it back
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3788 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:19:14 +00:00
Chris Lattner
ab83fe2db9 Don't run tests by default
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3787 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:04:24 +00:00
Chris Lattner
4f372f0f41 Initial checkin of burg documetnation files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3786 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:03:35 +00:00
Chris Lattner
633a5b1aac Initial checkin of burg files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3785 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 23:03:30 +00:00
Chris Lattner
fecaf56ef2 Print information about files that were removed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3760 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 18:09:42 +00:00
Vikram S. Adve
2d456601d8 Simplify significantly (and fix syntax error).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3730 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-15 18:22:47 +00:00
Vikram S. Adve
0731d5491b Use much better method to find the llvmbase directory.
Also, add -h option to print usage information.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3729 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-15 16:58:30 +00:00
Vikram S. Adve
5e1a0d9669 Check error condition after cvs returns. Also remove -c option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3728 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-15 16:45:10 +00:00
Vikram S. Adve
631484c4e2 Shell-script to build current directory and then link one tool (default: opt)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3727 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-15 16:33:32 +00:00
Chris Lattner
82f2f954fd Fix script due to new www/ top level directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3603 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-06 21:04:36 +00:00
Chris Lattner
6dc0193e68 Ignore the boost #include files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3004 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-23 17:56:32 +00:00
Chris Lattner
fbfa18ce6c Change script to not even look in test/ directory, significantly speeding it up
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2525 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-07 18:42:09 +00:00
Chris Lattner
868cb7da08 Merge Chris's script with the one already checked in
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2408 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-29 19:11:01 +00:00
Vikram S. Adve
355df3f73d Shell script to simplify running cvs and viewing the output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1727 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-11 20:59:26 +00:00
Chris Lattner
d8bb7f5028 Exclude doxygen docs from srcs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1591 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-30 20:39:12 +00:00
Chris Lattner
ca269e4327 Print .def files as well as other files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@648 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-19 16:51:10 +00:00
Chris Lattner
90e7453e35 Filter out the sparc.burm.c file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-21 19:43:08 +00:00
Chris Lattner
009505452b Initial revision
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-06 20:29:01 +00:00