aa21e417f24fe9be4fd8db366766fb262c96703e |
|
06-Dec-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Silence tsan false-positives (tsan can't track things which are only safe due to memory fences) in statistics registration, which works the same way that ManagedStatic registration does. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145869 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
8cc4769108272d309038a657e42b7fcbc5bd94f3 |
|
10-Oct-2011 |
Andrew Trick <atrick@apple.com> |
Allow stat += 0 without activating the stat. For me, this is a nice convenience. We generally want grep to match stats output only when the event has occurred. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141574 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
b35e4e84727ff5ba3621b39caa622baef431ca45 |
|
10-Oct-2011 |
Andrew Trick <atrick@apple.com> |
whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141572 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
0aa00f91100fb031cd9cde2562cdc029f4fb26d5 |
|
27-Feb-2011 |
Daniel Dunbar <daniel@zuster.org> |
Support: Add llvm::AreStatisticsEnabled(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126558 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
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/include/llvm/ADT/Statistic.h
|
27da66db3e3d61e9320c8562d9504f939d884598 |
|
24-Jun-2010 |
Dan Gohman <gohman@apple.com> |
Add a comment about a thread safety issue in Statistic.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106756 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
6ce57922bb8d550d91c8133d1fd27dd3eaf24c22 |
|
30-Mar-2010 |
Douglas Gregor <dgregor@apple.com> |
Introduce namespace-scope functions to enable LLVM statistics without passing the command-line parameter "-stats" and to print the resulting statistics without calling llvm_shutdown(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99893 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
5ec56cc43895b8b78ef2480d54982e3866d9d07a |
|
30-Jun-2009 |
Owen Anderson <resistor@mac.com> |
Fix the build on Cygwin. Patch by Aaron Gray. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74510 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
92915e31e988c1b89a07c035029dc2f289afb789 |
|
23-Jun-2009 |
Owen Anderson <resistor@mac.com> |
Use atomic operations when accessing statistics, and make the lazy initialization of statistics actually threadsafe. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74005 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
3a54b3dc87a581c203b18050b4f787b4ca28a12c |
|
09-Jan-2009 |
Misha Brukman <brukman+llvm@gmail.com> |
Removed trailing whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62000 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
8e1cddc11dd8be5855a43e31d8db20b00c54ee03 |
|
27-May-2008 |
Matthijs Kooijman <matthijs@stdin.nl> |
Use an explicit llvm:: prefix in the STATISTIC macro, so STATISTIC can still be used when "using namespace llvm" is not in effect. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51592 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
7ed47a13356daed2a34cd2209a31f92552e3bdd8 |
|
29-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
Don't attribute in file headers anymore. See llvmdev for the discussion of this change. Boy are my fingers tired. ;-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45411 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
0a3615246fe194f64e5d4afea5943542545819fc |
|
20-Dec-2006 |
Chris Lattner <sabre@nondot.org> |
eliminate constructor from Statistic class. It is now impossible to get a static constructor for them :). Transition complete. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32710 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
3d3a429acb1de79eb15575ed4d90a0a951fda576 |
|
19-Dec-2006 |
John Criswell <criswell@uiuc.edu> |
Added operator methods to the Statistic class; some LLVM projects depend on these. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32701 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
ecb27687587d04475097596c53349b631f7ef42d |
|
19-Dec-2006 |
Chris Lattner <sabre@nondot.org> |
Refactor statistic a big and introduce a horrible-but-necessary macro (STATISTIC), which allows us to define statistics that don't introduce static ctors into the .o files. I'm migrating code over to use this incrementally. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32687 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
975f05852d15c98540b50de7df704d67e5a794cd |
|
08-Dec-2006 |
Chris Lattner <sabre@nondot.org> |
Change the implementation of statistic to not need destructors at all. Instead, the stat info is printed when llvm_shutdown() is called. These also don't need static ctors, but getting rid of them is uglier: still investigating. This reduces the number of static dtors in llvm from ~1400 to ~750. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32372 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
cf84504d7a86808117f67264ad5cfab8f5a139bc |
|
06-Dec-2006 |
Chris Lattner <sabre@nondot.org> |
merge the Statistic and StatisticBase classes, eliminating virtual methods and eliminating #includes from the Statistic.h file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32282 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
ac0b6ae358944ae8b2b5a11dc08f52c3ed89f2da |
|
06-Dec-2006 |
Chris Lattner <sabre@nondot.org> |
Detemplatize the Statistic class. The only type it is instantiated with is 'unsigned'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32279 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
52c917190a8094b4e5f6cc0b30e373638268f3a4 |
|
30-Aug-2006 |
Chris Lattner <sabre@nondot.org> |
Instantiate Statistic<> in one place, not in every .o file that uses it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29971 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
70aa33ee37fede7fb84de02daa38557ffd366458 |
|
21-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Add some out-of-line virtual dtors so that the class has a "home", preventing vtables for (e.g.) Instruction from being emitted into every .o file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28898 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
1dc3fd11101903fbcbdc3d69cf92d5db59389ff1 |
|
23-Jan-2006 |
Chris Lattner <sabre@nondot.org> |
This only needs <iosfwd> not <iostream> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
9769ab22265b313171d201b5928688524a01bd87 |
|
21-Apr-2005 |
Misha Brukman <brukman+llvm@gmail.com> |
Remove trailing whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21408 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
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/include/llvm/ADT/Statistic.h
|
3b94a5142c1029a1a50e659c45fdb0627ede7a82 |
|
04-Jul-2004 |
Alkis Evlogimenos <alkis@evlogimenos.com> |
Add more operators. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14589 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
f9a5f780bf2ee162468749329c21e51685db649e |
|
16-Apr-2004 |
Brian Gaeke <gaeke@uiuc.edu> |
Switch to including <iostream> for compatibility with gcc-3.0.x (Debian). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12990 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
a0031cc08c73717341e53c9d5c6c9daa4fcdf5f7 |
|
13-Feb-2004 |
Brian Gaeke <gaeke@uiuc.edu> |
Update the example here in the header file. I don't know about you guys, but I rarely read the .html manuals :-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11366 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
d924edb845101f89744344aee66bbf9f2e89c3c6 |
|
15-Jan-2004 |
Chris Lattner <sabre@nondot.org> |
add support for -- for symmetry git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10865 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
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/include/llvm/ADT/Statistic.h
|
b2109ce97881269a610fa4afbcbca350e975174d |
|
20-Oct-2003 |
John Criswell <criswell@uiuc.edu> |
Added LLVM notice. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9300 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
2dd93edfc221fe6d1e102cca694da01ca36b5d11 |
|
02-Aug-2003 |
Chris Lattner <sabre@nondot.org> |
Move debugging support out of Statistic.h into Debug.h, implement the new DEBUG_TYPE facilities git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7490 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
4932b31dce8fc065a91af2852314ee8c4403ee23 |
|
31-Oct-2002 |
Chris Lattner <sabre@nondot.org> |
Statistic class should return const reference to *this, not a reference to the data type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4458 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
96ef1b90c8f3a6649993bb7ab10db3510f12e80a |
|
02-Oct-2002 |
Chris Lattner <sabre@nondot.org> |
- Rework Statistics: * Renamed StatisticReporter.h/cpp to Statistic.h/cpp * Broke constructor to take two const char * arguments instead of one, so that indendation can be taken care of automatically. * Sort the list by pass name when printing * Make sure to print all statistics as a group, instead of randomly when the statistics dtors are called. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3999 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
4a9f9337511441af0624e754ad9b2b1262ee584d |
|
25-Jun-2002 |
Anand Shukla <ashukla@cs.uiuc.edu> |
changes to make it compatible with 64bit gcc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
4435ac009708d78c8894cc9b30185aa6511cd8a6 |
|
22-May-2002 |
Chris Lattner <sabre@nondot.org> |
Implement a new command line option, -debug, which is meant to unify all of the random debugging macros scattered throughout llvm. The new DEBUG(x) macro should be used instead of special purpose debug macros. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2709 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|
fa10fdf5eb9305d8af2f4c63264400bb17e6aa3f |
|
10-May-2002 |
Chris Lattner <sabre@nondot.org> |
Initial checkin of Statistic class git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2599 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/Statistic.h
|