Commit Graph

1067 Commits

Author SHA1 Message Date
Reid Spencer 2263203a94 Make the NightlyTest run tests out of projects/llvm-test instead of
llvm/test/Programs

llvm-svn: 16181
2004-09-05 07:58:10 +00:00
Reid Spencer 0ded30aec4 Clean up some "clean:" targets so they use $(VERB) and don't print anything
by default, like every other "clean" target in LLVM.

llvm-svn: 16161
2004-09-03 23:19:53 +00:00
Reid Spencer c8ec13388b Make tblgen's exception handling a little more robust by printing the
program name and also catching ...

llvm-svn: 16160
2004-09-03 23:17:54 +00:00
Reid Spencer 7c16caa336 Changes For Bug 352
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.

llvm-svn: 16137
2004-09-01 22:55:40 +00:00
Reid Spencer 811c3c0edb Link with LLVMsystem.a for operating system independence.
llvm-svn: 16094
2004-08-29 19:31:19 +00:00
Reid Spencer 9b129bea2e RemoveFileOnErrorSignal is now in the llvm::sys namespace. Adjust
accordingly.

llvm-svn: 16093
2004-08-29 19:30:41 +00:00
Reid Spencer ad4c8e330f Add the examples directory to these scripts.
llvm-svn: 16030
2004-08-24 17:42:33 +00:00
Chris Lattner 8eab62ee0d Alignment is now in bits.
llvm-svn: 15976
2004-08-21 20:15:25 +00:00
Chris Lattner beadefde19 Make alignment be in bits, just like size is
llvm-svn: 15969
2004-08-21 20:00:36 +00:00
Chris Lattner a6d34d9e19 Infer the spillsize/alignment of a register based on the register classes
it is embedded into.

llvm-svn: 15966
2004-08-21 19:42:03 +00:00
Chris Lattner d3244d9cec Support "Methods" in register classes in CodgeGenRegisterClass
llvm-svn: 15965
2004-08-21 19:21:21 +00:00
Chris Lattner 2a86fab933 Start parsing register classes into a more structured form
llvm-svn: 15961
2004-08-21 04:05:00 +00:00
Chris Lattner e34ae99942 Read in declared reg sizes
llvm-svn: 15960
2004-08-21 02:24:57 +00:00
Chris Lattner c9d99efdd3 Do not #include files into the llvm namespace
llvm-svn: 15849
2004-08-17 03:08:28 +00:00
Chris Lattner 8af61ddb96 Use CodeGenRegister class to make reading in of register information more
systematic.

llvm-svn: 15805
2004-08-16 01:10:21 +00:00
Chris Lattner b7b70480e1 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 0bbf7005f5 Remove awareness of isDummyClass
llvm-svn: 15789
2004-08-15 23:04:13 +00:00
Chris Lattner 9f714c8d35 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 6ffa501d9f 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 baa2ecb798 Fix minor bug in previous checkin
llvm-svn: 15649
2004-08-11 04:08:36 +00:00
Chris Lattner c1904dd38f 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 3bc477a237 Start parsing more information from the Operand information
llvm-svn: 15644
2004-08-11 02:22:39 +00:00
Chris Lattner 101f3fea82 Remove special case hacks
llvm-svn: 15643
2004-08-11 01:53:58 +00:00
Misha Brukman 422d0fadf1 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 59978333a3 Use the target name instead of hard-coding SparcV9.
llvm-svn: 15616
2004-08-10 18:31:01 +00:00
Chris Lattner 79db057a3b 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 920ae9524d Use the current target name instead of a ClassPrefix.
llvm-svn: 15585
2004-08-09 19:10:43 +00:00
Misha Brukman 18d27dc342 * 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 c51892528b Split out -disable-codegen into -disable-llc and -disable-jit.
llvm-svn: 15530
2004-08-05 19:54:59 +00:00
Misha Brukman 8e5492e350 * 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 f40e4ebf19 Be picky
llvm-svn: 15400
2004-08-01 08:55:34 +00:00
Chris Lattner 29d8ac77e1 Instructions no longer need to have names.
llvm-svn: 15399
2004-08-01 08:38:17 +00:00
Chris Lattner 65512a0c49 Add support for asm printing machine instructions that have operands.
llvm-svn: 15391
2004-08-01 07:43:02 +00:00
Chris Lattner 5572682faa 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 1c4ae85035 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 c860ecafe1 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 fce9603387 Rename CodeGenWrappers.(cpp|h) -> CodeGenTarget.(cpp|h)
llvm-svn: 15382
2004-08-01 04:04:35 +00:00
Chris Lattner 6847866400 Finegrainify namespacification
llvm-svn: 15381
2004-08-01 03:55:39 +00:00
Chris Lattner fd4558862c Support new flag
llvm-svn: 15355
2004-07-31 02:07:26 +00:00
Chris Lattner e4a72a0268 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 5174f436d2 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 577fc3f576 Implement test/Regression/TableGen/ListSlices.td
llvm-svn: 15249
2004-07-27 01:01:21 +00:00
Chris Lattner 8bf9e06ddd 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 a559cb8e10 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 aaf1e74a85 Change column name
llvm-svn: 15129
2004-07-23 06:50:18 +00:00
Chris Lattner 87bf918bc0 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 89ae115aa5 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 8e30a4dfc5 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 37e0ba969a Fix some thinkos in the script (error handling, proper argument handling).
llvm-svn: 14676
2004-07-07 21:19:01 +00:00
Reid Spencer d448f17b7d 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 2ae86fbd05 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 9a844696f9 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 537851f6e7 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 250b03184a 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 2e44d8748c 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 64889c65e5 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 7b27d08aa9 - 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 3e8722fd9d 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 70d53125db Removed extra href close tag
llvm-svn: 14315
2004-06-22 05:44:31 +00:00
Misha Brukman 6752fb58b6 Handle shifts >= 32 bits.
llvm-svn: 14291
2004-06-21 18:01:47 +00:00
Chris Lattner bcdadf3765 Move the IntrinsicLowering header into the CodeGen directory, as per PR346
llvm-svn: 14266
2004-06-20 07:49:54 +00:00
Chris Lattner d537eb1264 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 0277fd7b44 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 b8561ebf21 Make header comment fit within 80 cols.
llvm-svn: 14198
2004-06-17 15:49:36 +00:00
Misha Brukman 342693e35b The correct prototype is `int atoi(CONST char*)'. Unbroke AIX build.
llvm-svn: 14173
2004-06-14 16:30:05 +00:00
Reid Spencer d5a21b0575 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 787ed2f377 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 80ae844ea8 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 966938cff2 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 f8d610ca73 Columnized the compilation statistics for easier reading.
llvm-svn: 14099
2004-06-09 18:29:15 +00:00
Chris Lattner 4408630c67 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 4d598edc59 Regularize title of Regression Test section. Clean up some blank space.
llvm-svn: 14080
2004-06-09 02:07:25 +00:00
Reid Spencer 7d4b814e86 * 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 aff10d0461 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 2948d2e724 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 0a71673115 Allow script to set configure args.
Allow environment to set llvmgccdir.

llvm-svn: 13994
2004-06-03 21:46:56 +00:00
Chris Lattner 1c0a0e2e36 Add -disable-codegen option to disable LLC and JIT targets
llvm-svn: 13978
2004-06-03 03:29:39 +00:00
Reid Spencer 26b9a3b747 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 8ac57711b0 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 3b4302290d 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 a9e9d2cbcf 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 abb26eac9d Right: the #includes are not needed either
llvm-svn: 13867
2004-05-28 00:35:51 +00:00
Chris Lattner 06e381d31e Use fileutilities instead of mmap directly
llvm-svn: 13865
2004-05-28 00:31:36 +00:00
Chris Lattner e7bda9c022 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 1f4e545a89 Add support for dos style files.
llvm-svn: 13836
2004-05-27 17:44:18 +00:00
Chris Lattner 278f5152d3 Header file moved
llvm-svn: 13813
2004-05-27 05:41:36 +00:00
Misha Brukman bd094e73d2 Add hint about syntax-highlighting non-standardly-named LLVM Makefiles.
llvm-svn: 13606
2004-05-19 21:20:40 +00:00
Misha Brukman 40b4f6eca8 Added `zeroinitializer' keyword.
llvm-svn: 13253
2004-04-28 19:36:08 +00:00
Brian Gaeke 11550c1deb 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 627abf14bb Fix typo.
llvm-svn: 13072
2004-04-19 19:09:24 +00:00
Chris Lattner bf3c8763c0 Spiff is no longer in our tree
llvm-svn: 13041
2004-04-18 18:26:38 +00:00
Misha Brukman b4f20ea496 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 ed94fef7e3 Fix bug, add support for +/-
llvm-svn: 12934
2004-04-13 21:48:43 +00:00
Chris Lattner 9a3ac1a956 Out with spiff, in with fpcmp
llvm-svn: 12928
2004-04-13 20:59:24 +00:00
Chris Lattner e542c1c422 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 5613bcc258 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 becf6365d6 Increase buffer size again. *sigh*
llvm-svn: 12912
2004-04-13 18:43:18 +00:00
Chris Lattner f37bd007e4 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 763596e28d Fixed sized limits are bad... duh.
llvm-svn: 12908
2004-04-13 18:34:16 +00:00
Chris Lattner 7b9733dac2 Really spiff, don't chatter :)
llvm-svn: 12907
2004-04-13 18:33:21 +00:00
Brian Gaeke bacab88d42 Don't underline diffs
llvm-svn: 12902
2004-04-13 18:24:01 +00:00
Brian Gaeke ff27406cf9 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 2ec7dfc278 Build Spiff directory
llvm-svn: 12876
2004-04-12 22:53:51 +00:00
Brian Gaeke 4ae2642fd4 Add the Spiff fp-aware diff utility from Bellcore
llvm-svn: 12875
2004-04-12 22:53:24 +00:00
Jakub Staszak 68a9025f50 Tablegen backend for really simple instruction selector
llvm-svn: 12713
2004-04-06 19:31:31 +00:00
Jakub Staszak f9bfc7f927 add tablgen backend for really simple instruction selector
llvm-svn: 12712
2004-04-06 19:30:56 +00:00
Chris Lattner 8988f92470 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 be3c688488 Teach emacs about the select instruction
llvm-svn: 12326
2004-03-12 05:54:48 +00:00
Chris Lattner 9c222ed4b5 Default to using edge counts
llvm-svn: 12234
2004-03-08 20:04:46 +00:00
Brian Gaeke 3001c6e264 Squash /usr/dcs path; use a 'require <version>' instead.
llvm-svn: 12099
2004-03-03 17:38:51 +00:00
Brian Gaeke c0c260dd37 Add my regression finding by binary searching cvs script.
llvm-svn: 12095
2004-03-03 08:14:25 +00:00
John Criswell 626f47f946 Added EH support.
llvm-svn: 12075
2004-03-02 15:54:25 +00:00
Brian Gaeke b19dcc6651 Don't look in the .libs directories that libtool makes
llvm-svn: 12027
2004-03-01 02:41:22 +00:00
Chris Lattner 36326de312 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 994f2d1406 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
Chris Lattner d959ab9208 Assert instead of going into an infinite loop!
llvm-svn: 11946
2004-02-28 16:31:53 +00:00
John Criswell 9ed08ab1f7 Added support for C++ compilation.
Made removing the object files a separate sh command so that it can easily
be commented out.

llvm-svn: 11888
2004-02-26 23:02:25 +00:00
John Criswell c7ef3c61fd C++ version of llvm-native-gcc.
llvm-svn: 11887
2004-02-26 23:01:21 +00:00
John Criswell 9f547bcea9 Updated to use llc to generate CBE code.
llvm-svn: 11823
2004-02-25 17:15:02 +00:00
Chris Lattner d8f6fbb690 Add a label for the bump when we started counting llvm/projects
llvm-svn: 11596
2004-02-18 20:27:06 +00:00
Chris Lattner 564251ed5e exit(1) instead of abort()'ing on error
llvm-svn: 11380
2004-02-13 16:37:43 +00:00
Chris Lattner a80e9f0a19 Fix buggy error message problem
llvm-svn: 11379
2004-02-13 16:33:56 +00:00
Misha Brukman e10e2b12dd Ooops, top-level C++-comments aren't recognized by flex.
llvm-svn: 11337
2004-02-12 00:03:08 +00:00
Misha Brukman a01b30bbaa * Convert C comments to C++ style (why are some one way, some another?!)
* Delete extra space, extra blank comment lines
* Convert function comments to doxygen

llvm-svn: 11336
2004-02-12 00:00:46 +00:00
Brian Gaeke 512bd8de00 Fix bug in initial check - when recompiling everything with llvm-native-gcc,
you have to erase the program and re-run the linker, too, before running the
checker.

llvm-svn: 11328
2004-02-11 18:52:05 +00:00
Chris Lattner 7069bb2cd6 Make block profiling the default
add a new -function argument
Add a new -o argument to specify where to put llvmprof.out data

llvm-svn: 11265
2004-02-10 18:01:50 +00:00
Brian Gaeke 3e666c1897 Fix unterminated-quote typo in echo command
llvm-svn: 11188
2004-02-08 08:01:00 +00:00
Chris Lattner e6540165b3 Print the record NAME not the record ADDRESS
llvm-svn: 11144
2004-02-06 03:19:17 +00:00
Chris Lattner 7cd8061230 Start counting projects
llvm-svn: 10980
2004-01-27 21:46:23 +00:00
Brian Gaeke 666aaf715f Fix a couple of places I noticed where "X86" was hard-coded.
llvm-svn: 10974
2004-01-24 09:23:46 +00:00
Brian Gaeke f39fa9e2e5 This is my script for narrowing down miscompilations to a single file.
llvm-svn: 10890
2004-01-15 22:35:43 +00:00
Chris Lattner 4bb9bc3a65 Eliminate annoying warnings from the tester, hopefully for real this time.
llvm-svn: 10777
2004-01-12 16:55:30 +00:00
Chris Lattner 68fbab0ee8 Fix annoying warnings. W doesn't have a revision number
llvm-svn: 10736
2004-01-09 18:39:04 +00:00
Chris Lattner 4480f1ab19 explain the jump for llvm-db
llvm-svn: 10713
2004-01-07 18:33:14 +00:00
Alkis Evlogimenos 8b9d36e30c Change perl interpreter path to the standard /usr/bin/perl.
llvm-svn: 10708
2004-01-07 01:48:26 +00:00
Chris Lattner 80a4508614 Eliminate a spurious warning
llvm-svn: 10540
2003-12-19 19:48:43 +00:00
Chris Lattner 8f668f26a6 If -enable-linscan is specified, add ENABLE_LINEARSCAN=1 to the make commandline
llvm-svn: 10527
2003-12-19 03:47:31 +00:00
Chris Lattner 4953be9c73 Update template
llvm-svn: 10525
2003-12-19 03:34:46 +00:00
Chris Lattner 95c13c92ff Stop laughing Misha
llvm-svn: 10393
2003-12-11 00:58:34 +00:00
Brian Gaeke ddc088a9e4 Check in the llvm-native-gcc script, which I use in the process of
debugging front-end miscompilations.

llvm-svn: 10347
2003-12-09 22:23:24 +00:00
Brian Gaeke fed9ed96a4 This may fix the "0 dirs" stuff we get in the nightly tests when they are
checking out over remote cvs connections.

llvm-svn: 10278
2003-12-01 05:31:12 +00:00
Chris Lattner 3bf4fd9030 This function REALLY DOES return void
llvm-svn: 10124
2003-11-20 21:22:32 +00:00
Brian Gaeke 960707c335 Put all LLVM code into the llvm namespace, as per bug 109.
llvm-svn: 9903
2003-11-11 22:41:34 +00:00
Chris Lattner 5c94491743 * Add units to the yaxis of each chart
* Add charts to the nightly test report

llvm-svn: 9808
2003-11-08 20:48:39 +00:00
Chris Lattner 1388c6765f Since we are collecting all of this data, we might as well graph it!
llvm-svn: 9807
2003-11-08 20:33:04 +00:00
Chris Lattner cd213197dc fix warnings on sparc
llvm-svn: 9759
2003-11-06 21:30:15 +00:00
Chris Lattner 5d8e552cf1 Add -help option
llvm-svn: 9651
2003-11-02 05:17:32 +00:00
Chris Lattner 3538c9d2d3 Pass unrecognized options into llvmprof
llvm-svn: 9596
2003-10-29 21:51:00 +00:00
Chris Lattner 2c14d253c4 Add option for block profiling, pass in the "correct" argv[0] to the program
llvm-svn: 9566
2003-10-28 22:52:05 +00:00
Chris Lattner 10c91cccff Helper script for collecting profiling instrumentation. Simply run
$ profile.pl foo.bc <args>

... to instrument, run, then print a program profile!

llvm-svn: 9560
2003-10-28 22:11:31 +00:00
Chris Lattner d09f339bed I'm tired of the nightly tester stopping, aren't you?
llvm-svn: 9544
2003-10-28 18:37:24 +00:00
Chris Lattner 9b3c460a1e Make sure to syntax hilight the 'unwind' keyword!
llvm-svn: 9524
2003-10-27 05:09:15 +00:00
Chris Lattner 518f3fd74f Add more space!
llvm-svn: 9330
2003-10-21 15:47:31 +00:00
Chris Lattner 6ffa75a1ac Syntax highlight the new operators
llvm-svn: 9328
2003-10-21 15:37:09 +00:00
John Criswell 9583cfafc5 Added LLVM copyright notice.
llvm-svn: 9324
2003-10-21 15:29:18 +00:00
John Criswell abe5cdcf21 Added LLVM copyright to Makefiles.
llvm-svn: 9314
2003-10-20 22:29:16 +00:00
John Criswell d3032037f1 Added LLVM copyright header.
llvm-svn: 9305
2003-10-20 20:20:30 +00:00
Chris Lattner eb9d2155f3 DeHTMLify the email so that it only gets sent out if something changes.
Add printouts about failed building and testing.

llvm-svn: 9253
2003-10-19 16:54:00 +00:00
Chris Lattner 83ec9454c9 Print stuff to stdout if something changes.
llvm-svn: 9235
2003-10-18 19:31:39 +00:00
Brian Gaeke 8026243e55 Add debug variable.
llvm-svn: 9188
2003-10-16 23:46:01 +00:00
John Criswell 38a47ab007 Removed the .PRECIOUS of Lex and Yacc output files.
They are already marked precious in llvm/Makefile.rules, and removing
this line seems to fix the Makefile so that the Yacc output is placed
into the object tree and not the source tree.

llvm-svn: 9179
2003-10-16 20:38:16 +00:00
Chris Lattner 4b9c23a19d Fix bug in script
llvm-svn: 9110
2003-10-14 01:22:08 +00:00
John Criswell 49a9b67858 Adding additional license information to these files.
llvm-svn: 9102
2003-10-13 20:34:27 +00:00
Misha Brukman 292964c663 LLVM CVS repository has moved.
llvm-svn: 9099
2003-10-13 20:28:48 +00:00
Chris Lattner 44d2c3514a Regularize header file comments
llvm-svn: 9071
2003-10-13 03:32:08 +00:00
Brian Gaeke 91d16b3b3f Greatly expand documentation comment at head of file... I had to
try to understand it; maybe this will help someone else do so too.
Default CVSRootDir to $CVSROOT first, then the path in ~vadve only if $CVSROOT
 was not set.
Checkout with -z3 if we might be checking out over ssh/rsh.
Check the filename of gnuplot to see if it is executable; if not, as a
 last resort, try just plain "gnuplot", hoping it is in the path somewhere.
Remove a little extra whitespace.

llvm-svn: 9046
2003-10-11 05:34:00 +00:00
Brian Gaeke 969378468e This seems to work around some unobvious bug in gcc on sparc which was
causing the build of lib/Target/X86 to fail.

llvm-svn: 9042
2003-10-10 21:55:29 +00:00
Chris Lattner 9865db1fcb Add support for the weak linkage specifier
llvm-svn: 9000
2003-10-10 04:56:26 +00:00
Chris Lattner 60eb9bc4af Include the new docs directory, whenever it gets added. www is gone
llvm-svn: 8982
2003-10-09 16:10:15 +00:00
Alkis Evlogimenos 5f1f337d95 Change MRegisterDesc::AliasSet, TargetInstrDescriptor::ImplicitDefs
and TargetInstrDescriptor::ImplicitUses to always point to a null
terminated array and never be null. So there is no need to check for
pointer validity when iterating over those sets. Code that looked
like:

if (const unsigned* AS = TID.ImplicitDefs) {
  for (int i = 0; AS[i]; ++i) {
    // use AS[i]
  }
}

was changed to:

for (const unsigned* AS = TID.ImplicitDefs; *AS; ++AS) {
  // use *AS
}

llvm-svn: 8960
2003-10-08 05:20:08 +00:00
Alkis Evlogimenos 74f2f89831 Properly close anchor tags in column descriptions
llvm-svn: 8959
2003-10-08 05:09:52 +00:00
Brian Gaeke 0c80303f94 I wanted to make the top of the page less verbose. Hope this helps.
llvm-svn: 8891
2003-10-06 15:30:00 +00:00
Chris Lattner b56ba38c0c The support directory no longer exists
llvm-svn: 8880
2003-10-05 19:33:27 +00:00
Chris Lattner f5bd1b7a8e Move support/tools/* back into utils
llvm-svn: 8875
2003-10-05 19:27:59 +00:00
Chris Lattner 909a1abade Make sure to include the "support" directory
llvm-svn: 8806
2003-10-01 21:12:46 +00:00
John Criswell 292456864d Moved llvm/utils/Burg and llvm/utils/TableGen to llvm/support/tools.
llvm-svn: 8734
2003-09-29 14:52:53 +00:00
Chris Lattner 8560a069f8 Fix bug in previous checkin
llvm-svn: 8694
2003-09-23 22:02:01 +00:00
Chris Lattner d7e18989cd Make it detect failed builds better
llvm-svn: 8690
2003-09-23 20:33:04 +00:00
Chris Lattner 651524a228 Document new column
llvm-svn: 8589
2003-09-17 22:02:49 +00:00
Vikram S. Adve a9b0673a68 Really use a search path as described in the log message for the last
version (instead of 2 fixed choices).

llvm-svn: 8525
2003-09-15 11:18:36 +00:00
Vikram S. Adve 20c8c040f5 Update makellvm to work with the brave new world of separate obj-root trees.
With these changes, you can still run makellvm directly from your source tree
as follows:
  % makellvm [toolname]	## looks for obj-root in default places (see below)
or
  % makellvm -obj obj-root [toolname]	## specify obj-root explicitly.

With the first from, `makellvm' checks the following places in order
and uses the first one that contains the file `Makefile.config':
(1) Your src-root directory
(2) /localhome/$USER/llvm
Other choices can be added to this list.

llvm-svn: 8509
2003-09-14 23:44:31 +00:00
Chris Lattner 9aa8598450 Fix the nightly tester now that olden has been moved
llvm-svn: 8508
2003-09-14 06:00:49 +00:00
Chris Lattner ff610c47be syntax highlightify
llvm-svn: 8397
2003-09-08 18:08:11 +00:00
Chris Lattner 53d5dd7a16 Syntax hilight
llvm-svn: 8396
2003-09-08 18:07:57 +00:00
Vikram S. Adve 3b82d389b6 Fix syntax error when makellvm is run in an invalid directory.
Add debugging support.

llvm-svn: 8389
2003-09-08 15:32:47 +00:00
Chris Lattner a541e80b3c Add new label
llvm-svn: 8091
2003-08-23 23:16:37 +00:00
Misha Brukman 71a1ba6a68 Make build errors stand out by coloring them red.
llvm-svn: 8017
2003-08-21 20:22:52 +00:00
Chris Lattner ed51e6858c Start testing SPEC as well as singlesource/multisource
llvm-svn: 8005
2003-08-21 15:55:26 +00:00
Chris Lattner 42fee012b0 Catch testing errors
llvm-svn: 7981
2003-08-20 15:44:33 +00:00
Chris Lattner 717658476c Fix bug where we printed the month number instead of the day number *blush*
llvm-svn: 7980
2003-08-20 15:33:33 +00:00
Chris Lattner 05c8f64b81 Fix bugs in tester
Add new -norunningtests option

llvm-svn: 7972
2003-08-19 18:35:03 +00:00
Misha Brukman dbfec2c56a Since we broke up SingleSource and MultiSource testing, the logs are now
separate as well.

llvm-svn: 7970
2003-08-19 15:54:16 +00:00
Chris Lattner d1fc00d4b0 Do not force a runtimelimit! We were actually reducing it.
Start running LARGE_PROBLEM_SIZE tests on Olden, keeping track of the results.

llvm-svn: 7969
2003-08-19 15:08:34 +00:00
Chris Lattner d729a47a29 Increase the size of the LOC chart
llvm-svn: 7968
2003-08-19 14:27:44 +00:00
Chris Lattner 7291a2998d Remove fixme
llvm-svn: 7958
2003-08-18 20:08:32 +00:00
Chris Lattner 3c81d9ac54 Add the magic incantations to get a running LOC graph updated each night...
llvm-svn: 7957
2003-08-18 20:07:54 +00:00
Chris Lattner b3b70f982e Add in the running LOC chart
llvm-svn: 7956
2003-08-18 19:59:28 +00:00
Chris Lattner 71f6543c0e Wrap line at 80 columns
Fix bogus failures

llvm-svn: 7947
2003-08-18 15:11:13 +00:00
Chris Lattner 688d99fd9c Fix minor bugs in the tester
llvm-svn: 7943
2003-08-18 14:07:03 +00:00
Chris Lattner f5ba14b58a * Split the programs table into MultiSource and SingleSource components
* Instead of printing the time to configure as the build time, print the
  time to configure AND the build time, explicitly

llvm-svn: 7942
2003-08-18 06:05:21 +00:00
Chris Lattner 978b8487dd The CBE output is compiled at -O2
llvm-svn: 7938
2003-08-18 04:39:41 +00:00
Chris Lattner fe2b22fe54 Add docs for new column, native tests now run with -O2
llvm-svn: 7935
2003-08-18 04:32:34 +00:00
Chris Lattner 61b05eaeec Make the check for a failed test run more robust!!
llvm-svn: 7924
2003-08-17 20:52:05 +00:00
Misha Brukman 2ba18cb02a * Match the column names in the report
* Describe and clarify meanings of columns
* Fix up HTML: close <a> and <li> tags

llvm-svn: 7900
2003-08-15 19:31:04 +00:00
Chris Lattner 488c2d4f5f Document new column, remove X86 specific stuff
llvm-svn: 7886
2003-08-15 16:29:06 +00:00
Misha Brukman 2b6d3384ce * Enable SPEC testing in the `configure' script command line
* Switched from using `m||' to `m##' because VIM mis-highlights `m||'
* Simplified the regex getting the file version number

llvm-svn: 7842
2003-08-14 15:26:28 +00:00
Chris Lattner 9f09954df9 Make LOC count more accurate by not including the tablegen lexer/parser, any .inc files, which are generated by tablegen, nor .lo files which sometimes get picked up from libtool
llvm-svn: 7770
2003-08-12 05:11:12 +00:00
Misha Brukman b1e7b2dd7e Added keyword `include', and a FIXME for hex and binary constants.
llvm-svn: 7740
2003-08-11 19:14:20 +00:00
Misha Brukman 7170f65f1f * Added (X)Emacs mode for TableGen description files
* Added README that describes how to use the mode files
* Associated files with .llx extension with llvm-mode

llvm-svn: 7738
2003-08-11 19:10:02 +00:00
Misha Brukman 216ed65030 tablegen.vim:
* Added keyword `field'
* Keywords get different highlighting than types
* Added a simple attempt at multi-line C-style comments with FIXME

README:
* Added note about symlinking an entire directory ~/.vim/syntax

llvm-svn: 7733
2003-08-11 18:05:19 +00:00
Chris Lattner 789ddcef4c Add .llx
llvm-svn: 7732
2003-08-11 18:01:39 +00:00
Misha Brukman 61e66baa25 Added a TableGen syntax highlighting mode for VIM and a README that describes
how to add the functionality to the user's VIM installation.

llvm-svn: 7731
2003-08-11 17:56:08 +00:00
Chris Lattner bade93cde8 Sort the file lists
llvm-svn: 7638
2003-08-06 16:02:50 +00:00
Chris Lattner 121a128d40 Forget about KEEP_SYMBOLS, make sure to build into the temp directory, not into localhome
llvm-svn: 7450
2003-07-31 16:05:11 +00:00
Vikram S. Adve c3c1a9ccdc (1) Pass 'VAR=string' arguments to gmake
(2) Detect LLVMDIR using the LEVEL variable in Makefile.
(3) To perform #2 propertly, use the same Makefile search rules as gmake.

llvm-svn: 7228
2003-07-22 12:35:28 +00:00
Misha Brukman 6aa98680fb * Made $Template refer to a path relative to the checked-out tree
* 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

llvm-svn: 7118
2003-07-07 21:27:40 +00:00
Brian Gaeke d5676e8607 Add -d option to trust the disassembler.
llvm-svn: 7105
2003-07-03 21:44:32 +00:00
Brian Gaeke 5b343a4ba1 here little scriptie, nice scriptie...
llvm-svn: 7104
2003-07-03 21:15:02 +00:00
Chris Lattner f5410e8237 Update to configure the tree before building it.
llvm-svn: 7026
2003-07-01 16:02:00 +00:00
Chris Lattner 5a42f1b49e Modify script to support checkins on branches
llvm-svn: 6921
2003-06-26 20:11:07 +00:00
Chris Lattner 812110e81f update documentation about columns
llvm-svn: 6833
2003-06-21 20:09:01 +00:00
Chris Lattner a436926e24 Fix breakage due to John's recent changes
llvm-svn: 6771
2003-06-18 18:26:22 +00:00
Misha Brukman b6073c3719 Removing personal name from source code.
llvm-svn: 6558
2003-06-03 00:59:24 +00:00
Misha Brukman ddbfa79371 Added the `to' keyword as in `cast <type> <data> to <type>'.
Cleaned up the header of the file (comments/description/etc).

llvm-svn: 6557
2003-06-03 00:57:41 +00:00
Misha Brukman d8acf7c5c3 * Added the `to' keyword, as in `cast <type> <data> to <type>'.
* Gave the file a maintainer.
* Cleaned up the layout somewhat.

llvm-svn: 6556
2003-06-03 00:56:09 +00:00
Misha Brukman f7c700f6d9 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.

llvm-svn: 6330
2003-05-25 16:38:24 +00:00
Chris Lattner 0a55e462a7 Fix a halfway done change to the nightly tester :(
llvm-svn: 6084
2003-05-11 15:23:10 +00:00
Chris Lattner c09c0b9623 Get the nightly tester to detect other kind of testing problems
llvm-svn: 6083
2003-05-10 21:40:10 +00:00
Chris Lattner 57eed20469 Force overwriting the file if it already exists.
llvm-svn: 6080
2003-05-10 21:19:00 +00:00
Chris Lattner 5ab7846d2d Update column info
llvm-svn: 6079
2003-05-10 20:54:55 +00:00
Chris Lattner 995ecdd8e9 Add support for new va_arg instruction
llvm-svn: 6026
2003-05-08 02:41:11 +00:00
Chris Lattner 3c5c9e176b Update to add new keywords
llvm-svn: 5846
2003-04-22 19:31:55 +00:00
Chris Lattner f0e92b575f Add missing keyword, add new linkage keywords
llvm-svn: 5785
2003-04-16 20:26:11 +00:00
Chris Lattner 1d647ae600 Add new linkage keywords. Spell uninitialized correctly
llvm-svn: 5784
2003-04-16 20:25:57 +00:00
Chris Lattner 88126c0003 * Don't run tests if compilation failed
* Don't summarize tests if testing failed

llvm-svn: 5680
2003-02-28 20:30:20 +00:00
Chris Lattner 74ee1b11a3 Fix broken links
llvm-svn: 5678
2003-02-28 20:05:20 +00:00
Chris Lattner b322004c16 Allow tests to run for 5 minutes before timing out.
llvm-svn: 5677
2003-02-28 19:40:05 +00:00
Chris Lattner 0881aeb121 Indent for uniformity
llvm-svn: 5470
2003-02-02 17:02:20 +00:00
Chris Lattner d81693515f Make sure the files get sorted correctly
llvm-svn: 5421
2003-01-24 16:28:25 +00:00
Chris Lattner d090dbbeb2 Compress large logs
llvm-svn: 5414
2003-01-23 19:31:28 +00:00
Chris Lattner 34debbff45 Implement "new/removed/broken/fixed" tests
llvm-svn: 5399
2003-01-22 20:35:59 +00:00
Chris Lattner 85d79a0c4d Implement program tests, and test for compile time problems
llvm-svn: 5397
2003-01-22 16:14:05 +00:00
Chris Lattner 42215209d3 Add support for program tests
llvm-svn: 5395
2003-01-22 16:13:10 +00:00
Chris Lattner 7f90f616a0 Fix indentation code, simplify a bit
llvm-svn: 5379
2003-01-20 19:18:44 +00:00
Chris Lattner 3dc0617cd1 Add information about new warnings and warning changes
llvm-svn: 5378
2003-01-20 18:05:27 +00:00
Chris Lattner 6a36dc6015 Initial checkin of the nightly build scripts
llvm-svn: 5376
2003-01-20 06:11:03 +00:00
Chris Lattner 6307208258 Include tablegen
llvm-svn: 4967
2002-12-12 03:44:42 +00:00
Chris Lattner 13b66f43cf Add makefile to build subdirs
llvm-svn: 4842
2002-12-02 01:21:34 +00:00
Vikram S. Adve c0724e8d92 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.

llvm-svn: 4468
2002-10-31 15:32:24 +00:00
Misha Brukman 4fb75da532 Added a major mode for Emacs to edit LLVM assembler code with syntax
highlighting.

llvm-svn: 4092
2002-10-09 00:30:20 +00:00
Nick Hildenbrandt 37e690a9c8 LLVM syntax highlighting for VIM.
llvm-svn: 4067
2002-10-07 22:54:48 +00:00
Vikram S. Adve e66e34a6e9 Add support for passing in arbitrary flags to gmake (except -n and -h
which are interpreted by this script).

llvm-svn: 3818
2002-09-19 14:54:53 +00:00
Vikram S. Adve 7369140fee 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.

llvm-svn: 3815
2002-09-18 23:22:27 +00:00
Chris Lattner c36a816a55 Print information about files that were removed
llvm-svn: 3760
2002-09-16 18:09:42 +00:00
Vikram S. Adve 49ffec6b39 Simplify significantly (and fix syntax error).
llvm-svn: 3730
2002-09-15 18:22:47 +00:00
Vikram S. Adve 9557560a9a Use much better method to find the llvmbase directory.
Also, add -h option to print usage information.

llvm-svn: 3729
2002-09-15 16:58:30 +00:00
Vikram S. Adve 183c2bb540 Check error condition after cvs returns. Also remove -c option.
llvm-svn: 3728
2002-09-15 16:45:10 +00:00
Vikram S. Adve 288e2ce02f Shell-script to build current directory and then link one tool (default: opt)
llvm-svn: 3727
2002-09-15 16:33:32 +00:00
Chris Lattner 88cb597cbc Fix script due to new www/ top level directory
llvm-svn: 3603
2002-09-06 21:04:36 +00:00
Chris Lattner 79e5e0009e Ignore the boost #include files
llvm-svn: 3004
2002-07-23 17:56:32 +00:00
Chris Lattner 445ec4e032 Change script to not even look in test/ directory, significantly speeding it up
llvm-svn: 2525
2002-05-07 18:42:09 +00:00
Chris Lattner 70f274b3a6 Merge Chris's script with the one already checked in
llvm-svn: 2408
2002-04-29 19:11:01 +00:00
Vikram S. Adve fcd90d64fb Shell script to simplify running cvs and viewing the output.
llvm-svn: 1727
2002-02-11 20:59:26 +00:00
Chris Lattner be45b2d4bf Exclude doxygen docs from srcs
llvm-svn: 1591
2002-01-30 20:39:12 +00:00
Chris Lattner 0bde2affb1 Print .def files as well as other files
llvm-svn: 648
2001-09-19 16:51:10 +00:00
Chris Lattner 863bb601ce Filter out the sparc.burm.c file
llvm-svn: 249
2001-07-21 19:43:08 +00:00
Chris Lattner 2f7c963559 Initial revision
llvm-svn: 2
2001-06-06 20:29:01 +00:00