Chris Lattner
7af7d94df2
Eliminate the silly namedContext member of printType
...
llvm-svn: 9666
2003-11-03 01:01:59 +00:00
Chris Lattner
2e8d28d082
Allow CallSites to be used as the key of a map
...
llvm-svn: 9660
2003-11-02 23:04:33 +00:00
Chris Lattner
2b9926fc8e
All DSGraphs keep a reference to the targetdata they are created with. This is
...
used to eliminate the hard coded, hacked in, sparc specific, global TargetData.
Changing the TargetData used to actually match the code fixes problems, and
eliminates a crash.
llvm-svn: 9659
2003-11-02 22:27:28 +00:00
Chris Lattner
53e8fab411
Fix bug: test/Regression/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll
...
llvm-svn: 9658
2003-11-02 21:02:20 +00:00
Chris Lattner
175c0839ca
New testcase for DSA which is improperly collapsed!
...
llvm-svn: 9657
2003-11-02 20:43:10 +00:00
Chris Lattner
d4d987dd4a
Fix bug in previous checkin
...
llvm-svn: 9656
2003-11-02 06:54:48 +00:00
Chris Lattner
1f30e93306
The 'thefunc' function should not have weak linkage, it should have linkonce linkage.
...
llvm-svn: 9655
2003-11-02 06:30:39 +00:00
Chris Lattner
f4ad165e8b
Implement transmogriphication of allocation instructions
...
llvm-svn: 9654
2003-11-02 05:57:39 +00:00
Chris Lattner
fd2183a9cc
Add test for instcombine transmogrifying allocation instructions
...
llvm-svn: 9653
2003-11-02 05:56:58 +00:00
Chris Lattner
38e692da04
Add note about profile.sh
...
llvm-svn: 9652
2003-11-02 05:20:44 +00:00
Chris Lattner
5d8e552cf1
Add -help option
...
llvm-svn: 9651
2003-11-02 05:17:32 +00:00
Chris Lattner
dd024a09d9
Bugz fixed
...
llvm-svn: 9650
2003-11-02 02:15:11 +00:00
Chris Lattner
d57aa5e8a5
Checkin an initial version of the llvm-prof documentation
...
llvm-svn: 9649
2003-11-02 02:10:54 +00:00
Chris Lattner
7f7285bab7
Fix PR78
...
llvm-svn: 9648
2003-11-02 02:06:27 +00:00
Chris Lattner
4fa54568a3
The "correct" fix for CBackend/2003-10-23-UnusedType.ll is to not even try
...
to emit types which are not used.
llvm-svn: 9647
2003-11-02 01:29:27 +00:00
Chris Lattner
7949bf0d54
Including the symbol table in the FindUsedTypes analysis was the WRONG way
...
to fix test/Regression/CBackend/2003-10-23-UnusedType.ll. This completely
neutered the deadtypeelim pass.
llvm-svn: 9646
2003-11-02 01:28:41 +00:00
Chris Lattner
91d79bb4be
New testcase for PR79
...
llvm-svn: 9645
2003-11-02 00:57:56 +00:00
Chris Lattner
22c19cdf99
new testcase, for PR 81
...
llvm-svn: 9644
2003-11-02 00:22:27 +00:00
Chris Lattner
ecbf07b6cd
Regression test for PR 80
...
llvm-svn: 9643
2003-11-01 23:42:08 +00:00
Chris Lattner
e9cdb46520
Escape "'s, which are frequent visitors to C++ types
...
llvm-svn: 9642
2003-10-31 22:16:41 +00:00
Chris Lattner
b45d9077cb
Strip off CPR's manually, because if we don't, the inliner doesn't delete dead
...
functions. GRR
llvm-svn: 9641
2003-10-31 21:05:58 +00:00
Chris Lattner
9c4a58b780
Make the call graph more precise despite the hated constantpointerrefs.
...
Do you detect the animosity I feel towards CPRs yet?
llvm-svn: 9640
2003-10-31 21:05:12 +00:00
Chris Lattner
9157ec025b
Did I mention that I _HATE_ CPRs?
...
llvm-svn: 9639
2003-10-31 18:38:06 +00:00
Misha Brukman
ff91940879
Use stylesheets as much as we can. I admit, I still cannot make CSS do what I
...
can do with tables, which annoys me.
llvm-svn: 9638
2003-10-31 18:37:20 +00:00
Chris Lattner
0989953b31
Obsolete file goes byebye
...
llvm-svn: 9637
2003-10-31 18:06:32 +00:00
Misha Brukman
9dc2a3d05c
Use some style(sheets).
...
llvm-svn: 9636
2003-10-31 18:01:30 +00:00
Chris Lattner
f6925da295
Constant pointer refs are causing these to fail unnecessarily, which is causing
...
a lot of code to be pessimized. I hate CPRs. :(
llvm-svn: 9635
2003-10-31 17:51:16 +00:00
Brian Gaeke
b8c28f3553
Well, to be honest, -array-checks and -trace are gone, too. :-)
...
llvm-svn: 9631
2003-10-31 05:12:04 +00:00
Alkis Evlogimenos
6029d4032c
Use already existing classes for post order iterator.
...
llvm-svn: 9629
2003-10-31 03:02:34 +00:00
Misha Brukman
47e7fd2c0f
* Not much point to indent the whole file
...
* Let CVS keep track of our last-modified timestamp
llvm-svn: 9628
2003-10-31 00:39:28 +00:00
Misha Brukman
c64b74554a
The `-q' option has gone away.
...
llvm-svn: 9627
2003-10-31 00:34:52 +00:00
Chris Lattner
9061d70325
never print zero executions blocks
...
llvm-svn: 9626
2003-10-31 00:34:05 +00:00
Chris Lattner
a36f81a3ea
Simplify code
...
llvm-svn: 9625
2003-10-31 00:20:09 +00:00
Chris Lattner
34e1549e1b
Add percentage info
...
llvm-svn: 9624
2003-10-31 00:13:26 +00:00
Chris Lattner
0575f97e4b
Hrm, some of my counters are wrapping around 32 bits
...
llvm-svn: 9623
2003-10-31 00:06:57 +00:00
Chris Lattner
babc99cf80
If only have function profile, don't print out "not executed" for all of the blocks :)
...
llvm-svn: 9622
2003-10-30 23:44:28 +00:00
Chris Lattner
2a5767e4f1
Add the ability to print out llvm code when the -annotated-llvm option is given
...
llvm-svn: 9621
2003-10-30 23:42:09 +00:00
Chris Lattner
eeabc3f846
Expose new print methods
...
llvm-svn: 9620
2003-10-30 23:41:19 +00:00
Chris Lattner
8339f7d379
Make use of the new AssemblyAnnotationWriter interface
...
llvm-svn: 9619
2003-10-30 23:41:03 +00:00
Chris Lattner
de171b3d18
New interface
...
llvm-svn: 9618
2003-10-30 23:39:52 +00:00
Brian Gaeke
8541bd9db9
Include llvm/CodeGen/MachineCodeForInstruction.h. Use it to start
...
implementing verifySavedState().
In saveState(), use the new AllocInfo::AllocStateTy enum, and increment
Insn each time through the loop.
llvm-svn: 9617
2003-10-30 21:21:33 +00:00
Brian Gaeke
727ec9bec5
Make AllocState an enum.
...
Move the stringifying method for that enum into class AllocInfo.
llvm-svn: 9616
2003-10-30 21:21:22 +00:00
Alkis Evlogimenos
5a320efd3b
Output types in reverse postorder. This will allow the ByteCode/Reader
...
to create the minimum number of opaque types for each type with a
cycle in its type graph.
llvm-svn: 9615
2003-10-30 21:04:44 +00:00
Alkis Evlogimenos
404beb98ef
Put DEBUG_OUTPUT at the top along with TRACE_LEVEL. Also fix the code
...
inside DEBUG_OUTPUT so that it compiles.
llvm-svn: 9614
2003-10-30 18:33:58 +00:00
Chris Lattner
b45e1f990c
Bugz fixed
...
llvm-svn: 9613
2003-10-30 16:20:15 +00:00
Brian Gaeke
8d09fd1ea6
Apparently my Mac OS X fixes were not entirely compatible with SPARC...hmm.
...
llvm-svn: 9612
2003-10-30 15:03:49 +00:00
Chris Lattner
dd63f9e22b
When someone includes CallGraph.h, make sure that they link in CallGraph.cpp
...
llvm-svn: 9611
2003-10-30 05:17:30 +00:00
Chris Lattner
30aad2a98e
Fix typo
...
llvm-svn: 9610
2003-10-30 04:35:26 +00:00
Chris Lattner
a306dd2c05
New bug
...
llvm-svn: 9609
2003-10-30 01:43:33 +00:00
Chris Lattner
9e167cd6ab
Tighten up what we consider to be first class types.
...
llvm-svn: 9608
2003-10-30 01:38:41 +00:00