Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove some uses of llvm/Support/Streams.h | Chris Lattner | 2009-08-23 | 1 | -6/+6 |
| | | | | llvm-svn: 79842 | ||||
* | Have scoped mutexes take referenes instead of pointers. | Owen Anderson | 2009-07-07 | 1 | -1/+1 |
| | | | | llvm-svn: 74931 | ||||
* | Use atomic operations when accessing statistics, and make the lazy ↵ | Owen Anderson | 2009-06-23 | 1 | -4/+8 |
| | | | | | | initialization of statistics actually threadsafe. llvm-svn: 74005 | ||||
* | Guard the statistics table. | Owen Anderson | 2009-06-22 | 1 | -1/+3 |
| | | | | llvm-svn: 73916 | ||||
* | Clean up the use of static and anonymous namespaces. This turned up | Dan Gohman | 2008-05-13 | 1 | -0/+4 |
| | | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017 | ||||
* | Fix more -Wshorten-64-to-32 warnings. | Evan Cheng | 2008-05-05 | 1 | -2/+2 |
| | | | | llvm-svn: 50659 | ||||
* | Unbreak build with gcc 4.3: provide missed includes and silence most ↵ | Anton Korobeynikov | 2008-02-20 | 1 | -0/+1 |
| | | | | | | annoying warnings. llvm-svn: 47367 | ||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45418 | ||||
* | eliminate constructor from Statistic class. It is now impossible to get a | Chris Lattner | 2006-12-19 | 1 | -4/+4 |
| | | | | | | static constructor for them :). Transition complete. llvm-svn: 32710 | ||||
* | Refactor statistic a big and introduce a horrible-but-necessary macro | Chris Lattner | 2006-12-19 | 1 | -4/+4 |
| | | | | | | | | (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. llvm-svn: 32687 | ||||
* | Change the implementation of statistic to not need destructors at all. | Chris Lattner | 2006-12-08 | 1 | -61/+76 |
| | | | | | | | | | 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. llvm-svn: 32372 | ||||
* | Don't use <sstream> in Streams.h but <iosfwd> instead. | Bill Wendling | 2006-12-07 | 1 | -0/+1 |
| | | | | llvm-svn: 32340 | ||||
* | Removed more <iostream> includes | Bill Wendling | 2006-12-07 | 1 | -3/+2 |
| | | | | llvm-svn: 32321 | ||||
* | merge the Statistic and StatisticBase classes, eliminating virtual methods | Chris Lattner | 2006-12-06 | 1 | -10/+5 |
| | | | | | | and eliminating #includes from the Statistic.h file. llvm-svn: 32282 | ||||
* | Detemplatize the Statistic class. The only type it is instantiated with | Chris Lattner | 2006-12-06 | 1 | -3/+1 |
| | | | | | | is 'unsigned'. llvm-svn: 32279 | ||||
* | Instantiate Statistic<> in one place, not in every .o file that uses it. | Chris Lattner | 2006-08-30 | 1 | -0/+2 |
| | | | | llvm-svn: 29971 | ||||
* | Add some out-of-line virtual dtors so that the class has a "home", preventing | Chris Lattner | 2006-06-21 | 1 | -0/+4 |
| | | | | | | vtables for (e.g.) Instruction from being emitted into every .o file. llvm-svn: 28898 | ||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -4/+4 |
| | | | | llvm-svn: 21422 | ||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -2/+2 |
| | | | | | | | | 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/. llvm-svn: 16137 | ||||
* | Pass std::string to constructor as const reference to avoid multiple | Alkis Evlogimenos | 2004-01-06 | 1 | -1/+1 |
| | | | | | | copies. llvm-svn: 10705 | ||||
* | Finegrainify namespacification | Chris Lattner | 2003-12-14 | 1 | -5/+2 |
| | | | | | | Make the Timer code give correct user/system/user+system times when -track-memory is enabled llvm-svn: 10463 | ||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -1/+5 |
| | | | | llvm-svn: 9903 | ||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | ||||
* | This file uses stable_sort | Chris Lattner | 2003-08-13 | 1 | -0/+1 |
| | | | | llvm-svn: 7831 | ||||
* | Move debug functionality to Debug.cpp/Debug.h | Chris Lattner | 2003-08-01 | 1 | -12/+1 |
| | | | | llvm-svn: 7494 | ||||
* | Add a new info-output-file option (hidden from --help) which is to be used by | Chris Lattner | 2003-05-09 | 1 | -10/+18 |
| | | | | | | the testing scripts to avoid breaking diffs while still gathering stats. llvm-svn: 6067 | ||||
* | Remove the -debug option from release executables | Chris Lattner | 2003-02-09 | 1 | -0/+3 |
| | | | | llvm-svn: 5521 | ||||
* | Add #include | Chris Lattner | 2002-10-27 | 1 | -0/+1 |
| | | | | llvm-svn: 4291 | ||||
* | added cast to unsigned to compile with gcc3.2 (sparc) | Anand Shukla | 2002-10-04 | 1 | -2/+4 |
| | | | | llvm-svn: 4041 | ||||
* | - Rework Statistics: | Chris Lattner | 2002-10-01 | 1 | -6/+59 |
| | | | | | | | | | | | * 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. llvm-svn: 3999 | ||||
* | *** empty log message *** | Chris Lattner | 2002-07-22 | 1 | -2/+10 |
| | | | | llvm-svn: 2985 | ||||
* | Implement a new command line option, -debug, which is meant to unify all of | Chris Lattner | 2002-05-22 | 1 | -0/+3 |
| | | | | | | | | the random debugging macros scattered throughout llvm. The new DEBUG(x) macro should be used instead of special purpose debug macros. llvm-svn: 2709 | ||||
* | Initial checkin of Statistic class. | Chris Lattner | 2002-05-10 | 1 | -0/+31 |
llvm-svn: 2598 |