oota-llvm.git
19 years agoUse a shorter form to express implicit use/defs in FpGETRESULT and
Alkis Evlogimenos [Wed, 8 Sep 2004 18:29:31 +0000 (18:29 +0000)]
Use a shorter form to express implicit use/defs in FpGETRESULT and
FpSETRESULT.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16247 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoA call instruction should implicitely define ST0 since the return
Alkis Evlogimenos [Wed, 8 Sep 2004 16:54:54 +0000 (16:54 +0000)]
A call instruction should implicitely define ST0 since the return
value is returned in that register. The pseudo instructions
FpGETRESULT and FpSETRESULT shold also have an implicity use and def
of ST0 repsecitvely.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16246 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThis file does not need <iostream>, I think.
Brian Gaeke [Wed, 8 Sep 2004 04:10:52 +0000 (04:10 +0000)]
This file does not need <iostream>, I think.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16245 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoUse a DenseMap for mapping reg->reg. This improves the LiveInterval
Alkis Evlogimenos [Wed, 8 Sep 2004 03:01:50 +0000 (03:01 +0000)]
Use a DenseMap for mapping reg->reg. This improves the LiveInterval
analysis running time from 2.7869secs to 2.5226secs on 176.gcc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16244 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoUse libtool, not mklib (which somehow doesn't get generated anymore)
Brian Gaeke [Tue, 7 Sep 2004 19:03:35 +0000 (19:03 +0000)]
Use libtool, not mklib (which somehow doesn't get generated anymore)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16243 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove PAPIDIR, per brg
Reid Spencer [Tue, 7 Sep 2004 18:04:45 +0000 (18:04 +0000)]
Remove PAPIDIR, per brg

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16240 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agobug 352 fixed
Reid Spencer [Tue, 7 Sep 2004 17:52:38 +0000 (17:52 +0000)]
bug 352 fixed
bug 257 fixed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16238 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoPAPI check has been moved to projects/reopt.
Brian Gaeke [Tue, 7 Sep 2004 17:35:16 +0000 (17:35 +0000)]
PAPI check has been moved to projects/reopt.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16237 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoPAPI is not used here.
Brian Gaeke [Tue, 7 Sep 2004 17:34:34 +0000 (17:34 +0000)]
PAPI is not used here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16236 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemoved this file as its contents are now in the m4 directory.
Reid Spencer [Tue, 7 Sep 2004 16:50:22 +0000 (16:50 +0000)]
Removed this file as its contents are now in the m4 directory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16234 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove variables and tests that were specific to the now defunct
Reid Spencer [Tue, 7 Sep 2004 16:35:45 +0000 (16:35 +0000)]
Remove variables and tests that were specific to the now defunct
test/Programs. These have been moved to llvm-test/autoconf/configure.ac and
llvm-test/Makefile.config.in

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16231 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago- Handle AC_CONFIG_SUBDIRS properly for existing "well known" projects
Reid Spencer [Tue, 7 Sep 2004 16:26:18 +0000 (16:26 +0000)]
- Handle AC_CONFIG_SUBDIRS properly for existing "well known" projects
  while still retaining the ability to configure unknown ones.
- Excise crud left over from when test/Projects was still part of the main
  LLVM module. These removed tests are now all in
  llvm-test/autoconf/configure.ac

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16230 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago- Perform all validity checks before doing anything.
Reid Spencer [Tue, 7 Sep 2004 16:00:48 +0000 (16:00 +0000)]
- Perform all validity checks before doing anything.
- Use the -I parameter to aclocal to tell it where the autoconf/m4
  directory is located so it can find needed autoconf functions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16225 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agomove AC_FUNC_ISINF and AC_FUNC_ISNAN to their own files.
Reid Spencer [Tue, 7 Sep 2004 14:23:53 +0000 (14:23 +0000)]
move AC_FUNC_ISINF and AC_FUNC_ISNAN to their own files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16224 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoIndividual autoconf function broken out of acincludes.m4. This change
Reid Spencer [Tue, 7 Sep 2004 06:56:14 +0000 (06:56 +0000)]
Individual autoconf function broken out of acincludes.m4. This change
per the recommended style guide for autoconf and so that individual
autoconf functions can more easily be shared across projects.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16223 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThis is the documentation style sheet, not the one for the website.
Misha Brukman [Tue, 7 Sep 2004 05:09:22 +0000 (05:09 +0000)]
This is the documentation style sheet, not the one for the website.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16222 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove extraneous blank lines.
Misha Brukman [Mon, 6 Sep 2004 23:00:30 +0000 (23:00 +0000)]
Remove extraneous blank lines.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16205 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd link to new howto on writing backends.
Misha Brukman [Mon, 6 Sep 2004 23:00:01 +0000 (23:00 +0000)]
Add link to new howto on writing backends.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16204 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoHow to write an LLVM backend, first draft.
Misha Brukman [Mon, 6 Sep 2004 22:58:13 +0000 (22:58 +0000)]
How to write an LLVM backend, first draft.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16203 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* Profile-guided needs a hyphen
Misha Brukman [Mon, 6 Sep 2004 22:35:43 +0000 (22:35 +0000)]
* Profile-guided needs a hyphen
* Dead store elimination has been implemented

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16202 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoReword to not use a link text `click here'.
Misha Brukman [Mon, 6 Sep 2004 20:58:44 +0000 (20:58 +0000)]
Reword to not use a link text `click here'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16201 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoModify the lines of code counting mechanism to use the new "countloc.sh"
Reid Spencer [Mon, 6 Sep 2004 19:32:55 +0000 (19:32 +0000)]
Modify the lines of code counting mechanism to use the new "countloc.sh"
utility. This avoids some problems with long line lengths and counting the
wrong things.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16200 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdded a tool to more accurately count the lines of code. The previous
Reid Spencer [Mon, 6 Sep 2004 19:06:27 +0000 (19:06 +0000)]
Added a tool to more accurately count the lines of code. The previous
utility, getsrcs.sh suffered from two problems: (1) it generated command
lines too long for some platforms and (2) it searched the projects diretory
which now contains the llvm-test module (in nightly tester) but we don't
want to include the test code in our LOC calculation. This script should
be maintained as LLVM adds new top level directories that contain source
code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16199 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd 64 bit divide instructions, and use them
Nate Begeman [Mon, 6 Sep 2004 18:46:59 +0000 (18:46 +0000)]
Add 64 bit divide instructions, and use them

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16198 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove double paren use in system() function so that the command line can
Reid Spencer [Sun, 5 Sep 2004 20:57:22 +0000 (20:57 +0000)]
Remove double paren use in system() function so that the command line can
be correctly interpreted by non-bash shells.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16194 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoHTML 4.01 STRICT compliance.
Reid Spencer [Sun, 5 Sep 2004 20:50:22 +0000 (20:50 +0000)]
HTML 4.01 STRICT compliance.
Added missing definitions
Noted the difference between llvm/test and llvm-test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16193 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake section separator comments 80 chars, not 70.
Reid Spencer [Sun, 5 Sep 2004 20:07:26 +0000 (20:07 +0000)]
Make section separator comments 80 chars, not 70.
Revise descriptions to account for llvm/test/Programs being moved to
the new CVS module llvm-test.
Incoporate an example of how to run the NightlyTest.pl script from a
shell script.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16192 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoIndent to 2 spaces and cleanup excess whitespace.
Alkis Evlogimenos [Sun, 5 Sep 2004 18:41:35 +0000 (18:41 +0000)]
Indent to 2 spaces and cleanup excess whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16188 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoIndent to 2 spaces.
Alkis Evlogimenos [Sun, 5 Sep 2004 18:39:20 +0000 (18:39 +0000)]
Indent to 2 spaces.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16187 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove configuration of test/Programs/* Makefiles.
Reid Spencer [Sun, 5 Sep 2004 17:48:32 +0000 (17:48 +0000)]
Remove configuration of test/Programs/* Makefiles.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16186 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdded the configuration of the test/Makefile.
Reid Spencer [Sun, 5 Sep 2004 16:42:30 +0000 (16:42 +0000)]
Added the configuration of the test/Makefile.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16185 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd HAS_U_INT64_T
Reid Spencer [Sun, 5 Sep 2004 16:41:11 +0000 (16:41 +0000)]
Add HAS_U_INT64_T

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16184 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd LLVMC as a supported tool.
Reid Spencer [Sun, 5 Sep 2004 16:39:01 +0000 (16:39 +0000)]
Add LLVMC as a supported tool.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16183 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoPer Bug 257
Reid Spencer [Sun, 5 Sep 2004 08:18:23 +0000 (08:18 +0000)]
Per Bug 257
The "Programs" directory no longer lives here. It have been moved to its
own cvs module. Check it out into llvm/projects and configure/build it
there.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16182 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake the NightlyTest run tests out of projects/llvm-test instead of
Reid Spencer [Sun, 5 Sep 2004 07:58:10 +0000 (07:58 +0000)]
Make the NightlyTest run tests out of projects/llvm-test instead of
llvm/test/Programs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16181 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoPut a space between `Data' and `Structure' of DSA.
Misha Brukman [Sun, 5 Sep 2004 03:57:23 +0000 (03:57 +0000)]
Put a space between `Data' and `Structure' of DSA.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16179 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove the bit about this document being my `notes', it has matured since then.
Misha Brukman [Sun, 5 Sep 2004 03:24:34 +0000 (03:24 +0000)]
Remove the bit about this document being my `notes', it has matured since then.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16178 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix object/library filenames that have changed, clarify descriptions.
Misha Brukman [Sun, 5 Sep 2004 03:20:18 +0000 (03:20 +0000)]
Fix object/library filenames that have changed, clarify descriptions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16177 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd DSA.
Misha Brukman [Sun, 5 Sep 2004 03:00:20 +0000 (03:00 +0000)]
Add DSA.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16176 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* CSS was created to reduce re-specifying design styles: specify table cell
Misha Brukman [Sun, 5 Sep 2004 02:56:39 +0000 (02:56 +0000)]
* CSS was created to reduce re-specifying design styles: specify table cell
  color once at the top, and do not repeat it 82 times
* Replace bright blue table border with gray, which is easier on the eyes and
  matches the gray LLVM documentation color scheme

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16175 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* Change PPC32AsmPrinter => PowerPCAsmPrinter since it is now shared between
Misha Brukman [Sun, 5 Sep 2004 02:42:44 +0000 (02:42 +0000)]
* Change PPC32AsmPrinter => PowerPCAsmPrinter since it is now shared between
  Darwin and AIX and is not 32- or 64-bit specific
* Bring back PowerPC.td as a result, to make it use the `PowerPC' class name
* Adjust Makefile accordingly

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16174 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRenamed PPC32AsmPrinter.cpp => PowerPCAsmPrinter.cpp as the Darwin and AIX asm
Misha Brukman [Sun, 5 Sep 2004 02:27:37 +0000 (02:27 +0000)]
Renamed PPC32AsmPrinter.cpp => PowerPCAsmPrinter.cpp as the Darwin and AIX asm
printers are now unified into one file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16173 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake sure llvm-test doesn't build automatically so the nightly test can
Reid Spencer [Sat, 4 Sep 2004 23:07:57 +0000 (23:07 +0000)]
Make sure llvm-test doesn't build automatically so the nightly test can
finish its build phase without building and running all the tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16172 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoTake one item off the "to do" list: implemented -O1 .. -O5 options for
Reid Spencer [Sat, 4 Sep 2004 20:30:01 +0000 (20:30 +0000)]
Take one item off the "to do" list: implemented -O1 .. -O5 options for
optimization in stkrc instead of depending on "opt"

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16169 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoConvert makefile to use standard LLVM macros for tool names
Reid Spencer [Sat, 4 Sep 2004 20:13:54 +0000 (20:13 +0000)]
Convert makefile to use standard LLVM macros for tool names
Utilize new stkrc -O4 option for optimization during translation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16168 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake Stacker into a complete project with its own configuration.
Reid Spencer [Sat, 4 Sep 2004 19:48:50 +0000 (19:48 +0000)]
Make Stacker into a complete project with its own configuration.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16167 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake the StackerCompiler and optimizing translator by running specific
Reid Spencer [Sat, 4 Sep 2004 19:07:32 +0000 (19:07 +0000)]
Make the StackerCompiler and optimizing translator by running specific
optimizations after construction of the Module. The OptLevel argument
to the compile function controls the level of optimization.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16166 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake the Stacker compiler handle -O1 .. -O5 options so it is compliant with
Reid Spencer [Sat, 4 Sep 2004 19:05:53 +0000 (19:05 +0000)]
Make the Stacker compiler handle -O1 .. -O5 options so it is compliant with
the compiler driver interface as an optimizing translator. Also clean up
error message handling.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16165 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoInclude MathExtras.h to fix build breakage, thanks to Vladimir
Nate Begeman [Sat, 4 Sep 2004 14:51:26 +0000 (14:51 +0000)]
Include MathExtras.h to fix build breakage, thanks to Vladimir

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16164 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAll PPC instructions are now auto-printed
Nate Begeman [Sat, 4 Sep 2004 05:00:00 +0000 (05:00 +0000)]
All PPC instructions are now auto-printed
32 and 64 bit AsmWriters unified
Darwin and AIX specific features of AsmWriter split out

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16163 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoGet rid of an un-needed and un-used GCCism. ATTR_DEPRECATED is used nowhere
Reid Spencer [Fri, 3 Sep 2004 23:38:25 +0000 (23:38 +0000)]
Get rid of an un-needed and un-used GCCism. ATTR_DEPRECATED is used nowhere
in the LLVM source base.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16162 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoClean up some "clean:" targets so they use $(VERB) and don't print anything
Reid Spencer [Fri, 3 Sep 2004 23:19:53 +0000 (23:19 +0000)]
Clean up some "clean:" targets so they use $(VERB) and don't print anything
by default, like every other "clean" target in LLVM.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16161 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake tblgen's exception handling a little more robust by printing the
Reid Spencer [Fri, 3 Sep 2004 23:17:54 +0000 (23:17 +0000)]
Make tblgen's exception handling a little more robust by printing the
program name and also catching ...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16160 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoDon't re-instantiate the std::string in catch block.
Reid Spencer [Fri, 3 Sep 2004 22:59:32 +0000 (22:59 +0000)]
Don't re-instantiate the std::string in catch block.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16159 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoUh, changing in build dir and committing in src dir doesn't lead to correct
Reid Spencer [Fri, 3 Sep 2004 22:28:24 +0000 (22:28 +0000)]
Uh, changing in build dir and committing in src dir doesn't lead to correct
commits. Fix it so it actually works.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16158 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoCorrect the specification of the DIRS variable to not include the source
Reid Spencer [Fri, 3 Sep 2004 22:25:40 +0000 (22:25 +0000)]
Correct the specification of the DIRS variable to not include the source
directory prefix, just the name of the subdirectory. This prevents the
makefile from trying to find makefiles (like Makefile.common) in the wrong
place.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16157 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoI was actually wrong in my "simplification".
Misha Brukman [Fri, 3 Sep 2004 19:46:43 +0000 (19:46 +0000)]
I was actually wrong in my "simplification".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16156 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoSimplify check for uint64_t and u_int64_t
Misha Brukman [Fri, 3 Sep 2004 19:44:28 +0000 (19:44 +0000)]
Simplify check for uint64_t and u_int64_t

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16155 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoProvide correct definition of uint64_t for platforms that have only
Reid Spencer [Fri, 3 Sep 2004 19:37:39 +0000 (19:37 +0000)]
Provide correct definition of uint64_t for platforms that have only
u_int64_t defined.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16154 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoOrder #includes alphabetically, local .h files first.
Misha Brukman [Fri, 3 Sep 2004 18:25:53 +0000 (18:25 +0000)]
Order #includes alphabetically, local .h files first.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16153 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFixes to make LLVM compile with vc7.1.
Alkis Evlogimenos [Fri, 3 Sep 2004 18:19:51 +0000 (18:19 +0000)]
Fixes to make LLVM compile with vc7.1.

Patch contributed by Paolo Invernizzi!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16152 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRegenerated after Reid's change for uint64_t/u_int64_t (patch by Bill Wendling)
Misha Brukman [Thu, 2 Sep 2004 23:02:30 +0000 (23:02 +0000)]
Regenerated after Reid's change for uint64_t/u_int64_t (patch by Bill Wendling)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16151 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake the text of this file a little more useful.
Reid Spencer [Thu, 2 Sep 2004 22:49:27 +0000 (22:49 +0000)]
Make the text of this file a little more useful.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16150 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoDon't just assume that either uint64_t or u_int64_t is available. Instead,
Reid Spencer [Thu, 2 Sep 2004 21:38:24 +0000 (21:38 +0000)]
Don't just assume that either uint64_t or u_int64_t is available. Instead,
give preference to uint64_t if it exists. If not, check for u_int64_t. If
that doesn't exist either, then error out.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16149 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoChange the way we choose a free register: instead of picking the first
Alkis Evlogimenos [Thu, 2 Sep 2004 21:24:33 +0000 (21:24 +0000)]
Change the way we choose a free register: instead of picking the first
free allocatable register, we prefer the a free one with the most uses
of inactive intervals.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16148 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoChange the way we choose a free register: instead of picking the first
Alkis Evlogimenos [Thu, 2 Sep 2004 21:23:32 +0000 (21:23 +0000)]
Change the way we choose a free register: instead of picking the first
free allocatable register, we prefer the a free one with the most uses
of inactive intervals. This causes less spills and performes a bit
better compared to gcc:

Program                 | GCC/LLC (Before)| GCC/LLC (After)
164.gzip/164.gzip       | 0.59            | 0.60
175.vpr/175.vpr         | 0.57            | 0.58
176.gcc/176.gcc         | 0.59            | 0.61
181.mcf/181.mcf         | 0.94            | 0.95
186.crafty/186.crafty   | 0.62            | 0.62
197.parser/197.parser   | 0.89            | 0.88
252.eon/252.eon         | 0.61            | 0.66
253.perlbmk/253.perlbmk | 0.79            | 0.84
254.gap/254.gap         | 0.81            | 0.81
255.vortex/255.vortex   | 0.92            | 0.93
256.bzip2/256.bzip2     | 0.69            | 0.69
300.twolf/300.twolf     | 0.91            | 0.90

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16147 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdded a check for u_int64_t, which is used by Interix.
John Criswell [Thu, 2 Sep 2004 18:44:44 +0000 (18:44 +0000)]
Added a check for u_int64_t, which is used by Interix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16145 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdded u_int64_t because some systems use that instead of uint64_t.
John Criswell [Thu, 2 Sep 2004 18:41:30 +0000 (18:41 +0000)]
Added u_int64_t because some systems use that instead of uint64_t.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16144 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoWe don't need to sort the added vector as unhandled intervals are
Alkis Evlogimenos [Thu, 2 Sep 2004 18:00:38 +0000 (18:00 +0000)]
We don't need to sort the added vector as unhandled intervals are
stored in a binary heap.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16143 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoConvert remaining X-Form and Pseudo instructions over to asm writer
Nate Begeman [Thu, 2 Sep 2004 08:13:00 +0000 (08:13 +0000)]
Convert remaining X-Form and Pseudo instructions over to asm writer

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16142 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoPull in definition of std::unary_function.
Alkis Evlogimenos [Thu, 2 Sep 2004 03:24:45 +0000 (03:24 +0000)]
Pull in definition of std::unary_function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16140 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoUnbreak build
Brian Gaeke [Thu, 2 Sep 2004 03:24:08 +0000 (03:24 +0000)]
Unbreak build

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16139 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoBack to compiling land for v8
Brian Gaeke [Thu, 2 Sep 2004 02:37:43 +0000 (02:37 +0000)]
Back to compiling land for v8

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16138 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoChanges For Bug 352
Reid Spencer [Wed, 1 Sep 2004 22:55:40 +0000 (22:55 +0000)]
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/.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoBe a bit more efficient when processing the active and inactive
Alkis Evlogimenos [Wed, 1 Sep 2004 22:52:29 +0000 (22:52 +0000)]
Be a bit more efficient when processing the active and inactive
lists. Instead of scanning the vector backwards, scan it forward and
swap each element we want to erase. Then at the end erase all removed
intervals at once. This doesn't save much: 0.08s out of 4s when
compiling 176.gcc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16136 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoGive a better assertion if we see a use before a def.
Alkis Evlogimenos [Wed, 1 Sep 2004 22:34:52 +0000 (22:34 +0000)]
Give a better assertion if we see a use before a def.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16135 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake sure <cassert> is included for platforms that don't include it via
Reid Spencer [Wed, 1 Sep 2004 20:36:15 +0000 (20:36 +0000)]
Make sure <cassert> is included for platforms that don't include it via
other header files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16134 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agomkdtemp doesn't exist on Cygwin. Use tempnam & mkdir instead.
Reid Spencer [Wed, 1 Sep 2004 20:29:35 +0000 (20:29 +0000)]
mkdtemp doesn't exist on Cygwin. Use tempnam & mkdir instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16133 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake CommandLine prefix error output with the name of the program.
Reid Spencer [Wed, 1 Sep 2004 04:41:28 +0000 (04:41 +0000)]
Make CommandLine prefix error output with the name of the program.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16129 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoInitial commit for platform independent system configuration support.
Reid Spencer [Tue, 31 Aug 2004 18:13:52 +0000 (18:13 +0000)]
Initial commit for platform independent system configuration support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16128 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd support for FreeBSD
Reid Spencer [Tue, 31 Aug 2004 18:09:35 +0000 (18:09 +0000)]
Add support for FreeBSD

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16127 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd support for Interix and FreeBSD
Reid Spencer [Tue, 31 Aug 2004 18:03:23 +0000 (18:03 +0000)]
Add support for Interix and FreeBSD

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16126 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoActually define PreventCoreFiles in the sys namespace.
Reid Spencer [Tue, 31 Aug 2004 17:53:41 +0000 (17:53 +0000)]
Actually define PreventCoreFiles in the sys namespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16125 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd a new abstraction, SysConfig for platform independent system
Reid Spencer [Tue, 31 Aug 2004 17:43:29 +0000 (17:43 +0000)]
Add a new abstraction, SysConfig for platform independent system
configuration calls. Right now this just contains PreventCoreFiles so that
bugpoint can by platform independent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16124 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMinor code clarity changes.
Alkis Evlogimenos [Tue, 31 Aug 2004 17:39:15 +0000 (17:39 +0000)]
Minor code clarity changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16123 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix a "test" botch.
Reid Spencer [Tue, 31 Aug 2004 14:20:36 +0000 (14:20 +0000)]
Fix a "test" botch.
Alphabetize the platform list
Install some AC_MSG_CHECKING/AC_MSG_RESULT pairs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16122 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoconvert M and MD form instructions to generated asm writer
Nate Begeman [Tue, 31 Aug 2004 02:28:08 +0000 (02:28 +0000)]
convert M and MD form instructions to generated asm writer

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16121 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRecognize Interix systems as if they were SunOS and make sure we don't
Reid Spencer [Tue, 31 Aug 2004 01:34:10 +0000 (01:34 +0000)]
Recognize Interix systems as if they were SunOS and make sure we don't
attempt to configure for "Unknown" system types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16120 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMove the GetTemporaryDirectory function from "generic Unix" to platform
Reid Spencer [Mon, 30 Aug 2004 21:46:55 +0000 (21:46 +0000)]
Move the GetTemporaryDirectory function from "generic Unix" to platform
specific.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16119 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd inclusion of assert.h
Reid Spencer [Mon, 30 Aug 2004 16:03:54 +0000 (16:03 +0000)]
Add inclusion of assert.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16118 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInitial commit of a configuration file for compiling C++ programs with
Reid Spencer [Mon, 30 Aug 2004 06:32:24 +0000 (06:32 +0000)]
Initial commit of a configuration file for compiling C++ programs with
the file name pattern *.cpp

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16117 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement the "setIncludePaths" and "setSymbolDefines" interface methods.
Reid Spencer [Mon, 30 Aug 2004 06:29:06 +0000 (06:29 +0000)]
Implement the "setIncludePaths" and "setSymbolDefines" interface methods.
Revise token substitution to be a little faster.
Clean up exception throwing, make sure its always a std::string.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16116 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoPass lists of -I and -D options through to the Compiler Driver.
Reid Spencer [Mon, 30 Aug 2004 06:27:32 +0000 (06:27 +0000)]
Pass lists of -I and -D options through to the Compiler Driver.
Handle -g and -Wxxx for GCC compatibility

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16115 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a blurb about exploiting the use of external storage.
Reid Spencer [Mon, 30 Aug 2004 05:56:51 +0000 (05:56 +0000)]
Add a blurb about exploiting the use of external storage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16114 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMove yet more instructions over to being printed by the generated asm writer
Nate Begeman [Mon, 30 Aug 2004 02:28:06 +0000 (02:28 +0000)]
Move yet more instructions over to being printed by the generated asm writer

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16112 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAbbreviate the long descriptions which are now in docs/SystemLibrary.html.
Reid Spencer [Mon, 30 Aug 2004 02:03:51 +0000 (02:03 +0000)]
Abbreviate the long descriptions which are now in docs/SystemLibrary.html.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16111 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoReduce the number of arguments in the instruction builder and make some
Reid Spencer [Mon, 30 Aug 2004 00:13:26 +0000 (00:13 +0000)]
Reduce the number of arguments in the instruction builder and make some
improvements on instruction selection that account for register and frame
index bases.

Patch contributed by Jeff Cohen. Thanks Jeff!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16110 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNeed to throw std::string not const char* if we want error messages to be
Reid Spencer [Mon, 30 Aug 2004 00:06:52 +0000 (00:06 +0000)]
Need to throw std::string not const char* if we want error messages to be
caught.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16109 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSynchronize documentation of configuration items and substitutions with
Reid Spencer [Sun, 29 Aug 2004 23:20:42 +0000 (23:20 +0000)]
Synchronize documentation of configuration items and substitutions with
current reality of llvmc implementation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16108 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoConvert A-Form instructions to auto-generated asm writer
Nate Begeman [Sun, 29 Aug 2004 22:45:13 +0000 (22:45 +0000)]
Convert A-Form instructions to auto-generated asm writer

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16107 91177308-0d34-0410-b5e6-96231b3b80d8