search for: statisticreporter

Displaying 2 results from an estimated 2 matches for "statisticreporter".

Did you mean: statisticsreporter
2002 Sep 22
0
[LLVMdev] Cute LLVM feature that may be useful for 426 people
This is an FYI to all people who are writing LLVM passes (mostly 426 people) about a useful feature of LLVM. The "Support/StatisticReporter.h" file provides two useful features that you may want to make use of in your pass (http://llvm.cs.uiuc.edu/doxygen/StatisticReporter_8h-source.html): 1. Statistics output - Often you may run your pass on some big program, and you're interested to see how many times it makes a certain...
2002 Oct 01
0
[LLVMdev] Statistic API change
...ail/llvm-commits/Week-of-Mon-20020930/000541.html This change breaks the Statistic<> api, so any code not in CVS will have to be updated to work with the new system. In short, these are the changes you'll have to make: * #include "Support/Statistic.h" instead of "Support/StatisticReporter.h" * Change the constructor call to pass in two strings instead of one. Basically instead of passing in "mypass\t\t- foo" you should pass in "mypass", "foo". The indentation and spacing is all taken care of for you now. Note that the DEBUG macro is still i...