Commit Graph

9043 Commits

Author SHA1 Message Date
Chris Lattner f14ead9210 Print the names of more opaque types
llvm-svn: 9598
2003-10-30 00:22:33 +00:00
Chris Lattner 92d60539c8 Make sure to print opaque types names if they are available.
llvm-svn: 9597
2003-10-30 00:12:51 +00:00
Chris Lattner 3538c9d2d3 Pass unrecognized options into llvmprof
llvm-svn: 9596
2003-10-29 21:51:00 +00:00
Chris Lattner a79d2b54d2 Add the ability to synthesize function counts from block count information
llvm-svn: 9595
2003-10-29 21:47:44 +00:00
Chris Lattner e4fb19033e Print the top 20 most frequently executed blocks. Fix sort predicate problem
llvm-svn: 9594
2003-10-29 21:41:17 +00:00
Chris Lattner 3420137e63 Refactor code, initial implementation of -insert-block-profiling pass
llvm-svn: 9593
2003-10-29 21:24:22 +00:00
Chris Lattner ab8873dde3 More bugs fixed!
llvm-svn: 9592
2003-10-29 20:59:45 +00:00
Dinakar Dhurjati 043b4b0bc3 Fixed LinkO, LinkP error in TOOLLINKOPTSB
llvm-svn: 9591
2003-10-29 20:34:13 +00:00
Brian Gaeke 45eb2eeb74 Explicitly cast type, so we aren't passing output_vbr a size_t.
llvm-svn: 9590
2003-10-29 20:09:01 +00:00
Brian Gaeke adc07972bc 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.

llvm-svn: 9589
2003-10-29 20:07:35 +00:00
Brian Gaeke 7086bbb33c Add support for utostr(unsigned long)
llvm-svn: 9588
2003-10-29 20:06:19 +00:00
Chris Lattner cbeda5ad9b New testcase
llvm-svn: 9587
2003-10-29 19:18:48 +00:00
Chris Lattner 5b83b56e17 Add two new bugs
llvm-svn: 9586
2003-10-29 18:49:14 +00:00
Chris Lattner bcb0f4bf2e Fix PR66 & ScalarRepl/2003-10-29-ArrayProblem.ll
llvm-svn: 9585
2003-10-29 17:55:44 +00:00
Chris Lattner 9e761b40af New testcase distilled from:
UnitTests/2003-10-29-ScalarReplBug.c

llvm-svn: 9584
2003-10-29 16:24:10 +00:00
Dinakar Dhurjati 3ac83a9bb3 Added TOOLLINKOPTSB to pass options to the linker (e.g. adding search
path for external libraries).

llvm-svn: 9582
2003-10-29 14:28:35 +00:00
Chris Lattner a1a090eff4 New bug fixed
llvm-svn: 9581
2003-10-29 07:17:13 +00:00
Chris Lattner 5f6286f1e4 Another bug fixed
llvm-svn: 9580
2003-10-29 06:05:55 +00:00
Chris Lattner e5f15cdc5f Fix bug: ConstantMerge/2003-10-28-MergeExternalConstants.ll & PR64
llvm-svn: 9579
2003-10-29 06:01:26 +00:00
Chris Lattner fa979bd78b New testcase
llvm-svn: 9578
2003-10-29 05:51:03 +00:00
Brian Gaeke 0a82d78d8c Pull in stdint.h here, if we have it. Some systems keep
the INT*_MAX macros there.

llvm-svn: 9577
2003-10-29 04:25:48 +00:00
Brian Gaeke 9d2020003b In VM::create(), comment out almost the whole function if NO_JITS_ENABLED,
because the Arch variable will likely be undefined.

llvm-svn: 9576
2003-10-29 04:24:09 +00:00
Alkis Evlogimenos d478d3d19c Add more debugging info to help tracing the SlotCalculator.
llvm-svn: 9575
2003-10-29 03:12:12 +00:00
Chris Lattner 56df0a53af Yet another bugfix for 1.1
llvm-svn: 9574
2003-10-29 01:26:07 +00:00
Chris Lattner c0a9905d1d New testcase
llvm-svn: 9573
2003-10-29 01:23:01 +00:00
Chris Lattner 3e5ff2568c Check in statistifying patch for Bill
llvm-svn: 9572
2003-10-28 23:14:59 +00:00
Chris Lattner 36213c7f97 Add fixed PR
llvm-svn: 9571
2003-10-28 23:13:03 +00:00
Chris Lattner 8d1464e2d6 Add new method
llvm-svn: 9570
2003-10-28 23:10:44 +00:00
Chris Lattner 54ac910a5c Fix PR62, and llvm/test/Regression/CBackend/2003-10-28-CastToPtrToStruct.ll
ConstantExpr's can use unrelated types, make sure to scan them.

llvm-svn: 9569
2003-10-28 23:09:45 +00:00
Brian Gaeke 329265fa87 New testcase, reduced from DOOM.
llvm-svn: 9568
2003-10-28 22:54:56 +00:00
Chris Lattner c88f7bb317 Cleanup output a bit
llvm-svn: 9567
2003-10-28 22:53:49 +00:00
Chris Lattner 2c14d253c4 Add option for block profiling, pass in the "correct" argv[0] to the program
llvm-svn: 9566
2003-10-28 22:52:05 +00:00
Chris Lattner 5564406f6e Add the ability for users to specify a specific argv[0] to pass into the
program

llvm-svn: 9565
2003-10-28 22:51:44 +00:00
Chris Lattner 3e659233aa Actually save and pass in argument information
llvm-svn: 9564
2003-10-28 22:45:25 +00:00
Chris Lattner 183fa7ceb3 Pass in argc & argv
llvm-svn: 9563
2003-10-28 22:42:24 +00:00
Chris Lattner 2343a0eed2 Print out command lines used to run the programs
llvm-svn: 9562
2003-10-28 22:30:37 +00:00
Brian Gaeke 8fb7af1ee7 Fix extract to use the right TargetData, like Bugpoint does.
llvm-svn: 9561
2003-10-28 22:22:16 +00:00
Chris Lattner 10c91cccff Helper script for collecting profiling instrumentation. Simply run
$ profile.pl foo.bc <args>

... to instrument, run, then print a program profile!

llvm-svn: 9560
2003-10-28 22:11:31 +00:00
Chris Lattner 2091cc4310 Add support for reading block frequencies. Fix bug in attribution of counts
to functions

llvm-svn: 9559
2003-10-28 21:25:23 +00:00
Misha Brukman b7c3b6dc4d * 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

llvm-svn: 9558
2003-10-28 21:09:29 +00:00
Chris Lattner 8b8a777e41 Provide an accessor for getting function count information. Print a simple
report

llvm-svn: 9557
2003-10-28 21:08:18 +00:00
Chris Lattner fc8bd0622f Read in the bytecode and profile information, but don't do anything with
it yet.

llvm-svn: 9556
2003-10-28 20:13:07 +00:00
Chris Lattner 5b78ea3473 We need to output the number of records we have, so we know how many to read in! Doh.
llvm-svn: 9555
2003-10-28 19:35:56 +00:00
John Criswell c3ee97dc76 Generated autoconf script for Chris.
llvm-svn: 9554
2003-10-28 19:21:11 +00:00
Chris Lattner cccd090942 Add profiling runtime and llvm-prof tools. Would someone please regen the
configure script for me?  :)

llvm-svn: 9553
2003-10-28 19:17:11 +00:00
Chris Lattner f6c89c91ae Build the llvm-prof directory
llvm-svn: 9552
2003-10-28 19:16:49 +00:00
Chris Lattner 14b392fdea Initial checkin of llvmprof stub
llvm-svn: 9551
2003-10-28 19:16:35 +00:00
Brian Gaeke c4fdf65e5a Remove __STDC_LIMIT_MACROS from here.
llvm-svn: 9550
2003-10-28 19:11:29 +00:00
Brian Gaeke be9e03f0e4 Add __STDC_LIMIT_MACROS here.
llvm-svn: 9549
2003-10-28 19:09:28 +00:00
Chris Lattner 3c0254e47e Reorder #includes, drop unneeded one
llvm-svn: 9548
2003-10-28 19:08:15 +00:00