2003-09-11 19:58:03 +00:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<html>
|
2003-10-31 00:39:28 +00:00
|
|
|
<head>
|
|
|
|
<title>LLVM Command Guide</title>
|
|
|
|
</head>
|
2003-09-11 19:58:03 +00:00
|
|
|
|
2003-10-31 00:39:28 +00:00
|
|
|
<body bgcolor=white>
|
2003-09-11 19:58:03 +00:00
|
|
|
|
2003-10-31 00:39:28 +00:00
|
|
|
<center><h1>LLVM Command Guide<br></h1></center>
|
2003-10-07 20:05:23 +00:00
|
|
|
|
2003-10-31 00:39:28 +00:00
|
|
|
This document is the reference manual for the LLVM utilities. It will
|
|
|
|
show you how to use the LLVM commands and what all of their options
|
|
|
|
are.
|
2003-10-07 20:05:23 +00:00
|
|
|
|
|
|
|
<table width=100% border=0>
|
2003-10-07 20:35:55 +00:00
|
|
|
<tr><td valign=top width=50%>
|
2003-10-07 20:05:23 +00:00
|
|
|
|
2003-10-31 00:39:28 +00:00
|
|
|
<!--===============================================================-->
|
|
|
|
<center><h2><a name="llvmcmds">Basic Commands</a><hr></h2></center>
|
|
|
|
<!--===============================================================-->
|
|
|
|
|
|
|
|
<dl compact>
|
|
|
|
<dt><A href="llvm-as.html"><b>llvm-as</b></A>
|
|
|
|
<dd>
|
|
|
|
Assemble a human-readable LLVM program into LLVM bytecode.
|
|
|
|
<p>
|
|
|
|
|
|
|
|
<dt><A href="llvm-dis.html"><b>llvm-dis</b></A>
|
|
|
|
<dd>
|
|
|
|
Disassemble an LLVM bytecode file into human-readable form.
|
|
|
|
<p>
|
|
|
|
|
|
|
|
<dt><A href="analyze.html"><b>analyze</b></A>
|
|
|
|
<dd>
|
|
|
|
Analyze an LLVM bytecode file.
|
|
|
|
<p>
|
|
|
|
|
|
|
|
<dt><A href="opt.html"><b>opt</b></A>
|
|
|
|
<dd>
|
|
|
|
Optimize an LLVM bytecode file.
|
|
|
|
<p>
|
|
|
|
|
2003-11-02 02:10:54 +00:00
|
|
|
<dt><A href="llc.html"><b>llc</b></A>
|
|
|
|
<dd>
|
|
|
|
Compile an LLVM bytecode program into native machine code.
|
2003-11-30 05:46:14 +00:00
|
|
|
<p>
|
2003-11-02 02:10:54 +00:00
|
|
|
|
|
|
|
<dt><A href="lli.html"><b>lli</b></A>
|
|
|
|
<dd>
|
|
|
|
Run an LLVM bytecode program using either an interpreter or a
|
|
|
|
JIT compiler.
|
|
|
|
<p>
|
|
|
|
|
2003-10-31 00:39:28 +00:00
|
|
|
<dt><A href="llvm-link.html"><b>llvm-link</b></A>
|
|
|
|
<dd>
|
|
|
|
Link several LLVM bytecode files together into one LLVM
|
|
|
|
bytecode file.
|
|
|
|
<p>
|
|
|
|
|
2003-11-02 02:10:54 +00:00
|
|
|
<dt><A href="llvm-nm.html"><b>llvm-nm</b></A>
|
2003-10-31 00:39:28 +00:00
|
|
|
<dd>
|
2003-11-02 02:10:54 +00:00
|
|
|
Print out the names and types of symbols in an LLVM bytecode file.
|
|
|
|
<p>
|
2003-10-31 00:39:28 +00:00
|
|
|
|
2003-11-02 02:10:54 +00:00
|
|
|
<dt><A href="llvm-prof.html"><b>llvm-prof</b></A>
|
2003-10-31 00:39:28 +00:00
|
|
|
<dd>
|
2003-11-02 02:10:54 +00:00
|
|
|
Transform raw '<tt>llvmprof.out</tt>' data into a human readable report.
|
2003-10-31 00:39:28 +00:00
|
|
|
<p>
|
|
|
|
</dl>
|
2003-09-11 20:23:52 +00:00
|
|
|
|
2003-10-07 20:35:55 +00:00
|
|
|
</td><td valign=top width=50%>
|
2003-09-11 20:23:52 +00:00
|
|
|
|
2003-10-31 00:39:28 +00:00
|
|
|
<!--===============================================================-->
|
|
|
|
<center><h2><a name="llvmcmds">C and C++ Front-end Commands</a><hr></h2></center>
|
|
|
|
<!--===============================================================-->
|
|
|
|
|
|
|
|
<dl compact>
|
|
|
|
<dt><A href="llvmgcc.html"><b>llvmgcc</b></A>
|
|
|
|
<dd>
|
|
|
|
GCC-based C front end for LLVM.
|
|
|
|
<p>
|
|
|
|
|
|
|
|
<dt><A href="llvmgxx.html"><b>llvmg++</b></A>
|
|
|
|
<dd>
|
|
|
|
GCC-based C++ front end for LLVM.
|
|
|
|
<p>
|
|
|
|
|
|
|
|
<dt><A href="gccas.html"><b>gccas</b></A>
|
|
|
|
<dd>
|
|
|
|
LLVM assembler used by GCC and other native compiler tools.
|
|
|
|
<p>
|
|
|
|
|
|
|
|
<dt><A href="gccld.html"><b>gccld</b></A>
|
|
|
|
<dd>
|
|
|
|
LLVM linker used by GCC and other native compiler tools.
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<!--===============================================================-->
|
|
|
|
<center><h2><a name="llvmcmds">Debugging Tools</a><hr></h2></center>
|
|
|
|
<!--===============================================================-->
|
|
|
|
|
|
|
|
<dl compact>
|
|
|
|
<dt><A href="bugpoint.html"><b>bugpoint</b></A>
|
|
|
|
<dd>
|
|
|
|
Trace an LLVM bytecode program and reduce its failure to a
|
|
|
|
simple testcase.
|
|
|
|
<p>
|
|
|
|
|
|
|
|
<dt><A href="extract.html"><b>extract</b></A>
|
|
|
|
<dd>
|
|
|
|
Extract a function from an LLVM bytecode file.
|
|
|
|
</dl>
|
2003-10-07 20:05:23 +00:00
|
|
|
</td></tr></table>
|
|
|
|
|
|
|
|
|
|
|
|
<hr><font size=-1>
|
|
|
|
Maintained by the
|
|
|
|
<a href="http://llvm.cs.uiuc.edu">LLVM Team</a>.<br>
|
2003-10-31 00:39:28 +00:00
|
|
|
Last modified: $Date$
|
2003-10-07 20:05:23 +00:00
|
|
|
</font>
|
|
|
|
|
2003-10-31 00:39:28 +00:00
|
|
|
</body>
|
2003-09-11 19:58:03 +00:00
|
|
|
</html>
|