Chris Lattner
287b62154e
Yet another bugfix for 1.1
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9574 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 01:26:07 +00:00
Chris Lattner
76429328b4
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9573 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 01:23:01 +00:00
Chris Lattner
fe2143d87d
Check in statistifying patch for Bill
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9572 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 23:14:59 +00:00
Chris Lattner
2c17a89349
Add fixed PR
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9571 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 23:13:03 +00:00
Chris Lattner
a3a1c2de9d
Add new method
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9570 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 23:10:44 +00:00
Chris Lattner
c2bcde4da0
Fix PR62, and llvm/test/Regression/CBackend/2003-10-28-CastToPtrToStruct.ll
...
ConstantExpr's can use unrelated types, make sure to scan them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9569 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 23:09:45 +00:00
Brian Gaeke
dd73e9d0d5
New testcase, reduced from DOOM.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9568 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 22:54:56 +00:00
Chris Lattner
368820586b
Cleanup output a bit
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9567 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 22:53:49 +00:00
Chris Lattner
8a209dd030
Add option for block profiling, pass in the "correct" argv[0] to the program
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9566 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 22:52:05 +00:00
Chris Lattner
e69671d65b
Add the ability for users to specify a specific argv[0] to pass into the
...
program
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9565 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 22:51:44 +00:00
Chris Lattner
d09bef4d46
Actually save and pass in argument information
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9564 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 22:45:25 +00:00
Chris Lattner
c0204e0b73
Pass in argc & argv
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9563 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 22:42:24 +00:00
Chris Lattner
4963dcf584
Print out command lines used to run the programs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9562 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 22:30:37 +00:00
Brian Gaeke
204089042b
Fix extract to use the right TargetData, like Bugpoint does.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9561 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 22:22:16 +00:00
Chris Lattner
ad910ebe70
Helper script for collecting profiling instrumentation. Simply run
...
$ profile.pl foo.bc <args>
... to instrument, run, then print a program profile!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9560 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 22:11:31 +00:00
Chris Lattner
33f1ca7d8a
Add support for reading block frequencies. Fix bug in attribution of counts
...
to functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9559 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 21:25:23 +00:00
Misha Brukman
b9e578934f
* Put LLVM in title of page so readers know which CFE we're talking about
...
* Use <ol> instead of <ul> if we're gonna number the list items
* Close <li> tags
* Stylize the document footer to be consistent
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9558 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 21:09:29 +00:00
Chris Lattner
7a78d819b7
Provide an accessor for getting function count information. Print a simple
...
report
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9557 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 21:08:18 +00:00
Chris Lattner
e436779c5a
Read in the bytecode and profile information, but don't do anything with
...
it yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9556 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 20:13:07 +00:00
Chris Lattner
98b1d8115e
We need to output the number of records we have, so we know how many to read in! Doh.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9555 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 19:35:56 +00:00
John Criswell
759c3ed4d6
Generated autoconf script for Chris.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9554 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 19:21:11 +00:00
Chris Lattner
644ccc1159
Add profiling runtime and llvm-prof tools. Would someone please regen the
...
configure script for me? :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9553 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 19:17:11 +00:00
Chris Lattner
67e7104db7
Build the llvm-prof directory
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9552 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 19:16:49 +00:00
Chris Lattner
6f82d07060
Initial checkin of llvmprof stub
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9551 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 19:16:35 +00:00
Brian Gaeke
8be7aa11c3
Remove __STDC_LIMIT_MACROS from here.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9550 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 19:11:29 +00:00
Brian Gaeke
90eca5505f
Add __STDC_LIMIT_MACROS here.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9549 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 19:09:28 +00:00
Chris Lattner
08020c13d0
Reorder #includes, drop unneeded one
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9548 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 19:08:15 +00:00
Chris Lattner
baa2007fae
Initial checkin of profiling instrumentation pass. So far, despite the
...
file name, we only support function profiling. This will be fixed in the
near future.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9547 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 18:59:04 +00:00
Chris Lattner
a9a3028935
Initial checkin of function and block profiling runtime library
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9546 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 18:56:51 +00:00
Misha Brukman
00ba55e593
Publications do not get distributed with docs/; hence, their stylesheet need not
...
be distributed either.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9545 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 18:55:27 +00:00
Chris Lattner
3e457f7b20
I'm tired of the nightly tester stopping, aren't you?
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9544 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 18:37:24 +00:00
Chris Lattner
7b6dd2950f
Eliminate using declarations
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9543 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 21:44:09 +00:00
Chris Lattner
2e8dfb8221
Propagating constants to arguments can make other arguments constant. For now
...
do something dumb, and inefficient, but more complete.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9542 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 21:09:00 +00:00
Chris Lattner
e01fcfbdef
Clarify what is a bug and what isn't
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9539 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 18:30:37 +00:00
John Criswell
0f6d7c0e20
Merged in RELEASE_1.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9538 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 18:18:16 +00:00
John Criswell
6a7ccea3da
Merged in RELEASE_1.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9537 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 18:02:06 +00:00
Chris Lattner
4ad4b3af42
Add a new bugfix
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9536 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 17:58:57 +00:00
John Criswell
7acfa0b51f
Merged in RELEASE_1.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9535 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 17:56:26 +00:00
Chris Lattner
fbbc2cc63c
New testcase which crashes the C++ FE
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9534 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 17:51:31 +00:00
John Criswell
d184c67b52
Merged RELEASE_1.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9533 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 17:46:42 +00:00
John Criswell
9774595f52
Updated with Vikram's comments.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9532 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 17:41:53 +00:00
Chris Lattner
89ca2b8334
Update release notes for recent bug fixes
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9531 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 17:06:39 +00:00
Chris Lattner
35956558e2
Fix test: Linker/2003-10-27-LinkOncePromote.ll
...
Fix PR58
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9530 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 16:39:39 +00:00
Chris Lattner
27684c8f01
Fix initializers to match
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9529 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 16:30:29 +00:00
Chris Lattner
31687702ab
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9528 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 16:18:28 +00:00
Chris Lattner
f710020b16
Update release notes
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9527 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 05:41:39 +00:00
Chris Lattner
198f4507e2
Get the list of PHI node values before the basic block is split. Also, add
...
PHI node entries for unwind instructions just like for call instructions which
became invokes! This fixes PR57, tested by
Inline/2003-10-26-InlineInvokeExceptionDestPhi.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9526 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 05:33:09 +00:00
Chris Lattner
5bf9ce9a3a
New testcase.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9525 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 05:13:47 +00:00
Chris Lattner
0512d02af7
Make sure to syntax hilight the 'unwind' keyword!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9524 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 05:09:15 +00:00
Chris Lattner
73b96bd52d
Do not print out lists with thousands of elements in them, that's kinda silly
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9523 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 04:44:59 +00:00