Commit Graph

8810 Commits

Author SHA1 Message Date
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
Chris Lattner
851e07490c New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9578 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 05:51:03 +00:00
Brian Gaeke
681453dc77 Pull in stdint.h here, if we have it. Some systems keep
the INT*_MAX macros there.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9577 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 04:25:48 +00:00
Brian Gaeke
11911abf5c In VM::create(), comment out almost the whole function if NO_JITS_ENABLED,
because the Arch variable will likely be undefined.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9576 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 04:24:09 +00:00
Alkis Evlogimenos
5d1bdcd6f6 Add more debugging info to help tracing the SlotCalculator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9575 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 03:12:12 +00:00
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