blob: 546e8eb8c06f0629bab8b97cac4742136d169abf [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>
Chris Lattner651fbec2003-10-07 20:35:55 +000018<tr><td valign=top width=50%>
Chris Lattnerd053efd2003-10-07 20:05:23 +000019
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
Brian Gaekecab5c192003-10-16 18:05:09 +000035 <dt><A href="llvm-nm.html"><b>llvm-nm</b></A>
Brian Gaekef0e3a082003-10-16 18:04:40 +000036 <dd>
37 Print out the names and types of symbols in an LLVM bytecode file.
38 <p>
39
John Criswell32003302003-09-11 20:23:52 +000040 <dt><A href="analyze.html"><b>analyze</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000041 <dd>
42 Analyze an LLVM bytecode file.
43 <p>
44
John Criswell32003302003-09-11 20:23:52 +000045 <dt><A href="opt.html"><b>opt</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000046 <dd>
47 Optimize an LLVM bytecode file.
48 <p>
49
Chris Lattner3a8bddb2003-10-07 16:34:51 +000050 <dt><A href="llvm-link.html"><b>llvm-link</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000051 <dd>
52 Link several LLVM bytecode files together into one LLVM
53 bytecode file.
54 <p>
55
John Criswell32003302003-09-11 20:23:52 +000056 <dt><A href="llc.html"><b>llc</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000057 <dd>
58 Compile an LLVM bytecode program into native machine code.
59
John Criswell32003302003-09-11 20:23:52 +000060 <dt><A href="lli.html"><b>lli</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000061 <dd>
62 Run an LLVM bytecode program using either an interpreter or a
63 JIT compiler.
64 <p>
65 </dl>
66
Chris Lattner651fbec2003-10-07 20:35:55 +000067</td><td valign=top width=50%>
John Criswell32003302003-09-11 20:23:52 +000068
69 <!--===============================================================-->
Chris Lattnerd053efd2003-10-07 20:05:23 +000070 <center><h2><a name="llvmcmds">C and C++ Front-end Commands</a><hr></h2></center>
John Criswell32003302003-09-11 20:23:52 +000071 <!--===============================================================-->
72
73 <dl compact>
John Criswellaa5ff242003-10-03 13:48:27 +000074 <dt><A href="llvmgcc.html"><b>llvmgcc</b></A>
75 <dd>
76 GCC-based C front end for LLVM.
77 <p>
78
79 <dt><A href="llvmgxx.html"><b>llvmg++</b></A>
80 <dd>
81 GCC-based C++ front end for LLVM.
82 <p>
83
John Criswell32003302003-09-11 20:23:52 +000084 <dt><A href="gccas.html"><b>gccas</b></A>
85 <dd>
86 LLVM assembler used by GCC and other native compiler tools.
87 <p>
88
89 <dt><A href="gccld.html"><b>gccld</b></A>
90 <dd>
91 LLVM linker used by GCC and other native compiler tools.
92 </dl>
93
Chris Lattnerd053efd2003-10-07 20:05:23 +000094 <!--===============================================================-->
95 <center><h2><a name="llvmcmds">Debugging Tools</a><hr></h2></center>
96 <!--===============================================================-->
97
98 <dl compact>
99 <dt><A href="bugpoint.html"><b>bugpoint</b></A>
100 <dd>
101 Trace an LLVM bytecode program and reduce its failure to a
102 simple testcase.
103 <p>
104
105 <dt><A href="extract.html"><b>extract</b></A>
106 <dd>
107 Extract a function from an LLVM bytecode file.
108 </dl>
109</td></tr></table>
110
111
112<hr><font size=-1>
113Maintained by the
114<a href="http://llvm.cs.uiuc.edu">LLVM Team</a>.<br>
115<!-- Created: Wed Feb 26 10:40:50 CST 2003 -->
116<!-- hhmts start -->
Chris Lattner651fbec2003-10-07 20:35:55 +0000117Last modified: Tue Oct 7 15:34:17 CDT 2003
Chris Lattnerd053efd2003-10-07 20:05:23 +0000118<!-- hhmts end -->
119</font>
120
John Criswellecf32e52003-09-11 19:58:03 +0000121 </body>
122</html>