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>This document is the reference manual for the LLVM utilities. It will
17 show you how to use the LLVM commands and what their options are. Note that in
18 the descriptions below, `bytecode' and `program' refer to LLVM bytecode files
19 and assembly programs, respectively.</p>
22 <li><a href="#basic">Basic Commands</a></li>
23 <li><a href="#frontend">C and C++ Frond-end Commands</a></li>
24 <li><a href="#debug">Debugging commands</a></li>
29 <!-- *********************************************************************** -->
30 <div class="doc_section">
31 <a name="basic">Basic Commands</a>
33 <!-- *********************************************************************** -->
35 <div class="doc_text">
39 <li><a href="html/llvm-as.html"><b>llvm-as</b></a> -
40 assemble a human-readable program into bytecode</li>
42 <li><a href="html/llvm-dis.html"><b>llvm-dis</b></a> -
43 disassemble a bytecode file into human-readable form</li>
45 <li><a href="html/analyze.html"><b>analyze</b></a> -
46 analyze a program compiled to bytecode</li>
48 <li><a href="html/opt.html"><b>opt</b></a> -
49 optimize a bytecode file</li>
51 <li><a href="html/llc.html"><b>llc</b></a> -
52 compile a bytecode program into native machine code</li>
54 <li><a href="html/lli.html"><b>lli</b></a> -
55 run a bytecode program using either an interpreter or a JIT compiler</li>
57 <li><a href="html/llvm-link.html"><b>llvm-link</b></A>
58 link several bytecode files into one</li>
60 <li><a href="html/llvm-nm.html"><b>llvm-nm</b></a>
61 print out the names and types of symbols in a bytecode file</li>
63 <li><a href="html/llvm-prof.html"><b>llvm-prof</b></a> -
64 transform raw `<tt>llvmprof.out</tt>' data into a human-readable report</li>
70 <!-- *********************************************************************** -->
71 <div class="doc_section">
72 <a name="frontend">C and C++ Front-end Commands</a>
74 <!-- *********************************************************************** -->
76 <div class="doc_text">
80 <li><a href="html/llvmgcc.html"><b>llvmgcc</b></a> -
81 GCC-based C front end for LLVM
83 <li><a href="html/llvmgxx.html"><b>llvmg++</b></a> -
84 GCC-based C++ front end for LLVM</li>
86 <li><a href="html/gccas.html"><b>gccas</b></a> -
87 optimizing assembler used by llvm-g++ and llvm-gcc</li>
89 <li><a href="html/gccld.html"><b>gccld</b></a> -
90 optimizing linker used by llvm-g++ and llvm-gcc</li>
96 <!-- *********************************************************************** -->
97 <div class="doc_section">
98 <a name="debug">Debugging Tools</a>
100 <!-- *********************************************************************** -->
103 <div class="doc_text">
107 <li><a href="html/bugpoint.html"><b>bugpoint</b></a> -
108 automatic test-case reducer</li>
110 <li><a href="html/extract.html"><b>extract</b></a> -
111 extract a function from an LLVM bytecode file</li>
113 <li><a href="html/llvm-bcanalyzer.html"><b>llvm-bcanalyzer</b></a> -
114 bytecode analyzer (analyzes the binary encoding itself, not the program it
121 <!-- *********************************************************************** -->
125 <a href="http://jigsaw.w3.org/css-validator/check/referer"><img
126 src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!"></a>
127 <a href="http://validator.w3.org/check/referer"><img
128 src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"></a>
130 <a href="http://llvm.cs.uiuc.edu">LLVM Compiler Infrastructure</a><br>
131 Last modified: $Date$