2004-07-01 16:04:49 +00:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
|
|
|
"http://www.w3.org/TR/html4/strict.dtd">
|
2003-09-11 19:58:03 +00:00
|
|
|
<html>
|
2003-10-31 00:39:28 +00:00
|
|
|
<head>
|
|
|
|
<title>LLVM Command Guide</title>
|
2011-04-11 03:27:38 +00:00
|
|
|
<link rel="stylesheet" href="../llvm.css" type="text/css">
|
2003-10-31 00:39:28 +00:00
|
|
|
</head>
|
2004-07-01 16:04:49 +00:00
|
|
|
<body>
|
2003-09-11 19:58:03 +00:00
|
|
|
|
2011-04-18 23:59:50 +00:00
|
|
|
<h1>
|
2004-07-01 16:04:49 +00:00
|
|
|
LLVM Command Guide
|
2011-04-18 23:59:50 +00:00
|
|
|
</h1>
|
2004-07-01 16:04:49 +00:00
|
|
|
|
2011-04-23 00:30:22 +00:00
|
|
|
<div>
|
2004-07-01 16:04:49 +00:00
|
|
|
|
2004-07-10 06:06:56 +00:00
|
|
|
<p>These documents are HTML versions of the <a href="man/man1/">man pages</a>
|
|
|
|
for all of the LLVM tools. These pages describe how to use the LLVM commands
|
2008-11-25 21:38:38 +00:00
|
|
|
and what their options are. Note that these pages do not describe all of the
|
|
|
|
options available for all tools. To get a complete listing, pass the
|
2010-02-18 14:08:13 +00:00
|
|
|
<tt>-help</tt> (general options) or <tt>-help-hidden</tt> (general+debugging
|
2004-07-10 06:06:56 +00:00
|
|
|
options) arguments to the tool you are interested in.</p>
|
2004-07-01 16:04:49 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2010-05-11 16:47:42 +00:00
|
|
|
<!-- *********************************************************************** -->
|
2011-04-18 23:59:50 +00:00
|
|
|
<h2>
|
2004-07-01 16:04:49 +00:00
|
|
|
<a name="basic">Basic Commands</a>
|
2011-04-18 23:59:50 +00:00
|
|
|
</h2>
|
2004-07-01 16:04:49 +00:00
|
|
|
<!-- *********************************************************************** -->
|
|
|
|
|
2011-04-23 00:30:22 +00:00
|
|
|
<div>
|
2004-07-01 16:04:49 +00:00
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/llvm-as.html"><b>llvm-as</b></a> -
|
2004-07-10 06:06:56 +00:00
|
|
|
assemble a human-readable .ll file into bytecode</li>
|
2004-07-01 16:04:49 +00:00
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/llvm-dis.html"><b>llvm-dis</b></a> -
|
2004-07-10 06:06:56 +00:00
|
|
|
disassemble a bytecode file into a human-readable .ll file</li>
|
2004-07-01 16:04:49 +00:00
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/opt.html"><b>opt</b></a> -
|
2004-07-10 06:06:56 +00:00
|
|
|
run a series of LLVM-to-LLVM optimizations on a bytecode file</li>
|
2004-07-01 16:04:49 +00:00
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/llc.html"><b>llc</b></a> -
|
2004-07-10 06:06:56 +00:00
|
|
|
generate native machine code for a bytecode file</li>
|
2004-07-01 16:04:49 +00:00
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/lli.html"><b>lli</b></a> -
|
2008-11-25 21:38:38 +00:00
|
|
|
directly run a program compiled to bytecode using a JIT compiler or
|
2004-07-10 06:06:56 +00:00
|
|
|
interpreter</li>
|
2004-07-01 16:04:49 +00:00
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/llvm-link.html"><b>llvm-link</b></a> -
|
2004-07-01 16:04:49 +00:00
|
|
|
link several bytecode files into one</li>
|
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/llvm-ar.html"><b>llvm-ar</b></a> -
|
2004-11-11 09:30:00 +00:00
|
|
|
archive bytecode files</li>
|
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/llvm-ranlib.html"><b>llvm-ranlib</b></a> -
|
2004-11-15 19:53:43 +00:00
|
|
|
create an index for archives made with llvm-ar</li>
|
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/llvm-nm.html"><b>llvm-nm</b></a> -
|
2004-07-01 16:04:49 +00:00
|
|
|
print out the names and types of symbols in a bytecode file</li>
|
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/llvm-prof.html"><b>llvm-prof</b></a> -
|
2004-07-10 06:06:56 +00:00
|
|
|
format raw `<tt>llvmprof.out</tt>' data into a human-readable report</li>
|
2004-07-01 16:04:49 +00:00
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/llvm-ld.html"><b>llvm-ld</b></a> -
|
2008-12-11 17:12:52 +00:00
|
|
|
general purpose linker with loadable runtime optimization support</li>
|
2004-11-29 04:32:37 +00:00
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/llvm-config.html"><b>llvm-config</b></a> -
|
2008-12-11 17:12:52 +00:00
|
|
|
print out LLVM compilation options, libraries, etc. as configured</li>
|
2006-03-24 00:03:37 +00:00
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/llvmc.html"><b>llvmc</b></a> -
|
2008-12-11 17:12:52 +00:00
|
|
|
a generic customizable compiler driver</li>
|
2008-11-25 21:38:38 +00:00
|
|
|
|
2010-09-07 23:10:21 +00:00
|
|
|
<li><a href="/cmds/llvm-diff.html"><b>llvm-diff</b></a> -
|
|
|
|
structurally compare two modules</li>
|
|
|
|
|
2004-07-01 16:04:49 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- *********************************************************************** -->
|
2011-04-18 23:59:50 +00:00
|
|
|
<h2>
|
2008-08-06 05:57:58 +00:00
|
|
|
<a name="frontend">C and C++ Front-end Commands</a>
|
2011-04-18 23:59:50 +00:00
|
|
|
</h2>
|
2004-07-01 16:04:49 +00:00
|
|
|
<!-- *********************************************************************** -->
|
|
|
|
|
2011-04-23 00:30:22 +00:00
|
|
|
<div>
|
2004-07-01 16:04:49 +00:00
|
|
|
<ul>
|
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/llvmgcc.html"><b>llvm-gcc</b></a> -
|
2004-07-10 06:06:56 +00:00
|
|
|
GCC-based C front-end for LLVM
|
2004-07-01 16:04:49 +00:00
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/llvmgxx.html"><b>llvm-g++</b></a> -
|
2004-07-10 06:06:56 +00:00
|
|
|
GCC-based C++ front-end for LLVM</li>
|
2004-07-01 16:04:49 +00:00
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- *********************************************************************** -->
|
2011-04-18 23:59:50 +00:00
|
|
|
<h2>
|
2004-07-01 16:04:49 +00:00
|
|
|
<a name="debug">Debugging Tools</a>
|
2011-04-18 23:59:50 +00:00
|
|
|
</h2>
|
2004-07-01 16:04:49 +00:00
|
|
|
<!-- *********************************************************************** -->
|
|
|
|
|
|
|
|
|
2011-04-23 00:30:22 +00:00
|
|
|
<div>
|
2004-07-01 16:04:49 +00:00
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/bugpoint.html"><b>bugpoint</b></a> -
|
2004-07-01 16:04:49 +00:00
|
|
|
automatic test-case reducer</li>
|
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/llvm-extract.html"><b>llvm-extract</b></a> -
|
2004-07-01 16:04:49 +00:00
|
|
|
extract a function from an LLVM bytecode file</li>
|
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/llvm-bcanalyzer.html"><b>llvm-bcanalyzer</b></a> -
|
2004-07-01 16:59:05 +00:00
|
|
|
bytecode analyzer (analyzes the binary encoding itself, not the program it
|
|
|
|
represents)</li>
|
|
|
|
|
2004-07-01 16:04:49 +00:00
|
|
|
</ul>
|
2006-06-02 17:43:38 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- *********************************************************************** -->
|
2011-04-18 23:59:50 +00:00
|
|
|
<h2>
|
2006-06-02 17:43:38 +00:00
|
|
|
<a name="internal">Internal Tools</a>
|
2011-04-18 23:59:50 +00:00
|
|
|
</h2>
|
2006-06-02 17:43:38 +00:00
|
|
|
<!-- *********************************************************************** -->
|
2004-07-01 16:04:49 +00:00
|
|
|
|
2011-04-23 00:30:22 +00:00
|
|
|
<div>
|
2006-06-02 17:43:38 +00:00
|
|
|
<ul>
|
|
|
|
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/FileCheck.html"><b>FileCheck</b></a> -
|
2009-08-15 15:38:11 +00:00
|
|
|
Flexible file verifier used extensively by the testing harness</li>
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/tblgen.html"><b>tblgen</b></a> -
|
2006-06-02 17:43:38 +00:00
|
|
|
target description reader and generator</li>
|
2010-05-07 00:28:04 +00:00
|
|
|
<li><a href="/cmds/lit.html"><b>lit</b></a> -
|
2009-10-19 03:54:13 +00:00
|
|
|
LLVM Integrated Tester, for running tests</li>
|
2006-06-02 17:43:38 +00:00
|
|
|
|
|
|
|
</ul>
|
2004-07-01 16:04:49 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- *********************************************************************** -->
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<address>
|
|
|
|
<a href="http://jigsaw.w3.org/css-validator/check/referer"><img
|
2008-12-11 17:12:52 +00:00
|
|
|
src="http://jigsaw.w3.org/css-validator/images/vcss-blue" alt="Valid CSS"></a>
|
2004-07-01 16:04:49 +00:00
|
|
|
<a href="http://validator.w3.org/check/referer"><img
|
2008-12-11 17:12:52 +00:00
|
|
|
src="http://www.w3.org/Icons/valid-html401-blue" alt="Valid HTML 4.01"></a>
|
2004-07-01 16:04:49 +00:00
|
|
|
|
2011-04-09 02:13:37 +00:00
|
|
|
<a href="http://llvm.org/">LLVM Compiler Infrastructure</a><br>
|
2004-07-01 16:04:49 +00:00
|
|
|
Last modified: $Date$
|
|
|
|
</address>
|
2003-10-07 20:05:23 +00:00
|
|
|
|
2003-10-31 00:39:28 +00:00
|
|
|
</body>
|
2003-09-11 19:58:03 +00:00
|
|
|
</html>
|