oota-llvm.git
20 years agoImplement the Sparc JIT interfaces, including relocation support.
Chris Lattner [Mon, 22 Nov 2004 20:24:27 +0000 (20:24 +0000)]
Implement the Sparc JIT interfaces, including relocation support.

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

20 years agoExit only with a value from 0-255.
Chris Lattner [Mon, 22 Nov 2004 19:50:41 +0000 (19:50 +0000)]
Exit only with a value from 0-255.

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

20 years ago%p is expanded by dejagnu, avoid it in the test.
Chris Lattner [Mon, 22 Nov 2004 19:25:45 +0000 (19:25 +0000)]
%p is expanded by dejagnu, avoid it in the test.

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

20 years agoPull out failing test into a seperate file, which is xfailed
Chris Lattner [Mon, 22 Nov 2004 19:24:11 +0000 (19:24 +0000)]
Pull out failing test into a seperate file, which is xfailed

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

20 years agoThis was fixed
Chris Lattner [Mon, 22 Nov 2004 19:19:11 +0000 (19:19 +0000)]
This was fixed

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

20 years agoFix test/Regression/CFrontend/2003-11-01-EmptyStructCrash.c
Chris Lattner [Mon, 22 Nov 2004 19:15:27 +0000 (19:15 +0000)]
Fix test/Regression/CFrontend/2003-11-01-EmptyStructCrash.c

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

20 years agoThese tests really are failing, do not let them accidentally be XPASS.
Chris Lattner [Mon, 22 Nov 2004 19:11:40 +0000 (19:11 +0000)]
These tests really are failing, do not let them accidentally be XPASS.

Note that apparently 'failing command | succeeding command' is a fail on
csh but not on sh.  :(

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

20 years agoDon't stop make if there are XFAIL or XPASSes
Chris Lattner [Mon, 22 Nov 2004 19:06:22 +0000 (19:06 +0000)]
Don't stop make if there are XFAIL or XPASSes

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

20 years agoAdd a note about the name change of libraries.
Reid Spencer [Mon, 22 Nov 2004 18:40:51 +0000 (18:40 +0000)]
Add a note about the name change of libraries.

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

20 years agoMoved dejagnu log link to the template.
Tanya Lattner [Mon, 22 Nov 2004 18:36:12 +0000 (18:36 +0000)]
Moved dejagnu log link to the template.

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

20 years agoDo not count debugger intrinsics in size estimation.
Chris Lattner [Mon, 22 Nov 2004 17:23:57 +0000 (17:23 +0000)]
Do not count debugger intrinsics in size estimation.

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

20 years agoIgnore debugger intrinsics when doing inlining size computations.
Chris Lattner [Mon, 22 Nov 2004 17:21:44 +0000 (17:21 +0000)]
Ignore debugger intrinsics when doing inlining size computations.

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

20 years agoDo not consider debug intrinsics in the size computations for loop unrolling.
Chris Lattner [Mon, 22 Nov 2004 17:18:36 +0000 (17:18 +0000)]
Do not consider debug intrinsics in the size computations for loop unrolling.
Patch contributed by Michael McCracken!

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

20 years agoAdd a new debug intrinsic parent class. Patch contributed by Michael
Chris Lattner [Mon, 22 Nov 2004 17:18:05 +0000 (17:18 +0000)]
Add a new debug intrinsic parent class.  Patch contributed by Michael
McCracken, thanks!

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

20 years agoFixed typo.
John Criswell [Mon, 22 Nov 2004 17:16:26 +0000 (17:16 +0000)]
Fixed typo.

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

20 years agoChanged to catch stderror of dejagnu and fixed missing quote.
Tanya Lattner [Mon, 22 Nov 2004 17:16:01 +0000 (17:16 +0000)]
Changed to catch stderror of dejagnu and fixed missing quote.

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

20 years agoThis is the proper code for this method, thanks to Reid for getting CVS working
Chris Lattner [Mon, 22 Nov 2004 16:54:54 +0000 (16:54 +0000)]
This is the proper code for this method, thanks to Reid for getting CVS working
again.

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

20 years agoMoved into the poolalloc tree.
John Criswell [Mon, 22 Nov 2004 16:32:35 +0000 (16:32 +0000)]
Moved into the poolalloc tree.

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

20 years agoImplement a missing function called by JIT/Emitter.cpp but never defined.
Reid Spencer [Mon, 22 Nov 2004 12:38:36 +0000 (12:38 +0000)]
Implement a missing function called by JIT/Emitter.cpp but never defined.

NOTE: Its not clear that this implementation is correct.
CHRIS: Please review this!

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

20 years agoAdd stub method for long shift codegen.
Brian Gaeke [Mon, 22 Nov 2004 08:02:06 +0000 (08:02 +0000)]
Add stub method for long shift codegen.

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

20 years agoUpdate to-do list.
Brian Gaeke [Mon, 22 Nov 2004 08:02:05 +0000 (08:02 +0000)]
Update to-do list.

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

20 years agoSupport targets that require stubs for external functions better
Chris Lattner [Mon, 22 Nov 2004 07:24:43 +0000 (07:24 +0000)]
Support targets that require stubs for external functions better

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

20 years agoFix a comment to imply the correct semantics.
Reid Spencer [Mon, 22 Nov 2004 02:58:47 +0000 (02:58 +0000)]
Fix a comment to imply the correct semantics.

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

20 years agoMake sure output goes in the temporary/output directory.
Reid Spencer [Mon, 22 Nov 2004 02:46:31 +0000 (02:46 +0000)]
Make sure output goes in the temporary/output directory.

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

20 years agoInitial checkin of the V9 relocation types
Chris Lattner [Mon, 22 Nov 2004 00:40:51 +0000 (00:40 +0000)]
Initial checkin of the V9 relocation types

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

20 years ago* Undo previous commit that breaks the test.
Reid Spencer [Sun, 21 Nov 2004 21:28:56 +0000 (21:28 +0000)]
* Undo previous commit that breaks the test.
* Correct the test to work when srcdir == objdir.

NOTE: Since multiple tests run from the same source archive and llvm-ranlib
changes the archive, these tests MUST work on a copy of the archive or else
this test corrupts the archive file subsequent tests or subsequent runs of
the test suite.

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

20 years ago* Undo previous commit that breaks the test.
Reid Spencer [Sun, 21 Nov 2004 21:22:56 +0000 (21:22 +0000)]
* Undo previous commit that breaks the test.
* Correct the test to work when srcdir == objdir.

NOTE: Since multiple tests run from the same source archive and llvm-ranlib
changes the archive, these tests MUST work on a copy of the archive or else
this test corrupts the archive file subsequent tests or subsequent runs of
the test suite.

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

20 years agoFirst version of manual page for llvm-ld.
Reid Spencer [Sun, 21 Nov 2004 18:20:16 +0000 (18:20 +0000)]
First version of manual page for llvm-ld.

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

20 years agoFixed another typo.
John Criswell [Sun, 21 Nov 2004 15:11:37 +0000 (15:11 +0000)]
Fixed another typo.

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

20 years agoCorrected spelling mistakes.
John Criswell [Sun, 21 Nov 2004 14:58:12 +0000 (14:58 +0000)]
Corrected spelling mistakes.

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

20 years agoIt looks like I'm fixing a spelling mistake, but I'm really trying to
John Criswell [Sun, 21 Nov 2004 14:34:34 +0000 (14:34 +0000)]
It looks like I'm fixing a spelling mistake, but I'm really trying to
replicate the CVS performance problems that Reid is seeing.

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

20 years agoImplement setcc on longs.
Brian Gaeke [Sun, 21 Nov 2004 08:11:28 +0000 (08:11 +0000)]
Implement setcc on longs.

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

20 years agoAdd all the rest of the ADD and SUB variants, some of which are important for
Brian Gaeke [Sun, 21 Nov 2004 07:13:17 +0000 (07:13 +0000)]
Add all the rest of the ADD and SUB variants, some of which are important for
64-bit support.

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

20 years agoSupport add, sub, mul, div, rem on longs/ulongs (latter 3 by emitting libcalls).
Brian Gaeke [Sun, 21 Nov 2004 07:13:16 +0000 (07:13 +0000)]
Support add, sub, mul, div, rem on longs/ulongs (latter 3 by emitting libcalls).
Add a big comment containing my notes on how to do setcc for longs/ulongs.

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

20 years agoUpdate to-do list.
Brian Gaeke [Sun, 21 Nov 2004 07:13:15 +0000 (07:13 +0000)]
Update to-do list.

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

20 years agoFix Shootout-C++/wc, which was broken by my recent changes to emit fewer
Nate Begeman [Sun, 21 Nov 2004 05:14:06 +0000 (05:14 +0000)]
Fix Shootout-C++/wc, which was broken by my recent changes to emit fewer
reg-reg copies.  The necessary conditions for this bug are a GEP that is
used outside the basic block in which it is defined, whose components
other than the pointer are all constant zero, and where the use is
selected before the definition (backwards branch to successsor block).

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

20 years agoFix a warning
Chris Lattner [Sun, 21 Nov 2004 04:42:32 +0000 (04:42 +0000)]
Fix a warning

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

20 years agoThere is no reason to emit function stubs for direct calls.
Chris Lattner [Sun, 21 Nov 2004 03:46:06 +0000 (03:46 +0000)]
There is no reason to emit function stubs for direct calls.

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

20 years agoClean up DEBUG output
Chris Lattner [Sun, 21 Nov 2004 03:44:32 +0000 (03:44 +0000)]
Clean up DEBUG output

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

20 years agoAllow targets to avoid emitting a stub for EVERY lazily resolved call. In
Chris Lattner [Sun, 21 Nov 2004 03:37:42 +0000 (03:37 +0000)]
Allow targets to avoid emitting a stub for EVERY lazily resolved call.  In
most cases (e.g. direct calls) no stub is needed.

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

20 years agoFix extraStack calculation -- I think in fact it might be getting a bit *too*
Brian Gaeke [Sun, 21 Nov 2004 03:35:22 +0000 (03:35 +0000)]
Fix extraStack calculation -- I think in fact it might be getting a bit *too*
much stack, but that's better than not enough, which leads to miscompilations.

Fix FP vaarg.

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

20 years agoUpdate list of failing benchmarks & to-do list.
Brian Gaeke [Sun, 21 Nov 2004 03:35:21 +0000 (03:35 +0000)]
Update list of failing benchmarks & to-do list.

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

20 years agoAdd another bit, to make the JIT a bit more efficient.
Chris Lattner [Sun, 21 Nov 2004 03:27:13 +0000 (03:27 +0000)]
Add another bit, to make the JIT a bit more efficient.

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

20 years agoTest archive built with GNU ar(1).
Reid Spencer [Sun, 21 Nov 2004 01:36:59 +0000 (01:36 +0000)]
Test archive built with GNU ar(1).

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

20 years agoMade dejagnu option lower case.
Tanya Lattner [Sun, 21 Nov 2004 00:10:12 +0000 (00:10 +0000)]
Made dejagnu option lower case.

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

20 years agoAdded the ability to run Dejagnu tests.
Tanya Lattner [Sun, 21 Nov 2004 00:02:40 +0000 (00:02 +0000)]
Added the ability to run Dejagnu tests.

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

20 years agoignore generated files
Chris Lattner [Sun, 21 Nov 2004 00:01:54 +0000 (00:01 +0000)]
ignore generated files

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

20 years agoignore generated files.
Chris Lattner [Sun, 21 Nov 2004 00:00:54 +0000 (00:00 +0000)]
ignore generated files.

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

20 years agoIgnore generated files
Chris Lattner [Sun, 21 Nov 2004 00:00:04 +0000 (00:00 +0000)]
Ignore generated files

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

20 years agoIgnore files
Chris Lattner [Sat, 20 Nov 2004 23:58:43 +0000 (23:58 +0000)]
Ignore files

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

20 years agoImplement relocation support by adding a target independent resolver interface.
Chris Lattner [Sat, 20 Nov 2004 23:57:07 +0000 (23:57 +0000)]
Implement relocation support by adding a target independent resolver interface.

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

20 years agoRemove all JIT specific code and switch the code generator over to emitting
Chris Lattner [Sat, 20 Nov 2004 23:55:15 +0000 (23:55 +0000)]
Remove all JIT specific code and switch the code generator over to emitting
relocations for global references.

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

20 years agoImplement the X86 JIT interfaces
Chris Lattner [Sat, 20 Nov 2004 23:54:33 +0000 (23:54 +0000)]
Implement the X86 JIT interfaces

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

20 years agoDescribe the X86 target-specific relocations.
Chris Lattner [Sat, 20 Nov 2004 23:54:19 +0000 (23:54 +0000)]
Describe the X86 target-specific relocations.

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

20 years agoWe implement these interfaces
Chris Lattner [Sat, 20 Nov 2004 23:53:56 +0000 (23:53 +0000)]
We implement these interfaces

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

20 years agoAdjust to changed interfaces
Chris Lattner [Sat, 20 Nov 2004 23:53:26 +0000 (23:53 +0000)]
Adjust to changed interfaces

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

20 years agoChange this interface a bit
Chris Lattner [Sat, 20 Nov 2004 23:52:43 +0000 (23:52 +0000)]
Change this interface a bit

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

20 years agoAdding missing dg file.
Tanya Lattner [Sat, 20 Nov 2004 23:51:38 +0000 (23:51 +0000)]
Adding missing dg file.

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

20 years agoThis method does not exist any longer.
Chris Lattner [Sat, 20 Nov 2004 23:51:03 +0000 (23:51 +0000)]
This method does not exist any longer.

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

20 years agoAdd new methods that a target should implement
Chris Lattner [Sat, 20 Nov 2004 23:50:02 +0000 (23:50 +0000)]
Add new methods that a target should implement

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

20 years agoRemoving unnecessary copies. Use %p to reference them.
Tanya Lattner [Sat, 20 Nov 2004 23:47:23 +0000 (23:47 +0000)]
Removing unnecessary copies. Use %p to reference them.

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

20 years agoAdd missing #include
Chris Lattner [Sat, 20 Nov 2004 23:40:54 +0000 (23:40 +0000)]
Add missing #include

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

20 years agoFixed assertion from triggering. We need to check if the commandline map is empty...
Tanya Lattner [Sat, 20 Nov 2004 23:35:20 +0000 (23:35 +0000)]
Fixed assertion from triggering. We need to check if the commandline map is empty before checking if an arg exists.

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

20 years agoCast the void* handle data member to HMODULE* to keep the VC++ compiler
Reid Spencer [Sat, 20 Nov 2004 23:30:55 +0000 (23:30 +0000)]
Cast the void* handle data member to HMODULE* to keep the VC++ compiler
happy. Thanks to Henrik Bach for pointing this out.

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

20 years agoSupport most cases of vaarg (except double).
Brian Gaeke [Sat, 20 Nov 2004 22:50:42 +0000 (22:50 +0000)]
Support most cases of vaarg (except double).

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

20 years agoUpdate failing test cases & to-do list.
Brian Gaeke [Sat, 20 Nov 2004 22:50:41 +0000 (22:50 +0000)]
Update failing test cases & to-do list.

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

20 years agoUse llvmc to compile test cases
Reid Spencer [Sat, 20 Nov 2004 21:03:34 +0000 (21:03 +0000)]
Use llvmc to compile test cases

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

20 years agoGet the -o option right
Reid Spencer [Sat, 20 Nov 2004 20:45:33 +0000 (20:45 +0000)]
Get the -o option right

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

20 years agoGet the -o option right
Reid Spencer [Sat, 20 Nov 2004 20:39:33 +0000 (20:39 +0000)]
Get the -o option right

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

20 years agoNot needed any more.
Reid Spencer [Sat, 20 Nov 2004 20:27:20 +0000 (20:27 +0000)]
Not needed any more.

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

20 years agoContent moved to llvm-ld.cpp
Reid Spencer [Sat, 20 Nov 2004 20:15:08 +0000 (20:15 +0000)]
Content moved to llvm-ld.cpp

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

20 years agoIncorporate GenerateCode.cpp. Make static things static.
Reid Spencer [Sat, 20 Nov 2004 20:02:56 +0000 (20:02 +0000)]
Incorporate GenerateCode.cpp. Make static things static.

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

20 years agoFirst cut at implementing generic link-time Optimization
Reid Spencer [Sat, 20 Nov 2004 19:43:28 +0000 (19:43 +0000)]
First cut at implementing generic link-time Optimization

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

20 years agoThe Archive class now has differentiation for BSD4.4 and SVR4 style archive
Reid Spencer [Sat, 20 Nov 2004 18:01:22 +0000 (18:01 +0000)]
The Archive class now has differentiation for BSD4.4 and SVR4 style archive
symbol tables. Adjust our usage to compensate.

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

20 years agoTest floating point constants
Reid Spencer [Sat, 20 Nov 2004 07:29:51 +0000 (07:29 +0000)]
Test floating point constants

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

20 years agoDistinguish between BSD4.4 and SVR4 symbol tables
Reid Spencer [Sat, 20 Nov 2004 07:29:40 +0000 (07:29 +0000)]
Distinguish between BSD4.4 and SVR4 symbol tables

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

20 years agoAn llvm-ar test.
Reid Spencer [Sat, 20 Nov 2004 07:25:41 +0000 (07:25 +0000)]
An llvm-ar test.

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

20 years agoProvide the srcdir variable.
Reid Spencer [Sat, 20 Nov 2004 07:25:10 +0000 (07:25 +0000)]
Provide the srcdir variable.

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

20 years agoDescribe the Archive test suite.
Reid Spencer [Sat, 20 Nov 2004 07:24:28 +0000 (07:24 +0000)]
Describe the Archive test suite.

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

20 years agoContents separated into individual tests.
Reid Spencer [Sat, 20 Nov 2004 07:23:56 +0000 (07:23 +0000)]
Contents separated into individual tests.

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

20 years agoThis method was never implemented
Chris Lattner [Sat, 20 Nov 2004 04:19:47 +0000 (04:19 +0000)]
This method was never implemented

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

20 years agoRemove this method, it's not clear how it could be implemented indep of 32 or 64...
Chris Lattner [Sat, 20 Nov 2004 04:17:17 +0000 (04:17 +0000)]
Remove this method, it's not clear how it could be implemented indep of 32 or 64-bit mode

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

20 years agogetJITStubForFunction is optional and unimplemented, just remove it for now.
Chris Lattner [Sat, 20 Nov 2004 04:15:38 +0000 (04:15 +0000)]
getJITStubForFunction is optional and unimplemented, just remove it for now.

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

20 years agogetJITStubForFunction is optional and unimplemented, just remove it.
Chris Lattner [Sat, 20 Nov 2004 04:14:44 +0000 (04:14 +0000)]
getJITStubForFunction is optional and unimplemented, just remove it.

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

20 years agoAdd getCurrentPCOffset() and addRelocation() methods.
Chris Lattner [Sat, 20 Nov 2004 03:46:14 +0000 (03:46 +0000)]
Add getCurrentPCOffset() and addRelocation() methods.
Add stub support for relocations to finishFunction

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

20 years agoAdd getCurrentPCOffset() and addRelocation() methods.
Chris Lattner [Sat, 20 Nov 2004 03:44:39 +0000 (03:44 +0000)]
Add getCurrentPCOffset() and addRelocation() methods.

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

20 years agoAdd the getRelocationType method that I forgot
Chris Lattner [Sat, 20 Nov 2004 03:43:50 +0000 (03:43 +0000)]
Add the getRelocationType method that I forgot

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

20 years agoAllow targets to implement relocation support.
Chris Lattner [Sat, 20 Nov 2004 03:43:27 +0000 (03:43 +0000)]
Allow targets to implement relocation support.

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

20 years agoImplement vacopy and vanext.
Brian Gaeke [Sat, 20 Nov 2004 03:32:12 +0000 (03:32 +0000)]
Implement vacopy and vanext.

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

20 years agoAdd accessor
Chris Lattner [Sat, 20 Nov 2004 03:11:07 +0000 (03:11 +0000)]
Add accessor

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

20 years agoNew file
Chris Lattner [Sat, 20 Nov 2004 03:05:50 +0000 (03:05 +0000)]
New file

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

20 years agoAllow constructor parameter to override aggregating args; fix spacing
Misha Brukman [Sat, 20 Nov 2004 02:20:27 +0000 (02:20 +0000)]
Allow constructor parameter to override aggregating args; fix spacing

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

20 years agoRemove dead #include
Chris Lattner [Sat, 20 Nov 2004 02:17:03 +0000 (02:17 +0000)]
Remove dead #include

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

20 years agoIf we're going to mention mv and cp, clearly, we also need `rm'
Misha Brukman [Sat, 20 Nov 2004 01:27:40 +0000 (01:27 +0000)]
If we're going to mention mv and cp, clearly, we also need `rm'

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

20 years agoRevert the patch that adds Function* for each 64-bit libc div/mul/rem that we
Misha Brukman [Sat, 20 Nov 2004 00:10:20 +0000 (00:10 +0000)]
Revert the patch that adds Function* for each 64-bit libc div/mul/rem that we
want to do; instead, we can use MachineInstr::addExternalSymbol(char*, bool) and
thus we don't have to modify the Module as we are code generating for it

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

20 years agoMade modsched hidden and changed so it matches the style of other options.
Tanya Lattner [Fri, 19 Nov 2004 23:34:33 +0000 (23:34 +0000)]
Made modsched hidden and changed so it matches the style of other options.

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

20 years agoFix grammar
Misha Brukman [Fri, 19 Nov 2004 23:09:40 +0000 (23:09 +0000)]
Fix grammar

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

20 years agoForgot to join srcdir and subdir for complete path for input files.
Tanya Lattner [Fri, 19 Nov 2004 23:00:19 +0000 (23:00 +0000)]
Forgot to join srcdir and subdir for complete path for input files.

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

20 years agoAdding srcdir arg. Added ability to specify the path to an input file. This is needed...
Tanya Lattner [Fri, 19 Nov 2004 22:46:23 +0000 (22:46 +0000)]
Adding srcdir arg. Added ability to specify the path to an input file. This is needed for when srcdir != objdir.

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

20 years agoAdding srcdir arg
Tanya Lattner [Fri, 19 Nov 2004 22:45:25 +0000 (22:45 +0000)]
Adding srcdir arg

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