1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
5 <title>LLVM Command Guide</title>
6 <link rel="stylesheet" href="../llvm.css" type="text/css">
10 <div class="doc_title">
14 <div class="doc_text">
16 <p>These documents are HTML versions of the <a href="man/man1/">man pages</a>
17 for all of the LLVM tools. These pages describe how to use the LLVM commands
18 and what their options are. Note that these pages do not describe all of the
19 options available for all tools. To get a complete listing, pass the
20 <tt>--help</tt> (general options) or <tt>--help-hidden</tt> (general+debugging
21 options) arguments to the tool you are interested in.</p>
25 <!-- *********************************************************************** -->
26 <div class="doc_section">
27 <a name="basic">Basic Commands</a>
29 <!-- *********************************************************************** -->
31 <div class="doc_text">
35 <li><a href="html/llvm-as.html"><b>llvm-as</b></a> -
36 assemble a human-readable .ll file into bytecode</li>
38 <li><a href="html/llvm-dis.html"><b>llvm-dis</b></a> -
39 disassemble a bytecode file into a human-readable .ll file</li>
41 <li><a href="html/opt.html"><b>opt</b></a> -
42 run a series of LLVM-to-LLVM optimizations on a bytecode file</li>
44 <li><a href="html/llc.html"><b>llc</b></a> -
45 generate native machine code for a bytecode file</li>
47 <li><a href="html/lli.html"><b>lli</b></a> -
48 directly run a program compiled to bytecode using a JIT compiler or
51 <li><a href="html/llvm-link.html"><b>llvm-link</b></a> -
52 link several bytecode files into one</li>
54 <li><a href="html/analyze.html"><b>analyze</b></a> -
55 run LLVM analyses on a bytecode file and print the results</li>
57 <li><a href="html/llvm-ar.html"><b>llvm-ar</b></a> -
58 archive bytecode files</li>
60 <li><a href="html/llvm-ranlib.html"><b>llvm-ranlib</b></a> -
61 create an index for archives made with llvm-ar</li>
63 <li><a href="html/llvm-nm.html"><b>llvm-nm</b></a> -
64 print out the names and types of symbols in a bytecode file</li>
66 <li><a href="html/llvm-prof.html"><b>llvm-prof</b></a> -
67 format raw `<tt>llvmprof.out</tt>' data into a human-readable report</li>
69 <li><a href="html/llvmc.html"><b>llvmc</b></a> -
70 generic and configurable compiler driver</li>
72 <li><a href="html/llvm-ld.html"><b>llvm-ld</b></a> -
73 general purpose linker with loadable runtime optimization support</li>
75 <li><a href="html/llvm-config.html"><b>llvm-config</b></a> -
76 print out LLVM compilation options, libraries, etc. as configured.</li>
78 <li><a href="html/llvm2cpp.html"><b>llvm2cpp</b></a> - convert LLVM assembly
79 into the corresponding LLVM C++ API calls to produce it</li>
84 <!-- *********************************************************************** -->
85 <div class="doc_section">
86 <a name="frontend">C, C++, and Stacker Front-end Commands</a>
88 <!-- *********************************************************************** -->
90 <div class="doc_text">
93 <li><a href="html/llvmgcc.html"><b>llvmgcc</b></a> -
94 GCC-based C front-end for LLVM
96 <li><a href="html/llvmgxx.html"><b>llvmg++</b></a> -
97 GCC-based C++ front-end for LLVM</li>
99 <li><a href="html/gccas.html"><b>gccas</b></a> -
100 compile-time optimizer used by llvm-g++ and llvm-gcc</li>
102 <li><a href="html/gccld.html"><b>gccld</b></a> -
103 linker and link-time optimizer used by llvm-g++ and llvm-gcc</li>
105 <li><a href="html/stkrc.html"><b>stkrc</b></a> -
106 front-end compiler for the <a href="../Stacker.html">Stacker</a>
113 <!-- *********************************************************************** -->
114 <div class="doc_section">
115 <a name="debug">Debugging Tools</a>
117 <!-- *********************************************************************** -->
120 <div class="doc_text">
124 <li><a href="html/bugpoint.html"><b>bugpoint</b></a> -
125 automatic test-case reducer</li>
127 <li><a href="html/llvm-extract.html"><b>llvm-extract</b></a> -
128 extract a function from an LLVM bytecode file</li>
130 <li><a href="html/llvm-bcanalyzer.html"><b>llvm-bcanalyzer</b></a> -
131 bytecode analyzer (analyzes the binary encoding itself, not the program it
138 <!-- *********************************************************************** -->
142 <a href="http://jigsaw.w3.org/css-validator/check/referer"><img
143 src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!"></a>
144 <a href="http://validator.w3.org/check/referer"><img
145 src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"></a>
147 <a href="http://llvm.org">LLVM Compiler Infrastructure</a><br>
148 Last modified: $Date$