1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 22:42:46 +02:00
Commit Graph

8937 Commits

Author SHA1 Message Date
Chris Lattner
7c5cf380af Refactor code, initial implementation of -insert-block-profiling pass
llvm-svn: 9593
2003-10-29 21:24:22 +00:00
Chris Lattner
4a1586379d More bugs fixed!
llvm-svn: 9592
2003-10-29 20:59:45 +00:00
Dinakar Dhurjati
357cab254e Fixed LinkO, LinkP error in TOOLLINKOPTSB
llvm-svn: 9591
2003-10-29 20:34:13 +00:00
Brian Gaeke
ee245ddcdf 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
0d26a4c53d 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
d744e41a11 Add support for utostr(unsigned long)
llvm-svn: 9588
2003-10-29 20:06:19 +00:00
Chris Lattner
885a800b9d New testcase
llvm-svn: 9587
2003-10-29 19:18:48 +00:00
Chris Lattner
691f328f26 Add two new bugs
llvm-svn: 9586
2003-10-29 18:49:14 +00:00
Chris Lattner
cb21ea9a32 Fix PR66 & ScalarRepl/2003-10-29-ArrayProblem.ll
llvm-svn: 9585
2003-10-29 17:55:44 +00:00
Chris Lattner
773b8d26d2 New testcase distilled from:
UnitTests/2003-10-29-ScalarReplBug.c

llvm-svn: 9584
2003-10-29 16:24:10 +00:00
Dinakar Dhurjati
f850b1a456 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
59248a95c4 New bug fixed
llvm-svn: 9581
2003-10-29 07:17:13 +00:00
Chris Lattner
021c21a064 Another bug fixed
llvm-svn: 9580
2003-10-29 06:05:55 +00:00
Chris Lattner
89b33b1999 Fix bug: ConstantMerge/2003-10-28-MergeExternalConstants.ll & PR64
llvm-svn: 9579
2003-10-29 06:01:26 +00:00
Chris Lattner
f070b05728 New testcase
llvm-svn: 9578
2003-10-29 05:51:03 +00:00
Brian Gaeke
65c88653cf 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
d6816f603f 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
81ad09e0ab Add more debugging info to help tracing the SlotCalculator.
llvm-svn: 9575
2003-10-29 03:12:12 +00:00
Chris Lattner
708b93cd86 Yet another bugfix for 1.1
llvm-svn: 9574
2003-10-29 01:26:07 +00:00
Chris Lattner
96ec43e139 New testcase
llvm-svn: 9573
2003-10-29 01:23:01 +00:00
Chris Lattner
01c0589d69 Check in statistifying patch for Bill
llvm-svn: 9572
2003-10-28 23:14:59 +00:00
Chris Lattner
1fa4677cf4 Add fixed PR
llvm-svn: 9571
2003-10-28 23:13:03 +00:00
Chris Lattner
9def45d1d0 Add new method
llvm-svn: 9570
2003-10-28 23:10:44 +00:00
Chris Lattner
305fcb1536 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
1139e335a5 New testcase, reduced from DOOM.
llvm-svn: 9568
2003-10-28 22:54:56 +00:00
Chris Lattner
1815e9fca1 Cleanup output a bit
llvm-svn: 9567
2003-10-28 22:53:49 +00:00
Chris Lattner
281c8b7f80 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
a146b08899 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
64c9e919c1 Actually save and pass in argument information
llvm-svn: 9564
2003-10-28 22:45:25 +00:00
Chris Lattner
19e529f0e3 Pass in argc & argv
llvm-svn: 9563
2003-10-28 22:42:24 +00:00
Chris Lattner
dc67d609a2 Print out command lines used to run the programs
llvm-svn: 9562
2003-10-28 22:30:37 +00:00
Brian Gaeke
a6359018f4 Fix extract to use the right TargetData, like Bugpoint does.
llvm-svn: 9561
2003-10-28 22:22:16 +00:00
Chris Lattner
6d1bb7683e 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
f279ebdc69 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
dcd43cfbe7 * 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
f6c2a91b0e 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
f3c4c4f96e 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
40f9932105 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
3d949ca785 Generated autoconf script for Chris.
llvm-svn: 9554
2003-10-28 19:21:11 +00:00
Chris Lattner
efa0c7e472 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
6522de3349 Build the llvm-prof directory
llvm-svn: 9552
2003-10-28 19:16:49 +00:00
Chris Lattner
8b5c356569 Initial checkin of llvmprof stub
llvm-svn: 9551
2003-10-28 19:16:35 +00:00
Brian Gaeke
a9e4a555f2 Remove __STDC_LIMIT_MACROS from here.
llvm-svn: 9550
2003-10-28 19:11:29 +00:00
Brian Gaeke
9061e3664a Add __STDC_LIMIT_MACROS here.
llvm-svn: 9549
2003-10-28 19:09:28 +00:00
Chris Lattner
f7585e10cf Reorder #includes, drop unneeded one
llvm-svn: 9548
2003-10-28 19:08:15 +00:00
Chris Lattner
7e6b286041 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.

llvm-svn: 9547
2003-10-28 18:59:04 +00:00
Chris Lattner
22b6ea1894 Initial checkin of function and block profiling runtime library
llvm-svn: 9546
2003-10-28 18:56:51 +00:00
Misha Brukman
d56c50346a Publications do not get distributed with docs/; hence, their stylesheet need not
be distributed either.

llvm-svn: 9545
2003-10-28 18:55:27 +00:00
Chris Lattner
92b307a5c4 I'm tired of the nightly tester stopping, aren't you?
llvm-svn: 9544
2003-10-28 18:37:24 +00:00
Chris Lattner
51c13a0c9a Eliminate using declarations
llvm-svn: 9543
2003-10-27 21:44:09 +00:00