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>
|
2004-07-01 16:04:49 +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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
<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>
|
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/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
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/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
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/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
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/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
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/lli.html"><b>lli</b></a> -
|
2004-07-10 06:06:56 +00:00
|
|
|
directly run a program compiled to bytecode using a JIT compiler or
|
|
|
|
interpreter</li>
|
2004-07-01 16:04:49 +00:00
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/llvm-link.html"><b>llvm-link</b></a> -
|
2004-07-01 16:04:49 +00:00
|
|
|
link several bytecode files into one</li>
|
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/analyze.html"><b>analyze</b></a> -
|
2004-07-10 06:06:56 +00:00
|
|
|
run LLVM analyses on a bytecode file and print the results</li>
|
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/llvm-ar.html"><b>llvm-ar</b></a> -
|
2004-11-11 09:30:00 +00:00
|
|
|
archive bytecode files</li>
|
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/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>
|
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/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>
|
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/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
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/llvmc.html"><b>llvmc</b></a> -
|
2004-11-29 04:32:37 +00:00
|
|
|
generic and configurable compiler driver</li>
|
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/llvm-ld.html"><b>llvm-ld</b></a> -
|
2004-11-29 04:32:37 +00:00
|
|
|
general purpose linker with loadable runtime optimization support</li>
|
|
|
|
|
2006-03-24 00:03:37 +00:00
|
|
|
<li><a href="html/llvm-config.html"><b>llvm-config</b></a> -
|
|
|
|
print out LLVM compilation options, libraries, etc. as configured.
|
|
|
|
|
2004-07-01 16:04:49 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- *********************************************************************** -->
|
|
|
|
<div class="doc_section">
|
2004-07-10 21:43:12 +00:00
|
|
|
<a name="frontend">C, C++, and Stacker Front-end Commands</a>
|
2004-07-01 16:04:49 +00:00
|
|
|
</div>
|
|
|
|
<!-- *********************************************************************** -->
|
|
|
|
|
|
|
|
<div class="doc_text">
|
|
|
|
<ul>
|
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/llvmgcc.html"><b>llvmgcc</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
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/llvmgxx.html"><b>llvmg++</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
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/gccas.html"><b>gccas</b></a> -
|
2004-07-10 06:06:56 +00:00
|
|
|
compile-time optimizer used by llvm-g++ and llvm-gcc</li>
|
2004-07-01 16:04:49 +00:00
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/gccld.html"><b>gccld</b></a> -
|
2004-07-10 06:06:56 +00:00
|
|
|
linker and link-time optimizer used by llvm-g++ and llvm-gcc</li>
|
2004-07-01 16:04:49 +00:00
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/stkrc.html"><b>stkrc</b></a> -
|
2004-07-10 21:43:12 +00:00
|
|
|
front-end compiler for the <a href="../Stacker.html">Stacker</a>
|
|
|
|
language</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>
|
|
|
|
|
2004-12-09 23:28:09 +00:00
|
|
|
<li><a href="html/bugpoint.html"><b>bugpoint</b></a> -
|
2004-07-01 16:04:49 +00:00
|
|
|
automatic test-case reducer</li>
|
|
|
|
|
2005-04-24 17:46:58 +00:00
|
|
|
<li><a href="html/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>
|
|
|
|
|
2004-12-09 23:25:59 +00:00
|
|
|
<li><a href="html/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>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- *********************************************************************** -->
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<address>
|
|
|
|
<a href="http://jigsaw.w3.org/css-validator/check/referer"><img
|
|
|
|
src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!"></a>
|
|
|
|
<a href="http://validator.w3.org/check/referer"><img
|
|
|
|
src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"></a>
|
|
|
|
|
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>
|