summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2004-11-19 01:25:14 +0000
committerTanya Lattner <tonic@nondot.org>2004-11-19 01:25:14 +0000
commitd5383653a4c1065efd1ea504d114feb457a8331e (patch)
tree269e20df55cb63f528365fd1b820edf55c658452 /docs
parent954f66a8cd43d552801f60f9e113f5c704487ee7 (diff)
downloadllvm-d5383653a4c1065efd1ea504d114feb457a8331e.tar.gz
llvm-d5383653a4c1065efd1ea504d114feb457a8331e.tar.bz2
llvm-d5383653a4c1065efd1ea504d114feb457a8331e.tar.xz
Added link to information on Statistic which is in the Programmers Manual.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/WritingAnLLVMPass.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html
index 0e52fe6222..c036fa6892 100644
--- a/docs/WritingAnLLVMPass.html
+++ b/docs/WritingAnLLVMPass.html
@@ -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>
@@ -1205,6 +1206,23 @@ pass is the default implementation for the interface.</p>
<!-- *********************************************************************** -->
<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>
</div>
<!-- *********************************************************************** -->