Commit Graph

105 Commits

Author SHA1 Message Date
Reid Spencer
54706d6801 Fix a copy & paste error .. correct the description of the program.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15623 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-10 19:18:51 +00:00
Reid Spencer
26a4ba73d3 Adding a simple example of how to use the JIT.
Contributed by Valery A. Khamenya. THANKS, Valery!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15622 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-10 19:14:36 +00:00
Misha Brukman
47b14a4a6a Fix #includes of i*.h => Instructions.h as per PR403.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15334 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-29 17:30:56 +00:00
Reid Spencer
6220aa8453 Group the hidden command line arguments.
Make the -s option actually work and default to the right value.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14735 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-10 23:35:46 +00:00
Reid Spencer
321f8319da Add #include <iostream> since Value.h doesn't include it any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14624 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-04 12:22:14 +00:00
Chris Lattner
12fe669203 Add support for dos-style files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13840 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 18:28:32 +00:00
Chris Lattner
6f9e6074a9 Header moved
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13812 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 05:37:32 +00:00
Brian Gaeke
379b380a8b Use inttypes.h, which exists on all of Linux, Solaris and Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13461 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-11 16:14:53 +00:00
Chris Lattner
3528a4be8e Unbreak the build on X86.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13460 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-11 14:08:54 +00:00
Brian Gaeke
a7750fc61f 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13459 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-11 07:45:28 +00:00
Brian Gaeke
2928a169bb Do not hardcode the name of gcc, because its full pathname may have been
specified by top-level configure


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13458 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-11 07:42:58 +00:00
Brian Gaeke
8c603ef339 Do not depend on the path to bash
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13457 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-11 07:42:19 +00:00
Brian Gaeke
c66d8b0aca Include <sys/types.h> to get the definition of int64_t on Solaris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13456 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-11 07:18:02 +00:00
Reid Spencer
dc8e6b59e7 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).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13441 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-09 23:20:19 +00:00
Misha Brukman
e803682f9a If we're going to use tabs, use them consistently. Maybe doxygen will find the
@parameter line documentation that way, too.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12966 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-15 15:38:48 +00:00
Chris Lattner
91ef460285 Avoid TRUE and FALSE which apparently conflict with some macros on OSX
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12566 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-31 03:49:47 +00:00
Chris Lattner
371064481a Remove dependence on the return type of ConstantArray::get
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11463 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-15 04:05:58 +00:00
Brian Gaeke
c745b4950d Fix apparent copy-and-paste-o.
Get rid of %debug - Mac OS X bison doesn't have it.  sigh.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10352 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-10 04:33:07 +00:00
Chris Lattner
1b9ce47603 Add a missing semi colon, which breaks bison 1.5
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10325 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-08 20:15:33 +00:00
Chris Lattner
0c82ee71dc Makefile updates contributed by Reid
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10317 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-08 07:08:00 +00:00
Chris Lattner
35976d91af * Squelch warning on Sun
* stdlib and friends are system headers
* 'long long' is the type that consistently turns into the LLVM 'long' type.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10241 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-27 07:48:45 +00:00
John Criswell
9b3b5dee7e Adjusted the projects Makefile so that it picks up the name of projects
by scanning the source tree (not the object tree).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10223 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 20:37:45 +00:00
John Criswell
bf6b5d0dbd Configure script for ModuleMaker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10216 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 20:02:07 +00:00
John Criswell
02af846a91 Auto-confed ModuleMaker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10215 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 19:59:59 +00:00
John Criswell
27bf6376da Auto-conf'ed the ModuleMaker code.
Moved Makefile.common to Makefile.common.in.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10214 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 19:59:21 +00:00
Brian Gaeke
3e4a271c89 Apply patches from PR136
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10192 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-24 02:57:25 +00:00
Chris Lattner
ac981ae3e8 Add a script I missed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10188 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 18:12:51 +00:00
Chris Lattner
e44f1db6e6 Checkin tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10187 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 18:12:22 +00:00
Chris Lattner
7610029346 Disable test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10186 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 18:10:25 +00:00
Chris Lattner
c7afc06316 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!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10185 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 18:06:37 +00:00
Chris Lattner
767a1e462d Checkin the stacker compiler
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10184 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 18:01:26 +00:00
Chris Lattner
afec3dc21f Fix file header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10183 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 17:59:43 +00:00
Chris Lattner
42cb6df6a1 Initial checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10182 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 17:58:46 +00:00
Chris Lattner
9d014e70bb Initial checkin of stacker samples
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10181 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 17:55:19 +00:00
Chris Lattner
900f12b9f0 Adjust file header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10180 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 17:54:18 +00:00
Chris Lattner
302810dbad Initial checkin of stacker runtime
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10179 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 17:53:46 +00:00
Chris Lattner
f608e85323 Initial stacker checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10178 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 17:52:55 +00:00
Chris Lattner
3fabd81605 Update file header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10177 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 17:51:56 +00:00
Chris Lattner
2025b24bfd initial checkin of stacker makefile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10176 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 17:51:37 +00:00
Brian Gaeke
d0fde30ce8 Put all LLVM code into the llvm namespace, as per bug 109.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-11 22:41:34 +00:00
John Criswell
7939597b62 Removed LLVM copyright from sample Makefile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9326 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 15:33:12 +00:00
John Criswell
c2bc2f144f Removed LLVM copyright notice from sample Makefile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9325 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 15:31:36 +00:00
John Criswell
e26ba9fb3f Added LLVM copyrights to Makefiles.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9313 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-20 22:28:01 +00:00
John Criswell
0e077f7251 Adding license information for the sample project.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9209 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-17 21:37:26 +00:00
John Criswell
8a7ae306b2 Modified the Makefile so that the sample library is linked dynamically.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9194 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-17 17:47:08 +00:00
John Criswell
451f67f951 Adding autoconf support to the sample project.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9150 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-16 01:45:35 +00:00
John Criswell
caca6ea4e4 Adding autoconf support for the sample project.
This should make setting up a new project much easier.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9149 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-16 01:45:10 +00:00
John Criswell
607b1ea241 Adding autoconf support for the sample project.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9148 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-16 01:44:20 +00:00
John Criswell
a37fefd064 Checkin of autoconf-style object root.
Modified Makefiles to use the new Makefile setup in LLVM.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8380 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-06 15:03:24 +00:00
Chris Lattner
9534acbf77 Initial checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8039 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-21 22:33:59 +00:00
Chris Lattner
8ca0eebe4e Initial checkin of ModuleMaker project
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8036 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-21 22:29:52 +00:00
Chris Lattner
c137b3043f Remove commented out declaration
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8032 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-21 22:22:24 +00:00
Chris Lattner
c3c1d32043 Disable sample project until it works
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7287 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-23 23:28:57 +00:00
John Criswell
723ccd615f Adding in sample project tree.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7018 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-30 22:13:48 +00:00
John Criswell
2f8b41738e Adding in projects subtree.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7017 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-30 22:12:19 +00:00