Reid Spencer
dfb3fb4a25
Implement PR614:
...
These changes modify the makefiles so that the output of flex and bison are
placed in the SRC directory, not the OBJ directory. It is intended that they
be checked in as any other LLVM source so that platforms without convenient
access to flex/bison can be compiled. From now on, if you change a .y or
.l file you *must* also commit the generated .cpp and .h files.
llvm-svn: 23115
2005-08-27 18:50:39 +00:00
Reid Spencer
daeb5f0900
The previous hack didn't work because tools-only isn't defined and isn't
...
a target at this level of build. There shouldn't be a problem with building
the runtime library without llvm-gcc because the Makefile.rules checks
for an empty LLVMGCC variable before building bytecode modules.
llvm-svn: 21942
2005-05-13 17:42:54 +00:00
Reid Spencer
74905e0fb5
Don't build runtime if tools-only :)
...
llvm-svn: 21938
2005-05-13 16:17:58 +00:00
Reid Spencer
7063d1aa71
WHILE does not "pop" a value, it "examines" to top of stack. Make this
...
clear in the applicable comment.
llvm-svn: 21682
2005-05-04 15:33:48 +00:00
Jeff Cohen
8047f13a88
Eliminate tabs and trailing spaces
...
llvm-svn: 21479
2005-04-23 21:26:11 +00:00
Misha Brukman
b1c9317bb4
Remove trailing whitespace
...
llvm-svn: 21427
2005-04-21 23:48:37 +00:00
Alkis Evlogimenos
9ead0d7b4c
Rename createPromoteMemoryToRegister() to
...
createPromoteMemoryToRegisterPass() to be consistent with other pass
creation functions.
llvm-svn: 20885
2005-03-28 02:01:12 +00:00
Reid Spencer
d8d9fb325f
Build a module instead of a library so main() is not missed
...
llvm-svn: 18525
2004-12-05 05:18:16 +00:00
Reid Spencer
4bc9b0ff4a
Get rid of drivel.
...
Ensure the lex/yacc output are specified as BUILT_SOURCES so they get
built first.
llvm-svn: 17290
2004-10-28 01:25:28 +00:00
Reid Spencer
30d8baea8d
Adjust to changes in Makefile.rules
...
llvm-svn: 17167
2004-10-22 21:02:08 +00:00
Misha Brukman
8da107a68f
Remove exhuberant-style comments which remained from copying file from `sample'
...
llvm-svn: 16909
2004-10-11 00:56:41 +00:00
Misha Brukman
e67286641e
Fix file header comment
...
llvm-svn: 16907
2004-10-11 00:54:59 +00:00
Chris Lattner
b0c8aab038
This pass is not needed, as there is only ever one global: the stack
...
llvm-svn: 16800
2004-10-07 04:10:36 +00:00
Reid Spencer
d684790778
Stacker compiler library doesn't need to be shared and it can cause
...
problems on some platforms (like Solaris).
llvm-svn: 16365
2004-09-15 06:22:54 +00:00
Reid Spencer
950d604ef9
Make Stacker into a complete project with its own configuration.
...
llvm-svn: 16167
2004-09-04 19:48:50 +00:00
Reid Spencer
fbd716d621
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
Brian Gaeke
45fb84d68d
Unbreak build
...
llvm-svn: 16139
2004-09-02 03:24:08 +00:00
Reid Spencer
7c16caa336
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
Reid Spencer
f20d76d71e
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
Misha Brukman
63b38bd2ed
Fix #includes of i*.h => Instructions.h as per PR403.
...
llvm-svn: 15334
2004-07-29 17:30:56 +00:00
Chris Lattner
781479c7d7
Add support for dos-style files
...
llvm-svn: 13840
2004-05-27 18:28: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
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
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
Brian Gaeke
49f7a39017
Apply patches from PR136
...
llvm-svn: 10192
2003-11-24 02:57: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
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