Commit Graph

9284 Commits

Author SHA1 Message Date
Chris Lattner be157c0303 Work with gepi's and constant exprs. Also, add versions of iterator ctors that take references
llvm-svn: 10220
2003-11-25 20:17:49 +00:00
Chris Lattner a346e64218 Fix file header
llvm-svn: 10219
2003-11-25 20:11:47 +00:00
Chris Lattner c3de7c4ec2 Remove dead variable
llvm-svn: 10218
2003-11-25 20:11:00 +00:00
Chris Lattner 388bc98954 Use gep_type_begin/end instead of looking for ubytes
llvm-svn: 10217
2003-11-25 20:10:07 +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
Chris Lattner fbcc1bf418 Rename class to be consistent with other iterator classes
llvm-svn: 10213
2003-11-25 19:58:35 +00:00
Chris Lattner 4fc8dc08b4 Initial checkin of gep_type_begin/end which will be used to address PR82
llvm-svn: 10212
2003-11-25 19:37:28 +00:00
John Criswell 6df35dd70d All directory targets now install the Makefile only if it is missing.
Directory targets no longer check for existance of the directory in the
object tree; if the Makefile doesn't exist, we will re-create the directory.
This seems to be a pretty good assumption and saves us from checking
directory existance each time.

llvm-svn: 10211
2003-11-25 19:32:22 +00:00
Chris Lattner 359974801e Finegrainify namespacification
llvm-svn: 10210
2003-11-25 18:33:40 +00:00
John Criswell e8eab29899 Added a pseudo-hack: The Makefile now copies Makefiles from source tree to
object tree if it is missing.  This means that new Makefiles should get
picked up automagically, requiring less bothersome re-configuring after
updates.

llvm-svn: 10209
2003-11-25 17:49:22 +00:00
Chris Lattner 83f43a0469 boog
llvm-svn: 10207
2003-11-25 08:49:12 +00:00
Chris Lattner 1ffe97d37e testcase for PR 148
llvm-svn: 10206
2003-11-25 08:45:38 +00:00
Chris Lattner 4d9a30c0c4 Testcase for PR147
llvm-svn: 10205
2003-11-25 03:58:49 +00:00
Chris Lattner 2a18c640df Fix PR147
llvm-svn: 10204
2003-11-25 03:54:16 +00:00
Chris Lattner 7471686252 add link to the stacker dox
llvm-svn: 10203
2003-11-25 03:32:57 +00:00
Chris Lattner 866cf53102 Minor fixes
llvm-svn: 10202
2003-11-25 01:44:27 +00:00
Chris Lattner 89e5fc82bb Apply docs patch fro Reid
llvm-svn: 10201
2003-11-25 01:35:06 +00:00
Chris Lattner 48b383b015 checkin reid's docpatch
llvm-svn: 10200
2003-11-25 01:02:51 +00:00
John Criswell b1367f4af7 Modified directory building rules so that using the cd program/alias is
not necessary.

llvm-svn: 10199
2003-11-24 18:31:01 +00:00
Brian Gaeke 31715d3a42 Apply doc patch from PR136.
llvm-svn: 10198
2003-11-24 17:03:38 +00:00
Misha Brukman bb718f14e0 Fix copy-pasto.
llvm-svn: 10197
2003-11-24 05:36:38 +00:00
Misha Brukman c10bf39a7d I'm gonna be picky and say we don't really need that trailing slash "lib/"
llvm-svn: 10196
2003-11-24 05:31:57 +00:00
Misha Brukman 44a562bba6 Make sure we ONLY add a `-load' switch to the JIT command line if the file is
verified as having an ELF header. This fixes PR151.

llvm-svn: 10195
2003-11-24 05:29:42 +00:00
Misha Brukman f0c7647c11 Expose functionality to query if a file is an ELF shared object.
llvm-svn: 10194
2003-11-24 05:28:39 +00:00
Misha Brukman 7c9144b5f5 Add ability to query if a file is a legitimate ELF shared object.
llvm-svn: 10193
2003-11-24 05:28:12 +00:00
Brian Gaeke 49f7a39017 Apply patches from PR136
llvm-svn: 10192
2003-11-24 02:57:25 +00:00
Brian Gaeke cd52465b70 Regenerated using autoconf-2.57
llvm-svn: 10191
2003-11-24 02:54:57 +00:00
Brian Gaeke afa30637ec Add Stacker directories.
llvm-svn: 10190
2003-11-24 02:54:17 +00:00
Brian Gaeke af20761f7e Add documentation for Stacker.
llvm-svn: 10189
2003-11-24 02:52:51 +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
Chris Lattner 3f1ad878ac Do not DESTROY programs by default. No wonder bugpoint was not being useful all this time!
llvm-svn: 10175
2003-11-23 04:51:05 +00:00
Brian Gaeke edb102c266 A better way to get std::pair into the compiler's little, walnut-sized brain.
llvm-svn: 10174
2003-11-23 03:50:31 +00:00
Brian Gaeke 124d7fd7f0 This is a hack to make this file compile under g++-3.0.x;
otherwise it can't decide what std::pair is. It seemed relatively
harmless.

llvm-svn: 10173
2003-11-23 00:55:27 +00:00
Chris Lattner db8a179838 Revert the previous patch since it causes lots of miscompilations. :( :(
llvm-svn: 10172
2003-11-22 19:07:47 +00:00
Brian Gaeke 84c0efc946 Support constant casting constant pointers to ints/uints, and/or
the other way around, instead of failing a large, tumor-like assertion.

llvm-svn: 10171
2003-11-22 07:18:25 +00:00
Brian Gaeke 9ba9225b35 Constant shift expressions, meet InstSelectSimple. Yow!!
llvm-svn: 10170
2003-11-22 06:49:41 +00:00