Reid Spencer
90b057bf2a
Moved these files to "SmallExamples" directory.
...
llvm-svn: 15925
2004-08-19 20:16:42 +00:00
Reid Spencer
f30f28e05f
Add the fibonacci example provided by Valery Khamenya.
...
llvm-svn: 15924
2004-08-19 20:10:04 +00:00
Reid Spencer
7d12179af1
Make the SmallExamples programs compile in their new home.
...
llvm-svn: 15923
2004-08-19 20:09:14 +00:00
Chris Lattner
30411e0973
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
f56b692110
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
e66c307d2a
Fix a copy & paste error .. correct the description of the program.
...
llvm-svn: 15623
2004-08-10 19:18:51 +00:00
Reid Spencer
b8773e31d8
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
63b38bd2ed
Fix #includes of i*.h => Instructions.h as per PR403.
...
llvm-svn: 15334
2004-07-29 17:30:56 +00:00
Reid Spencer
c35d141fc8
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
00fc1c5fa4
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
781479c7d7
Add support for dos-style files
...
llvm-svn: 13840
2004-05-27 18:28:32 +00:00
Chris Lattner
84647525f6
Header moved
...
llvm-svn: 13812
2004-05-27 05:37:32 +00:00
Brian Gaeke
4db22f625e
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
9dca2d7852
Unbreak the build on X86.
...
llvm-svn: 13460
2004-05-11 14:08:54 +00:00
Brian Gaeke
a9cfeeb826
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
f120c9d69b
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
b6b0f46220
Do not depend on the path to bash
...
llvm-svn: 13457
2004-05-11 07:42:19 +00:00
Brian Gaeke
940c2a8306
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
be4fadf1b8
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
cf2b18791a
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
c0ba90e35c
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
c75bf528c1
Remove dependence on the return type of ConstantArray::get
...
llvm-svn: 11463
2004-02-15 04:05:58 +00:00
Brian Gaeke
09db53be57
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
b662b064f6
Add a missing semi colon, which breaks bison 1.5
...
llvm-svn: 10325
2003-12-08 20:15:33 +00:00
Chris Lattner
bd7356a5d3
Makefile updates contributed by Reid
...
llvm-svn: 10317
2003-12-08 07:08:00 +00:00
Chris Lattner
2a7033255e
* 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
4d29d2d222
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
ec83537e24
Configure script for ModuleMaker.
...
llvm-svn: 10216
2003-11-25 20:02:07 +00:00
John Criswell
7cf9343ff2
Auto-confed ModuleMaker.
...
llvm-svn: 10215
2003-11-25 19:59:59 +00:00
John Criswell
f7f165d79b
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
49f7a39017
Apply patches from PR136
...
llvm-svn: 10192
2003-11-24 02:57:25 +00:00
Chris Lattner
d23b79e525
Add a script I missed
...
llvm-svn: 10188
2003-11-23 18:12:51 +00:00
Chris Lattner
6484bf7423
Checkin tests
...
llvm-svn: 10187
2003-11-23 18:12:22 +00:00
Chris Lattner
75759839b2
Disable test.
...
llvm-svn: 10186
2003-11-23 18:10:25 +00:00
Chris Lattner
210bccc1c2
Fix these assertions:
...
stkrc -e -f -o testing.bc testing.st
Global is external, but doesn't have external linkage!
[1024 x int]* %_stack_
Global is external, but doesn't have external linkage!
long* %_index_
Broken module found, compilation aborted!
llvm-svn: 10185
2003-11-23 18:06:37 +00:00
Chris Lattner
3425ec0764
Checkin the stacker compiler
...
llvm-svn: 10184
2003-11-23 18:01:26 +00:00
Chris Lattner
f2f20d2940
Fix file header
...
llvm-svn: 10183
2003-11-23 17:59:43 +00:00
Chris Lattner
67ac5055cf
Initial checkin
...
llvm-svn: 10182
2003-11-23 17:58:46 +00:00
Chris Lattner
1a12f7c9ca
Initial checkin of stacker samples
...
llvm-svn: 10181
2003-11-23 17:55:19 +00:00
Chris Lattner
ce06685210
Adjust file header
...
llvm-svn: 10180
2003-11-23 17:54:18 +00:00
Chris Lattner
3e6e58efc0
Initial checkin of stacker runtime
...
llvm-svn: 10179
2003-11-23 17:53:46 +00:00
Chris Lattner
42472ef3bc
Initial stacker checkin
...
llvm-svn: 10178
2003-11-23 17:52:55 +00:00
Chris Lattner
cea87e289f
Update file header
...
llvm-svn: 10177
2003-11-23 17:51:56 +00:00
Chris Lattner
4594ed9048
initial checkin of stacker makefile
...
llvm-svn: 10176
2003-11-23 17:51:37 +00:00
Brian Gaeke
960707c335
Put all LLVM code into the llvm namespace, as per bug 109.
...
llvm-svn: 9903
2003-11-11 22:41:34 +00:00
John Criswell
3ea4445600
Removed LLVM copyright from sample Makefile.
...
llvm-svn: 9326
2003-10-21 15:33:12 +00:00
John Criswell
f9924ce362
Removed LLVM copyright notice from sample Makefile.
...
llvm-svn: 9325
2003-10-21 15:31:36 +00:00
John Criswell
ac028f18af
Added LLVM copyrights to Makefiles.
...
llvm-svn: 9313
2003-10-20 22:28:01 +00:00
John Criswell
7d13d565af
Adding license information for the sample project.
...
llvm-svn: 9209
2003-10-17 21:37:26 +00:00
John Criswell
b9c70bb653
Modified the Makefile so that the sample library is linked dynamically.
...
llvm-svn: 9194
2003-10-17 17:47:08 +00:00
John Criswell
dd8d7829b3
Adding autoconf support to the sample project.
...
llvm-svn: 9150
2003-10-16 01:45:35 +00:00
John Criswell
419c0dab18
Adding autoconf support for the sample project.
...
This should make setting up a new project much easier.
llvm-svn: 9149
2003-10-16 01:45:10 +00:00
John Criswell
334a2ed2d1
Adding autoconf support for the sample project.
...
llvm-svn: 9148
2003-10-16 01:44:20 +00:00
John Criswell
bc4511c074
Checkin of autoconf-style object root.
...
Modified Makefiles to use the new Makefile setup in LLVM.
llvm-svn: 8380
2003-09-06 15:03:24 +00:00
Chris Lattner
cc4685a15e
Initial checkin
...
llvm-svn: 8039
2003-08-21 22:33:59 +00:00
Chris Lattner
3397792731
Initial checkin of ModuleMaker project
...
llvm-svn: 8036
2003-08-21 22:29:52 +00:00
Chris Lattner
ce4e6ee671
Remove commented out declaration
...
llvm-svn: 8032
2003-08-21 22:22:24 +00:00
Chris Lattner
256e28f916
Disable sample project until it works
...
llvm-svn: 7287
2003-07-23 23:28:57 +00:00
John Criswell
e17afeb1b4
Adding in sample project tree.
...
llvm-svn: 7018
2003-06-30 22:13:48 +00:00
John Criswell
568d13cf93
Adding in projects subtree.
...
llvm-svn: 7017
2003-06-30 22:12:19 +00:00