oota-llvm.git
20 years agoChange banner name to reflect actual program this Makefile is for.
Reid Spencer [Mon, 13 Sep 2004 21:15:19 +0000 (21:15 +0000)]
Change banner name to reflect actual program this Makefile is for.

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

20 years agoGet rid of compile warning by having llvmExecve return the result of its
Reid Spencer [Mon, 13 Sep 2004 15:37:33 +0000 (15:37 +0000)]
Get rid of compile warning by having llvmExecve return the result of its
call to executeProgram.

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

20 years agoInitial implementation of llvm-ld: stolen from gccld.
Reid Spencer [Mon, 13 Sep 2004 01:27:53 +0000 (01:27 +0000)]
Initial implementation of llvm-ld: stolen from gccld.

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

20 years agoAdd LLEE into compilation, but not for Sparc
Misha Brukman [Mon, 13 Sep 2004 01:18:30 +0000 (01:18 +0000)]
Add LLEE into compilation, but not for Sparc

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

20 years agoExcise the -L option since llvm-link should not do library searches. It
Reid Spencer [Sun, 12 Sep 2004 23:39:42 +0000 (23:39 +0000)]
Excise the -L option since llvm-link should not do library searches. It
just links bytecode files together.

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

20 years agoExcise dependent library linking at Chris' request. llvm-link is intended
Reid Spencer [Sun, 12 Sep 2004 23:08:29 +0000 (23:08 +0000)]
Excise dependent library linking at Chris' request. llvm-link is intended
to provide only the simplest linking of LLVM modules without trying to be
complete. Dependent library linking will be added to gccld or its successor

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

20 years agoSquelch compilation warnings on Sparc
Misha Brukman [Sun, 12 Sep 2004 23:01:24 +0000 (23:01 +0000)]
Squelch compilation warnings on Sparc

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

20 years ago* Fix grammar
Misha Brukman [Sun, 12 Sep 2004 22:40:40 +0000 (22:40 +0000)]
* Fix grammar
* Convert tabs to spaces

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

20 years agoFix filename: Printer.cpp has become X86AsmPrinter.cpp
Misha Brukman [Sun, 12 Sep 2004 21:26:04 +0000 (21:26 +0000)]
Fix filename: Printer.cpp has become X86AsmPrinter.cpp

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

20 years agoUnbreak doxygen, according to Reid.
Misha Brukman [Sun, 12 Sep 2004 20:56:38 +0000 (20:56 +0000)]
Unbreak doxygen, according to Reid.

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

20 years agoFix code spacing/alignment
Misha Brukman [Sun, 12 Sep 2004 20:47:33 +0000 (20:47 +0000)]
Fix code spacing/alignment

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

20 years agoFix the replace method to assert if an item was erased from the set but not
Reid Spencer [Sat, 11 Sep 2004 20:38:25 +0000 (20:38 +0000)]
Fix the replace method to assert if an item was erased from the set but not
found in the vector. Previously, it just ignored this condition.

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

20 years agoCorrect the file header to reflect the new "examples" home for the file.
Reid Spencer [Sat, 11 Sep 2004 20:30:11 +0000 (20:30 +0000)]
Correct the file header to reflect the new "examples" home for the file.

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

20 years agoFix typo: sterror -> strerror
Reid Spencer [Sat, 11 Sep 2004 20:18:08 +0000 (20:18 +0000)]
Fix typo: sterror -> strerror

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

20 years agoCorrect the dynamic lib suffix on Darwin.
Reid Spencer [Sat, 11 Sep 2004 07:35:01 +0000 (07:35 +0000)]
Correct the dynamic lib suffix on Darwin.

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

20 years agoProvide initial implementations of Memory and Process concepts for various
Reid Spencer [Sat, 11 Sep 2004 04:59:30 +0000 (04:59 +0000)]
Provide initial implementations of Memory and Process concepts for various
platforms.
Implement GetLLVMSuffix function for the Path concept.

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

20 years agoProvide a generic Unix implementation of the Memory concept.
Reid Spencer [Sat, 11 Sep 2004 04:57:25 +0000 (04:57 +0000)]
Provide a generic Unix implementation of the Memory concept.

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

20 years agoProvide a generic unix implementation of the Process abstraction.
Reid Spencer [Sat, 11 Sep 2004 04:56:56 +0000 (04:56 +0000)]
Provide a generic unix implementation of the Process abstraction.

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

20 years agoImplemented support for detecting file types by magic number, stripping
Reid Spencer [Sat, 11 Sep 2004 04:55:08 +0000 (04:55 +0000)]
Implemented support for detecting file types by magic number, stripping
path and suffix to leave basename, and getting the DLL suffix.

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

20 years agoImplementation of Process concept for SUSv2 platforms.
Reid Spencer [Sat, 11 Sep 2004 04:54:06 +0000 (04:54 +0000)]
Implementation of Process concept for SUSv2 platforms.

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

20 years agoImplement dependent library processing and search paths for them.
Reid Spencer [Sat, 11 Sep 2004 04:32:42 +0000 (04:32 +0000)]
Implement dependent library processing and search paths for them.

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

20 years agoConvert the Emitter to use the lib/System "Memory" interface instead of the
Reid Spencer [Sat, 11 Sep 2004 04:31:03 +0000 (04:31 +0000)]
Convert the Emitter to use the lib/System "Memory" interface instead of the
old SystemUtils.h interface to allocate RWX blocks of memory.

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

20 years agoAdd library LLVMsystem.a because the JIT now needs it.
Reid Spencer [Sat, 11 Sep 2004 04:29:44 +0000 (04:29 +0000)]
Add library LLVMsystem.a because the JIT now needs it.

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

20 years agoCorrect the interface of a function to use the correct typedef for an
Reid Spencer [Sat, 11 Sep 2004 04:29:13 +0000 (04:29 +0000)]
Correct the interface of a function to use the correct typedef for an
argument so that it will always compile.

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

20 years agoImplement the remove method for deleting entries from the SetVector.
Reid Spencer [Sat, 11 Sep 2004 04:25:58 +0000 (04:25 +0000)]
Implement the remove method for deleting entries from the SetVector.

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

20 years agoImplement support for dependent libraries. The "source" module's dependent
Reid Spencer [Sat, 11 Sep 2004 04:25:17 +0000 (04:25 +0000)]
Implement support for dependent libraries. The "source" module's dependent
libraries list is merged into the "destination" module's list. Also, if the
source module is one of the dependent libraries, it is removed from the
list.

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

20 years agoChange interface to use correct typedef so it will always compile.
Reid Spencer [Sat, 11 Sep 2004 04:22:58 +0000 (04:22 +0000)]
Change interface to use correct typedef so it will always compile.

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

20 years agoMake the dependent libraries list use a SetVector instead of a regular
Reid Spencer [Sat, 11 Sep 2004 04:22:14 +0000 (04:22 +0000)]
Make the dependent libraries list use a SetVector instead of a regular
vector so that duplicate libraries never occur within a module.

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

20 years agoInitial commit of a file to declare the interface for platform independent
Reid Spencer [Sat, 11 Sep 2004 04:20:58 +0000 (04:20 +0000)]
Initial commit of a file to declare the interface for platform independent
support for various memory allocation operations.

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

20 years agoAdd methods for detecting file types by magic number, getting the file name
Reid Spencer [Sat, 11 Sep 2004 04:19:17 +0000 (04:19 +0000)]
Add methods for detecting file types by magic number, getting the file name
suffix for shared objects, and stripping a path down to its base name.

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

20 years agoAdd methods for detecting different kinds of files by their magic number,
Reid Spencer [Sat, 11 Sep 2004 04:18:05 +0000 (04:18 +0000)]
Add methods for detecting different kinds of files by their magic number,
getting the suffix for shared objects, and extracting the basename from a
path.

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

20 years agoUse llvm-link to link the .bc with testing.bc. This helps test the new
Reid Spencer [Sat, 11 Sep 2004 04:15:09 +0000 (04:15 +0000)]
Use llvm-link to link the .bc with testing.bc. This helps test the new
llvm-link dependent libraries feature.

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

20 years agoPrint the dependent libraries when dumping bytecode.
Reid Spencer [Sat, 11 Sep 2004 04:14:07 +0000 (04:14 +0000)]
Print the dependent libraries when dumping bytecode.

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

20 years agoUpdate to latest versions of config.guess and config.sub from
Brian Gaeke [Fri, 10 Sep 2004 19:20:06 +0000 (19:20 +0000)]
Update to latest versions of config.guess and config.sub from
http://savannah.gnu.org/projects/config

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

20 years agoRenamed file to SparcV8ISelSimple.cpp
Misha Brukman [Fri, 10 Sep 2004 18:51:12 +0000 (18:51 +0000)]
Renamed file to SparcV8ISelSimple.cpp

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

20 years agoRoll back constant printing changes until the problems with larger
Brian Gaeke [Fri, 10 Sep 2004 18:01:45 +0000 (18:01 +0000)]
Roll back constant printing changes until the problems with larger
programs and C++ can be looked at in detail.

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

20 years agoAdd assertion descriptiosn on type mismatches when creating
Alkis Evlogimenos [Fri, 10 Sep 2004 04:16:59 +0000 (04:16 +0000)]
Add assertion descriptiosn on type mismatches when creating
ConstantArray and ConstantPacked objects.

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

20 years agoFix broken internal links (one found by seventwentyfour.com spider)
Misha Brukman [Thu, 9 Sep 2004 20:34:13 +0000 (20:34 +0000)]
Fix broken internal links (one found by seventwentyfour.com spider)

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

20 years agoGrow the map on entry so that we don't crash if joinIntervals never
Alkis Evlogimenos [Thu, 9 Sep 2004 19:24:38 +0000 (19:24 +0000)]
Grow the map on entry so that we don't crash if joinIntervals never
runs (if coalescing is disabled for example).

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

20 years agoIf updating from CVS gives error "No rule to make target", it's faster to just
Misha Brukman [Thu, 9 Sep 2004 16:36:47 +0000 (16:36 +0000)]
If updating from CVS gives error "No rule to make target", it's faster to just
delete .d files than to rebuild from scratch.

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

20 years agoFix broken link to the 2004 CGO paper.
Misha Brukman [Thu, 9 Sep 2004 16:18:40 +0000 (16:18 +0000)]
Fix broken link to the 2004 CGO paper.

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

20 years agoAdd missing #include
Chris Lattner [Thu, 9 Sep 2004 02:37:56 +0000 (02:37 +0000)]
Add missing #include

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

20 years agoRegenerated, to recognize mingw.
Brian Gaeke [Wed, 8 Sep 2004 20:38:05 +0000 (20:38 +0000)]
Regenerated, to recognize mingw.

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

20 years agorecognize MinGW
Brian Gaeke [Wed, 8 Sep 2004 20:32:11 +0000 (20:32 +0000)]
recognize MinGW

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

20 years agoDisable libprofile as it breaks the build on Sparc (autoconf issues).
Misha Brukman [Wed, 8 Sep 2004 20:30:26 +0000 (20:30 +0000)]
Disable libprofile as it breaks the build on Sparc (autoconf issues).

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

20 years agoMake file comment span the entire line
Misha Brukman [Wed, 8 Sep 2004 19:48:15 +0000 (19:48 +0000)]
Make file comment span the entire line

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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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