blob: 4a94aa7025ad11e77382586bd107f69faefe0cac [file] [log] [blame]
John Criswellecf32e52003-09-11 19:58:03 +00001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3 <head>
4 <title>LLVM Command Guide</title>
5 </head>
6
7 <body bgcolor=white>
8
9 <center><h1>LLVM Command Guide<br></h1></center>
10
John Criswellecf32e52003-09-11 19:58:03 +000011 This document is the reference manual for the LLVM utilities. It will
12 show you how to use the LLVM commands and what all of their options
13 are.
14
Chris Lattnerd053efd2003-10-07 20:05:23 +000015
16
17<table width=100% border=0>
18<tr><td valign=top>
19
John Criswellecf32e52003-09-11 19:58:03 +000020 <!--===============================================================-->
Chris Lattnerd053efd2003-10-07 20:05:23 +000021 <center><h2><a name="llvmcmds">Basic Commands</a><hr></h2></center>
John Criswellecf32e52003-09-11 19:58:03 +000022 <!--===============================================================-->
23
24 <dl compact>
Chris Lattner3a8bddb2003-10-07 16:34:51 +000025 <dt><A href="llvm-as.html"><b>llvm-as</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000026 <dd>
27 Assemble a human-readable LLVM program into LLVM bytecode.
28 <p>
29
Chris Lattner3a8bddb2003-10-07 16:34:51 +000030 <dt><A href="llvm-dis.html"><b>llvm-dis</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000031 <dd>
32 Disassemble an LLVM bytecode file into human-readable form.
33 <p>
34
John Criswell32003302003-09-11 20:23:52 +000035 <dt><A href="analyze.html"><b>analyze</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000036 <dd>
37 Analyze an LLVM bytecode file.
38 <p>
39
John Criswell32003302003-09-11 20:23:52 +000040 <dt><A href="opt.html"><b>opt</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000041 <dd>
42 Optimize an LLVM bytecode file.
43 <p>
44
Chris Lattner3a8bddb2003-10-07 16:34:51 +000045 <dt><A href="llvm-link.html"><b>llvm-link</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000046 <dd>
47 Link several LLVM bytecode files together into one LLVM
48 bytecode file.
49 <p>
50
John Criswell32003302003-09-11 20:23:52 +000051 <dt><A href="llc.html"><b>llc</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000052 <dd>
53 Compile an LLVM bytecode program into native machine code.
54
John Criswell32003302003-09-11 20:23:52 +000055 <dt><A href="lli.html"><b>lli</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000056 <dd>
57 Run an LLVM bytecode program using either an interpreter or a
58 JIT compiler.
59 <p>
60 </dl>
61
Chris Lattnerd053efd2003-10-07 20:05:23 +000062</td><td valign=top>
John Criswell32003302003-09-11 20:23:52 +000063
64 <!--===============================================================-->
Chris Lattnerd053efd2003-10-07 20:05:23 +000065 <center><h2><a name="llvmcmds">C and C++ Front-end Commands</a><hr></h2></center>
John Criswell32003302003-09-11 20:23:52 +000066 <!--===============================================================-->
67
68 <dl compact>
John Criswellaa5ff242003-10-03 13:48:27 +000069 <dt><A href="llvmgcc.html"><b>llvmgcc</b></A>
70 <dd>
71 GCC-based C front end for LLVM.
72 <p>
73
74 <dt><A href="llvmgxx.html"><b>llvmg++</b></A>
75 <dd>
76 GCC-based C++ front end for LLVM.
77 <p>
78
John Criswell32003302003-09-11 20:23:52 +000079 <dt><A href="gccas.html"><b>gccas</b></A>
80 <dd>
81 LLVM assembler used by GCC and other native compiler tools.
82 <p>
83
84 <dt><A href="gccld.html"><b>gccld</b></A>
85 <dd>
86 LLVM linker used by GCC and other native compiler tools.
87 </dl>
88
Chris Lattnerd053efd2003-10-07 20:05:23 +000089 <!--===============================================================-->
90 <center><h2><a name="llvmcmds">Debugging Tools</a><hr></h2></center>
91 <!--===============================================================-->
92
93 <dl compact>
94 <dt><A href="bugpoint.html"><b>bugpoint</b></A>
95 <dd>
96 Trace an LLVM bytecode program and reduce its failure to a
97 simple testcase.
98 <p>
99
100 <dt><A href="extract.html"><b>extract</b></A>
101 <dd>
102 Extract a function from an LLVM bytecode file.
103 </dl>
104</td></tr></table>
105
106
107<hr><font size=-1>
108Maintained by the
109<a href="http://llvm.cs.uiuc.edu">LLVM Team</a>.<br>
110<!-- Created: Wed Feb 26 10:40:50 CST 2003 -->
111<!-- hhmts start -->
112Last modified: Tue Oct 7 15:04:55 CDT 2003
113<!-- hhmts end -->
114</font>
115
John Criswellecf32e52003-09-11 19:58:03 +0000116 </body>
117</html>