History log of /external/llvm/tools/llvm-prof/llvm-prof.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
95a9d937728ca9cf2bf44f86ff1184df318b3bd7 06-Jun-2012 Benjamin Kramer <benny.kra@googlemail.com> Round 2 of dead private variable removal.

LLVM is now -Wunused-private-field clean except for
- lib/MC/MCDisassembler/Disassembler.h. Not sure why it keeps all those unaccessible fields.
- gtest.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158096 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
a7b0cb759433c715065440ee2a963a04db7f2b0b 15-Nov-2011 Benjamin Kramer <benny.kra@googlemail.com> Remove all remaining uses of Value::getNameStr().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144648 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
3ff9563c3e391954b2e224afcf8b2b0fcc3888aa 16-Dec-2010 Michael J. Spencer <bigcheesegs@gmail.com> MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> via an out parm.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121958 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
333fb04506233255f10d8095c9e2de5e5f0fdc6f 09-Dec-2010 Michael J. Spencer <bigcheesegs@gmail.com> Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code &ec. And fix clients.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
1f6efa3996dd1929fbc129203ce5009b620e6969 29-Nov-2010 Michael J. Spencer <bigcheesegs@gmail.com> Merge System into Support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
1dbb3879e81c414733ee38ef6a5e657d7ed47e68 03-Sep-2010 Chris Lattner <sabre@nondot.org> lets get crazy and name the header file the exact class name,
not a scrunched version of it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112904 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
a11a6a0abb0f09c5a381a7bb49901710a7b260f1 03-Sep-2010 Chris Lattner <sabre@nondot.org> AsmPrinter has a formatted stream, pass it down through AsmAnnotationWriter


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112903 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
90c579de5a383cee278acc3f7e7b9d0a656e6a35 06-Aug-2010 Owen Anderson <resistor@mac.com> Reapply r110396, with fixes to appease the Linux buildbot gods.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110460 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
1f74590e9d1b9cf0f1f81a156efea73f76546e05 06-Aug-2010 Owen Anderson <resistor@mac.com> Revert r110396 to fix buildbots.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110410 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
9ccaf53ada99c63737547c0235baeb8454b04e80 06-Aug-2010 Owen Anderson <resistor@mac.com> Don't use PassInfo* as a type identifier for passes. Instead, use the address of the static
ID member as the sole unique type identifier. Clean up APIs related to this change.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110396 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
076124ef26ff67f88663bd11f3b4d6b3d3bb3a9d 01-Nov-2009 Douglas Gregor <dgregor@apple.com> Reverting 85714, 85715, 85716, which are breaking the build

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85717 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
b2fae7560dcac617d40a83c73c976d4045bfb97f 01-Nov-2009 Dan Gohman <gohman@apple.com> Remove the #include of Pass.h from PassManager.h. This breaks a significant
#include dependency, as frontends commonly pull in PassManager.h.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85714 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
42a8832ff7441e4c64eabfe7d2ec09278cca8813 22-Oct-2009 Chris Lattner <sabre@nondot.org> this doesn't use EH either.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84818 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
79331b2fcdaeda00a018614f1ac9fa2818449188 28-Aug-2009 Andreas Neustifter <astifter-llvm@gmx.at> Since all std::cout is gone, also remove iostream include.
(See http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090824/085620.html)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80349 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
30457f2cab0bf62d1d1d144028c8b03965aee2ef 26-Aug-2009 Andreas Neustifter <astifter-llvm@gmx.at> Changed std::cout to outs(), retaining formating.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80076 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
79c5d3f9717756dc3ff56cfcaa3ae1a5930c457a 23-Aug-2009 Chris Lattner <sabre@nondot.org> remove the std::ostream version of module and type printing.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79823 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
bdff548e4dd577a72094d57b282de4e765643b96 23-Aug-2009 Chris Lattner <sabre@nondot.org> eliminate the "Value" printing methods that print to a std::ostream.
This required converting a bunch of stuff off DOUT and other cleanups.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79819 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
3cdfb4afbbe213bf82c260505bf9729fd6036190 13-Aug-2009 Daniel Dunbar <daniel@zuster.org> Update llvm-prof for ProfileInfo API changes.
- Patch by Erick Tryzelaar


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78880 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
c43782cf7163805fb6d727382b5f807ea035b2b0 08-Aug-2009 Daniel Dunbar <daniel@zuster.org> Some ProfileInfo cleanups.
- Part of optimal static profiling patch sequence by Andreas Neustifter.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78485 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
caaa49336b47b542d7255a8455fbab2e14a20ec5 08-Aug-2009 Daniel Dunbar <daniel@zuster.org> More ProfileInfo improvements.
- Part of optimal static profiling patch sequence by Andreas Neustifter.

- Store edge, block, and function information separately for each functions
(instead of in one giant map).

- Return frequencies as double instead of int, and use a sentinel value for
missing information.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78477 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
c9008c5cc7113ea4c3a262e346c0dfcdbca12ae6 05-Aug-2009 Daniel Dunbar <daniel@zuster.org> Make block and function count available via ProfileInfo.
- Part of optimal static profiling patch sequence by Andreas Neustifter.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78247 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
ee16638bfc9c17068c4b3c2dc130277785a11e20 05-Aug-2009 Daniel Dunbar <daniel@zuster.org> Remove unnecessary ProfileInfoLoader methods.
- Part of optimal static profiling patch sequence by Andreas Neustifter.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78199 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
d5b385c09f134ccd5f9ed6f7b6b7a9f3410c6d44 25-Jul-2009 Daniel Dunbar <daniel@zuster.org> One more getName -> getNameStr


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77027 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
fbee579ed46016166d88b4defb81a2e7e253062d 21-Jul-2009 Daniel Dunbar <daniel@zuster.org> Simplify / normalize some uses of Value::getName.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76553 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
0d7c695c74ae6d5f68cc07378c17491915e607d3 16-Jul-2009 Owen Anderson <resistor@mac.com> To simplify the upcoming context-on-type change, switch all command line tools to using the default global context for now.

This will let us to hardwire stuff to the global context in the short term while the API is sorted out.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75846 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
65f57c233cd4499e2e8b52a503201e64edfd6a9e 15-Jul-2009 Dan Gohman <gohman@apple.com> Use errs() instead of std::cerr.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
314fa8e40a439b36eb86984d48579083cc01e90a 14-Jul-2009 Daniel Dunbar <daniel@zuster.org> Move main llvm-prof functionality into a ModulePass.
- To support using the ProfileInfo analysis results instead of accessing the
ProfileInfoLoader directly.

- Based on (part of) a patch by Andreas Neustifter.

- No functionality change.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75625 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
f530c92cd55f35f64904e42e38b3a2bc92b347cb 02-Jul-2009 Dan Gohman <gohman@apple.com> Fix a bunch of other places that used operator[] to test whether
a key is present in a std::map or DenseMap to use find instead.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74676 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
31895e73591d3c9ceae731a1274c8f56194b9616 01-Jul-2009 Owen Anderson <resistor@mac.com> Hold the LLVMContext by reference rather than by pointer.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
8b477ed579794ba6d76915d56b3f448a7dd20120 01-Jul-2009 Owen Anderson <resistor@mac.com> Add a pointer to the owning LLVMContext to Module. This requires threading LLVMContext through a lot
of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools.

Patches for Clang and LLVM-GCC to follow.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
cc14d25dd99e891c586bd56aa41796abbe4ac3d8 06-Mar-2009 Chris Lattner <sabre@nondot.org> Change various llvm utilities to use PrettyStackTraceProgram in
their main routines. This makes the tools print their argc/argv
commands if they crash.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66248 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
944fac71e082cc2664cc71b4d3f6c72bab7143fb 24-Aug-2008 Chris Lattner <sabre@nondot.org> Switch the asmprinter (.ll) and all the stuff it requires over to
use raw_ostream instead of std::ostream. Among other goodness,
this speeds up llvm-dis of kc++ with a release build from 0.85s
to 0.49s (88% faster).

Other interesting changes:
1) This makes Value::print be non-virtual.
2) AP[S]Int and ConstantRange can no longer print to ostream directly,
use raw_ostream instead.
3) This fixes a bug in raw_os_ostream where it didn't flush itself
when destroyed.
4) This adds a new SDNode::print method, instead of only allowing "dump".


A lot of APIs have both std::ostream and raw_ostream versions, it would
be useful to go through and systematically anihilate the std::ostream
versions.

This passes dejagnu, but there may be minor fallout, plz let me know if
so and I'll fix it.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55263 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
21c62da287237d39d0d95004881ea4baae3be6da 29-Dec-2007 Chris Lattner <sabre@nondot.org> remove attributions from tools.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45421 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
82a13c9c4811e40d0ff858c508cb54d672ee926e 08-Oct-2007 Dan Gohman <gohman@apple.com> Move the space in overview output for commands out of each of the
commands and into the common code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42752 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
a99be51bf5cdac1438069d4b01766c47704961c8 05-Jul-2007 Gabor Greif <ggreif@gmail.com> Here is the bulk of the sanitizing.
Almost all occurrences of "bytecode" in the sources have been eliminated.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37913 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
295b1ceb4f96ca80ed2fc8d1a9fcfc4950dccdea 07-May-2007 Reid Spencer <rspencer@reidspencer.com> Initialize variable to null so it has a value in the off chance that a
memory buffer couldn't be allocated.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36904 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
065344dfd5a7b3502098810b981eb0077e5d81f3 07-May-2007 Chris Lattner <sabre@nondot.org> use the new MemoryBuffer interfaces to simplify error reporting in clients.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36900 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
44dadffe4bd58ab32961ca5fe537e8ba69c09243 06-May-2007 Chris Lattner <sabre@nondot.org> switch tools to bitcode instead of bytecode


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36868 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
592488a4ef92ce8e454dc029808ed1b6612b7312 06-May-2007 Chris Lattner <sabre@nondot.org> add support to llvm-prof for reading from a bitcode file


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36836 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
ca5183d445954a9b2a570d6bbba1bc2b00ad6442 05-Mar-2007 Jeff Cohen <jeffc@jolt-lang.org> Unbreak VC++ build.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34917 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
f2e292ce58ca07d9bbe3cad75f8baa35bd85964a 07-Feb-2007 Chris Lattner <sabre@nondot.org> push bytecode decompressor out through APIs. Now the bytecode reader
api's look like this:

ModuleProvider *getBytecodeModuleProvider(
const std::string &Filename, ///< Name of file to be read
BCDecompressor_t *BCDC = Compressor::decompressToNewBuffer,
std::string* ErrMsg = 0, ///< Optional error message holder
BytecodeHandler* H = 0 ///< Optional handler for reader events
);

This is ugly, but allows a client to say:

getBytecodeModuleProvider("foo", 0);

If they do this, there is no dependency on the compression libraries, saving
codesize.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34012 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
c30598bc3ad792eb8cc75b188eb872a28c62ab71 06-Dec-2006 Chris Lattner <sabre@nondot.org> make all llvm tools call llvm_shutdown when they exit, static'ify some stuff.

With this change, I can now move -stats to print when llvm_shutdown is called.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32250 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
19b7e0e0cabfa6dfc559c64e3d6ed053832c4047 24-May-2006 Reid Spencer <rspencer@reidspencer.com> For PR786:
Minor tweaks in public headers and a few .cpp files so that LLVM can build
successfully with -pedantic and projects using LLVM with -pedantic don't
get warnings from LLVM. There's still more -pedantic warnings to fix.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28453 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
1adc3de9146fbf750efa57c6e2900c8ae00a1465 30-Dec-2005 Reid Spencer <rspencer@reidspencer.com> Revert removal of std:: prefixes and addtion of "using namespace std;".
This violates the LLVM coding standards.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25050 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
78b0e6a42effe9697efae14183365b52a8874aa4 29-Dec-2005 Reid Spencer <rspencer@reidspencer.com> General cleanup:
1. Don't mix C++ and C standard I/O, convert to C++ iostreams
2. Wrap long lines
3. use the std namespace to simplify/shorten the code


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25042 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
3da94aec4d429b2ba0f65fa040c33650cade196b 22-Apr-2005 Misha Brukman <brukman+llvm@gmail.com> Remove trailing whitespace


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21428 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
1ef8bdaedbd98bee35a573b8bc87149f2182cb5e 30-Dec-2004 Reid Spencer <rspencer@reidspencer.com> For PR351:
* Place a try/catch block around the entire tool to Make sure std::string
exceptions are caught and printed before exiting the tool.
* Make sure we catch unhandled exceptions at the top level so that we don't
abort with a useless message but indicate than an unhandled exception was
generated.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19192 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
551ccae044b0ff658fe629dd67edd5ffe75d10e8 02-Sep-2004 Reid Spencer <rspencer@reidspencer.com> Changes For Bug 352
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
9de7b334ec6f80a15f093f11b339f5741c964b34 29-Aug-2004 Reid Spencer <rspencer@reidspencer.com> The functions in Signal.h are now in the llvm::sys namespace - adjust


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16091 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
86f42bdad93677fa0ca33b27afb0f493028376cb 04-Jul-2004 Reid Spencer <rspencer@reidspencer.com> Add #include <iostream> since Value.h does not include it any more.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14623 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
bed85ff010b95923646ed4e187a5d432cedf67da 27-May-2004 Chris Lattner <sabre@nondot.org> Header file moved


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13813 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
8c2730e347092e2c62ddb8442252e694bc498aa0 08-Mar-2004 Chris Lattner <sabre@nondot.org> Annotate functions with edge counts as well, if they are available.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12233 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
f73b4ca7f9c5e4a19c3fba9fa0280768b4c64891 19-Feb-2004 Chris Lattner <sabre@nondot.org> Make sure to print a stack trace whenever an error signal is delivered to the
tool.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11632 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
89cf3939b7a3e144020ae3651909cea61504ea42 11-Feb-2004 Chris Lattner <sabre@nondot.org> Factor profile information loading OUT of llvm-prof into libanalysis


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11316 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
d0fde30ce850b78371fd1386338350591f9ff494 11-Nov-2003 Brian Gaeke <gaeke@uiuc.edu> Put all LLVM code into the llvm namespace, as per bug 109.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
cde1cf3f9dccb42f546dcc4ca7d5f96abea0b050 06-Nov-2003 Chris Lattner <sabre@nondot.org> Add new command line option


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9754 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
9088de7357c3e618685af21d79ce5e598304dab0 31-Oct-2003 Chris Lattner <sabre@nondot.org> never print zero executions blocks


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9626 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
3b7f41631db5a63d6d48027aacd4c73b4fc336ae 31-Oct-2003 Chris Lattner <sabre@nondot.org> Simplify code


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9625 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
e1ccadf58cf71d8c2a975eb564ee1497ec508854 31-Oct-2003 Chris Lattner <sabre@nondot.org> Add percentage info


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9624 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
3baed416728ae1c818767cfc733c99e0dceaaeae 31-Oct-2003 Chris Lattner <sabre@nondot.org> 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
/external/llvm/tools/llvm-prof/llvm-prof.cpp
367373053b4c50cf84ec54d2300ddab14c60063e 31-Oct-2003 Chris Lattner <sabre@nondot.org> 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
/external/llvm/tools/llvm-prof/llvm-prof.cpp
5e717646d70084709ebfac4ef4cf68bb81bbad49 31-Oct-2003 Chris Lattner <sabre@nondot.org> 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
/external/llvm/tools/llvm-prof/llvm-prof.cpp
750ba3d6eb1144caa3ba2bec1de3a1a4c9b970eb 29-Oct-2003 Chris Lattner <sabre@nondot.org> 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
/external/llvm/tools/llvm-prof/llvm-prof.cpp
18884a86ae337b6ce9636738c069a87004d43017 29-Oct-2003 Chris Lattner <sabre@nondot.org> 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
/external/llvm/tools/llvm-prof/llvm-prof.cpp
368820586bafcf620159e2e53c4fed557ab057b5 28-Oct-2003 Chris Lattner <sabre@nondot.org> Cleanup output a bit


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9567 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-prof/llvm-prof.cpp
4963dcf584b9bfe097aed271309b81d089b291e1 28-Oct-2003 Chris Lattner <sabre@nondot.org> 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
/external/llvm/tools/llvm-prof/llvm-prof.cpp
33f1ca7d8a86ce4933e89ddb6671924b3ec03923 28-Oct-2003 Chris Lattner <sabre@nondot.org> 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
/external/llvm/tools/llvm-prof/llvm-prof.cpp
7a78d819b77e3143b678864f8431fd0b724786d5 28-Oct-2003 Chris Lattner <sabre@nondot.org> 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
/external/llvm/tools/llvm-prof/llvm-prof.cpp
e436779c5a275e98a488b9ddbceada223f238a8b 28-Oct-2003 Chris Lattner <sabre@nondot.org> 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
/external/llvm/tools/llvm-prof/llvm-prof.cpp
6f82d07060b5eb90bf12a1a03a268df18baff67b 28-Oct-2003 Chris Lattner <sabre@nondot.org> Initial checkin of llvmprof stub


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