1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
Commit Graph

79 Commits

Author SHA1 Message Date
Reid Spencer
33d1ebfade Use llvm-link to link the .bc with testing.bc. This helps test the new
llvm-link dependent libraries feature.

llvm-svn: 16276
2004-09-11 04:15:09 +00:00
Reid Spencer
31644c1e4f Added the configuration of the test/Makefile.
llvm-svn: 16185
2004-09-05 16:42:30 +00:00
Reid Spencer
9f27529c77 Make sure llvm-test doesn't build automatically so the nightly test can
finish its build phase without building and running all the tests.

llvm-svn: 16172
2004-09-04 23:07:57 +00:00
Reid Spencer
2878309383 Convert makefile to use standard LLVM macros for tool names
Utilize new stkrc -O4 option for optimization during translation.

llvm-svn: 16168
2004-09-04 20:13:54 +00:00
Reid Spencer
a99d81d2d0 Make Stacker into a complete project with its own configuration.
llvm-svn: 16167
2004-09-04 19:48:50 +00:00
Reid Spencer
b15e5d340f Make the StackerCompiler and optimizing translator by running specific
optimizations after construction of the Module. The OptLevel argument
to the compile function controls the level of optimization.

llvm-svn: 16166
2004-09-04 19:07:32 +00:00
Reid Spencer
3d69a86cef Make the Stacker compiler handle -O1 .. -O5 options so it is compliant with
the compiler driver interface as an optimizing translator. Also clean up
error message handling.

llvm-svn: 16165
2004-09-04 19:05:53 +00:00
Reid Spencer
e9389f6f5f Uh, changing in build dir and committing in src dir doesn't lead to correct
commits. Fix it so it actually works.

llvm-svn: 16158
2004-09-03 22:28:24 +00:00
Reid Spencer
e728175f26 Correct the specification of the DIRS variable to not include the source
directory prefix, just the name of the subdirectory. This prevents the
makefile from trying to find makefiles (like Makefile.common) in the wrong
place.

llvm-svn: 16157
2004-09-03 22:25:40 +00:00
Brian Gaeke
69c787eb8c Unbreak build
llvm-svn: 16139
2004-09-02 03:24:08 +00:00
Reid Spencer
c4abcbefb1 Changes For Bug 352
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.

llvm-svn: 16137
2004-09-01 22:55:40 +00:00
Nate Begeman
45eef581a4 Must link against new LLVMsystem library
llvm-svn: 16104
2004-08-29 22:01:44 +00:00
Nate Begeman
f0d859996e RemoveFileOnSignal is now in sys:: namespace
llvm-svn: 16103
2004-08-29 22:01:17 +00:00
Reid Spencer
00cbd4a50a Add dependent library support for Stacker. It now inserts "stkr_runtime" as
a dependent library.

llvm-svn: 16040
2004-08-24 22:52:01 +00:00
Reid Spencer
8a934d5632 Moved the "SmallExamples" out of the /projects directory and into a new
/examples directory. History was maintained. These programs do not need to
be configured but things in /projects must be.

llvm-svn: 16002
2004-08-23 19:28:39 +00:00
Reid Spencer
5fce8b675d Change the makefile back so it descends any directory with a Makefile.
llvm-svn: 15999
2004-08-23 17:47:16 +00:00
Reid Spencer
53d2acaa77 Avoid building samples. Require explicit list of directory names to build.
llvm-svn: 15937
2004-08-20 01:49:59 +00:00
Chris Lattner
12e30d4dcc Make people explicitly add dirs to this. Remove ModuleMaker as it currently
does not build (it must be configured before it will work)

llvm-svn: 15936
2004-08-20 01:11:16 +00:00
Chris Lattner
e3268d4fe7 Only build project dirs with a Makefile in them. This should fix the
problem where Depend or Debug directories prevent CVS from nuking an obsolete
project dir

llvm-svn: 15935
2004-08-20 01:07:54 +00:00
Reid Spencer
a58f83a503 Moved these files to "SmallExamples" directory.
llvm-svn: 15925
2004-08-19 20:16:42 +00:00
Reid Spencer
a43640903f Add the fibonacci example provided by Valery Khamenya.
llvm-svn: 15924
2004-08-19 20:10:04 +00:00
Reid Spencer
609db03ad9 Make the SmallExamples programs compile in their new home.
llvm-svn: 15923
2004-08-19 20:09:14 +00:00
Chris Lattner
15bb616b42 Switch to using the JIT now that it can directly call zeroarg functions
llvm-svn: 15795
2004-08-15 23:31:57 +00:00
Chris Lattner
776957f345 Simplify code, make it print the constructed module before it is run.
llvm-svn: 15792
2004-08-15 23:21:54 +00:00
Reid Spencer
7098724fce Fix a copy & paste error .. correct the description of the program.
llvm-svn: 15623
2004-08-10 19:18:51 +00:00
Reid Spencer
6792759bcb Adding a simple example of how to use the JIT.
Contributed by Valery A. Khamenya. THANKS, Valery!

llvm-svn: 15622
2004-08-10 19:14:36 +00:00
Misha Brukman
58104df77b Fix #includes of i*.h => Instructions.h as per PR403.
llvm-svn: 15334
2004-07-29 17:30:56 +00:00
Reid Spencer
d0e85de976 Group the hidden command line arguments.
Make the -s option actually work and default to the right value.

llvm-svn: 14735
2004-07-10 23:35:46 +00:00
Reid Spencer
720b54cf9d Add #include <iostream> since Value.h doesn't include it any more.
llvm-svn: 14624
2004-07-04 12:22:14 +00:00
Chris Lattner
f17022077d Add support for dos-style files
llvm-svn: 13840
2004-05-27 18:28:32 +00:00
Chris Lattner
16553806ce Header moved
llvm-svn: 13812
2004-05-27 05:37:32 +00:00
Brian Gaeke
f6cd573ee3 Use inttypes.h, which exists on all of Linux, Solaris and Darwin.
llvm-svn: 13461
2004-05-11 16:14:53 +00:00
Chris Lattner
4c6a127461 Unbreak the build on X86.
llvm-svn: 13460
2004-05-11 14:08:54 +00:00
Brian Gaeke
f1f52ea4cc Squash warnings on Solaris/sparc... the test suite is not working for me so I
can't be sure if these are OK, but they look OK.

llvm-svn: 13459
2004-05-11 07:45:28 +00:00
Brian Gaeke
2c5d55fd94 Do not hardcode the name of gcc, because its full pathname may have been
specified by top-level configure

llvm-svn: 13458
2004-05-11 07:42:58 +00:00
Brian Gaeke
a9447a8995 Do not depend on the path to bash
llvm-svn: 13457
2004-05-11 07:42:19 +00:00
Brian Gaeke
2d5a7a7b2f Include <sys/types.h> to get the definition of int64_t on Solaris.
llvm-svn: 13456
2004-05-11 07:18:02 +00:00
Reid Spencer
b417772e42 Changes to make the Stacker Stack use 64 bit values. This *should* get
around the problem with Stacker on Solaris because the Stack can handle
64-bit entries (pointer sized).

llvm-svn: 13441
2004-05-09 23:20:19 +00:00
Misha Brukman
97e81286e5 If we're going to use tabs, use them consistently. Maybe doxygen will find the
@parameter line documentation that way, too.

llvm-svn: 12966
2004-04-15 15:38:48 +00:00
Chris Lattner
6ea8b0176c Avoid TRUE and FALSE which apparently conflict with some macros on OSX
llvm-svn: 12566
2004-03-31 03:49:47 +00:00
Chris Lattner
3fd2b573f1 Remove dependence on the return type of ConstantArray::get
llvm-svn: 11463
2004-02-15 04:05:58 +00:00
Brian Gaeke
741b604175 Fix apparent copy-and-paste-o.
Get rid of %debug - Mac OS X bison doesn't have it.  sigh.

llvm-svn: 10352
2003-12-10 04:33:07 +00:00
Chris Lattner
06338c93f3 Add a missing semi colon, which breaks bison 1.5
llvm-svn: 10325
2003-12-08 20:15:33 +00:00
Chris Lattner
410d02303b Makefile updates contributed by Reid
llvm-svn: 10317
2003-12-08 07:08:00 +00:00
Chris Lattner
6cd99b2b4f * Squelch warning on Sun
* stdlib and friends are system headers
* 'long long' is the type that consistently turns into the LLVM 'long' type.

llvm-svn: 10241
2003-11-27 07:48:45 +00:00
John Criswell
a15a79a03e Adjusted the projects Makefile so that it picks up the name of projects
by scanning the source tree (not the object tree).

llvm-svn: 10223
2003-11-25 20:37:45 +00:00
John Criswell
0b28c928d0 Configure script for ModuleMaker.
llvm-svn: 10216
2003-11-25 20:02:07 +00:00
John Criswell
c21daab19d Auto-confed ModuleMaker.
llvm-svn: 10215
2003-11-25 19:59:59 +00:00
John Criswell
7e7ae396e1 Auto-conf'ed the ModuleMaker code.
Moved Makefile.common to Makefile.common.in.

llvm-svn: 10214
2003-11-25 19:59:21 +00:00
Brian Gaeke
f8d1fc4a4e Apply patches from PR136
llvm-svn: 10192
2003-11-24 02:57:25 +00:00