Added link to information on Statistic which is in the Programmers Manual.
authorTanya Lattner <tonic@nondot.org>
Fri, 19 Nov 2004 01:25:14 +0000 (01:25 +0000)
committerTanya Lattner <tonic@nondot.org>
Fri, 19 Nov 2004 01:25:14 +0000 (01:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17971 91177308-0d34-0410-b5e6-96231b3b80d8

docs/WritingAnLLVMPass.html

index 0e52fe62224edd7e6278dfa499701a1a4640bd8f..c036fa6892ea4d13c4cb322175402df67dfd935f 100644 (file)
@@ -77,6 +77,7 @@
      <li><a href="#agconcepts">Analysis Group Concepts</a></li>
      <li><a href="#registerag">Using <tt>RegisterAnalysisGroup</tt></a></li>
      </ul></li>
+  <li><a href="#passStatistics">Pass Statistics</a>
   <li><a href="#passmanager">What PassManager does</a>
     <ul>
     <li><a href="#releaseMemory">The <tt>releaseMemory</tt> method</a></li>
@@ -1203,6 +1204,23 @@ pass is the default implementation for the interface.</p>
 
 </div>
 
+<!-- *********************************************************************** -->
+<div class="doc_section">
+  <a name="passStatistics">Pass Statistics</a>
+</div>
+<!-- *********************************************************************** -->
+
+<div class="doc_text">
+<p>The file <a
+href="http:://llvm.cs.uiuc.edu/doxygen/Statistic_8h-source.html"><tt>Statistic</tt></a>
+class, is designed to be an easy way to expose various success
+metrics from passes.  These statistics are printed at the end of a
+run, when the -stats command line option is enabled on the command
+line. See the <a href="http://llvm.org/docs/ProgrammersManual.html#Statistic">Statistics section</a> in the Programmers Manual for details. 
+
+</div>
+
+
 <!-- *********************************************************************** -->
 <div class="doc_section">
   <a name="passmanager">What PassManager does</a>