Commit Graph

15573 Commits

Author SHA1 Message Date
Reid Spencer a8f3ed701a Test case for reading SVR4 style archives.
llvm-svn: 17982
2004-11-19 04:33:13 +00:00
Reid Spencer fc9f779039 Don't save an iterator, just use post-increment.
llvm-svn: 17981
2004-11-19 03:44:10 +00:00
Reid Spencer 6abd4457e7 Solaris built archives in SVR4 and XPG4 styles.
llvm-svn: 17980
2004-11-19 03:41:57 +00:00
Reid Spencer 3356325996 Eliminate unsightly ;;
llvm-svn: 17979
2004-11-19 03:27:05 +00:00
Reid Spencer 9aa7a2b468 A test file that goes into the test archive.
llvm-svn: 17978
2004-11-19 03:24:02 +00:00
Reid Spencer 5d76fa0a3c Make a cast explicit.
llvm-svn: 17977
2004-11-19 03:20:09 +00:00
Reid Spencer 39a0347b79 Make findModulesDefiningSymbols modify its symbols argument so we can \
eliminate symbols defined by the archive efficiently

llvm-svn: 17976
2004-11-19 03:18:22 +00:00
Reid Spencer c2455ca7b7 Reduce the amount of work in LinkInArchive by not searching the archive for
symbols it has already identified as not defining.

llvm-svn: 17975
2004-11-19 03:13:25 +00:00
Reid Spencer 519a247cf1 Obligatory DejaGnu/expect file.
llvm-svn: 17974
2004-11-19 02:26:35 +00:00
Nate Begeman f4fd759f9e Generate fewer reg-reg copies for the register allocator to deal with.
This eliminates over 2000 in hbd alone.

llvm-svn: 17973
2004-11-19 02:06:40 +00:00
Tanya Lattner 0b40ee68e2 Fixed a typo.
llvm-svn: 17972
2004-11-19 01:26:37 +00:00
Tanya Lattner fb966bac52 Added link to information on Statistic which is in the Programmers Manual.
llvm-svn: 17971
2004-11-19 01:25:14 +00:00
Chris Lattner 953075442d Delete stoppoints that occur for the same source line.
llvm-svn: 17970
2004-11-18 21:41:39 +00:00
Chris Lattner 4c9c99bda8 Add support for llvm.dbg.stoppoint
llvm-svn: 17969
2004-11-18 21:41:16 +00:00
Chris Lattner 2487431dee Line numbers are go for 1.4! :)
llvm-svn: 17967
2004-11-18 21:25:11 +00:00
Chris Lattner af87e2c2b8 libpng is not even used by povray3.1 in the current configuration, just
drop it completely.

llvm-svn: 17966
2004-11-18 21:21:54 +00:00
Chris Lattner ee21a973a1 Add MMC
llvm-svn: 17965
2004-11-18 21:04:21 +00:00
Reid Spencer 0dbf101c90 Duh, put tools in *bin* directory, not *tools* directory as per
PR456.

llvm-svn: 17964
2004-11-18 20:04:39 +00:00
Chris Lattner 7fd27e2c35 Remove debugging code, unneuter this functionality
llvm-svn: 17963
2004-11-18 19:42:50 +00:00
Chris Lattner 8cb483b335 remove debugging code
llvm-svn: 17962
2004-11-18 19:40:13 +00:00
Tanya Lattner cb0da4f1b7 Fixed to fit in 80 columns.
llvm-svn: 17961
2004-11-18 18:47:29 +00:00
Reid Spencer e4190faa0c Add notes about makefile changes and llvm-ar.
llvm-svn: 17960
2004-11-18 18:38:58 +00:00
Tanya Lattner 21590db8fd Adding option to llc for ModuloScheduling. By default it is turned off.
llvm-svn: 17959
2004-11-18 18:38:01 +00:00
Chris Lattner de5626cd40 These methods are inlined
llvm-svn: 17958
2004-11-18 17:47:13 +00:00
Chris Lattner 8a8e988766 Update comments, now that CPR's are gone, inline the methods
llvm-svn: 17957
2004-11-18 17:46:57 +00:00
Chris Lattner c08ac110df Check in hook that I forgot
llvm-svn: 17956
2004-11-18 17:24:20 +00:00
Reid Spencer 7e9e0b0c82 Fix PR456:\
Tools and libraries will be built into $(BUILD_OBJ_ROOT)/$(BuildMode)/bin and \
$(BUILD_OBJ_ROOT)/$(BuildMode)/lib, respectively. Furthermore, the example \
programs will go in $(BUILD_OBJ_ROOT)/$(BuildMode)/examples to keep them \
separate from the tools and hopefully out of the PATH. Install targets \
have not changed.

llvm-svn: 17953
2004-11-18 10:03:46 +00:00
Reid Spencer 231e4d7772 Include ltdl.h if we have it.
llvm-svn: 17952
2004-11-18 09:50:00 +00:00
Reid Spencer 6d854b0b07 Add checks for HAVE_LTDL_H and HAVE_LT_DLOPEN
llvm-svn: 17951
2004-11-18 09:49:13 +00:00
Reid Spencer c4b5cfc602 Changes for testing presence of ltdl.h and lt_dlopen(), libtool functions
for cross-platform dynamic loading of shared objects.

llvm-svn: 17950
2004-11-18 09:47:37 +00:00
Brian Gaeke de6e536849 Rewrite LoadArgumentsToVirtualRegs, making it match almost exactly how
visitCallInst works.  Support cast of byte/short/int to long.

llvm-svn: 17949
2004-11-18 07:43:33 +00:00
Brian Gaeke 2c6b9c914b Update current expected failures list - expand it to include all of
SingleSource. Update to-do list (open-coding refers to binary operations on
longs, not to passing them into functions, which we already support.)

llvm-svn: 17948
2004-11-18 07:43:32 +00:00
Nate Begeman 2b575bec80 Eliminate another common source of moves that the register allocator
shouldn't be forced to coalesce for us: folded GEP operations.  This too
fires thousands of times across the testsuite.

llvm-svn: 17947
2004-11-18 07:22:46 +00:00
Nate Begeman 5d9c292e7f When accessing the base register for global variables, use the register
directly rather than making a copy for the register allocator to coalesce.
This kills thousands of live intervals across the testsuite.

llvm-svn: 17946
2004-11-18 06:51:29 +00:00
Chris Lattner b75e790a2b * There is no reason for SpillWeights to be an instance var
* Do not put fixed registers into the unhandled set.  This means they will
  never find their way into the inactive, active, or handled sets, so we
  can simplify a bunch of code.

llvm-svn: 17945
2004-11-18 06:01:45 +00:00
Chris Lattner e3b9cb9959 There is no need to check to see if j overflowed in this loop as we're only
incrementing i.

llvm-svn: 17944
2004-11-18 05:28:21 +00:00
Chris Lattner 6e0c3f44ba Moderate head scratching reveals that this conditional is not needed. If
i->start == j->start, then certainly i->end > j->start.

llvm-svn: 17943
2004-11-18 05:19:02 +00:00
Nate Begeman 51f6635e42 Clean up and fix cast codegen by removing cases that are handled elsewhere,
and properly emitting signed short to unsigned int.  This fixes the last
regression vs. the CBE, MultiSource/Applications/hbd.

llvm-svn: 17942
2004-11-18 04:56:53 +00:00
Reid Spencer dfa81ff3ff Dynamic Library abstraction. This makes the abstraction of a single dynamic
library (shared library/shared object) whose symbols can be looked up
dynamically. Used for plug-ins.

llvm-svn: 17941
2004-11-18 04:33:40 +00:00
Reid Spencer 4a763ca854 Dynamic Library abstraction. This makes the abstraction of a single dynamic
library (shared library/shared object) whose symbols can be looked up
dynamically. Used for plug-ins.

llvm-svn: 17940
2004-11-18 04:33:39 +00:00
Chris Lattner 08ec603bb0 Fix a couple of bugs where we considered physregs past their range as possibly
intersecting an interval.

llvm-svn: 17939
2004-11-18 04:33:31 +00:00
Chris Lattner cf972ff7cb Fix typeo
llvm-svn: 17938
2004-11-18 04:31:10 +00:00
Chris Lattner 49ff5f0477 Start using the iterators in the fixed_ intervals to avoid having to binary
search physreg intervals every time we access it.  This takes another
half second off of linscan.

llvm-svn: 17937
2004-11-18 04:13:02 +00:00
Chris Lattner 7598c316e5 Take another .7 seconds off of linear scan time.
llvm-svn: 17936
2004-11-18 04:02:11 +00:00
Chris Lattner 850852c789 Add a counter for the number of times linscan has to backtrack. Start using
the iterator hints we have to speed up overlaps().  This speeds linscan up
by about .2s (out of 8.7) on 175.vpr for PPC.

llvm-svn: 17935
2004-11-18 03:49:30 +00:00
Chris Lattner cb0c9655bf Add ability to give hints to the overlaps routines.
llvm-svn: 17934
2004-11-18 03:47:34 +00:00
Chris Lattner a1f7779876 * Improve comments/documentation substantially
* Eliminate the releaseMemory method, this is not an analysis
* Change the fixed, active, and inactive lists of intervals to maintain an
  iterator for the current position in the interval.  This allows us to do
  constant time increments of the iterator instead of having to do a binary
  search to find our liverange in our liveinterval all of the time, which
  substantially speeds up cases where LiveIntervals have many LiveRanges
  - which is very common for physical registers.  On targets with many
  physregs, this can make a noticable difference.

  With a release build of LLC for PPC, this halves the time in
  processInactiveIntervals and processActiveIntervals, from 1.5s to .75s.

  This also lays the ground for more to come.

llvm-svn: 17933
2004-11-18 02:42:27 +00:00
Chris Lattner 0624f95175 Add new advanceTo method
llvm-svn: 17932
2004-11-18 02:37:31 +00:00
Chris Lattner 7d92fc7e89 Fix a minor bug in expiredAt. endNumber() is the first number that is not valid.
llvm-svn: 17931
2004-11-18 01:34:44 +00:00
Chris Lattner a51f5eeac1 Rename some methods, use 'begin' instead of 'start', add new LiveInterval
iterator/begin/end members.

llvm-svn: 17930
2004-11-18 01:29:39 +00:00