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
Brian Gaeke
8581a625df
Unbreak this test case - llvm-as no longer tolerates redefining names in any
...
given type plane.
llvm-svn: 10169
2003-11-22 06:18:35 +00:00
Brian Gaeke
e42b8fd298
Stub for constant shift expr support.
...
llvm-svn: 10168
2003-11-22 05:18:35 +00:00
Brian Gaeke
03f3611633
Fix PR149 - support constant shift expressions.
...
llvm-svn: 10167
2003-11-22 05:02:56 +00:00
Brian Gaeke
27a077209b
Strengthen test case.
...
llvm-svn: 10166
2003-11-22 05:01:57 +00:00
Brian Gaeke
b4c1782c7a
C Writer was dumping core on this test case.
...
llvm-svn: 10165
2003-11-22 04:58:25 +00:00
Chris Lattner
28ebb3e0a6
Delete dead line
...
llvm-svn: 10164
2003-11-22 02:26:17 +00:00
Chris Lattner
f40cdbe856
Fix bug: Transforms/PruneEH/2003-11-21-PHIUpdate.llx
...
llvm-svn: 10163
2003-11-22 02:20:36 +00:00
Chris Lattner
519900a36d
New testcase that breaks the pruneeh pass
...
llvm-svn: 10162
2003-11-22 02:20:08 +00:00
Chris Lattner
4cc2cc5c58
Do not crash when deleing a region with a dead invoke instruction
...
llvm-svn: 10161
2003-11-22 02:13:08 +00:00
Chris Lattner
7b233af247
Do not crash when dealing with invoke and unwind instructions!
...
llvm-svn: 10160
2003-11-22 02:10:38 +00:00
Chris Lattner
1e6089c2d6
Use new interfaces
...
llvm-svn: 10159
2003-11-22 02:10:26 +00:00
Misha Brukman
74d4df83cd
Switch to the standard footer. This page is not yet W3C-compliant.
...
llvm-svn: 10158
2003-11-22 01:30:01 +00:00
Chris Lattner
1ad805977d
Finegrainify namespacification
...
The module stripping pass should not strip symbols on external globals
llvm-svn: 10157
2003-11-22 01:29:35 +00:00
Misha Brukman
e8e932a671
Align the W3C images on the right side, bottom of page.
...
llvm-svn: 10156
2003-11-22 01:26:21 +00:00
Misha Brukman
85ea4bb678
Styles for the page footer to align images properly.
...
llvm-svn: 10155
2003-11-22 01:23:53 +00:00
Misha Brukman
68aab3b3cf
Put the W3C graphics on the right side of the page.
...
llvm-svn: 10154
2003-11-22 01:23:39 +00:00
Chris Lattner
3a9b2322e3
Add newly fixed pr
...
llvm-svn: 10153
2003-11-22 01:14:58 +00:00
Misha Brukman
58ec434f03
This page now uses valid HTML 4.01 Strict and valid CSS.
...
llvm-svn: 10152
2003-11-22 01:07:30 +00:00
Misha Brukman
7cb4e38e2e
This document is now valid HTML 4.01 Strict and valid CSS.
...
We shall display images to that effect.
If you modify this file, check that you haven't broken anything by clicking on
those links, or I will hunt you down and force you to memorize the HTML and CSS
specs!!
llvm-svn: 10151
2003-11-22 01:00:11 +00:00
Misha Brukman
bff6032a34
* No borders on images used as links
...
* Drop font-size from doc_footer class
This is now valid CSS.
llvm-svn: 10150
2003-11-22 00:59:08 +00:00
Misha Brukman
80731b92ee
* Use stylesheets
...
* Close <li>, <a>, and <p> tags
llvm-svn: 10149
2003-11-22 00:38:41 +00:00
Misha Brukman
d181666052
* Add code to flush the ICache, which any self-respecting SMC must do
...
* Restore registers *after* everything else to avoid any possible side effects
This fixes McCat-imp.
llvm-svn: 10147
2003-11-21 23:48:54 +00:00
Chris Lattner
3ae303cc8c
Check return types of functions
...
llvm-svn: 10146
2003-11-21 22:32:23 +00:00
Misha Brukman
bc2d3308fe
Made paragraph structure more consistent.
...
llvm-svn: 10145
2003-11-21 22:30:25 +00:00
Chris Lattner
0e10ae4d0b
New testcase
...
llvm-svn: 10144
2003-11-21 22:28:49 +00:00
Misha Brukman
ffec0b7730
Added note about PR140: gccld generates script to run apps and load libraries.
...
llvm-svn: 10143
2003-11-21 22:11:12 +00:00
Chris Lattner
61b3f20bf1
Considering that CI is not even IN SCOPE here, I wooda thought the compiler
...
would have caught this. *sigh*
llvm-svn: 10142
2003-11-21 21:57:29 +00:00
Chris Lattner
f52e03c79e
Finegrainify namespacification
...
llvm-svn: 10138
2003-11-21 21:54:22 +00:00
Chris Lattner
456031eed7
Get rid of using decls, finegrainify namespacification
...
llvm-svn: 10137
2003-11-21 21:52:10 +00:00
Chris Lattner
51c28a5c1b
* Finegrainify namespacification
...
* Make the cost metric for passing constants in as arguments to functions MUCH
more accurate, by actually estimating the amount of code that will be constant
propagated away.
llvm-svn: 10136
2003-11-21 21:46:09 +00:00
Chris Lattner
a82f131abb
Finegrainify namespacification
...
Print out the costs for functions that AREN'T inlined as well
llvm-svn: 10135
2003-11-21 21:45:31 +00:00
Chris Lattner
52b4fb3fde
Reorder passes a bit. In particular, it makes sense to run globaldce IMMEDIATELY after funcresolve. Also, run the mem2reg pass _early_ so that IPCP and DAE actually do stuff.
...
Run instcombine and simplify cfg after this to cleanup the intraprocedural messes we create.
llvm-svn: 10134
2003-11-21 21:44:35 +00:00
Chris Lattner
dcdc371522
Fix problem Reid was having with external globals and nonexternal linkage
...
llvm-svn: 10133
2003-11-21 20:33:27 +00:00
Chris Lattner
199bb859a9
Don't crash on bogus source value
...
llvm-svn: 10132
2003-11-21 20:27:35 +00:00
Chris Lattner
189d19fb04
Finegrainify namespacification
...
llvm-svn: 10131
2003-11-21 20:23:48 +00:00
John Criswell
745d0a5414
Fixed another minor grammatical error.
...
llvm-svn: 10130
2003-11-21 17:42:22 +00:00
Chris Lattner
7e5e456d96
Fix some problems with assertions printing
...
llvm-svn: 10129
2003-11-21 17:35:51 +00:00
Chris Lattner
9d72c2f229
improve error message
...
llvm-svn: 10128
2003-11-21 17:06:29 +00:00
Chris Lattner
a29600046d
Minor cleanups and simplifications
...
llvm-svn: 10127
2003-11-21 16:52:05 +00:00
John Criswell
cc32e6e62a
Minor grammatical and punctuation corrections.
...
llvm-svn: 10126
2003-11-21 16:09:42 +00:00
Brian Gaeke
71040f9251
Clean more qmtest files.
...
llvm-svn: 10125
2003-11-21 01:12:47 +00:00
Chris Lattner
3bf4fd9030
This function REALLY DOES return void
...
llvm-svn: 10124
2003-11-20 21:22:32 +00:00
Chris Lattner
8791e26de1
* Finegrainify namespacification
...
* Implement FuncResolve/2003-11-20-BogusResolveWarning.ll
... which eliminates a large number of annoying warnings. I know misha
will miss them though!
llvm-svn: 10123
2003-11-20 21:21:31 +00:00
Chris Lattner
4eb18ce26d
Fix an all too common form of the 'Found global types that are not compatible' warning
...
llvm-svn: 10122
2003-11-20 21:04:35 +00:00
Chris Lattner
5eac2d6615
Bug
...
llvm-svn: 10121
2003-11-20 20:59:57 +00:00
Chris Lattner
72e6b0c252
New testcase for PR143
...
llvm-svn: 10120
2003-11-20 20:57:33 +00:00
Brian Gaeke
ce9a00cea6
Blow away compiled versions of qmtest classes on 'make clean'.
...
llvm-svn: 10119
2003-11-20 19:57:17 +00:00
Brian Gaeke
67ae512a4b
Fix0r a test that mistakenly used %llvmg++ instead of %llvmgxx.
...
llvm-svn: 10118
2003-11-20 19:51:11 +00:00
Chris Lattner
16bbed20fa
Bug
...
llvm-svn: 10117
2003-11-20 19:30:17 +00:00
Chris Lattner
e5c6861b70
New testcase for PR132
...
llvm-svn: 10116
2003-11-20 19:27:12 +00:00
Chris Lattner
65334f117c
Bug fix
...
llvm-svn: 10115
2003-11-20 19:11:47 +00:00
Misha Brukman
1df12628a0
When writing out the runner script, add -load=<lib> lines to pull in all the
...
shared objects automagically, so it doesn't have to be done by hand.
llvm-svn: 10114
2003-11-20 19:08:42 +00:00
Misha Brukman
c0e6157f99
Add ability to search only for native shared object, and expose the
...
functionality to the rest of gccld.
llvm-svn: 10113
2003-11-20 19:08:06 +00:00
Chris Lattner
f636784489
New testcase for PR141
...
llvm-svn: 10112
2003-11-20 19:05:21 +00:00
Chris Lattner
2af517281d
Start using the nicer terminator auto-insertion API
...
llvm-svn: 10111
2003-11-20 18:25:24 +00:00
Chris Lattner
63a0ccff44
Spew symbolic types!
...
llvm-svn: 10110
2003-11-20 18:23:14 +00:00
Chris Lattner
18e5d5228a
When spewing out warnings during function resolution, do not vomit out pages
...
and pages of non-symbolic types.
llvm-svn: 10109
2003-11-20 18:19:35 +00:00
Chris Lattner
9ab47d1625
Somehow I forgot poor little UnwindInst
...
*sniff*
llvm-svn: 10108
2003-11-20 18:11:56 +00:00
Chris Lattner
0e03ab67c3
* Finegrainify namespacification
...
* Add new constructors to allow insertion of terminator instructions at the
end of basic blocks.
* Move a ReturnInst method out-of-line, so that the vtable and type info don't
need to be emitted to every translation unit that uses the class.
llvm-svn: 10107
2003-11-20 17:45:12 +00:00
Chris Lattner
1183b6f5b0
* Add new constructors to allow insertion of terminator instructions at the
...
end of basic blocks.
* Document some confusing constructor combinations
* Move a ReturnInst method out-of-line, so that the vtable and type info don't
need to be emitted to every translation unit that uses the class.
llvm-svn: 10106
2003-11-20 17:44:37 +00:00
Misha Brukman
aa525937c7
For consistency, removed space between function name and left paren in function
...
call, i.e. [ addPass (...) ] => [ addPass(...) ]
llvm-svn: 10105
2003-11-20 06:26:15 +00:00
Misha Brukman
d16a03727b
* Doxygenified comments, simplifying them and shortening in the process
...
* Eliminated extra space
llvm-svn: 10104
2003-11-20 06:21:54 +00:00
Alkis Evlogimenos
0e9ded74c0
Merging the linear scan register allocator in trunk. It currently passes most tests under test/Programs/SingleSource/Benchmarks/Shootout so development will continue on trunk. The allocator is not enabled by default. You will need to pass -regallo=linearscan to lli or llc to use it.
...
llvm-svn: 10103
2003-11-20 03:32:25 +00:00
Chris Lattner
c4fe9729a2
One new bug fixed, one old bug fixed.
...
llvm-svn: 10102
2003-11-20 01:07:41 +00:00
Chris Lattner
5a3a2398f4
Testcase for PR113
...
llvm-svn: 10101
2003-11-20 00:32:57 +00:00
Chris Lattner
2447ef59c4
Don't crash if we are printing an orphaned basic block!
...
llvm-svn: 10100
2003-11-20 00:09:43 +00:00
Brian Gaeke
d2553359a8
Unbreak the "-" as filename hack.
...
llvm-svn: 10099
2003-11-19 22:15:00 +00:00
Chris Lattner
592db40359
bugz
...
llvm-svn: 10098
2003-11-19 22:05:38 +00:00
Brian Gaeke
618026afb2
Also print an error msg. for files we cannot currently deal with.
...
llvm-svn: 10097
2003-11-19 21:57:30 +00:00
Brian Gaeke
55447b4541
Fix PR134, by checking FileOpenable() on each input file before analyzing its
...
type.
llvm-svn: 10096
2003-11-19 21:52:09 +00:00
Chris Lattner
b1b4359294
New testcase for PR133
...
llvm-svn: 10095
2003-11-19 21:37:52 +00:00
John Criswell
f4720a1575
We now support different expectations for different OS's/architectures.
...
llvm-svn: 10094
2003-11-19 21:13:25 +00:00
Chris Lattner
29681dee09
Fine grainify namespaceification
...
llvm-svn: 10093
2003-11-19 21:08:57 +00:00
Chris Lattner
20816bc43e
update test
...
llvm-svn: 10092
2003-11-19 19:47:36 +00:00
Chris Lattner
efdc952714
Genericize tests
...
llvm-svn: 10091
2003-11-19 19:44:28 +00:00
Chris Lattner
ff675bf580
Cleanup test
...
llvm-svn: 10090
2003-11-19 19:42:12 +00:00
Chris Lattner
45cfe54683
Really, there was a reason for me factoring that out
...
llvm-svn: 10089
2003-11-19 19:20:20 +00:00
Chris Lattner
1a02ca932c
*** Significantly speed up type resultion
...
This change speeds up type resolution by checking to see if a type is
recursive, and if it's not, using a more efficient algorithm.
This dramatically reduces bytecode loading time of kc++, reducing time-to-jit
kc++ --version to 17s from 33s
llvm-svn: 10088
2003-11-19 19:10:23 +00:00
Chris Lattner
c39fcfff0d
Improve test portability
...
llvm-svn: 10087
2003-11-19 18:37:06 +00:00
Chris Lattner
d19da4ce5b
Fix testcase. This should no longer be XFAIL'd
...
llvm-svn: 10086
2003-11-19 18:34:44 +00:00
Chris Lattner
9c68fa3ab1
* Finegrainify namespacification
...
* Strength reduce several data structures which were left over from the
"bad old days"
* Minor efficiency improvements
* Major efficiency improvement: In BytecodeParser::insertValue, do not allocate
a new ValueTab entry just because some value exists with a large type. This
dramatically reduces the number of allocations/deallocations performed by the
bytecode reader, and speeds up parsing of Kimwitu++ from 34s to 17s. This is
to help address PR127
llvm-svn: 10085
2003-11-19 17:27:18 +00:00
Chris Lattner
8700c28ac9
Minor efficiency improvements, finegrainify namespacification
...
llvm-svn: 10084
2003-11-19 17:21:11 +00:00
Chris Lattner
bf346b526f
In the future, these slabs can be null...
...
llvm-svn: 10083
2003-11-19 17:20:42 +00:00
Chris Lattner
11e8f1b595
Minor efficiency improvements all over. Finegrainify Namespacification
...
llvm-svn: 10082
2003-11-19 17:17:36 +00:00
Chris Lattner
e8de15976a
Fine grainify namespacification, #include file that defines the interface!
...
llvm-svn: 10081
2003-11-19 16:06:55 +00:00
Chris Lattner
a11f78167b
Finegrainify namespacification
...
llvm-svn: 10080
2003-11-19 06:14:38 +00:00
Chris Lattner
ffa9d511f9
Minor speedup to do less linear time searches of information we already have.
...
speeds up disassembly of kc++ by .6s
llvm-svn: 10079
2003-11-19 06:01:12 +00:00
Chris Lattner
2335331635
add new FAQ entry
...
llvm-svn: 10078
2003-11-19 05:53:12 +00:00
Chris Lattner
983c667a41
More bugz
...
llvm-svn: 10077
2003-11-19 01:08:24 +00:00
Chris Lattner
eedde31b7d
New testcase for PR 130
...
llvm-svn: 10076
2003-11-19 01:03:16 +00:00
Chris Lattner
74c55dd4f9
Fix PR130, and testcase test/Regression/Linker/2003-11-18-TypeResolution.ll
...
llvm-svn: 10075
2003-11-19 01:02:52 +00:00
Chris Lattner
c4cc197549
Testcase for PR131
...
llvm-svn: 10074
2003-11-18 23:46:07 +00:00
Chris Lattner
cf40b3f394
Add a few new bugs
...
llvm-svn: 10073
2003-11-18 23:04:02 +00:00
Chris Lattner
ef8c3fed25
new testcase for PR126
...
llvm-svn: 10072
2003-11-18 21:05:55 +00:00
Chris Lattner
47487608a9
New testcase for PR125
...
llvm-svn: 10071
2003-11-18 20:30:00 +00:00
Chris Lattner
05906cf0f0
Testcase for PR128
...
llvm-svn: 10070
2003-11-18 20:24:46 +00:00
Chris Lattner
8c09ecf0c9
Fix PR123
...
llvm-svn: 10069
2003-11-18 17:47:05 +00:00
John Criswell
956cf45674
Added the new GCC front end section to the table of contents.
...
llvm-svn: 10068
2003-11-18 16:08:49 +00:00
John Criswell
5e0f07e0c2
Added information on the GCC front end.
...
llvm-svn: 10067
2003-11-18 16:05:23 +00:00
Brian Gaeke
921440c309
Only use -Wl,-R. if HAVE_LINK_R.
...
llvm-svn: 10066
2003-11-18 06:31:17 +00:00
Chris Lattner
37d449d870
Add new bug fixed in the CFE
...
llvm-svn: 10065
2003-11-18 06:25:05 +00:00
Brian Gaeke
d2ca66ee8c
Regenerated using autoheader-2.57
...
llvm-svn: 10064
2003-11-18 06:21:24 +00:00
Brian Gaeke
3f6b856c7d
Regenerated using autoconf-2.57
...
llvm-svn: 10063
2003-11-18 06:20:41 +00:00
Brian Gaeke
3ed17192d0
Fix breakage caused by typos. Use 3-arg form of AC_DEFINE.
...
llvm-svn: 10062
2003-11-18 06:19:27 +00:00
Brian Gaeke
e86d843420
Update to reflect the fact that llvm-nm can read archives now.
...
llvm-svn: 10061
2003-11-18 06:18:09 +00:00
Misha Brukman
be755279f3
Emit the MachineConstantPool constants in one contiguous memory `pool'.
...
llvm-svn: 10060
2003-11-17 20:40:07 +00:00
Misha Brukman
fc16bb1af5
* Order #includes as per style guide
...
* Delete blank comment lines
* Eliminate space between function name and open-paren ( to be consistent
llvm-svn: 10059
2003-11-17 20:37:02 +00:00
Chris Lattner
dc2e39191a
Implement == and != correctly. Before they would incorrectly return !=
...
for some constant exprs when they could really be the same value
llvm-svn: 10058
2003-11-17 20:19:35 +00:00
Chris Lattner
e120a73166
The ConstantPointer class is now gone.
...
llvm-svn: 10057
2003-11-17 19:47:21 +00:00
John Criswell
6ee0ed5745
Added a check for the -R linker option.
...
llvm-svn: 10056
2003-11-17 19:46:02 +00:00
Misha Brukman
4f7ce560d5
This file was somehow missing a top-level comment line.
...
llvm-svn: 10055
2003-11-17 19:35:17 +00:00
Chris Lattner
77f20dc13f
No REALLY, get rid of ConstantPointer references
...
llvm-svn: 10054
2003-11-17 19:21:04 +00:00
Chris Lattner
4b6addf98a
Eliminate use of the ConstantPointer class
...
llvm-svn: 10053
2003-11-17 19:19:32 +00:00
Chris Lattner
9d9cbcf246
Constant folding shalt not be built on annotations
...
llvm-svn: 10052
2003-11-17 19:05:17 +00:00
Chris Lattner
ea25538936
Remove usage of ConstantPointer
...
llvm-svn: 10051
2003-11-17 17:28:29 +00:00
Chris Lattner
c96e96b26d
Be a bit more tolerant of broken code
...
llvm-svn: 10050
2003-11-17 01:17:04 +00:00
Chris Lattner
a3bdbd0f82
Fix copy-and-pasteo
...
llvm-svn: 10049
2003-11-17 01:07:58 +00:00
Brian Gaeke
3589140eb7
Regenerated using autoconf-2.57.
...
llvm-svn: 10048
2003-11-17 00:31:43 +00:00
Brian Gaeke
7027ed8cd8
Edit some comments slightly.
...
Set OS (build OS) and ARCH (target arch) based on the proper elements (SYSTEM,
and CPU, respectively) of the CPU-COMPANY-SYSTEM tuples.
Add OS and ARCH settings for PowerPC/Darwin (Mac OS X).
llvm-svn: 10047
2003-11-17 00:30:48 +00:00
Brian Gaeke
c5961314fa
add PR117
...
llvm-svn: 10046
2003-11-16 23:49:26 +00:00
Brian Gaeke
9c917abe9f
Document -disable-opt option that I added.
...
llvm-svn: 10045
2003-11-16 23:39:11 +00:00
Brian Gaeke
747777795f
Include Support/FileUtilities.h.
...
Print module identifier in DumpSymbolNamesFromModule().
In DumpSymbolNamesFromFile(), check whether it is an archive or a bytecode
file, and call the corresponding reader function (ParseBytecodeFile or
ReadArchiveFile).
Unconditionally set MultipleFiles for archives.
Fixes PR117.
llvm-svn: 10044
2003-11-16 23:34:13 +00:00
Brian Gaeke
900cc96e08
Implement skeletal support for __.SYMDEF (ranlib) sections in archives.
...
Correctly parse the Long Filename section of the archive.
When reading in archive members, set their ModuleIDs to
"ARCHIVENAME(MEMBERNAME)", as is traditional.
llvm-svn: 10043
2003-11-16 23:08:48 +00:00
Brian Gaeke
fda1f1835b
When you hand WriteAsOperand a type, it now prints out its symbolic name.
...
llvm-svn: 10042
2003-11-16 23:08:27 +00:00
Brian Gaeke
9f47927b28
When failing a Verifier assertion, use WriteAsOperand to print out the
...
offending types and/or values.
llvm-svn: 10041
2003-11-16 23:07:42 +00:00
Brian Gaeke
eb3de8f39a
Add a -verify option to verify the results of gccld passes.
...
Add a -disable-opt option to turn off gccld optimization passes.
llvm-svn: 10040
2003-11-16 23:07:28 +00:00
Brian Gaeke
7ff0d09adc
When we find a module we want, in an archive, in verbose mode,
...
print out the module's identifier (which should now contain the name
of both the archive and the module.)
Wrap some lines at 80 cols.
llvm-svn: 10039
2003-11-16 23:07:13 +00:00
Chris Lattner
00211f1d80
Don't print 'No predecessors!' on the entry block
...
llvm-svn: 10038
2003-11-16 22:59:57 +00:00
Chris Lattner
9dd6a82318
Bugz fixed
...
llvm-svn: 10037
2003-11-16 22:11:42 +00:00
Chris Lattner
5529caeba7
There is no need to rely on LLI working for this test
...
llvm-svn: 10036
2003-11-16 22:07:45 +00:00
Chris Lattner
9005b8000c
ISO 9899 7.13.2.1 (3) says that "[...] the values of objects of automatic
...
storage duration that are local to the function containing the invocation of the
[...] setjmp macro that do not have volatile-qualified type and have been
changed between the setjmp invocation and longjmp call are indeterminate."
As such, we have to mark all variables in a function that uses 'invoke' as
volatile.
This fixes PR77
llvm-svn: 10035
2003-11-16 22:06:14 +00:00
Chris Lattner
eec1307f43
Testcase for PR116
...
llvm-svn: 10034
2003-11-16 21:47:01 +00:00
Chris Lattner
2f486b8bde
add adce bug
...
llvm-svn: 10033
2003-11-16 21:42:48 +00:00
Chris Lattner
841dd53555
Fix PR116
...
llvm-svn: 10032
2003-11-16 21:39:27 +00:00
Chris Lattner
1765b4cfbd
New testcase, for PR 115
...
llvm-svn: 10031
2003-11-16 20:47:05 +00:00
Chris Lattner
b2e4d6d847
Bugz
...
llvm-svn: 10030
2003-11-16 20:25:24 +00:00
Chris Lattner
82f87e63e8
Fixes for PR114: Thanks to Reid Spencer!
...
llvm-svn: 10029
2003-11-16 20:21:15 +00:00
Brian Gaeke
27b10bc781
Regenerated with autoconf-2.57.
...
llvm-svn: 10025
2003-11-16 18:38:14 +00:00
Brian Gaeke
dfbd3d466a
Only default to the llvm-gcc in ~lattner if that directory exists.
...
Only warn if python version is not right; don't abort.
Add sanity checks for --with-llvmgccdir, with a big warning message at the end.
llvm-svn: 10024
2003-11-16 18:37:46 +00:00
Brian Gaeke
2b00004734
As per PR96, don't build subdirs if LLVMGCCDIR is not set to something
...
reasonable, instead, print out a "LOUD warning".
llvm-svn: 10023
2003-11-16 06:51:53 +00:00
Misha Brukman
c40257f1e5
Stylesheets: they do a website good!
...
llvm-svn: 10003
2003-11-14 17:34:38 +00:00
Chris Lattner
ab6895ea76
Implement a small optimization to handling of GEP's that are equivalent to casts.
...
This results in substantially reduced collapsing for some testcases
llvm-svn: 10002
2003-11-14 17:09:46 +00:00
Chris Lattner
93dea78f85
I can't believe the incompetence of the people I have to deal with around here.
...
These fools don't even wrap code at 80 columns.
Oh wait, _I_ wrote that. That explains a lot!!
llvm-svn: 9999
2003-11-14 16:34:25 +00:00
Chris Lattner
7c04a29ea6
Bugz come in, bugs go out
...
llvm-svn: 9995
2003-11-14 06:42:01 +00:00
Chris Lattner
cd45bc4086
Fix PR 110: the constant folding code assumes that if something is not a
...
constant expression, but is of (for example) ubyte type, then it is a
ConstantUInt. This was not true for placeholders.
llvm-svn: 9994
2003-11-14 06:38:46 +00:00
Chris Lattner
116c4f73ad
This is obviously illegal C++ code, but was apparently accepted by 3.3
...
bork
llvm-svn: 9993
2003-11-14 06:03:05 +00:00
Misha Brukman
8b6d804cd3
Give props to Reid Spencer for the namespacification work.
...
llvm-svn: 9992
2003-11-14 05:37:10 +00:00
Misha Brukman
133b35ef95
Brian implemented the vaarg instruction in the interpreter.
...
llvm-svn: 9989
2003-11-14 03:30:43 +00:00
Chris Lattner
ef901291c6
Expose the verifier to opt
...
llvm-svn: 9984
2003-11-13 19:47:29 +00:00
Brian Gaeke
d8a4d2b08d
Removed link from the docs index too.
...
llvm-svn: 9983
2003-11-13 19:32:14 +00:00
Chris Lattner
093cc6dc92
As the comments indicate, this is a temporary, repulsive, hack
...
llvm-svn: 9982
2003-11-13 19:26:54 +00:00
Chris Lattner
d76fe4ea7d
Implement feature: InstCombine/2003-11-13-ConstExprCastCall.ll
...
llvm-svn: 9981
2003-11-13 19:17:02 +00:00
Chris Lattner
7ef8dfa9c3
Instcombine should promote this, and because it isn't, we are failing poolalloc tests
...
llvm-svn: 9980
2003-11-13 19:05:15 +00:00
Chris Lattner
a8150c3f8d
Trying to get the dsgraph for an external function is bad for DSA's health
...
llvm-svn: 9979
2003-11-13 18:48:11 +00:00
Misha Brukman
1608115bfc
Fixed word order.
...
llvm-svn: 9978
2003-11-13 18:03:11 +00:00
Chris Lattner
133ba7a2a6
NEW testcase for PR84 :(
...
llvm-svn: 9967
2003-11-13 06:19:56 +00:00