Chris Lattner
c07542698b
Add initial support for register and register class representation.
...
Obviously this is not done.
llvm-svn: 15804
2004-08-16 01:09:52 +00:00
Chris Lattner
7a514bf631
Remove awareness of isDummyClass
...
llvm-svn: 15789
2004-08-15 23:04:13 +00:00
Chris Lattner
7748ec618b
Include .td and .txt files in the greps. This will allow me to find symbols in
...
them, and also count them in the LOC of LLVM for the nightly tester.
llvm-svn: 15786
2004-08-15 22:54:31 +00:00
Chris Lattner
d7240cdb18
Make the AsmWriter a first-class tblgen object. Allow targets to specify
...
name of the generated asmwriter class, and the name of the format string.
llvm-svn: 15747
2004-08-14 22:50:53 +00:00
Chris Lattner
a86411806a
Fix minor bug in previous checkin
...
llvm-svn: 15649
2004-08-11 04:08:36 +00:00
Chris Lattner
0f301f495b
change how we invoke the printer. Instead of passing in the MO directly,
...
pass in the MI, operand number, and the type of the operand.
llvm-svn: 15645
2004-08-11 02:23:23 +00:00
Chris Lattner
a88aec6972
Start parsing more information from the Operand information
...
llvm-svn: 15644
2004-08-11 02:22:39 +00:00
Chris Lattner
c8ac0bf803
Remove special case hacks
...
llvm-svn: 15643
2004-08-11 01:53:58 +00:00
Misha Brukman
1087080432
Deleted commented-out code as we now get namespace directly, add comments
...
llvm-svn: 15627
2004-08-10 20:54:58 +00:00
Misha Brukman
1aa8b19a07
Use the target name instead of hard-coding SparcV9.
...
llvm-svn: 15616
2004-08-10 18:31:01 +00:00
Chris Lattner
660bc91ec4
This was a good idea, but until this does not break the build of
...
lib/Target/Sparc, we should not use it.
llvm-svn: 15603
2004-08-10 15:05:18 +00:00
Misha Brukman
7a352cede0
Use the current target name instead of a ClassPrefix.
...
llvm-svn: 15585
2004-08-09 19:10:43 +00:00
Misha Brukman
ad01c0dbae
* Use Classname and ClassPrefix instead of hard-coded V9 values
...
* Simplify code and shorten lines by not recomputing values
llvm-svn: 15582
2004-08-09 17:47:45 +00:00
Brian Gaeke
f6c2637825
Split out -disable-codegen into -disable-llc and -disable-jit.
...
llvm-svn: 15530
2004-08-05 19:54:59 +00:00
Misha Brukman
3a15182b6c
* Added documentation in the file header
...
* Shorten assert() text to make it fit within 80 cols
llvm-svn: 15508
2004-08-04 22:07:54 +00:00
Chris Lattner
d308e8dbd8
Be picky
...
llvm-svn: 15400
2004-08-01 08:55:34 +00:00
Chris Lattner
ae25608f8b
Instructions no longer need to have names.
...
llvm-svn: 15399
2004-08-01 08:38:17 +00:00
Chris Lattner
0dd4abcce9
Add support for asm printing machine instructions that have operands.
...
llvm-svn: 15391
2004-08-01 07:43:02 +00:00
Chris Lattner
350b76be29
Parse the operand list of the instruction. We currently support register and immediate operands.
...
llvm-svn: 15390
2004-08-01 07:42:39 +00:00
Chris Lattner
a983ac4661
Initial cut at an asm writer emitter. So far, this only handles emission of
...
instructions, and only instructions that take no operands at that!
llvm-svn: 15386
2004-08-01 05:59:33 +00:00
Chris Lattner
09d6e317a8
Add, and start using, the CodeGenInstruction class. This class represents
...
an instance of the Instruction tablegen class.
llvm-svn: 15385
2004-08-01 05:04:00 +00:00
Chris Lattner
07525455a6
Rename CodeGenWrappers.(cpp|h) -> CodeGenTarget.(cpp|h)
...
llvm-svn: 15382
2004-08-01 04:04:35 +00:00
Chris Lattner
2e8beb316b
Finegrainify namespacification
...
llvm-svn: 15381
2004-08-01 03:55:39 +00:00
Chris Lattner
5c5c16ec21
Support new flag
...
llvm-svn: 15355
2004-07-31 02:07:26 +00:00
Chris Lattner
5bf43883a6
Fix the nightly tester to default to using gnuplot in /usr/bin
...
llvm-svn: 15287
2004-07-27 18:41:49 +00:00
Chris Lattner
5a6ff22b3c
Ugh, the upgrade of zion brought in GCC 3.3.2, our arch nemesis.
...
llvm-svn: 15269
2004-07-27 08:29:06 +00:00
Chris Lattner
33187c4026
Implement test/Regression/TableGen/ListSlices.td
...
llvm-svn: 15249
2004-07-27 01:01:21 +00:00
Chris Lattner
8dcbaf2f98
Add initial support for list slices. This currently allows you to do stuff
...
like this:
def B {
list<int> X = [10, 20, 30, 4, 1, 1231, 20] [2-4,2,2,0-6];
}
... which isn't particularly useful, but more is to come.
llvm-svn: 15247
2004-07-26 23:21:34 +00:00
Reid Spencer
bf4651aa66
A utility to run an arbitrary program on each of the LLVM source files.
...
This is like llvmgrep but instead of running grep, it runs the command
given by the first argument. For example, to find the top ten files with
the most lines in llvm, you could:
utils/llvmdo wc -l | sort -nb | tail
Or, to find any source files with the wrong permissions, you could:
utils/llvmdo ls -l | grep -v rw-r--r--
Hopefully, you get the idea.
llvm-svn: 15246
2004-07-26 22:52:44 +00:00
Chris Lattner
5fce7ec5ed
Change column name
...
llvm-svn: 15129
2004-07-23 06:50:18 +00:00
Chris Lattner
1e21b8c96f
Remove some abandoned code that was never finished. If needed in the future
...
it can be ressurected from CVS.
llvm-svn: 15113
2004-07-22 21:32:38 +00:00
Chris Lattner
ae91cc3002
Passing integer 0 in for a pointer value doesn't work on IA64. Fix this
...
by using a new macro.
llvm-svn: 14863
2004-07-16 00:02:21 +00:00
Chris Lattner
817b562565
Make tblgen not try to be smart. This is better handled in makefiles if
...
at all. Patch contributed by Vladimir Prus!
llvm-svn: 14784
2004-07-13 06:11:46 +00:00
Reid Spencer
a97870c0ff
Fix some thinkos in the script (error handling, proper argument handling).
...
llvm-svn: 14676
2004-07-07 21:19:01 +00:00
Reid Spencer
e63894ba81
Change the "rotate by 90" xtics specification to just "rotate" which is
...
equivalent. The "by <angle>" syntax is not acceptable for all output
devices. Apparently the Sparc and x86 output devices (no color) don't
accept this, but should accept the plain "rotate".
llvm-svn: 14645
2004-07-06 17:04:09 +00:00
Reid Spencer
d8b190bcf0
Caused the labels on the small plots to be drawn vertically instead of
...
horizontally so they no longer overlap.
This eye-strain-lessening patch contributed by Vladimir Merzliakov. Thanks!
llvm-svn: 14632
2004-07-05 19:09:32 +00:00
Chris Lattner
136709e492
Fix relative links for nightly testers not hosted on llvm.cs.
...
Patch contributed by Vladimir Merzliakov!
llvm-svn: 14419
2004-06-25 20:57:19 +00:00
Brian Gaeke
51af85964a
Don't try to run qmtests if we fail to build the tree. The qmtests (at
...
least, on macosx) will spiral out of control instead of failing gracefully.
llvm-svn: 14396
2004-06-25 07:25:28 +00:00
Reid Spencer
3c6901d00e
Move the tests for readability of the template and gnuplot files so they
...
occur AFTER the source is checked out. This ensures that if either of the
-gnuplotscript or -templatefile options are not given, that they get picked
up from the checkout directory and don't abort the test unnecessarily.
llvm-svn: 14346
2004-06-23 14:07:12 +00:00
Reid Spencer
7971076728
Added a -noexternals options to avoid performing the externals tests on
...
test environments that don't have Povray or SPEC.
llvm-svn: 14345
2004-06-23 07:45:46 +00:00
Reid Spencer
3f1029e152
Make sure GetRegEx returns something gnuplot can deal with (a number, not
...
a ?) so that graphs don't bail if something fails in a test.
llvm-svn: 14344
2004-06-23 06:36:34 +00:00
Reid Spencer
90b558637b
- Added the -nice option for nicing the build processes.
...
- Added the -gnuplotscript option to specify the GnuPlot script to use.
- Added the -templatefile option to specify the HTML template to use.
- Moved subroutines to top of file.
- Used variables for file names in case we want to change to directories.
- Made program track its directory changes in $VERBOSE mode (for debugging)
- Added variables to support tracking start time, finish time, and platform
details about each nightly test.
llvm-svn: 14321
2004-06-22 15:38:37 +00:00
Reid Spencer
62a8b268bd
Added start time, finish time, and platform (uname -a output) information
...
to the top of the template for identification purposes.
llvm-svn: 14318
2004-06-22 15:32:02 +00:00
Tanya Lattner
a2145dea2d
Removed extra href close tag
...
llvm-svn: 14315
2004-06-22 05:44:31 +00:00
Misha Brukman
095db9590a
Handle shifts >= 32 bits.
...
llvm-svn: 14291
2004-06-21 18:01:47 +00:00
Chris Lattner
cc465361d9
Move the IntrinsicLowering header into the CodeGen directory, as per PR346
...
llvm-svn: 14266
2004-06-20 07:49:54 +00:00
Chris Lattner
084fef46e4
Make fpcmp handle running off of the beginning or end of the file correctly.
...
llvm-svn: 14259
2004-06-20 03:12:18 +00:00
Reid Spencer
06aff16337
A utility to search the LLVM source tree for a grep pattern. This is a
...
replacement for getsrcs.sh which now generates too much text to put on a
Linux command line. The approach taken with llvmgrep is to execute a find
command and execute a grep on each file that matches the name pattern. The
arguments to this script are the same as those of egrep. Note that the -H
and -n options to egrep will always be passed so that you always get the
file and line number of matches.
llvm-svn: 14255
2004-06-19 20:32:55 +00:00
Misha Brukman
8495487d8e
Make header comment fit within 80 cols.
...
llvm-svn: 14198
2004-06-17 15:49:36 +00:00
Misha Brukman
19322ee4c6
The correct prototype is `int atoi(CONST char*)'. Unbroke AIX build.
...
llvm-svn: 14173
2004-06-14 16:30:05 +00:00
Reid Spencer
6771895caa
Get rid of "might be uninitialized" warnings when compiling with GCC 3.3.2
...
llvm-svn: 14169
2004-06-13 19:17:49 +00:00
Brian Gaeke
a4caf3f4f1
Don't trim @PrevDays (causing an error) if it isn't long enough.
...
llvm-svn: 14156
2004-06-11 19:55:30 +00:00
Reid Spencer
1c1bf98896
Add two options to the program:
...
-release causes ENABLE_OPTIMIZED=1 to be added to the make line so that
the test runs against optimized code.
-pedantic causes the CompileOptimizeOpts variable to be overridden to
add several additional warnings not picked up by -Wall. This
should help catch additional programming faux pas. See the diff
for the specific details.
llvm-svn: 14153
2004-06-11 07:06:22 +00:00
Brian Gaeke
e24e40500f
Allow dates with slashes in them in $DateRE.
...
Don't match on $Filename (which will be unset) if we hit 'UNMATCHABLE:'.
llvm-svn: 14112
2004-06-10 07:44:28 +00:00
Reid Spencer
98b2d5c5c5
Columnized the compilation statistics for easier reading.
...
llvm-svn: 14099
2004-06-09 18:29:15 +00:00
Chris Lattner
69b6c53c78
Fix the really bizarre stuff that happened last night in the tester
...
due to non-numeric diff failures that caused fpcmp to go into infinite loops
llvm-svn: 14098
2004-06-09 18:28:53 +00:00
Reid Spencer
db7956f69a
Regularize title of Regression Test section. Clean up some blank space.
...
llvm-svn: 14080
2004-06-09 02:07:25 +00:00
Reid Spencer
22208f45ef
* Fix indentation of Regression Test Results by making sure the
...
GetQMTestResults function closes all its open tags.
* Cause XFAIL results to not be reported at all except in the stats.
llvm-svn: 14067
2004-06-08 08:01:33 +00:00
Misha Brukman
fffcf9c9fb
Emit a more sensible error message if no subclasses of Target are defined.
...
Patch contributed by Vladimir Prus.
llvm-svn: 14010
2004-06-04 14:59:42 +00:00
Brian Gaeke
0c586cdc5e
Honor DISABLE_CBE, etc., even when doing the "running tests" (i.e., Olden)
...
llvm-svn: 14004
2004-06-04 00:07:12 +00:00
Brian Gaeke
412756570b
Allow script to set configure args.
...
Allow environment to set llvmgccdir.
llvm-svn: 13994
2004-06-03 21:46:56 +00:00
Chris Lattner
e83914344f
Add -disable-codegen option to disable LLC and JIT targets
...
llvm-svn: 13978
2004-06-03 03:29:39 +00:00
Reid Spencer
098899bef2
Align the lower portion of the page with the left margin so that the page
...
width is not made excessive by the large table of results. Improves
readability of the page.
llvm-svn: 13913
2004-05-31 21:38:56 +00:00
Reid Spencer
9e332d6760
Clean up the Feature and Regression test output to (a) use section headers,
...
(b) avoid <pre> tag so page width doesn't become excessive, (c) omit the
execution time stats, (d) format each reported test in a list with bold
headings for readability, (e) omit long lines of dashes.
llvm-svn: 13912
2004-05-31 20:59:55 +00:00
Reid Spencer
4fa0a6a7c1
Make the Regression/Feature test support excise all ": PASS" lines that
...
indicate successful tests. We're really only interested in the bad news
in this output :)
llvm-svn: 13901
2004-05-30 00:17:47 +00:00
Chris Lattner
a0221771ac
Changes to make the nightly tester run the regression tests at night, yaay!
...
Change contributed by Reid Spencer.
llvm-svn: 13882
2004-05-28 20:30:23 +00:00
Chris Lattner
c063c0369b
Right: the #includes are not needed either
...
llvm-svn: 13867
2004-05-28 00:35:51 +00:00
Chris Lattner
247e82a011
Use fileutilities instead of mmap directly
...
llvm-svn: 13865
2004-05-28 00:31:36 +00:00
Chris Lattner
4de18aff15
doxygen no longer builds into the docs tree, and we no longer have boost
...
in the tree
llvm-svn: 13838
2004-05-27 17:58:45 +00:00
Chris Lattner
023eb7484f
Add support for dos style files.
...
llvm-svn: 13836
2004-05-27 17:44:18 +00:00
Chris Lattner
6f0bab5b9d
Header file moved
...
llvm-svn: 13813
2004-05-27 05:41:36 +00:00
Misha Brukman
efe8d00ce3
Add hint about syntax-highlighting non-standardly-named LLVM Makefiles.
...
llvm-svn: 13606
2004-05-19 21:20:40 +00:00
Misha Brukman
9f6428ea0e
Added `zeroinitializer' keyword.
...
llvm-svn: 13253
2004-04-28 19:36:08 +00:00
Brian Gaeke
80db51134d
mmap of a zero length file returns null on some platforms, so hack around it.
...
llvm-svn: 13121
2004-04-23 17:38:17 +00:00
Brian Gaeke
c72f1fa822
Fix typo.
...
llvm-svn: 13072
2004-04-19 19:09:24 +00:00
Chris Lattner
5fbdaafc18
Spiff is no longer in our tree
...
llvm-svn: 13041
2004-04-18 18:26:38 +00:00
Misha Brukman
be6fcab94d
The "best" of both worlds: readable C++ comments and valid HTML For doxygen.
...
llvm-svn: 12964
2004-04-15 15:30:15 +00:00
Chris Lattner
6e48365ab9
Fix bug, add support for +/-
...
llvm-svn: 12934
2004-04-13 21:48:43 +00:00
Chris Lattner
8b85738eb8
Out with spiff, in with fpcmp
...
llvm-svn: 12928
2004-04-13 20:59:24 +00:00
Chris Lattner
d5de2d698d
Remove spiff. Though it looked good, it was not really as spiffy as it seemed
...
llvm-svn: 12927
2004-04-13 20:58:42 +00:00
Chris Lattner
5fc6c15a31
Okay, spiff is completely incapable of handling files of nontrivial size.
...
Here is a simple minimal program that does what we want. Instead of taking
minutes to compare mesa's output, and crashing on binary files (like spiff
does), this take < .02s in the common case and doesn't crash.
llvm-svn: 12926
2004-04-13 20:55:49 +00:00
Chris Lattner
7600e1a723
Increase buffer size again. *sigh*
...
llvm-svn: 12912
2004-04-13 18:43:18 +00:00
Chris Lattner
ca7062b1d9
Don't index spiff. It should not count as lines of LLVM code
...
llvm-svn: 12911
2004-04-13 18:37:51 +00:00
Chris Lattner
0b4b2331f6
Fixed sized limits are bad... duh.
...
llvm-svn: 12908
2004-04-13 18:34:16 +00:00
Chris Lattner
c0e932457f
Really spiff, don't chatter :)
...
llvm-svn: 12907
2004-04-13 18:33:21 +00:00
Brian Gaeke
27ab76dbcb
Don't underline diffs
...
llvm-svn: 12902
2004-04-13 18:24:01 +00:00
Brian Gaeke
08b81db73a
Clean up the Spiff code so that it emits fewer warnings. This
...
consists mostly of changing sloppy K&R C code to slightly more
disciplined K&R C code, and doing the usual things to shut gcc up.
llvm-svn: 12877
2004-04-13 03:24:45 +00:00
Brian Gaeke
8feac10842
Build Spiff directory
...
llvm-svn: 12876
2004-04-12 22:53:51 +00:00
Brian Gaeke
52e364f301
Add the Spiff fp-aware diff utility from Bellcore
...
llvm-svn: 12875
2004-04-12 22:53:24 +00:00
Jakub Staszak
3c2d9c95e2
Tablegen backend for really simple instruction selector
...
llvm-svn: 12713
2004-04-06 19:31:31 +00:00
Jakub Staszak
6cb338c254
add tablgen backend for really simple instruction selector
...
llvm-svn: 12712
2004-04-06 19:30:56 +00:00
Chris Lattner
6bf4112131
Teach vim about the select instruction. Allow it to forget about the long-dead
...
not instruction.
llvm-svn: 12327
2004-03-12 05:55:07 +00:00
Chris Lattner
ac0217ede2
Teach emacs about the select instruction
...
llvm-svn: 12326
2004-03-12 05:54:48 +00:00
Chris Lattner
3d278501c4
Default to using edge counts
...
llvm-svn: 12234
2004-03-08 20:04:46 +00:00
Brian Gaeke
cce916b047
Squash /usr/dcs path; use a 'require <version>' instead.
...
llvm-svn: 12099
2004-03-03 17:38:51 +00:00
Brian Gaeke
b25ed8394b
Add my regression finding by binary searching cvs script.
...
llvm-svn: 12095
2004-03-03 08:14:25 +00:00
John Criswell
ed813111c2
Added EH support.
...
llvm-svn: 12075
2004-03-02 15:54:25 +00:00
Brian Gaeke
3623dca9a1
Don't look in the .libs directories that libtool makes
...
llvm-svn: 12027
2004-03-01 02:41:22 +00:00
Chris Lattner
9f35c413f5
Do not remove an active template argument even if the superclass had one of the
...
same name
llvm-svn: 11950
2004-02-28 17:41:48 +00:00
Chris Lattner
7d89f8837d
Ignore X = X assignments that was causing Alkis's rewrite of X86.td to crash
...
tblgen.
llvm-svn: 11948
2004-02-28 17:31:28 +00:00