oota-llvm.git
20 years agoUse some style(sheets).
Misha Brukman [Fri, 31 Oct 2003 18:01:30 +0000 (18:01 +0000)]
Use some style(sheets).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9636 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoConstant pointer refs are causing these to fail unnecessarily, which is causing
Chris Lattner [Fri, 31 Oct 2003 17:51:16 +0000 (17:51 +0000)]
Constant pointer refs are causing these to fail unnecessarily, which is causing
a lot of code to be pessimized.  I hate CPRs.  :(

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9635 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoWell, to be honest, -array-checks and -trace are gone, too. :-)
Brian Gaeke [Fri, 31 Oct 2003 05:12:04 +0000 (05:12 +0000)]
Well, to be honest, -array-checks and -trace are gone, too. :-)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9631 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUse already existing classes for post order iterator.
Alkis Evlogimenos [Fri, 31 Oct 2003 03:02:34 +0000 (03:02 +0000)]
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

20 years ago* Not much point to indent the whole file
Misha Brukman [Fri, 31 Oct 2003 00:39:28 +0000 (00:39 +0000)]
* 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

20 years agoThe `-q' option has gone away.
Misha Brukman [Fri, 31 Oct 2003 00:34:52 +0000 (00:34 +0000)]
The `-q' option has gone away.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9627 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agonever print zero executions blocks
Chris Lattner [Fri, 31 Oct 2003 00:34:05 +0000 (00:34 +0000)]
never print zero executions blocks

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9626 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSimplify code
Chris Lattner [Fri, 31 Oct 2003 00:20:09 +0000 (00:20 +0000)]
Simplify code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9625 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd percentage info
Chris Lattner [Fri, 31 Oct 2003 00:13:26 +0000 (00:13 +0000)]
Add percentage info

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9624 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoHrm, some of my counters are wrapping around 32 bits
Chris Lattner [Fri, 31 Oct 2003 00:06:57 +0000 (00:06 +0000)]
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

20 years agoIf only have function profile, don't print out "not executed" for all of the blocks :)
Chris Lattner [Thu, 30 Oct 2003 23:44:28 +0000 (23:44 +0000)]
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

20 years agoAdd the ability to print out llvm code when the -annotated-llvm option is given
Chris Lattner [Thu, 30 Oct 2003 23:42:09 +0000 (23:42 +0000)]
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

20 years agoExpose new print methods
Chris Lattner [Thu, 30 Oct 2003 23:41:19 +0000 (23:41 +0000)]
Expose new print methods

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9620 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake use of the new AssemblyAnnotationWriter interface
Chris Lattner [Thu, 30 Oct 2003 23:41:03 +0000 (23:41 +0000)]
Make use of the new AssemblyAnnotationWriter interface

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9619 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew interface
Chris Lattner [Thu, 30 Oct 2003 23:39:52 +0000 (23:39 +0000)]
New interface

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9618 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInclude llvm/CodeGen/MachineCodeForInstruction.h. Use it to start
Brian Gaeke [Thu, 30 Oct 2003 21:21:33 +0000 (21:21 +0000)]
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

20 years agoMake AllocState an enum.
Brian Gaeke [Thu, 30 Oct 2003 21:21:22 +0000 (21:21 +0000)]
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

20 years agoOutput types in reverse postorder. This will allow the ByteCode/Reader
Alkis Evlogimenos [Thu, 30 Oct 2003 21:04:44 +0000 (21:04 +0000)]
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

20 years agoPut DEBUG_OUTPUT at the top along with TRACE_LEVEL. Also fix the code
Alkis Evlogimenos [Thu, 30 Oct 2003 18:33:58 +0000 (18:33 +0000)]
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

20 years agoBugz fixed
Chris Lattner [Thu, 30 Oct 2003 16:20:15 +0000 (16:20 +0000)]
Bugz fixed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9613 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoApparently my Mac OS X fixes were not entirely compatible with SPARC...hmm.
Brian Gaeke [Thu, 30 Oct 2003 15:03:49 +0000 (15:03 +0000)]
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

20 years agoWhen someone includes CallGraph.h, make sure that they link in CallGraph.cpp
Chris Lattner [Thu, 30 Oct 2003 05:17:30 +0000 (05:17 +0000)]
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

20 years agoFix typo
Chris Lattner [Thu, 30 Oct 2003 04:35:26 +0000 (04:35 +0000)]
Fix typo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9610 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew bug
Chris Lattner [Thu, 30 Oct 2003 01:43:33 +0000 (01:43 +0000)]
New bug

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9609 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTighten up what we consider to be first class types.
Chris Lattner [Thu, 30 Oct 2003 01:38:41 +0000 (01:38 +0000)]
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

20 years agoMake sure that PHI node operands are first class types
Chris Lattner [Thu, 30 Oct 2003 01:38:18 +0000 (01:38 +0000)]
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

20 years agoClarify that all manipulatable values must be of first class type, and specifically
Chris Lattner [Thu, 30 Oct 2003 01:31:37 +0000 (01:31 +0000)]
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

20 years ago* Send people to the LLVMdev archive/subscription page rather than just state
Misha Brukman [Thu, 30 Oct 2003 01:23:40 +0000 (01:23 +0000)]
* 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

20 years agoAnother day, another bug
Chris Lattner [Thu, 30 Oct 2003 01:20:42 +0000 (01:20 +0000)]
Another day, another bug

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9604 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a link to the C/C++ front-end building instructions.
Misha Brukman [Thu, 30 Oct 2003 01:19:16 +0000 (01:19 +0000)]
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

20 years agoThe answer to this question is "Yes". Let's make that absolutely clear even to
Misha Brukman [Thu, 30 Oct 2003 01:16:18 +0000 (01:16 +0000)]
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

20 years agoCall me picky, but it's not the state of Illinois' license, it's the
Misha Brukman [Thu, 30 Oct 2003 01:13:56 +0000 (01:13 +0000)]
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

20 years agoFix bug: 2003-10-29-CallSiteResolve.ll & PR70
Chris Lattner [Thu, 30 Oct 2003 00:46:41 +0000 (00:46 +0000)]
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

20 years agoNew testcase crashing the instruction combiner
Chris Lattner [Thu, 30 Oct 2003 00:39:25 +0000 (00:39 +0000)]
New testcase crashing the instruction combiner

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9599 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoPrint the names of more opaque types
Chris Lattner [Thu, 30 Oct 2003 00:22:33 +0000 (00:22 +0000)]
Print the names of more opaque types

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9598 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake sure to print opaque types names if they are available.
Chris Lattner [Thu, 30 Oct 2003 00:12:51 +0000 (00:12 +0000)]
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

20 years agoPass unrecognized options into llvmprof
Chris Lattner [Wed, 29 Oct 2003 21:51:00 +0000 (21:51 +0000)]
Pass unrecognized options into llvmprof

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9596 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd the ability to synthesize function counts from block count information
Chris Lattner [Wed, 29 Oct 2003 21:47:44 +0000 (21:47 +0000)]
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

20 years agoPrint the top 20 most frequently executed blocks. Fix sort predicate problem
Chris Lattner [Wed, 29 Oct 2003 21:41:17 +0000 (21:41 +0000)]
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

20 years agoRefactor code, initial implementation of -insert-block-profiling pass
Chris Lattner [Wed, 29 Oct 2003 21:24:22 +0000 (21:24 +0000)]
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

20 years agoMore bugs fixed!
Chris Lattner [Wed, 29 Oct 2003 20:59:45 +0000 (20:59 +0000)]
More bugs fixed!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9592 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFixed LinkO, LinkP error in TOOLLINKOPTSB
Dinakar Dhurjati [Wed, 29 Oct 2003 20:34:13 +0000 (20:34 +0000)]
Fixed LinkO, LinkP error in TOOLLINKOPTSB

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9591 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoExplicitly cast type, so we aren't passing output_vbr a size_t.
Brian Gaeke [Wed, 29 Oct 2003 20:09:01 +0000 (20:09 +0000)]
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

20 years agoTweak sed commands so that they filter out more # stuff and also
Brian Gaeke [Wed, 29 Oct 2003 20:07:35 +0000 (20:07 +0000)]
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

20 years agoAdd support for utostr(unsigned long)
Brian Gaeke [Wed, 29 Oct 2003 20:06:19 +0000 (20:06 +0000)]
Add support for utostr(unsigned long)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9588 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase
Chris Lattner [Wed, 29 Oct 2003 19:18:48 +0000 (19:18 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9587 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd two new bugs
Chris Lattner [Wed, 29 Oct 2003 18:49:14 +0000 (18:49 +0000)]
Add two new bugs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9586 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix PR66 & ScalarRepl/2003-10-29-ArrayProblem.ll
Chris Lattner [Wed, 29 Oct 2003 17:55:44 +0000 (17:55 +0000)]
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

20 years agoNew testcase distilled from:
Chris Lattner [Wed, 29 Oct 2003 16:24:10 +0000 (16:24 +0000)]
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

20 years agoAdded TOOLLINKOPTSB to pass options to the linker (e.g. adding search
Dinakar Dhurjati [Wed, 29 Oct 2003 14:28:35 +0000 (14:28 +0000)]
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

20 years agoNew bug fixed
Chris Lattner [Wed, 29 Oct 2003 07:17:13 +0000 (07:17 +0000)]
New bug fixed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9581 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAnother bug fixed
Chris Lattner [Wed, 29 Oct 2003 06:05:55 +0000 (06:05 +0000)]
Another bug fixed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9580 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix bug: ConstantMerge/2003-10-28-MergeExternalConstants.ll & PR64
Chris Lattner [Wed, 29 Oct 2003 06:01:26 +0000 (06:01 +0000)]
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

20 years agoNew testcase
Chris Lattner [Wed, 29 Oct 2003 05:51:03 +0000 (05:51 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9578 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoPull in stdint.h here, if we have it. Some systems keep
Brian Gaeke [Wed, 29 Oct 2003 04:25:48 +0000 (04:25 +0000)]
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

20 years agoIn VM::create(), comment out almost the whole function if NO_JITS_ENABLED,
Brian Gaeke [Wed, 29 Oct 2003 04:24:09 +0000 (04:24 +0000)]
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

20 years agoAdd more debugging info to help tracing the SlotCalculator.
Alkis Evlogimenos [Wed, 29 Oct 2003 03:12:12 +0000 (03:12 +0000)]
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

20 years agoYet another bugfix for 1.1
Chris Lattner [Wed, 29 Oct 2003 01:26:07 +0000 (01:26 +0000)]
Yet another bugfix for 1.1

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9574 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase
Chris Lattner [Wed, 29 Oct 2003 01:23:01 +0000 (01:23 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9573 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoCheck in statistifying patch for Bill
Chris Lattner [Tue, 28 Oct 2003 23:14:59 +0000 (23:14 +0000)]
Check in statistifying patch for Bill

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9572 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd fixed PR
Chris Lattner [Tue, 28 Oct 2003 23:13:03 +0000 (23:13 +0000)]
Add fixed PR

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9571 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd new method
Chris Lattner [Tue, 28 Oct 2003 23:10:44 +0000 (23:10 +0000)]
Add new method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9570 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix PR62, and llvm/test/Regression/CBackend/2003-10-28-CastToPtrToStruct.ll
Chris Lattner [Tue, 28 Oct 2003 23:09:45 +0000 (23:09 +0000)]
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

20 years agoNew testcase, reduced from DOOM.
Brian Gaeke [Tue, 28 Oct 2003 22:54:56 +0000 (22:54 +0000)]
New testcase, reduced from DOOM.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9568 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoCleanup output a bit
Chris Lattner [Tue, 28 Oct 2003 22:53:49 +0000 (22:53 +0000)]
Cleanup output a bit

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9567 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd option for block profiling, pass in the "correct" argv[0] to the program
Chris Lattner [Tue, 28 Oct 2003 22:52:05 +0000 (22:52 +0000)]
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

20 years agoAdd the ability for users to specify a specific argv[0] to pass into the
Chris Lattner [Tue, 28 Oct 2003 22:51:44 +0000 (22:51 +0000)]
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

20 years agoActually save and pass in argument information
Chris Lattner [Tue, 28 Oct 2003 22:45:25 +0000 (22:45 +0000)]
Actually save and pass in argument information

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9564 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoPass in argc & argv
Chris Lattner [Tue, 28 Oct 2003 22:42:24 +0000 (22:42 +0000)]
Pass in argc & argv

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9563 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoPrint out command lines used to run the programs
Chris Lattner [Tue, 28 Oct 2003 22:30:37 +0000 (22:30 +0000)]
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

20 years agoFix extract to use the right TargetData, like Bugpoint does.
Brian Gaeke [Tue, 28 Oct 2003 22:22:16 +0000 (22:22 +0000)]
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

20 years agoHelper script for collecting profiling instrumentation. Simply run
Chris Lattner [Tue, 28 Oct 2003 22:11:31 +0000 (22:11 +0000)]
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

20 years agoAdd support for reading block frequencies. Fix bug in attribution of counts
Chris Lattner [Tue, 28 Oct 2003 21:25:23 +0000 (21:25 +0000)]
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

20 years ago* Put LLVM in title of page so readers know which CFE we're talking about
Misha Brukman [Tue, 28 Oct 2003 21:09:29 +0000 (21:09 +0000)]
* 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

20 years agoProvide an accessor for getting function count information. Print a simple
Chris Lattner [Tue, 28 Oct 2003 21:08:18 +0000 (21:08 +0000)]
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

20 years agoRead in the bytecode and profile information, but don't do anything with
Chris Lattner [Tue, 28 Oct 2003 20:13:07 +0000 (20:13 +0000)]
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

20 years agoWe need to output the number of records we have, so we know how many to read in!...
Chris Lattner [Tue, 28 Oct 2003 19:35:56 +0000 (19:35 +0000)]
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

20 years agoGenerated autoconf script for Chris.
John Criswell [Tue, 28 Oct 2003 19:21:11 +0000 (19:21 +0000)]
Generated autoconf script for Chris.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9554 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd profiling runtime and llvm-prof tools. Would someone please regen the
Chris Lattner [Tue, 28 Oct 2003 19:17:11 +0000 (19:17 +0000)]
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

20 years agoBuild the llvm-prof directory
Chris Lattner [Tue, 28 Oct 2003 19:16:49 +0000 (19:16 +0000)]
Build the llvm-prof directory

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9552 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInitial checkin of llvmprof stub
Chris Lattner [Tue, 28 Oct 2003 19:16:35 +0000 (19:16 +0000)]
Initial checkin of llvmprof stub

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9551 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove __STDC_LIMIT_MACROS from here.
Brian Gaeke [Tue, 28 Oct 2003 19:11:29 +0000 (19:11 +0000)]
Remove __STDC_LIMIT_MACROS from here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9550 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd __STDC_LIMIT_MACROS here.
Brian Gaeke [Tue, 28 Oct 2003 19:09:28 +0000 (19:09 +0000)]
Add __STDC_LIMIT_MACROS here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9549 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoReorder #includes, drop unneeded one
Chris Lattner [Tue, 28 Oct 2003 19:08:15 +0000 (19:08 +0000)]
Reorder #includes, drop unneeded one

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9548 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInitial checkin of profiling instrumentation pass. So far, despite the
Chris Lattner [Tue, 28 Oct 2003 18:59:04 +0000 (18:59 +0000)]
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

20 years agoInitial checkin of function and block profiling runtime library
Chris Lattner [Tue, 28 Oct 2003 18:56:51 +0000 (18:56 +0000)]
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

20 years agoPublications do not get distributed with docs/; hence, their stylesheet need not
Misha Brukman [Tue, 28 Oct 2003 18:55:27 +0000 (18:55 +0000)]
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

20 years agoI'm tired of the nightly tester stopping, aren't you?
Chris Lattner [Tue, 28 Oct 2003 18:37:24 +0000 (18:37 +0000)]
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

20 years agoEliminate using declarations
Chris Lattner [Mon, 27 Oct 2003 21:44:09 +0000 (21:44 +0000)]
Eliminate using declarations

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9543 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoPropagating constants to arguments can make other arguments constant. For now
Chris Lattner [Mon, 27 Oct 2003 21:09:00 +0000 (21:09 +0000)]
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

20 years agoClarify what is a bug and what isn't
Chris Lattner [Mon, 27 Oct 2003 18:30:37 +0000 (18:30 +0000)]
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

20 years agoMerged in RELEASE_1.
John Criswell [Mon, 27 Oct 2003 18:18:16 +0000 (18:18 +0000)]
Merged in RELEASE_1.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9538 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMerged in RELEASE_1.
John Criswell [Mon, 27 Oct 2003 18:02:06 +0000 (18:02 +0000)]
Merged in RELEASE_1.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9537 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a new bugfix
Chris Lattner [Mon, 27 Oct 2003 17:58:57 +0000 (17:58 +0000)]
Add a new bugfix

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9536 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMerged in RELEASE_1.
John Criswell [Mon, 27 Oct 2003 17:56:26 +0000 (17:56 +0000)]
Merged in RELEASE_1.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9535 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase which crashes the C++ FE
Chris Lattner [Mon, 27 Oct 2003 17:51:31 +0000 (17:51 +0000)]
New testcase which crashes the C++ FE

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9534 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMerged RELEASE_1.
John Criswell [Mon, 27 Oct 2003 17:46:42 +0000 (17:46 +0000)]
Merged RELEASE_1.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9533 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUpdated with Vikram's comments.
John Criswell [Mon, 27 Oct 2003 17:41:53 +0000 (17:41 +0000)]
Updated with Vikram's comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9532 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUpdate release notes for recent bug fixes
Chris Lattner [Mon, 27 Oct 2003 17:06:39 +0000 (17:06 +0000)]
Update release notes for recent bug fixes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9531 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix test: Linker/2003-10-27-LinkOncePromote.ll
Chris Lattner [Mon, 27 Oct 2003 16:39:39 +0000 (16:39 +0000)]
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