aboutsummaryrefslogtreecommitdiffstats
path: root/docs/CommandGuide/opt.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-07 20:17:24 +0000
committerChris Lattner <sabre@nondot.org>2003-10-07 20:17:24 +0000
commit26814d0dfecc3a84462ddad68c6775d483a56d38 (patch)
tree7bf0e9ca7d4da0849ee548200076f840b1a4ffb0 /docs/CommandGuide/opt.html
parent08a04fdd67cdb469cdc7c2f38e97df571ecacd26 (diff)
downloadexternal_llvm-26814d0dfecc3a84462ddad68c6775d483a56d38.zip
external_llvm-26814d0dfecc3a84462ddad68c6775d483a56d38.tar.gz
external_llvm-26814d0dfecc3a84462ddad68c6775d483a56d38.tar.bz2
TTify, add links between pages
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8939 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide/opt.html')
-rw-r--r--docs/CommandGuide/opt.html75
1 files changed, 31 insertions, 44 deletions
diff --git a/docs/CommandGuide/opt.html b/docs/CommandGuide/opt.html
index ace6a7a..e71c24c 100644
--- a/docs/CommandGuide/opt.html
+++ b/docs/CommandGuide/opt.html
@@ -1,56 +1,46 @@
<html>
-<title>
-LLVM: opt tool
-</title>
+<title>LLVM: opt tool</title>
<body bgcolor=white>
-<center>
-<h1>LLVM: opt tool</h1>
-</center>
+<center><h1>LLVM: <tt>opt</tt> tool</h1></center>
<HR>
-<h3>
-NAME
-</h3>
+<h3>NAME</h3>
+<tt>opt</tt>
-opt
+<h3>SYNOPSIS</h3>
+<tt>opt [options] [filename]</tt>
-<h3>
-SYNOPSIS
-</h3>
+<h3>DESCRIPTION</h3>
-opt [options] [filename]
-<h3>
-DESCRIPTION
-</h3>
-
-The opt command is the LLVM optimizer. It takes LLVM bytecode as input, runs
-the specified optimizations on it, and then outputs the optimized LLVM
-bytecode.
+The <tt>opt</tt> command is the modular LLVM optimizer. It takes LLVM bytecode
+as input, runs the specified optimizations on it, and then outputs the optimized
+LLVM bytecode.
<p>
-The optimizations available via opt depend upon what libraries were linked
-into it as well as any additional libraries that have been loaded with the
--load option. Use the -help option to determine what optimizations you can use.
+The optimizations available via <tt>opt</tt> depend upon what libraries were
+linked into it as well as any additional libraries that have been loaded with
+the <tt>-load</tt> option. Use the <tt>-help</tt> option to determine what
+optimizations you can use.
<p>
-If no filename is specified on the command line, opt reads its input from
-standard input.
+If no filename is specified on the command line, <tt>opt</tt> reads its input
+from standard input.
<p>
-If an output filename is not specified with the -o option, opt writes its
-output to the standard output.
-<h3>
-OPTIONS
-</h3>
+If an output filename is not specified with the <tt>-o</tt> option, <tt>opt</tt>
+writes its output to the standard output.
+
+
+<h3>OPTIONS</h3>
<ul>
<li> -f
<br>
- Force overwrite. Normally, opt will refuse to overwrite an output
- file that already exists. With this option, opt will overwrite the
- output file and replace it with new bytecode.
+ Force overwrite. Normally, <tt>opt</tt> will refuse to overwrite an
+ output file that already exists. With this option, <tt>opt</tt> will
+ overwrite the output file and replace it with new bytecode.
<p>
<li> -help
@@ -105,7 +95,7 @@ OPTIONS
options to enable various optimizations. To see the new complete list
of optimizations, use the -help and -load options together:
<p>
- opt -load &lt;plugin.so&gt; -help
+ <tt>opt -load &lt;plugin.so&gt; -help</tt>
<p>
<li> -p
@@ -114,17 +104,14 @@ OPTIONS
<p>
</ul>
-<h3>
-EXIT STATUS
-</h3>
+<h3>EXIT STATUS</h3>
+
+If <tt>opt</tt> succeeds, it will exit with 0. Otherwise, if an error occurs,
+it will exit with a non-zero value.
-If opt succeeds, it will exit with 0. Otherwise, if an error occurs, it
-will exit with a non-zero value.
+<h3>SEE ALSO</h3>
-<h3>
-SEE ALSO
-</h3>
-analyze
+<a href="analyze.html"><tt>analyze</tt></a>
<HR>
Maintained by the <a href="http://llvm.cs.uiuc.edu">LLVM Team</a>.