Brian Gaeke [Thu, 3 Jun 2004 05:03:01 +0000 (05:03 +0000)]
Add new mapping info pass, when EmitMappingInfo is on.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13981
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Thu, 3 Jun 2004 05:03:00 +0000 (05:03 +0000)]
Fix big mistake in my last checkin... the big question is, how did I ever
get this to link before?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13980
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Thu, 3 Jun 2004 05:02:59 +0000 (05:02 +0000)]
Add decl. for new mapping info pass factory method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13979
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 3 Jun 2004 03:29:39 +0000 (03:29 +0000)]
Add -disable-codegen option to disable LLC and JIT targets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13978
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Thu, 3 Jun 2004 02:45:09 +0000 (02:45 +0000)]
Collapse together the abstract superclass TargetRegInfo and SparcV9RegInfo, its
only concrete implementation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13977
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 23:32:17 +0000 (23:32 +0000)]
Recognize cygwin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13976
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 23:10:26 +0000 (23:10 +0000)]
<alloca.h> on cygwin pulls in a ton of stuff (macros and function protos)
that we REALLY don't want in the CBE code.
With this fix, the CBE passes all of the MultiSource tests on cygwin that
it does on linux. Yaay!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13975
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 2 Jun 2004 20:55:52 +0000 (20:55 +0000)]
Another pod
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13969
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 2 Jun 2004 20:45:25 +0000 (20:45 +0000)]
The llvm-dis.html page was a little out of date, but this pod file can supersede it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13968
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 20:37:02 +0000 (20:37 +0000)]
Update to include llc on x86 and other systems
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13967
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 2 Jun 2004 20:29:49 +0000 (20:29 +0000)]
Tasty, tasty pods...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13966
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 19:51:09 +0000 (19:51 +0000)]
The -q option is gone
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13965
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 19:30:23 +0000 (19:30 +0000)]
The --enable-correct-eh-support option is meaningless when provided to
gccas.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13964
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 19:27:50 +0000 (19:27 +0000)]
cygwin apparently doesn't have widechar support. But when disabled, the whole
C/C++ front-end and runtime libraries finally build!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13963
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 19:24:10 +0000 (19:24 +0000)]
Add a link to the code gen document
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13962
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 2 Jun 2004 19:21:26 +0000 (19:21 +0000)]
Here's another pod.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13961
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 2 Jun 2004 19:12:38 +0000 (19:12 +0000)]
Look, it's a gccas pod.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13960
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 07:06:06 +0000 (07:06 +0000)]
Add a note about the V9 backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13959
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 06:06:45 +0000 (06:06 +0000)]
Oops, this was not to go in
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13958
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 06:06:20 +0000 (06:06 +0000)]
Adjust to the new TargetMachine interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13957
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 05:57:12 +0000 (05:57 +0000)]
Adjust to new TargetMachine interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13956
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 05:56:52 +0000 (05:56 +0000)]
Inline findOptimalStorageSize into it's caller, both of which are sparc specific
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13955
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 05:56:04 +0000 (05:56 +0000)]
Adjust to new TM interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13954
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 05:55:48 +0000 (05:55 +0000)]
Method has been inlined into all callers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13953
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 05:55:25 +0000 (05:55 +0000)]
Convert to the new TargetMachine interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13952
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 05:53:52 +0000 (05:53 +0000)]
Stubs are no longer needed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13951
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 05:53:25 +0000 (05:53 +0000)]
Delete the V9 specific findOptimalStorageSize method, inlining it into all callers.
Substantially clean up all target implementations by having the OPTIONAL get*Info
methods return a pointer instead of a reference. This allows us to have default
implementations!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13950
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 05:47:26 +0000 (05:47 +0000)]
Adjust to new TM interfaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13949
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 04:28:06 +0000 (04:28 +0000)]
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13948
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 03:57:43 +0000 (03:57 +0000)]
Fix a trivial but blatant bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13947
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 00:53:57 +0000 (00:53 +0000)]
Make gccld copy the llvm-stub program to be the execution wrapper for
bytecode files on win32 systems. We keep the shell script on unix systems
because it is much more transparent for the users and supports -load
options.
This allows llvmgcc work correctly on win32 systems without the -native or
-native-cbe options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13946
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 00:52:22 +0000 (00:52 +0000)]
Implement the new CopyFile function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13945
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 00:51:20 +0000 (00:51 +0000)]
Add a new CopyFile function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13944
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 2 Jun 2004 00:29:52 +0000 (00:29 +0000)]
Fix a double negation (in grammar).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13943
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 00:22:24 +0000 (00:22 +0000)]
Move some functions out of gccld.cpp to GenerateCode.cpp. This allows us
to reduce the inter-file interface in the gccld tool and gets some
uninteresting code out of gccld.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13942
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 00:10:19 +0000 (00:10 +0000)]
Refactor a bit of code into a function, no functionality changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13941
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 2 Jun 2004 00:09:46 +0000 (00:09 +0000)]
Fix spelling, trim empty space, tighten up function header comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13940
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 00:04:54 +0000 (00:04 +0000)]
No really cygwin, we LIKE .exe'ness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13939
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 1 Jun 2004 23:49:55 +0000 (23:49 +0000)]
Build the llvm-stub directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13938
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 1 Jun 2004 23:48:45 +0000 (23:48 +0000)]
Initial checkin of a stub executable that can be used by gccld to forward to
bytecode files on systems that don't support #!/bin/sh natively (ie, win32).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13937
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 1 Jun 2004 23:47:00 +0000 (23:47 +0000)]
On win32, process.h provides some of the traditional stuff that unistd
provides. This seems like a relatively clean way to get it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13936
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 1 Jun 2004 21:52:45 +0000 (21:52 +0000)]
Bug fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13935
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 1 Jun 2004 21:49:00 +0000 (21:49 +0000)]
Implement PR315: abort, don't warn, when missing external functions encountered
This fixes some critical problems building libstdc++ on cygwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13934
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Tue, 1 Jun 2004 20:37:41 +0000 (20:37 +0000)]
Add spiff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13933
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Tue, 1 Jun 2004 20:06:10 +0000 (20:06 +0000)]
Use new form of unconditional branch constructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13930
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Tue, 1 Jun 2004 20:02:56 +0000 (20:02 +0000)]
Call Cygwin by its proper name, and give it a link. :-)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13929
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Tue, 1 Jun 2004 20:01:05 +0000 (20:01 +0000)]
Maybe this will keep people from breaking -branch-combine!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13928
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 1 Jun 2004 19:41:30 +0000 (19:41 +0000)]
Add a note about cygwin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13927
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 1 Jun 2004 19:06:43 +0000 (19:06 +0000)]
Make tool names end with .exe on windows. This isn't needed to run the
tools, but is required for rules that depend on the executables, e.g.:
a: b $(LLVMAS)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13926
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Tue, 1 Jun 2004 19:04:38 +0000 (19:04 +0000)]
Added the EXEEXT variable so that Makefiles can figure out what extension
to put on executable files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13925
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 1 Jun 2004 18:51:03 +0000 (18:51 +0000)]
* Standardize footer
* HTML 4.01 (Strict) compliance
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13924
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 1 Jun 2004 18:35:00 +0000 (18:35 +0000)]
Finish the thought that got interrupted when my train arrived. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13923
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 1 Jun 2004 18:22:41 +0000 (18:22 +0000)]
Fix wandering </a>, add note about cygwin being supported.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13922
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 1 Jun 2004 18:19:28 +0000 (18:19 +0000)]
* Use sans-serif fonts just like in the rest of doxygen
* Reference the lines image correctly
* Set font size to make the title stand out
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13921
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 1 Jun 2004 18:13:05 +0000 (18:13 +0000)]
* Make it HTML4.01
* Add information about cygwin
* Simplify instructions a little and make it more robust (have people just
reconfig and build after buildint the CFE)
* Remove some obsolete stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13920
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 1 Jun 2004 18:09:32 +0000 (18:09 +0000)]
Make doxygen pages look like our own documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13919
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 1 Jun 2004 18:00:39 +0000 (18:00 +0000)]
* Add the year 2003 back to the copyright line
* Remove doxygen image from page, make LLVM link inline with the text
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13918
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 1 Jun 2004 17:35:10 +0000 (17:35 +0000)]
* It's now the year 2004
* Our main page is index.html, not index.php
* Wrap lines at 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13917
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 1 Jun 2004 17:18:11 +0000 (17:18 +0000)]
Add a warning about incompleteness, fix validation errors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13916
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Tue, 1 Jun 2004 14:54:08 +0000 (14:54 +0000)]
Modified calcTypeName() so that it does not allocate a std::string for
every recursive call.
This makes it more robust for deeply nested, unnamed types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13915
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 1 Jun 2004 06:48:00 +0000 (06:48 +0000)]
It's a small start, but it is certainly needed. Contributions are certainly
welcomed. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13914
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 31 May 2004 21:38:56 +0000 (21:38 +0000)]
Align the lower portion of the page with the left margin so that the page
width is not made excessive by the large table of results. Improves
readability of the page.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13913
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 31 May 2004 20:59:55 +0000 (20:59 +0000)]
Clean up the Feature and Regression test output to (a) use section headers,
(b) avoid <pre> tag so page width doesn't become excessive, (c) omit the
execution time stats, (d) format each reported test in a list with bold
headings for readability, (e) omit long lines of dashes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13912
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sun, 30 May 2004 08:29:16 +0000 (08:29 +0000)]
There is no "mcff" here; delete the confusing comments that refer to it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13911
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Sun, 30 May 2004 07:46:27 +0000 (07:46 +0000)]
Pull Interval class out of LiveIntervals.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13910
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Sun, 30 May 2004 07:45:09 +0000 (07:45 +0000)]
Add comparator useful for natural comparisons on collections with
pointers to objects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13909
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sun, 30 May 2004 07:34:01 +0000 (07:34 +0000)]
Transform an occurrence of if(...) { assert (0) }.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13908
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Sun, 30 May 2004 07:24:39 +0000 (07:24 +0000)]
When spilling an register, introduce a new temporary for each of its
spills. This allows for more flexibility when allocating registers for
spill code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13907
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sun, 30 May 2004 07:08:43 +0000 (07:08 +0000)]
Reduce the amount of LLVM Values for which we save reg. allocator
state. Also, save the state for the incoming register of each phi
node.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13906
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sun, 30 May 2004 04:22:24 +0000 (04:22 +0000)]
Rename verifySavedState to dumpSavedState. Give it a new comment.
Call it at a more appropriate point.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13905
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sun, 30 May 2004 03:33:49 +0000 (03:33 +0000)]
Insert machine instructions generated for Phi nodes into their
corresponding MachineCodeForInstruction vectors.
I need to be able to get the register allocated for the thing which is
called PhiCpRes in this code; this should make that task easier, plus,
Phi nodes are no longer "special" in the sense that their
MachineCodeForInstruction is empty.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13904
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sun, 30 May 2004 03:33:48 +0000 (03:33 +0000)]
Fix typo in head-of-file comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13903
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 30 May 2004 01:19:48 +0000 (01:19 +0000)]
Fix a bug that Chris asserts emphatically is a bug. The changed clause
would always return false because the Type of a type value is always
Type::TypeTY and can never be a floating point type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13902
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 30 May 2004 00:17:47 +0000 (00:17 +0000)]
Make the Regression/Feature test support excise all ": PASS" lines that
indicate successful tests. We're really only interested in the bad news
in this output :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13901
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 30 May 2004 00:09:32 +0000 (00:09 +0000)]
Moved this file to lib/Bytecode/Writer because its used there only.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13900
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sat, 29 May 2004 23:26:13 +0000 (23:26 +0000)]
Remove unused #include.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13899
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sat, 29 May 2004 23:10:20 +0000 (23:10 +0000)]
Add comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13898
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sat, 29 May 2004 22:49:51 +0000 (22:49 +0000)]
Trim whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13897
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sat, 29 May 2004 22:20:59 +0000 (22:20 +0000)]
Give InsertCodeForPhis() a new documentation comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13896
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Sat, 29 May 2004 20:38:05 +0000 (20:38 +0000)]
Add method to assign stack slot to virtual register without creating a
new one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13895
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Sat, 29 May 2004 19:03:29 +0000 (19:03 +0000)]
Add grow() member that grows the maps when the number of virtual
registers in the function has changed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13893
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Sat, 29 May 2004 16:18:57 +0000 (16:18 +0000)]
Remove defs vector from live intervals.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13892
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 May 2004 23:54:07 +0000 (23:54 +0000)]
Thoroughly rehack the dynamic linking mechanisms on Win32. The Win32
dynamic linker does not automatically search libraries when looking up
symbols with GetProcAddress. Because of this we have to emulate it. The
only detail is that there doesn't seem to be a way to enumerate the
libraries loaded, so we have a gross hack (tm).
This make the JIT functional on win32 under cygwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13887
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 May 2004 23:35:39 +0000 (23:35 +0000)]
Prune #includes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13886
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 May 2004 21:07:11 +0000 (21:07 +0000)]
Fix bizzare problems when you include Config/dlfcn and Config/windows.h in
the same xlation unit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13885
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 May 2004 20:41:37 +0000 (20:41 +0000)]
Add links to new-featuer and code-cleanup bugs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13884
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 May 2004 20:30:48 +0000 (20:30 +0000)]
Reid implemented this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13883
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 May 2004 20:30:23 +0000 (20:30 +0000)]
Changes to make the nightly tester run the regression tests at night, yaay!
Change contributed by Reid Spencer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13882
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Fri, 28 May 2004 20:14:12 +0000 (20:14 +0000)]
updates to ModuloSched
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13881
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 28 May 2004 19:34:00 +0000 (19:34 +0000)]
Give PhiCp nodes better names in many cases.
Simplify InsertPhiElimInstructions(), and give it a better doxygen comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13880
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 28 May 2004 19:33:59 +0000 (19:33 +0000)]
Make debugging output with -print-machineinstrs more useful: always print out
the transformed LLVM code which is the input to the instruction selector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13879
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 May 2004 16:49:54 +0000 (16:49 +0000)]
Unbreak the bugpoint image
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13878
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 May 2004 05:47:27 +0000 (05:47 +0000)]
Fix the big regression that has been killing the nightly tester these last
few days. Apparently the old symbol table used to auto rename collisions in
the type symbol table and the new one does not. It doesn't really make sense
for the new one to do so, so we just make the client do it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13877
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 May 2004 05:40:19 +0000 (05:40 +0000)]
Don't use size() when you mean empty()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13876
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 May 2004 05:36:49 +0000 (05:36 +0000)]
Minor efficiency gain: do 1 nlogn lookup instead of two
Code cleanup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13875
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 May 2004 05:30:51 +0000 (05:30 +0000)]
Minor changes. Switch to a SymbolTable remove that does not take linear time
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13874
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 May 2004 05:30:29 +0000 (05:30 +0000)]
Eliminate this form of SymbolTable::remove. It ignores the type argument
anyway. Add a form that takes a type_iterator for the C backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13873
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 May 2004 05:02:13 +0000 (05:02 +0000)]
Fix one of the major things that is causing the C Backend to infinite loop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13872
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 May 2004 01:20:58 +0000 (01:20 +0000)]
Add support for getting executable memory on Windows. This is actually
much easier than on unix. :) The only evil thing is that windows.h defines
a macro named FindExecutable, which collides with one of our names.
The JIT now runs on windows, but it cannot resolve external functions
(like printf) yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13871
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 May 2004 00:59:40 +0000 (00:59 +0000)]
Add a new function for the JIT. libsupport is now the only library that
includes mman.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13870
91177308-0d34-0410-b5e6-
96231b3b80d8