Chris Lattner [Mon, 20 Sep 2004 04:36:29 +0000 (04:36 +0000)]
'Pass' should now not be derived from by clients. Instead, they should derive
from ModulePass. Instead of implementing Pass::run, then should implement
ModulePass::runOnModule.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16430
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 20 Sep 2004 04:35:27 +0000 (04:35 +0000)]
Adjust to API changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16429
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 20 Sep 2004 04:13:43 +0000 (04:13 +0000)]
Put in a #error in the event that we don't have an mmap that can map a file
into memor. This is just a reminder that the ReadFileIntoAddressSpace
function needs to be properly converted to lib/System and implemented via
read/write if there's no mmap of file support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16428
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 20 Sep 2004 04:09:56 +0000 (04:09 +0000)]
Fix problems with AC_FUNC_MMAP_FILE and AC_LINK_USE_R that caused problems
with correctly recognizing mmap of files and the linker's support of -r.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16427
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 20 Sep 2004 04:08:22 +0000 (04:08 +0000)]
Correct the use AC_RUN_IFELSE to ensure it builds programs correctly by
using the AC_LANG_PROGRAM macro.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16426
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 20 Sep 2004 03:06:28 +0000 (03:06 +0000)]
Allow the suffix for shared libraries to be obtained correctly so we can
build them again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16425
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 20 Sep 2004 03:05:46 +0000 (03:05 +0000)]
The problem with depending on the internal implementation of third party
tools is that you break when they change. This is a case in point.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16424
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 20 Sep 2004 01:43:00 +0000 (01:43 +0000)]
libtool's name is now back to mklib.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16423
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 20 Sep 2004 01:42:32 +0000 (01:42 +0000)]
Change to support creation of "mklib" instead of "libtool" in builddir.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16422
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 20 Sep 2004 01:41:24 +0000 (01:41 +0000)]
Update the script to generate mklib instead of libtool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16421
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 19 Sep 2004 23:53:36 +0000 (23:53 +0000)]
Adjust the libtool macros so that libtool's name is "mklib". Also, tidy up
the use of obsolete macros, hopefully making us more compliant on more sys.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16420
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 19 Sep 2004 23:43:52 +0000 (23:43 +0000)]
Various minor cleanups and replacement of obsoleted macro names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16419
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 19 Sep 2004 23:42:55 +0000 (23:42 +0000)]
Numerous fixes to convert ~ into ; that (probably) occurred during data
transmission.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16418
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 19 Sep 2004 23:15:47 +0000 (23:15 +0000)]
The lexicon doc is more of a user guide than programming dox
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16417
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 19 Sep 2004 22:31:49 +0000 (22:31 +0000)]
Bring the script out of the dark ages and into modern autoconfness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16415
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 19 Sep 2004 22:30:53 +0000 (22:30 +0000)]
Make the "Warning" notice a LOT more prominent.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16414
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 19 Sep 2004 22:14:24 +0000 (22:14 +0000)]
Add in version dependency checks on all the tools we depend on. This is
necessary to ensure that a consistent configuration is created on each
platform. Certain definitions we use (like m4/libtool.m4) require certain
versions of the tools and we can no longer be slack about this or we'll
have problems with mis-configured builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16412
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 19 Sep 2004 21:47:47 +0000 (21:47 +0000)]
Add our own version of libtool.m4 instead of relying on the installed one.
This is a potential version mismatch problem because this file came from
libtool 1.5.10. If you're running a different version of libtool, the
checks in this file may not be quite right. Having our own version of this
file violates the spirit of libtool and is only provided to change the name
of "libtool" to "mklib". This is done so that the name "libtool" does not
conflict with the "lib" directory when doing tab completion and your
$objdir == $srcdir.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16411
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 19 Sep 2004 19:21:26 +0000 (19:21 +0000)]
better code
Move other things to the right sections
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16410
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 19 Sep 2004 19:18:10 +0000 (19:18 +0000)]
Make isSafeToLoadUnconditionally a bit smarter, implementing PR362 and
Regression/Transforms/InstCombine/CPP_min_max.llx
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16409
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 19 Sep 2004 19:17:10 +0000 (19:17 +0000)]
New testcase for PR362: Icky code generated for std::min/std::max
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16408
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 19 Sep 2004 19:01:06 +0000 (19:01 +0000)]
Fix a nasty iterator invalidation problem I introduced yesterday. This
unfortunately is the cause of a bunch of failures from tonight, and the
reason the tester is running so slow :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16407
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 19 Sep 2004 18:51:51 +0000 (18:51 +0000)]
Remove a whole bunch of horrible hacky code that was used to promote allocas
whose addresses where used by trivial phi nodes and select instructions. This
is now performed by the instcombine pass, which is more powerful, is much
simpler, and is faster. This allows the deletion of a bunch of code, two
FIXME's and two gotos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16406
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 19 Sep 2004 18:45:45 +0000 (18:45 +0000)]
Instcombine now helps out with these
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16405
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 19 Sep 2004 18:43:46 +0000 (18:43 +0000)]
Make instruction combining a bit more aggressive in the face of volatile
loads, and implement two new transforms: InstCombine/load.ll:test[56].
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16404
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 19 Sep 2004 18:43:01 +0000 (18:43 +0000)]
Add two new testcases that instcombine should handle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16403
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 19 Sep 2004 05:37:39 +0000 (05:37 +0000)]
Minor correction to Signals implementation.
Patch submitted by Jeff Cohen. Thanks Jeff!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16401
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 19 Sep 2004 01:05:16 +0000 (01:05 +0000)]
Add comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16400
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 18 Sep 2004 21:37:03 +0000 (21:37 +0000)]
Fix the inliner to always delete any edges from the external call node to
a function being deleted. Due to optimizations done while inlining, there
can be edges from the external call node to a function node that were not
apparent any longer.
This fixes the compiler crash while compiling 175.vpr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16399
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 18 Sep 2004 21:34:34 +0000 (21:34 +0000)]
Add CallGraphNode::removeAnyCallEdgeTo method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16398
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 18 Sep 2004 19:34:09 +0000 (19:34 +0000)]
Use the /dev/zero device as the device on which the pages are mapped.
Patch contributed by Henrik Bach. Thanks Henrik!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16397
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 18 Sep 2004 19:29:16 +0000 (19:29 +0000)]
Porting of Unix implementation to Win32.
Patch contributed by Jeff Cohen. Thanks Jeff!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16396
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 18 Sep 2004 19:25:11 +0000 (19:25 +0000)]
Get rid of file descriptor leak in create_file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16395
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 18 Sep 2004 16:16:28 +0000 (16:16 +0000)]
Misha implemented the ModuleProvider interface back in 9/18/2003.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16394
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 18 Sep 2004 06:39:35 +0000 (06:39 +0000)]
Provide initial docs for CallGraphSCCPass's, and fix several grammar-o's and
other problems.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16393
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 18 Sep 2004 06:28:07 +0000 (06:28 +0000)]
Make this HTML 4.01 strict
Update to reflect changes to the 'Register' tblgen class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16392
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 18 Sep 2004 04:40:46 +0000 (04:40 +0000)]
Don't include libtool "object" files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16391
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 18 Sep 2004 00:34:13 +0000 (00:34 +0000)]
Convert this pass to be a CallGraphSCCPass instead of a Pass, which eliminates
the worklist and makes it more efficient. This does not change functionality
at all.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16390
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 18 Sep 2004 00:32:40 +0000 (00:32 +0000)]
Make sure to remove the Select instruction as well
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16389
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 18 Sep 2004 00:27:20 +0000 (00:27 +0000)]
When changing a function, make sure to update the CallGraphNode for the
function, not just the CallGraph.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16388
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 18 Sep 2004 00:22:43 +0000 (00:22 +0000)]
Implement new changeFunction method, nuke a never implemented one.
Add comments and doxygenify others.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16387
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 18 Sep 2004 00:22:13 +0000 (00:22 +0000)]
Implement new changeFunction method, nuke a never implemented one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16386
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Fri, 17 Sep 2004 15:08:25 +0000 (15:08 +0000)]
Changed the distclean target to handle the new location of config.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16385
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 17 Sep 2004 03:58:39 +0000 (03:58 +0000)]
Fix typo in comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16384
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 17 Sep 2004 03:02:27 +0000 (03:02 +0000)]
Make sure critical sections are entered before trying to leave them.
Add some additional commentary about the workings of this module.
Patch contributed by Jeff Cohen. Thanks Jeff!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16383
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 16 Sep 2004 16:41:31 +0000 (16:41 +0000)]
Adjust the license files based on the actual content of llvm and llvm-test
after llvm-test was split out of llvm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16382
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 16 Sep 2004 16:36:10 +0000 (16:36 +0000)]
Allow "bc" as suffix for bytecode files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16381
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 16 Sep 2004 15:53:16 +0000 (15:53 +0000)]
Implement the signals interface for Win32.
Patch provided by Jeff Cohen. Thanks Jeff!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16380
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Thu, 16 Sep 2004 14:11:25 +0000 (14:11 +0000)]
Add dependencies so that project tools are recompiled if LLVM libraries
are updated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16378
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 15 Sep 2004 17:53:52 +0000 (17:53 +0000)]
Add a newline
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16369
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 15 Sep 2004 17:06:42 +0000 (17:06 +0000)]
Convert code to compile with vc7.1.
Patch contributed by Paolo Invernizzi. Thanks Paolo!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16368
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 15 Sep 2004 17:00:41 +0000 (17:00 +0000)]
Make sure to update the list end when an element is removed from it. This
fixes a crash in LICM when processing povray.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16367
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 15 Sep 2004 16:59:47 +0000 (16:59 +0000)]
Add some assertions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16366
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 15 Sep 2004 06:22:54 +0000 (06:22 +0000)]
Stacker compiler library doesn't need to be shared and it can cause
problems on some platforms (like Solaris).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16365
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 15 Sep 2004 06:19:53 +0000 (06:19 +0000)]
Attempt to solve the libtool problem on Solaris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16364
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 15 Sep 2004 05:49:50 +0000 (05:49 +0000)]
Patches to make this file actually compile under windows.
Patches submitted by Jeff Cohen. Thanks Jeff!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16362
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 15 Sep 2004 05:48:49 +0000 (05:48 +0000)]
Initial version of the SysConfig abstraction for Win32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16361
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 15 Sep 2004 05:48:11 +0000 (05:48 +0000)]
First version of a common header file for Win32 implementations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16360
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 15 Sep 2004 05:47:40 +0000 (05:47 +0000)]
Initial implementation of the Process abstraction for Win32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16359
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 15 Sep 2004 03:55:45 +0000 (03:55 +0000)]
Fix the interface to ReleaseRWX to take MemoryBlock& not Memory&
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16356
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 15 Sep 2004 02:34:40 +0000 (02:34 +0000)]
Fix a bug in the previous checkin that broke 255.vortex
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16355
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Wed, 15 Sep 2004 02:32:15 +0000 (02:32 +0000)]
When creating constant arrays check that the initializer vector is the
same size as the one in the array type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16354
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 15 Sep 2004 01:40:18 +0000 (01:40 +0000)]
Fit long lines into 80 cols via creative space elimination
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16353
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 15 Sep 2004 01:34:42 +0000 (01:34 +0000)]
Wrap long line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16352
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 15 Sep 2004 01:34:25 +0000 (01:34 +0000)]
Targets are independent of each other, so compile them in parallel
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16351
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 15 Sep 2004 01:09:25 +0000 (01:09 +0000)]
Bug fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16349
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 15 Sep 2004 01:04:07 +0000 (01:04 +0000)]
Make sure to update alias analysis information as we transform the function.
This fixes PR420 and Regression/Transforms/LICM/2004-09-14-AliasAnalysisInvalidate.llx
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16348
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 15 Sep 2004 01:02:54 +0000 (01:02 +0000)]
If given an AliasSetTracker object to update, update it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16347
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 15 Sep 2004 01:02:30 +0000 (01:02 +0000)]
Add an optional argument to PromoteMemToReg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16346
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 15 Sep 2004 00:58:49 +0000 (00:58 +0000)]
New testcase for PR420
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16345
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 14 Sep 2004 19:15:32 +0000 (19:15 +0000)]
Implement an AliasSetTracker::copyValue method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16344
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 14 Sep 2004 19:15:12 +0000 (19:15 +0000)]
Add an AliasSetTracker::copyValue method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16343
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 14 Sep 2004 18:21:03 +0000 (18:21 +0000)]
The Sparc linking .so problem extends to the sample project as well
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16342
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 14 Sep 2004 16:43:13 +0000 (16:43 +0000)]
Add notes about some buggy passes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16339
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 14 Sep 2004 16:34:08 +0000 (16:34 +0000)]
Remove unused pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16338
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 14 Sep 2004 16:33:01 +0000 (16:33 +0000)]
Remove a long-dead pass. Actually, this pass was never used at all.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16337
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 14 Sep 2004 15:46:13 +0000 (15:46 +0000)]
Fix compilation warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16336
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 14 Sep 2004 15:42:11 +0000 (15:42 +0000)]
Fix a compilation error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16335
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 14 Sep 2004 05:43:23 +0000 (05:43 +0000)]
Okay, the list of link-time passes wasn't such a hot idea. Its prone to
error. We'll strategize on this when we have multiple front ends to deal
with. For now llvm-ld just runs a standard set of transforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16333
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 14 Sep 2004 05:06:58 +0000 (05:06 +0000)]
Don't print newlines between passes in the pass list.
Note to self: sentences end with ".", not "...".
Note to reid: sentences end with ".", not "". :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16332
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 14 Sep 2004 04:51:44 +0000 (04:51 +0000)]
Don't print newlines between each library in the deplibs list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16331
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 14 Sep 2004 04:17:02 +0000 (04:17 +0000)]
Revamp the Register class, and allow the use of the RegisterGroup class to
specify aliases directly in register definitions.
Patch contributed by Jason Eckhardt!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16330
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 14 Sep 2004 04:08:41 +0000 (04:08 +0000)]
Adjust to #include movage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16329
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 14 Sep 2004 02:00:24 +0000 (02:00 +0000)]
Update to reflect stkrc's new optimization capabilities.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16327
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 14 Sep 2004 01:59:31 +0000 (01:59 +0000)]
Support substitution options for the W, M, and f options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16326
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 14 Sep 2004 01:58:45 +0000 (01:58 +0000)]
Support the -WX, -f -M options as pass throughs
Change force option from -f to -F
Support the -strip option
Make changes to reflect different interface in sys::Program
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16325
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 14 Sep 2004 00:16:39 +0000 (00:16 +0000)]
Implement the GetLibraryPath function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16323
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 13 Sep 2004 23:46:23 +0000 (23:46 +0000)]
Add the GetLibraryPath method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16322
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 13 Sep 2004 23:44:23 +0000 (23:44 +0000)]
Add support for the link-time pass list to Modules.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16321
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 13 Sep 2004 22:42:54 +0000 (22:42 +0000)]
Sparc cannot link shared objects (libtool issue) which affects Stacker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16320
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 13 Sep 2004 22:38:12 +0000 (22:38 +0000)]
Simplify the sys::Memory interface per Chris' request.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16319
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 13 Sep 2004 22:38:11 +0000 (22:38 +0000)]
Simplify the sys::Memory interface per Chris' request.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16318
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 13 Sep 2004 21:48:44 +0000 (21:48 +0000)]
Clean up the interface and implementation of sys::Program so that it is
cleanly dissociated from the sys::Path class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16315
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 13 Sep 2004 21:32:03 +0000 (21:32 +0000)]
Changes to make this work with Jason's patch. I checked this by hand, but
would appreciate if others would also look at this to make sure I didn't
botch something obvious
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16312
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 13 Sep 2004 21:15:19 +0000 (21:15 +0000)]
Change banner name to reflect actual program this Makefile is for.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16311
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 13 Sep 2004 15:37:33 +0000 (15:37 +0000)]
Get rid of compile warning by having llvmExecve return the result of its
call to executeProgram.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16306
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 13 Sep 2004 01:27:53 +0000 (01:27 +0000)]
Initial implementation of llvm-ld: stolen from gccld.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16305
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 13 Sep 2004 01:18:30 +0000 (01:18 +0000)]
Add LLEE into compilation, but not for Sparc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16304
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 12 Sep 2004 23:39:42 +0000 (23:39 +0000)]
Excise the -L option since llvm-link should not do library searches. It
just links bytecode files together.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16303
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 12 Sep 2004 23:08:29 +0000 (23:08 +0000)]
Excise dependent library linking at Chris' request. llvm-link is intended
to provide only the simplest linking of LLVM modules without trying to be
complete. Dependent library linking will be added to gccld or its successor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16302
91177308-0d34-0410-b5e6-
96231b3b80d8