llvm.org GIT mirror llvm / a0031cc
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 Brian Gaeke 16 years ago
2 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
1414 // This is useful for reporting information like the number of instructions
1515 // simplified, optimized or removed by various transformations, like this:
1616 //
17 // static Statistic<> NumInstEliminated("GCSE - Number of instructions killed");
17 // static Statistic<> NumInstsKilled("gcse", "Number of instructions killed");
1818 //
19 // Later, in the code: ++NumInstEliminated;
19 // Later, in the code: ++NumInstsKilled;
2020 //
2121 //===----------------------------------------------------------------------===//
2222
1414 // This is useful for reporting information like the number of instructions
1515 // simplified, optimized or removed by various transformations, like this:
1616 //
17 // static Statistic<> NumInstEliminated("GCSE - Number of instructions killed");
17 // static Statistic<> NumInstsKilled("gcse", "Number of instructions killed");
1818 //
19 // Later, in the code: ++NumInstEliminated;
19 // Later, in the code: ++NumInstsKilled;
2020 //
2121 //===----------------------------------------------------------------------===//
2222