Commit Graph

9546 Commits

Author SHA1 Message Date
Chris Lattner 883b73f0a8 Fix bug in previous checkin
llvm-svn: 10231
2003-11-25 23:44:40 +00:00
John Criswell a0d50d2ebc Fixed a small grammatical error.
Explained that function return types cannot be aggregate types.
Explained that functions with the same name but different type signatures
are considered to be different functions.

llvm-svn: 10230
2003-11-25 21:45:46 +00:00
Chris Lattner f5569bb9a5 Fix const correctness
llvm-svn: 10229
2003-11-25 21:28:00 +00:00
Chris Lattner ad70d4a15b Relax constrains on GEP type indexes
llvm-svn: 10228
2003-11-25 21:21:46 +00:00
Chris Lattner 1c45d5185f It is legal to index into sequential types with any integer
llvm-svn: 10227
2003-11-25 21:20:19 +00:00
Chris Lattner 52310702a1 Do not use index type to determine what it is indexing into!
llvm-svn: 10226
2003-11-25 21:09:18 +00:00
Chris Lattner 637ee39933 Do not depend on the gep index types to determine what flavor of index it is
llvm-svn: 10225
2003-11-25 20:49:55 +00:00
Chris Lattner f078808a2b Do not depend on structure elements being of type UByteTy
llvm-svn: 10224
2003-11-25 20:44:56 +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 297baed1ec Configure all project directories contained in llvm/projects.
The autoconf program will generate a warning about how we should use a
literal in AC_CONFIG_SUBDIRS.  This warning can be ignored.

llvm-svn: 10222
2003-11-25 20:36:46 +00:00
Chris Lattner 567444309a Do not depend on index type to determine whether it is a structure or sequential index
llvm-svn: 10221
2003-11-25 20:19:55 +00:00
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