Commit Graph

12490 Commits

Author SHA1 Message Date
Chris Lattner 82baa9c394 Convert to the new TargetMachine interface.
llvm-svn: 13952
2004-06-02 05:55:25 +00:00
Chris Lattner 535e8db0da Stubs are no longer needed
llvm-svn: 13951
2004-06-02 05:53:52 +00:00
Chris Lattner e5892f32d6 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!

llvm-svn: 13950
2004-06-02 05:53:25 +00:00
Chris Lattner 63c07bf246 Adjust to new TM interfaces
llvm-svn: 13949
2004-06-02 05:47:26 +00:00
Chris Lattner 560b5e42ab Finegrainify namespacification
llvm-svn: 13948
2004-06-02 04:28:06 +00:00
Chris Lattner 71f1d6d9d8 Fix a trivial but blatant bug
llvm-svn: 13947
2004-06-02 03:57:43 +00:00
Chris Lattner 6662d33f8a 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.

llvm-svn: 13946
2004-06-02 00:53:57 +00:00
Chris Lattner 80adb79be2 Implement the new CopyFile function
llvm-svn: 13945
2004-06-02 00:52:22 +00:00
Chris Lattner 5bcd2323ff Add a new CopyFile function
llvm-svn: 13944
2004-06-02 00:51:20 +00:00
Misha Brukman e5a7239cae Fix a double negation (in grammar).
llvm-svn: 13943
2004-06-02 00:29:52 +00:00
Chris Lattner 85b943dd06 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.

llvm-svn: 13942
2004-06-02 00:22:24 +00:00
Chris Lattner fdcb868fef Refactor a bit of code into a function, no functionality changes.
llvm-svn: 13941
2004-06-02 00:10:19 +00:00
Misha Brukman 140f26ea46 Fix spelling, trim empty space, tighten up function header comment.
llvm-svn: 13940
2004-06-02 00:09:46 +00:00
Chris Lattner 7f6a0343fc No really cygwin, we LIKE .exe'ness.
llvm-svn: 13939
2004-06-02 00:04:54 +00:00
Chris Lattner cb043e4ab6 Build the llvm-stub directory
llvm-svn: 13938
2004-06-01 23:49:55 +00:00
Chris Lattner 10d7d569db 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).

llvm-svn: 13937
2004-06-01 23:48:45 +00:00
Chris Lattner 8e71bc09ff On win32, process.h provides some of the traditional stuff that unistd
provides.  This seems like a relatively clean way to get it.

llvm-svn: 13936
2004-06-01 23:47:00 +00:00
Chris Lattner 3edb94bff1 Bug fixed
llvm-svn: 13935
2004-06-01 21:52:45 +00:00
Chris Lattner a32ca86c21 Implement PR315: abort, don't warn, when missing external functions encountered
This fixes some critical problems building libstdc++ on cygwin.

llvm-svn: 13934
2004-06-01 21:49:00 +00:00
Brian Gaeke 31d599adca Add spiff
llvm-svn: 13933
2004-06-01 20:37:41 +00:00
Brian Gaeke c0b9b83450 Use new form of unconditional branch constructor.
llvm-svn: 13930
2004-06-01 20:06:10 +00:00
Brian Gaeke 84c8bd0dd4 Call Cygwin by its proper name, and give it a link. :-)
llvm-svn: 13929
2004-06-01 20:02:56 +00:00
Brian Gaeke 7ed1d1b320 Maybe this will keep people from breaking -branch-combine!
llvm-svn: 13928
2004-06-01 20:01:05 +00:00
Chris Lattner ce1a3843b0 Add a note about cygwin
llvm-svn: 13927
2004-06-01 19:41:30 +00:00
Chris Lattner 4f120545a7 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)
llvm-svn: 13926
2004-06-01 19:06:43 +00:00
John Criswell 8a76df0bd7 Added the EXEEXT variable so that Makefiles can figure out what extension
to put on executable files.

llvm-svn: 13925
2004-06-01 19:04:38 +00:00
Misha Brukman 5363e38618 * Standardize footer
* HTML 4.01 (Strict) compliance

llvm-svn: 13924
2004-06-01 18:51:03 +00:00
Chris Lattner d9be5faada Finish the thought that got interrupted when my train arrived. :)
llvm-svn: 13923
2004-06-01 18:35:00 +00:00
Chris Lattner 2c7b08766d Fix wandering </a>, add note about cygwin being supported.
llvm-svn: 13922
2004-06-01 18:22:41 +00:00
Misha Brukman 49c28757b9 * 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

llvm-svn: 13921
2004-06-01 18:19:28 +00:00
Chris Lattner bbdec0365c * 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

llvm-svn: 13920
2004-06-01 18:13:05 +00:00
Misha Brukman c9555decd1 Make doxygen pages look like our own documentation.
llvm-svn: 13919
2004-06-01 18:09:32 +00:00
Misha Brukman a1c4fcce3f * Add the year 2003 back to the copyright line
* Remove doxygen image from page, make LLVM link inline with the text

llvm-svn: 13918
2004-06-01 18:00:39 +00:00
Misha Brukman 2a75e7246a * It's now the year 2004
* Our main page is index.html, not index.php
* Wrap lines at 80 cols

llvm-svn: 13917
2004-06-01 17:35:10 +00:00
Chris Lattner f249fdc1c9 Add a warning about incompleteness, fix validation errors
llvm-svn: 13916
2004-06-01 17:18:11 +00:00
John Criswell cd116ba64c 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.

llvm-svn: 13915
2004-06-01 14:54:08 +00:00
Chris Lattner 565d7d567d It's a small start, but it is certainly needed. Contributions are certainly
welcomed.  :)

llvm-svn: 13914
2004-06-01 06:48:00 +00:00
Reid Spencer 26b9a3b747 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.

llvm-svn: 13913
2004-05-31 21:38:56 +00:00
Reid Spencer 8ac57711b0 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.

llvm-svn: 13912
2004-05-31 20:59:55 +00:00
Brian Gaeke 4cc9328b5d There is no "mcff" here; delete the confusing comments that refer to it.
llvm-svn: 13911
2004-05-30 08:29:16 +00:00
Alkis Evlogimenos fbe799cfa2 Pull Interval class out of LiveIntervals.
llvm-svn: 13910
2004-05-30 07:46:27 +00:00
Alkis Evlogimenos 34f6bcc8d2 Add comparator useful for natural comparisons on collections with
pointers to objects.

llvm-svn: 13909
2004-05-30 07:45:09 +00:00
Brian Gaeke 7a8734af7f Transform an occurrence of if(...) { assert (0) }.
llvm-svn: 13908
2004-05-30 07:34:01 +00:00
Alkis Evlogimenos a5268e8199 When spilling an register, introduce a new temporary for each of its
spills. This allows for more flexibility when allocating registers for
spill code.

llvm-svn: 13907
2004-05-30 07:24:39 +00:00
Brian Gaeke 01c1f3279d 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.

llvm-svn: 13906
2004-05-30 07:08:43 +00:00
Brian Gaeke 9836668944 Rename verifySavedState to dumpSavedState. Give it a new comment.
Call it at a more appropriate point.

llvm-svn: 13905
2004-05-30 04:22:24 +00:00
Brian Gaeke bc3d8652ec 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.

llvm-svn: 13904
2004-05-30 03:33:49 +00:00
Brian Gaeke a8b396fe29 Fix typo in head-of-file comment.
llvm-svn: 13903
2004-05-30 03:33:48 +00:00
Reid Spencer 8eb06df5ab 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.

llvm-svn: 13902
2004-05-30 01:19:48 +00:00
Reid Spencer 3b4302290d 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 :)

llvm-svn: 13901
2004-05-30 00:17:47 +00:00