Commit Graph

9284 Commits

Author SHA1 Message Date
Chris Lattner
9d7c9ea053 Fix file header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10219 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 20:11:47 +00:00
Chris Lattner
b66214c5ad Remove dead variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10218 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 20:11:00 +00:00
Chris Lattner
1af55e1693 Use gep_type_begin/end instead of looking for ubytes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10217 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 20:10:07 +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
Chris Lattner
94a28c6bc8 Rename class to be consistent with other iterator classes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10213 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 19:58:35 +00:00
Chris Lattner
19ed305339 Initial checkin of gep_type_begin/end which will be used to address PR82
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10212 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 19:37:28 +00:00
John Criswell
b3866b69a5 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10211 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 19:32:22 +00:00
Chris Lattner
ec4e8085e8 Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10210 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 18:33:40 +00:00
John Criswell
6057760793 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10209 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 17:49:22 +00:00
Chris Lattner
38eeb15ad4 boog
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10207 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 08:49:12 +00:00
Chris Lattner
f7d10b7f86 testcase for PR 148
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10206 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 08:45:38 +00:00
Chris Lattner
edaa67446c Testcase for PR147
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10205 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 03:58:49 +00:00
Chris Lattner
0b268fb75e Fix PR147
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10204 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 03:54:16 +00:00
Chris Lattner
22e4686974 add link to the stacker dox
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10203 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 03:32:57 +00:00
Chris Lattner
0b404c83f4 Minor fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10202 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 01:44:27 +00:00
Chris Lattner
e46d601ffd Apply docs patch fro Reid
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10201 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 01:35:06 +00:00
Chris Lattner
261efe953b checkin reid's docpatch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10200 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 01:02:51 +00:00
John Criswell
5af06f62ea Modified directory building rules so that using the cd program/alias is
not necessary.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10199 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-24 18:31:01 +00:00
Brian Gaeke
07e89e43df Apply doc patch from PR136.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10198 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-24 17:03:38 +00:00
Misha Brukman
971a7b88b5 Fix copy-pasto.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10197 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-24 05:36:38 +00:00
Misha Brukman
0d2459a49f I'm gonna be picky and say we don't really need that trailing slash "lib/"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10196 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-24 05:31:57 +00:00
Misha Brukman
3e15c7a976 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10195 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-24 05:29:42 +00:00
Misha Brukman
a140b3c367 Expose functionality to query if a file is an ELF shared object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10194 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-24 05:28:39 +00:00
Misha Brukman
17cca96735 Add ability to query if a file is a legitimate ELF shared object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10193 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-24 05:28:12 +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
Brian Gaeke
866f10c493 Regenerated using autoconf-2.57
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10191 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-24 02:54:57 +00:00
Brian Gaeke
1548802650 Add Stacker directories.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10190 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-24 02:54:17 +00:00
Brian Gaeke
9018148f87 Add documentation for Stacker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10189 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-24 02:52:51 +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
Chris Lattner
c6b519d64e Do not DESTROY programs by default. No wonder bugpoint was not being useful all this time!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10175 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 04:51:05 +00:00
Brian Gaeke
9bb2188b0e A better way to get std::pair into the compiler's little, walnut-sized brain.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10174 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 03:50:31 +00:00
Brian Gaeke
6de98f242a 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10173 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 00:55:27 +00:00
Chris Lattner
3edb77c07e Revert the previous patch since it causes lots of miscompilations. :( :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10172 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 19:07:47 +00:00
Brian Gaeke
f9c86cf5cf Support constant casting constant pointers to ints/uints, and/or
the other way around, instead of failing a large, tumor-like assertion.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10171 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 07:18:25 +00:00
Brian Gaeke
dfcc9cfaa8 Constant shift expressions, meet InstSelectSimple. Yow!!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10170 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 06:49:41 +00:00
Brian Gaeke
3d55eda9da Unbreak this test case - llvm-as no longer tolerates redefining names in any
given type plane.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10169 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 06:18:35 +00:00