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>
|
2007-07-09 06:32:55 +00:00
|
|
|
<link rel="stylesheet" href="/docs/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
|
|
|
|
2004-07-01 16:04:49 +00:00
|
|
|
<div class="doc_title">
|
|
|
|
LLVM Command Guide
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="doc_text">
|
|
|
|
|
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
|
2004-07-10 06:06:56 +00:00
|
|
|
<tt>--help</tt> (general options) or <tt>--help-hidden</tt> (general+debugging
|
|
|
|
options) arguments to the tool you are interested in.</p>
|
2004-07-01 16:04:49 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- *********************************************************************** -->
|
|
|
|
<div class="doc_section">
|
|
|
|
<a name="basic">Basic Commands</a>
|
|
|
|
</div>
|
|
|
|
<!-- *********************************************************************** -->
|
|
|
|
|
|
|
|
<div class="doc_text">
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
2008-11-25 21:38:38 +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
|
|
|
|
2007-08-05 23:43:44 +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
|
|
|
|
2007-08-05 23:43:44 +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
|
|
|
|
2008-11-25 21:38:38 +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
|
|
|
|
2008-11-25 21:38:38 +00:00
|
|
|
<li><a href="/cmds/lli.html"><b>lli</b></a> -
|
|
|
|
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
|
|
|
|
2007-08-05 23:43:44 +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>
|
|
|
|
|
2008-11-25 21:38:38 +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>
|
|
|
|
|
2008-11-25 21:38:38 +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>
|
|
|
|
|
2007-08-05 23:43:44 +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>
|
|
|
|
|
2007-08-05 23:43:44 +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
|
|
|
|
2007-08-05 23:43:44 +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
|
|
|
|
2008-11-25 21:38:38 +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
|
|
|
|
2008-12-11 17:12:52 +00:00
|
|
|
<li><a href="/cmds/llvmc.html"><b>llvmc</b></a> -
|
|
|
|
a generic customizable compiler driver</li>
|
2008-11-25 21:38:38 +00:00
|
|
|
|
2004-07-01 16:04:49 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- *********************************************************************** -->
|
|
|
|
<div class="doc_section">
|
2008-08-06 05:57:58 +00:00
|
|
|
<a name="frontend">C and C++ Front-end Commands</a>
|
2004-07-01 16:04:49 +00:00
|
|
|
</div>
|
|
|
|
<!-- *********************************************************************** -->
|
|
|
|
|
|
|
|
<div class="doc_text">
|
|
|
|
<ul>
|
|
|
|
|
2008-08-06 05:56:52 +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
|
|
|
|
2008-08-06 05:56:52 +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>
|
|
|
|
|
|
|
|
<!-- *********************************************************************** -->
|
|
|
|
<div class="doc_section">
|
|
|
|
<a name="debug">Debugging Tools</a>
|
|
|
|
</div>
|
|
|
|
<!-- *********************************************************************** -->
|
|
|
|
|
|
|
|
|
|
|
|
<div class="doc_text">
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
2007-08-05 23:43:44 +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>
|
|
|
|
|
2007-08-05 23:43:44 +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>
|
|
|
|
|
2007-08-05 23:43:44 +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>
|
|
|
|
|
|
|
|
<!-- *********************************************************************** -->
|
|
|
|
<div class="doc_section">
|
|
|
|
<a name="internal">Internal Tools</a>
|
|
|
|
</div>
|
|
|
|
<!-- *********************************************************************** -->
|
2004-07-01 16:04:49 +00:00
|
|
|
|
2006-06-02 17:43:38 +00:00
|
|
|
<div class="doc_text">
|
|
|
|
<ul>
|
|
|
|
|
2007-08-05 23:43:44 +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>
|
|
|
|
|
|
|
|
</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
|
|
|
|
2006-03-14 05:42:07 +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>
|