Displaying 1 result from an estimated 1 matches for "statisticreporter_8h".
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
transformation. For example, you may be interested to see how many
alloca instructions are replaced with their elements (for MP1).
A...