Chris Lattner
e38c628939
Minor edits
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9399 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 03:55:23 +00:00
Chris Lattner
c3afd9bf4b
Make this pass substantially stronger by having it delete dead return values
...
as well as arguments. Now it can delete arguments and return values which are
only passed into other arguments or are returned, if they are dead. This causes
it to delete several hundred extra args/retvals from the C++ hello world program,
shrinking it by about 2K.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9398 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 03:48:17 +00:00
Chris Lattner
3087550362
To say this file is obsolete to understate the obvious
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9397 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 03:30:55 +00:00
Misha Brukman
b215425bb0
Really close the <li> tags.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9396 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 02:29:42 +00:00
Misha Brukman
e8320f29af
Remove extraneous comments.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9395 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 01:50:39 +00:00
Misha Brukman
21b892c224
* Quote a value in <font> tag.
...
* Let CVS figure out the last-modified-date for us
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9394 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 01:49:47 +00:00
Misha Brukman
83bd33a814
* Use UTF-8 instead of ISO-8859-1
...
* Use stylesheet instead of explicit <font> formatting
* Stop using <ul> for layout
* Close <li> tags
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9393 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 01:48:33 +00:00
Misha Brukman
cd11e45d61
* Use UTF-8 instead of soon-to-be-extinct ISO-8859-1 ;)
...
* Use stylesheets instead of explicit <font> tags
* Stop using <ul> for spacing layout
* Close <a> and <p> tags
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9392 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 23:27:16 +00:00
Misha Brukman
4b0faec559
We will distributed this stylesheet with the documentation, as well as use it
...
(via import) in the online version.
* Added styles for documentation headers, sections, etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9391 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 23:23:49 +00:00
Chris Lattner
ce94319558
This important patch fixes two warnings in the linker which can occur from linking
...
valid pieces of code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9390 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 23:03:38 +00:00
Chris Lattner
de0dcc3593
New testcase for the deadreturnvalue deletion extension to -deadargelim
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9389 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 22:33:59 +00:00
Brian Gaeke
3692fd97a6
Change the type of FnAllocState.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9388 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 20:44:29 +00:00
Brian Gaeke
60a3c55c4f
Don't worry about converting each function's reg. alloc. state into One Big
...
Constant early on, because we can do it in doFinalization.
Tighten up a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9387 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 20:44:23 +00:00
Brian Gaeke
b8dc21e1e2
Add prototype for verifySavedState().
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9386 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 20:23:13 +00:00
Brian Gaeke
af84370908
Doxygenify method comments.
...
Try to improve method comments a little.
Get rid of some excess whitespace; put braces on previous line when possible.
Add stub for method to verify the work of saveState().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9385 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 20:22:53 +00:00
Chris Lattner
b7c4c992be
This is a disgusting hack that improves code substantially, by making
...
callgraphSCC passes more effective.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9384 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 18:53:31 +00:00
Brian Gaeke
15a2a25aa6
Clarify our testing experience.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9383 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 18:19:08 +00:00
Brian Gaeke
a493aa3023
Do not check for strings.h. This is an old, old, old pre-C89 header that
...
absolutely nothing should be using (and it looks like nothing IS using it).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9381 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 17:52:56 +00:00
Brian Gaeke
e1ff6cd6c4
I think this file is not included by anything.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9380 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 17:51:28 +00:00
Misha Brukman
afac73e5ea
* Changed URL referring to zion to use llvm instead
...
* Close <li> tags
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9378 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 17:01:44 +00:00
Chris Lattner
59dc17873d
Do not add unreachable code to a natural loop!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9377 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 16:41:21 +00:00
Chris Lattner
d073ea0053
Make sure to print labels on nodes without names
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9376 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 16:30:58 +00:00
Chris Lattner
a75b3ef9a8
If the basic block has no name, make sure to print the % number of it
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9375 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 16:22:42 +00:00
Chris Lattner
002362c837
Implement the Function::viewCFG* methods, for use in a debugger. Also, the
...
-print-cfg pass now lives here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9374 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 16:03:49 +00:00
Chris Lattner
c149c47d1f
Add two new function stubs for viewing the CFG of a function inside of the
...
debugger
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9373 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 16:03:20 +00:00
Chris Lattner
3b39537e71
Delete the -print-cfg pass from this file
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9372 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 16:02:58 +00:00
John Criswell
4d37c7b830
Added information on using Bugzilla.
...
Removed information on using llvm-bugs to report bugs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9371 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 15:06:11 +00:00
Misha Brukman
0b51e4a438
Add comments to describe what these functions actually do.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9370 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 05:50:40 +00:00
Misha Brukman
3494329a26
* Use <cmath> instead of <math.h>
...
* Order #includes according to LLVM coding standards
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9369 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 05:09:56 +00:00
Misha Brukman
f978ef56fc
Removed completely duplicated function comment (an identical one appears later).
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9368 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 04:55:09 +00:00
Misha Brukman
bb8c863e27
No, really, order the #includes correctly.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9367 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 04:51:36 +00:00
Chris Lattner
6be5e567ce
Update the 'used' flag correctly
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9366 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 04:43:18 +00:00
Chris Lattner
4cb766af4a
Loop over the module, not the symbol table. This makes the code handle
...
unused external functions again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9365 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 04:42:20 +00:00
Chris Lattner
20678b96ea
New library needed
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9364 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 03:40:33 +00:00
Chris Lattner
efd47ba3ac
Implement FunctionResolve/2003-10-21-GlobalResolveHack.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9363 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 03:35:34 +00:00
Chris Lattner
f4e643ffe0
New testcase for fun hack that is absolutely necessary for the C++ stdlib.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9362 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 03:35:18 +00:00
Misha Brukman
523b30cb59
* Fix order of #includes to follow style guide
...
* It's no longer a BasicBlock pass: update comment on run() method
* Fix placement of braces to be consistent
* Delete extraneous whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9361 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 03:27:45 +00:00
Misha Brukman
2e385b4622
Converted tabs to spaces.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9360 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 03:10:26 +00:00
Chris Lattner
5858e1e3f3
Fix bug: FunctionResolve/2003-10-21-GlobalTypeDifference.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9359 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 23:17:56 +00:00
Chris Lattner
4b611631bc
New testcase: globals should be linked if they are the wrong type. We should
...
just moan loudly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9358 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 23:17:45 +00:00
Chris Lattner
aeb18ce9c0
Fix bug: Linker/2003-10-21-ConflictingTypesTolerance.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9357 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 22:46:38 +00:00
Chris Lattner
3d6a08d131
New testcase. The linker should not consider it an error if two types
...
disagree. It should grumble, then go ahead and do it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9356 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 22:46:22 +00:00
Brian Gaeke
46079d2274
Add C/C++ build instructions, first draft.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9355 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 21:58:38 +00:00
Chris Lattner
f85770c9a6
Fix message to make more sense and confuse Chris less
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9354 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 21:52:20 +00:00
Chris Lattner
db15798e2e
New testcase, fixed in the C++ frontend
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9353 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 21:33:18 +00:00
John Criswell
e04c2630f2
Added the name of the public CVS repository.
...
Removed the use of CVSROOTDIR as it is no longer used.
Fixed some word wrapping.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9352 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 21:24:38 +00:00
Brian Gaeke
f1fce0881f
Fix off-by-one error in processing of libraries named on command line.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9351 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 21:07:12 +00:00
John Criswell
2b89a6a931
Adding information on what testing support is provided by the LLVM build
...
system. Currently, it is not much.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9348 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 19:35:06 +00:00
Misha Brukman
2a211c4cd2
Add dummy content for libgdbm.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9344 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 18:26:07 +00:00
Misha Brukman
724d084da0
Fix libm's name to be `libm'
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9343 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 18:25:37 +00:00