blob: 9a13f1258e3bd93dae66d3841b459df200f0e2b8 [file] [log] [blame]
John Criswellecf32e52003-09-11 19:58:03 +00001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
Misha Brukmanc6ad94c2003-10-31 00:39:28 +00003<head>
4 <title>LLVM Command Guide</title>
5</head>
John Criswellecf32e52003-09-11 19:58:03 +00006
Misha Brukmanc6ad94c2003-10-31 00:39:28 +00007<body bgcolor=white>
John Criswellecf32e52003-09-11 19:58:03 +00008
Misha Brukmanc6ad94c2003-10-31 00:39:28 +00009<center><h1>LLVM Command Guide<br></h1></center>
John Criswellecf32e52003-09-11 19:58:03 +000010
Misha Brukmanc6ad94c2003-10-31 00:39:28 +000011This document is the reference manual for the LLVM utilities. It will
12show you how to use the LLVM commands and what all of their options
13are.
Chris Lattnerd053efd2003-10-07 20:05:23 +000014
15<table width=100% border=0>
Chris Lattner651fbec2003-10-07 20:35:55 +000016<tr><td valign=top width=50%>
Chris Lattnerd053efd2003-10-07 20:05:23 +000017
Misha Brukmanc6ad94c2003-10-31 00:39:28 +000018<!--===============================================================-->
19<center><h2><a name="llvmcmds">Basic Commands</a><hr></h2></center>
20<!--===============================================================-->
John Criswellecf32e52003-09-11 19:58:03 +000021
Misha Brukmanc6ad94c2003-10-31 00:39:28 +000022<dl compact>
23 <dt><A href="llvm-as.html"><b>llvm-as</b></A>
24 <dd>
25 Assemble a human-readable LLVM program into LLVM bytecode.
26 <p>
John Criswellecf32e52003-09-11 19:58:03 +000027
Misha Brukmanc6ad94c2003-10-31 00:39:28 +000028 <dt><A href="llvm-dis.html"><b>llvm-dis</b></A>
29 <dd>
30 Disassemble an LLVM bytecode file into human-readable form.
31 <p>
John Criswellecf32e52003-09-11 19:58:03 +000032
Misha Brukmanc6ad94c2003-10-31 00:39:28 +000033 <dt><A href="llvm-nm.html"><b>llvm-nm</b></A>
34 <dd>
35 Print out the names and types of symbols in an LLVM bytecode file.
36 <p>
Brian Gaekef0e3a082003-10-16 18:04:40 +000037
Misha Brukmanc6ad94c2003-10-31 00:39:28 +000038 <dt><A href="analyze.html"><b>analyze</b></A>
39 <dd>
40 Analyze an LLVM bytecode file.
41 <p>
John Criswellecf32e52003-09-11 19:58:03 +000042
Misha Brukmanc6ad94c2003-10-31 00:39:28 +000043 <dt><A href="opt.html"><b>opt</b></A>
44 <dd>
45 Optimize an LLVM bytecode file.
46 <p>
John Criswellecf32e52003-09-11 19:58:03 +000047
Misha Brukmanc6ad94c2003-10-31 00:39:28 +000048 <dt><A href="llvm-link.html"><b>llvm-link</b></A>
49 <dd>
50 Link several LLVM bytecode files together into one LLVM
51 bytecode file.
52 <p>
John Criswellecf32e52003-09-11 19:58:03 +000053
Misha Brukmanc6ad94c2003-10-31 00:39:28 +000054 <dt><A href="llc.html"><b>llc</b></A>
55 <dd>
56 Compile an LLVM bytecode program into native machine code.
John Criswellecf32e52003-09-11 19:58:03 +000057
Misha Brukmanc6ad94c2003-10-31 00:39:28 +000058 <dt><A href="lli.html"><b>lli</b></A>
59 <dd>
60 Run an LLVM bytecode program using either an interpreter or a
61 JIT compiler.
62 <p>
63</dl>
John Criswellecf32e52003-09-11 19:58:03 +000064
Chris Lattner651fbec2003-10-07 20:35:55 +000065</td><td valign=top width=50%>
John Criswell32003302003-09-11 20:23:52 +000066
Misha Brukmanc6ad94c2003-10-31 00:39:28 +000067<!--===============================================================-->
68<center><h2><a name="llvmcmds">C and C++ Front-end Commands</a><hr></h2></center>
69<!--===============================================================-->
John Criswell32003302003-09-11 20:23:52 +000070
Misha Brukmanc6ad94c2003-10-31 00:39:28 +000071<dl compact>
72 <dt><A href="llvmgcc.html"><b>llvmgcc</b></A>
73 <dd>
74 GCC-based C front end for LLVM.
75 <p>
John Criswellaa5ff242003-10-03 13:48:27 +000076
Misha Brukmanc6ad94c2003-10-31 00:39:28 +000077 <dt><A href="llvmgxx.html"><b>llvmg++</b></A>
78 <dd>
79 GCC-based C++ front end for LLVM.
80 <p>
John Criswellaa5ff242003-10-03 13:48:27 +000081
Misha Brukmanc6ad94c2003-10-31 00:39:28 +000082 <dt><A href="gccas.html"><b>gccas</b></A>
83 <dd>
84 LLVM assembler used by GCC and other native compiler tools.
85 <p>
John Criswell32003302003-09-11 20:23:52 +000086
Misha Brukmanc6ad94c2003-10-31 00:39:28 +000087 <dt><A href="gccld.html"><b>gccld</b></A>
88 <dd>
89 LLVM linker used by GCC and other native compiler tools.
90</dl>
John Criswell32003302003-09-11 20:23:52 +000091
Misha Brukmanc6ad94c2003-10-31 00:39:28 +000092<!--===============================================================-->
93<center><h2><a name="llvmcmds">Debugging Tools</a><hr></h2></center>
94<!--===============================================================-->
Chris Lattnerd053efd2003-10-07 20:05:23 +000095
Misha Brukmanc6ad94c2003-10-31 00:39:28 +000096<dl compact>
97 <dt><A href="bugpoint.html"><b>bugpoint</b></A>
98 <dd>
99 Trace an LLVM bytecode program and reduce its failure to a
100 simple testcase.
101 <p>
Chris Lattnerd053efd2003-10-07 20:05:23 +0000102
Misha Brukmanc6ad94c2003-10-31 00:39:28 +0000103 <dt><A href="extract.html"><b>extract</b></A>
104 <dd>
105 Extract a function from an LLVM bytecode file.
106</dl>
Chris Lattnerd053efd2003-10-07 20:05:23 +0000107</td></tr></table>
108
109
110<hr><font size=-1>
111Maintained by the
112<a href="http://llvm.cs.uiuc.edu">LLVM Team</a>.<br>
Misha Brukmanc6ad94c2003-10-31 00:39:28 +0000113Last modified: $Date$
Chris Lattnerd053efd2003-10-07 20:05:23 +0000114</font>
115
Misha Brukmanc6ad94c2003-10-31 00:39:28 +0000116</body>
John Criswellecf32e52003-09-11 19:58:03 +0000117</html>