Misha Brukman
396c8c34ed
* Fix order of #include files
...
* Doxygen-ify method comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9432 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 18:06:27 +00:00
Misha Brukman
0d82a54bb9
* Order #includes as per style guide
...
* Doxygen-ify comments
* Make code layout more consistent
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9431 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 18:03:50 +00:00
Misha Brukman
a1f64355d7
* Use C++ style comments instead of C-style
...
* Make file description more readable
* Make code layout more consistent, include comment in assert so it's visible
during execution if it hits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9430 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 18:02:47 +00:00
Misha Brukman
1913848e33
* Eliminate `using' directive
...
* Order #includes as per style guide
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9429 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 18:00:34 +00:00
Chris Lattner
ff5bf9c62b
* We were forgetting to pass varargs arguments through a call
...
* Add a work around for bug PR56, gross but necessary for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9428 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 17:44:53 +00:00
Misha Brukman
0849f5ace9
* Eliminate `using' directive
...
* Make code layout more consistent
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9427 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 17:43:17 +00:00
Misha Brukman
5e152593e0
Make code layout more consistent.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9426 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 17:39:37 +00:00
Chris Lattner
eea7cca366
Zero arg varargs functions are legal in LLVM, but not in C.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9425 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 17:31:33 +00:00
Chris Lattner
cadff4477e
Delete unused EmitByteSwap method
...
Implement mul/div/rem constant expressions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9424 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 17:21:43 +00:00
Chris Lattner
d358e6fed5
Check in initial version of ipcp
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9423 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:52:27 +00:00
Chris Lattner
815904d373
Include new prototype
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9422 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:51:49 +00:00
Misha Brukman
b461d37be9
Make code layout more consistent.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9418 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:48:30 +00:00
Chris Lattner
d97487d1e0
Actually share constants local to a function!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9417 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:29:12 +00:00
Misha Brukman
c8893fcc71
* Order includes according to style guide
...
* Convert tabs to spaces
* Make code fit within 80 columns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9416 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:22:08 +00:00
Misha Brukman
1da2d6a1c4
* Stop referring to llvmbugs mailing list, point them to Bugzilla
...
* Use ASCII (c) instead of the special character, which may not display
correctly for everyone
* Wrap at 80 columns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9415 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:18:51 +00:00
Chris Lattner
5139f2b549
Update test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9414 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:01:03 +00:00
Chris Lattner
599dcb07f7
document real source of bug
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9413 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:00:59 +00:00
John Criswell
e35a61c70f
Added new license information in preparation for LLVM 1.0.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9410 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 15:57:59 +00:00
Chris Lattner
0655845a4a
fix test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9409 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 15:57:45 +00:00
Chris Lattner
de08597fe6
Fix test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9408 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 15:51:55 +00:00
Chris Lattner
8087e25017
Fix buggy test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9407 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 15:46:42 +00:00
Chris Lattner
5da69c79f9
Fix an assertion failure in Bugpoint
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9406 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 15:42:55 +00:00
John Criswell
49207925b3
Do not report errors if QMTest returns a non-zero value.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9404 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 14:11:53 +00:00
Chris Lattner
653de272c2
Fix bug: instcombine/2003-10-23-InstcombineNullFail.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9403 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 05:21:48 +00:00
Chris Lattner
5e845c5444
A new testcase for an instcombine miscompilation!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9402 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 05:10:53 +00:00
Brian Gaeke
0bd2189e5f
Fix apparent typo in head-of-file comment.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9400 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 04:01:49 +00:00
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