Chris Lattner [Tue, 23 Nov 2004 06:56:31 +0000 (06:56 +0000)]
Fix a minor bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18153
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 23 Nov 2004 06:56:18 +0000 (06:56 +0000)]
Be really paranoid about not breaking stuff yet
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18152
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 23 Nov 2004 06:55:05 +0000 (06:55 +0000)]
Implement the first hunk of CompilationCallback. The pieces missing are the
ones noted, which require funny PPC specific inline assembly.
If some angel felt the desire to help me, I think this is that last bit missing
for JIT support (however, generic code emitter might night work right with
the constant pool yet).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18151
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 23 Nov 2004 06:51:14 +0000 (06:51 +0000)]
Change formats, as suggested by Duraid
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18150
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Tue, 23 Nov 2004 06:39:50 +0000 (06:39 +0000)]
Add more known-failing tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18149
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Tue, 23 Nov 2004 06:39:37 +0000 (06:39 +0000)]
Add the rest of the logical instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18148
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 23 Nov 2004 06:27:02 +0000 (06:27 +0000)]
Implement the stub needed to get into compilation callback.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18147
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 23 Nov 2004 06:05:44 +0000 (06:05 +0000)]
Simplify code a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18146
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 23 Nov 2004 06:02:06 +0000 (06:02 +0000)]
Initial implementation of the JIT interfaces. Relocation is done and stubs
for external functions work. CompilationCallback has not been written, and
stubs for internal functions are not generated yet. This means you can call
printf and exit, and use global variables, but cannot call functions local to
a module yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18145
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 23 Nov 2004 05:59:53 +0000 (05:59 +0000)]
Emit relocations for the global variable using instructions. This gets us
LA, LOADHiAddr, CALLpcrel, and MovePCtoLR working, though the constant pool
probably is not right.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18144
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 23 Nov 2004 05:59:53 +0000 (05:59 +0000)]
Allow configuration files to be themselves configured and found in the
OBJ dir instead of only in the SRC dir.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18143
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 23 Nov 2004 05:57:57 +0000 (05:57 +0000)]
Implement all of the methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18142
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 23 Nov 2004 05:57:38 +0000 (05:57 +0000)]
Initial checkin of the 32-bit PPC relocation types
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18141
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 23 Nov 2004 05:56:40 +0000 (05:56 +0000)]
Move JITInfo from PPCTM to PPC32TM
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18140
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 23 Nov 2004 05:55:38 +0000 (05:55 +0000)]
Do not provide the non-specialized PowerPCJITInfo object, it is pretty useless.
Instead, let derived classes provide specialized ones.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18139
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 23 Nov 2004 05:54:25 +0000 (05:54 +0000)]
LA is really addi. Be consistent with operand ordering to avoid confusing the code emitter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18138
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Tue, 23 Nov 2004 04:22:29 +0000 (04:22 +0000)]
Changed the CreateCodeToLoadConst function to preserve SSA form. This basically means adding extra tmp instructions for intermediate values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18137
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 22 Nov 2004 23:07:22 +0000 (23:07 +0000)]
Remove some dead code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18136
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 22 Nov 2004 23:07:01 +0000 (23:07 +0000)]
Comment out a couple of unused instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18135
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 22 Nov 2004 22:25:30 +0000 (22:25 +0000)]
Do not push two return addresses on the stack when we call external functions who have their addresses taken. This fixes test-call.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18134
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 22 Nov 2004 22:09:58 +0000 (22:09 +0000)]
Add a note about the JIT changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18133
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 22 Nov 2004 22:00:25 +0000 (22:00 +0000)]
Rename Emitter.cpp -> JITEmitter.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18132
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 22 Nov 2004 21:54:35 +0000 (21:54 +0000)]
Fix the FIXME, nuke the JIT specific forceCompilationOf method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18131
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 22 Nov 2004 21:51:40 +0000 (21:51 +0000)]
Disable this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18130
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 22 Nov 2004 21:48:33 +0000 (21:48 +0000)]
These methods are obsolete
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18129
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 22 Nov 2004 21:48:01 +0000 (21:48 +0000)]
These methods are now obsolete
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18128
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 22 Nov 2004 21:45:54 +0000 (21:45 +0000)]
This chunk of code needs to be rewritten
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18127
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 22 Nov 2004 21:42:40 +0000 (21:42 +0000)]
Remove some dead vars and some useless namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18126
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 22 Nov 2004 21:25:10 +0000 (21:25 +0000)]
Implement a disgusting hack to work around broken machine code emission of
the RDCCR instruction. This fixes a bunch of programs with the JIT.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18124
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Mon, 22 Nov 2004 20:41:24 +0000 (20:41 +0000)]
Fixed a bug where I was trying to ModuloSchedule a loop with no instructions but a terminator.
Fixed a bug in the schedule generation that was always using the start cycle.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18123
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 22 Nov 2004 20:25:10 +0000 (20:25 +0000)]
Remove JIT-specific code from the code emitter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18122
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 22 Nov 2004 20:24:42 +0000 (20:24 +0000)]
New methods implemented
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18121
91177308-0d34-0410-b5e6-
96231b3b80d8
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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