blob: 93876b71c3fee7337eb44869f259d69d766f8864 [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
11 <!--===============================================================-->
12 <h2><a name="a">Overview</a><hr></h2>
13 <!--===============================================================-->
14
15 This document is the reference manual for the LLVM utilities. It will
16 show you how to use the LLVM commands and what all of their options
17 are.
18
19 <!--===============================================================-->
John Criswell32003302003-09-11 20:23:52 +000020 <h2><a name="llvmcmds">LLVM Base Commands</a><hr></h2>
John Criswellecf32e52003-09-11 19:58:03 +000021 <!--===============================================================-->
22
23 <dl compact>
John Criswell32003302003-09-11 20:23:52 +000024 <dt><A href="llvmas.html"><b>llvm-as</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000025 <dd>
26 Assemble a human-readable LLVM program into LLVM bytecode.
27 <p>
28
John Criswell32003302003-09-11 20:23:52 +000029 <dt><A href="llvmdis.html"><b>llvm-dis</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000030 <dd>
31 Disassemble an LLVM bytecode file into human-readable form.
32 <p>
33
John Criswell32003302003-09-11 20:23:52 +000034 <dt><A href="analyze.html"><b>analyze</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000035 <dd>
36 Analyze an LLVM bytecode file.
37 <p>
38
John Criswell32003302003-09-11 20:23:52 +000039 <dt><A href="opt.html"><b>opt</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000040 <dd>
41 Optimize an LLVM bytecode file.
42 <p>
43
John Criswell58ebcd02003-09-17 14:11:24 +000044 <dt><A href="llvmlink.html"><b>llvm-link</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000045 <dd>
46 Link several LLVM bytecode files together into one LLVM
47 bytecode file.
48 <p>
49
John Criswell32003302003-09-11 20:23:52 +000050 <dt><A href="llc.html"><b>llc</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000051 <dd>
52 Compile an LLVM bytecode program into native machine code.
53
John Criswell32003302003-09-11 20:23:52 +000054 <dt><A href="lli.html"><b>lli</b></A>
John Criswellecf32e52003-09-11 19:58:03 +000055 <dd>
56 Run an LLVM bytecode program using either an interpreter or a
57 JIT compiler.
58 <p>
59 </dl>
60
John Criswell32003302003-09-11 20:23:52 +000061 <!--===============================================================-->
62 <h2><a name="llvmcmds">LLVM Debugging Tools</a><hr></h2>
63 <!--===============================================================-->
64
65 <dl compact>
66 <dt><A href="bugpoint.html"><b>bugpoint</b></A>
67 <dd>
68 Trace an LLVM bytecode program and reduce its failure to a
69 simple testcase.
70 <p>
71
72 <dt><A href="extract.html"><b>extract</b></A>
73 <dd>
74 Extract a function from an LLVM bytecode file.
75 </dl>
76
77 <!--===============================================================-->
78 <h2><a name="llvmcmds">LLVM GCC Support Commands</a><hr></h2>
79 <!--===============================================================-->
80
81 <dl compact>
John Criswellaa5ff242003-10-03 13:48:27 +000082 <dt><A href="llvmgcc.html"><b>llvmgcc</b></A>
83 <dd>
84 GCC-based C front end for LLVM.
85 <p>
86
87 <dt><A href="llvmgxx.html"><b>llvmg++</b></A>
88 <dd>
89 GCC-based C++ front end for LLVM.
90 <p>
91
John Criswell32003302003-09-11 20:23:52 +000092 <dt><A href="gccas.html"><b>gccas</b></A>
93 <dd>
94 LLVM assembler used by GCC and other native compiler tools.
95 <p>
96
97 <dt><A href="gccld.html"><b>gccld</b></A>
98 <dd>
99 LLVM linker used by GCC and other native compiler tools.
100 </dl>
101
John Criswellecf32e52003-09-11 19:58:03 +0000102 </body>
103</html>