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
Misha Brukman [Sun, 12 Sep 2004 23:01:24 +0000 (23:01 +0000)]
Squelch compilation warnings on Sparc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16301
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Sun, 12 Sep 2004 22:40:40 +0000 (22:40 +0000)]
* Fix grammar
* Convert tabs to spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16300
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Sun, 12 Sep 2004 21:26:04 +0000 (21:26 +0000)]
Fix filename: Printer.cpp has become X86AsmPrinter.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16299
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Sun, 12 Sep 2004 20:56:38 +0000 (20:56 +0000)]
Unbreak doxygen, according to Reid.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16298
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Sun, 12 Sep 2004 20:47:33 +0000 (20:47 +0000)]
Fix code spacing/alignment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16297
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 20:38:25 +0000 (20:38 +0000)]
Fix the replace method to assert if an item was erased from the set but not
found in the vector. Previously, it just ignored this condition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16296
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 20:30:11 +0000 (20:30 +0000)]
Correct the file header to reflect the new "examples" home for the file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16295
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 20:18:08 +0000 (20:18 +0000)]
Fix typo: sterror -> strerror
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16294
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 07:35:01 +0000 (07:35 +0000)]
Correct the dynamic lib suffix on Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16293
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 04:59:30 +0000 (04:59 +0000)]
Provide initial implementations of Memory and Process concepts for various
platforms.
Implement GetLLVMSuffix function for the Path concept.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16292
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 04:57:25 +0000 (04:57 +0000)]
Provide a generic Unix implementation of the Memory concept.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16291
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 04:56:56 +0000 (04:56 +0000)]
Provide a generic unix implementation of the Process abstraction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16290
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 04:55:08 +0000 (04:55 +0000)]
Implemented support for detecting file types by magic number, stripping
path and suffix to leave basename, and getting the DLL suffix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16289
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 04:54:06 +0000 (04:54 +0000)]
Implementation of Process concept for SUSv2 platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16288
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 04:32:42 +0000 (04:32 +0000)]
Implement dependent library processing and search paths for them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16287
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 04:31:03 +0000 (04:31 +0000)]
Convert the Emitter to use the lib/System "Memory" interface instead of the
old SystemUtils.h interface to allocate RWX blocks of memory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16286
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 04:29:44 +0000 (04:29 +0000)]
Add library LLVMsystem.a because the JIT now needs it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16285
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 04:29:13 +0000 (04:29 +0000)]
Correct the interface of a function to use the correct typedef for an
argument so that it will always compile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16284
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 04:25:58 +0000 (04:25 +0000)]
Implement the remove method for deleting entries from the SetVector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16283
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 04:25:17 +0000 (04:25 +0000)]
Implement support for dependent libraries. The "source" module's dependent
libraries list is merged into the "destination" module's list. Also, if the
source module is one of the dependent libraries, it is removed from the
list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16282
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 04:22:58 +0000 (04:22 +0000)]
Change interface to use correct typedef so it will always compile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16281
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 04:22:14 +0000 (04:22 +0000)]
Make the dependent libraries list use a SetVector instead of a regular
vector so that duplicate libraries never occur within a module.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16280
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 04:20:58 +0000 (04:20 +0000)]
Initial commit of a file to declare the interface for platform independent
support for various memory allocation operations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16279
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 04:19:17 +0000 (04:19 +0000)]
Add methods for detecting file types by magic number, getting the file name
suffix for shared objects, and stripping a path down to its base name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16278
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 04:18:05 +0000 (04:18 +0000)]
Add methods for detecting different kinds of files by their magic number,
getting the suffix for shared objects, and extracting the basename from a
path.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16277
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 04:15:09 +0000 (04:15 +0000)]
Use llvm-link to link the .bc with testing.bc. This helps test the new
llvm-link dependent libraries feature.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16276
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Sep 2004 04:14:07 +0000 (04:14 +0000)]
Print the dependent libraries when dumping bytecode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16275
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 10 Sep 2004 19:20:06 +0000 (19:20 +0000)]
Update to latest versions of config.guess and config.sub from
http://savannah.gnu.org/projects/config
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16268
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 10 Sep 2004 18:51:12 +0000 (18:51 +0000)]
Renamed file to SparcV8ISelSimple.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16267
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 10 Sep 2004 18:01:45 +0000 (18:01 +0000)]
Roll back constant printing changes until the problems with larger
programs and C++ can be looked at in detail.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16266
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Fri, 10 Sep 2004 04:16:59 +0000 (04:16 +0000)]
Add assertion descriptiosn on type mismatches when creating
ConstantArray and ConstantPacked objects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16261
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 9 Sep 2004 20:34:13 +0000 (20:34 +0000)]
Fix broken internal links (one found by seventwentyfour.com spider)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16260
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Thu, 9 Sep 2004 19:24:38 +0000 (19:24 +0000)]
Grow the map on entry so that we don't crash if joinIntervals never
runs (if coalescing is disabled for example).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16259
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 9 Sep 2004 16:36:47 +0000 (16:36 +0000)]
If updating from CVS gives error "No rule to make target", it's faster to just
delete .d files than to rebuild from scratch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16258
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 9 Sep 2004 16:18:40 +0000 (16:18 +0000)]
Fix broken link to the 2004 CGO paper.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16257
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 9 Sep 2004 02:37:56 +0000 (02:37 +0000)]
Add missing #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16256
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 8 Sep 2004 20:38:05 +0000 (20:38 +0000)]
Regenerated, to recognize mingw.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16255
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 8 Sep 2004 20:32:11 +0000 (20:32 +0000)]
recognize MinGW
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16254
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 8 Sep 2004 20:30:26 +0000 (20:30 +0000)]
Disable libprofile as it breaks the build on Sparc (autoconf issues).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16253
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 8 Sep 2004 19:48:15 +0000 (19:48 +0000)]
Make file comment span the entire line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16249
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Wed, 8 Sep 2004 18:29:31 +0000 (18:29 +0000)]
Use a shorter form to express implicit use/defs in FpGETRESULT and
FpSETRESULT.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16247
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Wed, 8 Sep 2004 16:54:54 +0000 (16:54 +0000)]
A call instruction should implicitely define ST0 since the return
value is returned in that register. The pseudo instructions
FpGETRESULT and FpSETRESULT shold also have an implicity use and def
of ST0 repsecitvely.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16246
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 8 Sep 2004 04:10:52 +0000 (04:10 +0000)]
This file does not need <iostream>, I think.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16245
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Wed, 8 Sep 2004 03:01:50 +0000 (03:01 +0000)]
Use a DenseMap for mapping reg->reg. This improves the LiveInterval
analysis running time from 2.7869secs to 2.5226secs on 176.gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16244
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Tue, 7 Sep 2004 19:03:35 +0000 (19:03 +0000)]
Use libtool, not mklib (which somehow doesn't get generated anymore)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16243
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 7 Sep 2004 18:04:45 +0000 (18:04 +0000)]
Remove PAPIDIR, per brg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16240
91177308-0d34-0410-b5e6-
96231b3b80d8