Alkis Evlogimenos
088eb45cf4
Use already existing classes for post order iterator.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9629 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-31 03:02:34 +00:00
Misha Brukman
c6ad94c6a1
* Not much point to indent the whole file
...
* Let CVS keep track of our last-modified timestamp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9628 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-31 00:39:28 +00:00
Misha Brukman
aaf1e4a262
The `-q' option has gone away.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9627 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-31 00:34:52 +00:00
Chris Lattner
9088de7357
never print zero executions blocks
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9626 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-31 00:34:05 +00:00
Chris Lattner
3b7f41631d
Simplify code
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9625 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-31 00:20:09 +00:00
Chris Lattner
e1ccadf58c
Add percentage info
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9624 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-31 00:13:26 +00:00
Chris Lattner
3baed41672
Hrm, some of my counters are wrapping around 32 bits
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9623 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-31 00:06:57 +00:00
Chris Lattner
367373053b
If only have function profile, don't print out "not executed" for all of the blocks :)
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9622 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 23:44:28 +00:00
Chris Lattner
5e717646d7
Add the ability to print out llvm code when the -annotated-llvm option is given
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9621 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 23:42:09 +00:00
Chris Lattner
072ddb1dac
Expose new print methods
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9620 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 23:41:19 +00:00
Chris Lattner
95e5a2cc3f
Make use of the new AssemblyAnnotationWriter interface
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9619 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 23:41:03 +00:00
Chris Lattner
0836bf7bcf
New interface
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9618 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 23:39:52 +00:00
Brian Gaeke
3ceac85296
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9617 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 21:21:33 +00:00
Brian Gaeke
82c5eb7bc8
Make AllocState an enum.
...
Move the stringifying method for that enum into class AllocInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9616 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 21:21:22 +00:00
Alkis Evlogimenos
74fa84fcef
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9615 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 21:04:44 +00:00
Alkis Evlogimenos
60048b8a66
Put DEBUG_OUTPUT at the top along with TRACE_LEVEL. Also fix the code
...
inside DEBUG_OUTPUT so that it compiles.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9614 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 18:33:58 +00:00
Chris Lattner
3dcc7b9335
Bugz fixed
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9613 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 16:20:15 +00:00
Brian Gaeke
0b64ca3cbd
Apparently my Mac OS X fixes were not entirely compatible with SPARC...hmm.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9612 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 15:03:49 +00:00
Chris Lattner
14fffaf6c1
When someone includes CallGraph.h, make sure that they link in CallGraph.cpp
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9611 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 05:17:30 +00:00
Chris Lattner
c7f1cfb1fd
Fix typo
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9610 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 04:35:26 +00:00
Chris Lattner
f9e8a0f03f
New bug
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9609 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 01:43:33 +00:00
Chris Lattner
9f6a519027
Tighten up what we consider to be first class types.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9608 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 01:38:41 +00:00
Chris Lattner
8ea8f36a7f
Make sure that PHI node operands are first class types
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9607 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 01:38:18 +00:00
Chris Lattner
478921b11a
Clarify that all manipulatable values must be of first class type, and specifically
...
update the PHI node entry to mention this as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9606 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 01:31:37 +00:00
Misha Brukman
733adcbaa9
* Send people to the LLVMdev archive/subscription page rather than just state
...
the address
* Somewhat standardize the footer of the page
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9605 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 01:23:40 +00:00
Chris Lattner
36bd5d14a1
Another day, another bug
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9604 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 01:20:42 +00:00
Misha Brukman
36e96e05c8
Add a link to the C/C++ front-end building instructions.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9603 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 01:19:16 +00:00
Misha Brukman
3c00970c91
The answer to this question is "Yes". Let's make that absolutely clear even to
...
those just skimming the FAQ.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9602 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 01:16:18 +00:00
Misha Brukman
32a32f070c
Call me picky, but it's not the state of Illinois' license, it's the
...
University's.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9601 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 01:13:56 +00:00
Chris Lattner
bb60904469
Fix bug: 2003-10-29-CallSiteResolve.ll & PR70
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9600 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 00:46:41 +00:00
Chris Lattner
1758d4d863
New testcase crashing the instruction combiner
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9599 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 00:39:25 +00:00
Chris Lattner
88c1738064
Print the names of more opaque types
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9598 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 00:22:33 +00:00
Chris Lattner
daf2a492a7
Make sure to print opaque types names if they are available.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9597 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 00:12:51 +00:00
Chris Lattner
0faadf2e58
Pass unrecognized options into llvmprof
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9596 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 21:51:00 +00:00
Chris Lattner
750ba3d6eb
Add the ability to synthesize function counts from block count information
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9595 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 21:47:44 +00:00
Chris Lattner
18884a86ae
Print the top 20 most frequently executed blocks. Fix sort predicate problem
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9594 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 21:41:17 +00:00
Chris Lattner
942457564d
Refactor code, initial implementation of -insert-block-profiling pass
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9593 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 21:24:22 +00:00
Chris Lattner
05b958d363
More bugs fixed!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9592 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 20:59:45 +00:00
Dinakar Dhurjati
79903c8115
Fixed LinkO, LinkP error in TOOLLINKOPTSB
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9591 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 20:34:13 +00:00
Brian Gaeke
bc839b5827
Explicitly cast type, so we aren't passing output_vbr a size_t.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9590 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 20:09:01 +00:00
Brian Gaeke
3386e45440
Tweak sed commands so that they filter out more # stuff and also
...
work on Mac OS X. Also turn ${...} into $(...); we do not speak BSD
Make.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9589 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 20:07:35 +00:00
Brian Gaeke
78e1dcc321
Add support for utostr(unsigned long)
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9588 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 20:06:19 +00:00
Chris Lattner
b5631bfa0c
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9587 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 19:18:48 +00:00
Chris Lattner
34790e558a
Add two new bugs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9586 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 18:49:14 +00:00
Chris Lattner
546fc40d69
Fix PR66 & ScalarRepl/2003-10-29-ArrayProblem.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9585 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 17:55:44 +00:00
Chris Lattner
06f6230121
New testcase distilled from:
...
UnitTests/2003-10-29-ScalarReplBug.c
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9584 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 16:24:10 +00:00
Dinakar Dhurjati
87ea8aa5e7
Added TOOLLINKOPTSB to pass options to the linker (e.g. adding search
...
path for external libraries).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9582 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 14:28:35 +00:00
Chris Lattner
32547fe715
New bug fixed
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9581 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 07:17:13 +00:00
Chris Lattner
399ed00319
Another bug fixed
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9580 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 06:05:55 +00:00
Chris Lattner
6ace4daa57
Fix bug: ConstantMerge/2003-10-28-MergeExternalConstants.ll & PR64
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9579 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 06:01:26 +00:00