2003-09-11 19:58:03 +00:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>LLVM Command Guide</title>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body bgcolor=white>
|
|
|
|
|
|
|
|
<center><h1>LLVM Command Guide<br></h1></center>
|
|
|
|
|
|
|
|
<!--===============================================================-->
|
|
|
|
<h2><a name="a">Overview</a><hr></h2>
|
|
|
|
<!--===============================================================-->
|
|
|
|
|
|
|
|
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-09-11 20:23:52 +00:00
|
|
|
<h2><a name="llvmcmds">LLVM Base Commands</a><hr></h2>
|
2003-09-11 19:58:03 +00:00
|
|
|
<!--===============================================================-->
|
|
|
|
|
|
|
|
<dl compact>
|
2003-09-11 20:23:52 +00:00
|
|
|
<dt><A href="llvmas.html"><b>llvm-as</b></A>
|
2003-09-11 19:58:03 +00:00
|
|
|
<dd>
|
|
|
|
Assemble a human-readable LLVM program into LLVM bytecode.
|
|
|
|
<p>
|
|
|
|
|
2003-09-11 20:23:52 +00:00
|
|
|
<dt><A href="llvmdis.html"><b>llvm-dis</b></A>
|
2003-09-11 19:58:03 +00:00
|
|
|
<dd>
|
|
|
|
Disassemble an LLVM bytecode file into human-readable form.
|
|
|
|
<p>
|
|
|
|
|
2003-09-11 20:23:52 +00:00
|
|
|
<dt><A href="analyze.html"><b>analyze</b></A>
|
2003-09-11 19:58:03 +00:00
|
|
|
<dd>
|
|
|
|
Analyze an LLVM bytecode file.
|
|
|
|
<p>
|
|
|
|
|
2003-09-11 20:23:52 +00:00
|
|
|
<dt><A href="opt.html"><b>opt</b></A>
|
2003-09-11 19:58:03 +00:00
|
|
|
<dd>
|
|
|
|
Optimize an LLVM bytecode file.
|
|
|
|
<p>
|
|
|
|
|
2003-09-17 14:11:24 +00:00
|
|
|
<dt><A href="llvmlink.html"><b>llvm-link</b></A>
|
2003-09-11 19:58:03 +00:00
|
|
|
<dd>
|
|
|
|
Link several LLVM bytecode files together into one LLVM
|
|
|
|
bytecode file.
|
|
|
|
<p>
|
|
|
|
|
2003-09-11 20:23:52 +00:00
|
|
|
<dt><A href="llc.html"><b>llc</b></A>
|
2003-09-11 19:58:03 +00:00
|
|
|
<dd>
|
2003-09-11 20:23:52 +00:00
|
|
|
Compile an LLVM bytecode program into native machine code.
|
|
|
|
|
|
|
|
<dt><A href="lli.html"><b>lli</b></A>
|
|
|
|
<dd>
|
|
|
|
Run an LLVM bytecode program using either an interpreter or a
|
|
|
|
JIT compiler.
|
2003-09-11 19:58:03 +00:00
|
|
|
<p>
|
2003-09-11 20:23:52 +00:00
|
|
|
</dl>
|
|
|
|
|
|
|
|
<!--===============================================================-->
|
|
|
|
<h2><a name="llvmcmds">LLVM Debugging Tools</a><hr></h2>
|
|
|
|
<!--===============================================================-->
|
2003-09-11 19:58:03 +00:00
|
|
|
|
2003-09-11 20:23:52 +00:00
|
|
|
<dl compact>
|
|
|
|
<dt><A href="bugpoint.html"><b>bugpoint</b></A>
|
2003-09-11 19:58:03 +00:00
|
|
|
<dd>
|
2003-09-11 20:23:52 +00:00
|
|
|
Trace an LLVM bytecode program and reduce its failure to a
|
|
|
|
simple testcase.
|
2003-09-11 19:58:03 +00:00
|
|
|
<p>
|
|
|
|
|
2003-09-11 20:23:52 +00:00
|
|
|
<dt><A href="extract.html"><b>extract</b></A>
|
2003-09-11 19:58:03 +00:00
|
|
|
<dd>
|
2003-09-11 20:23:52 +00:00
|
|
|
Extract a function from an LLVM bytecode file.
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<!--===============================================================-->
|
|
|
|
<h2><a name="llvmcmds">LLVM GCC Support Commands</a><hr></h2>
|
|
|
|
<!--===============================================================-->
|
2003-09-11 19:58:03 +00:00
|
|
|
|
2003-09-11 20:23:52 +00:00
|
|
|
<dl compact>
|
|
|
|
<dt><A href="gccas.html"><b>gccas</b></A>
|
2003-09-11 19:58:03 +00:00
|
|
|
<dd>
|
2003-09-11 20:23:52 +00:00
|
|
|
LLVM assembler used by GCC and other native compiler tools.
|
2003-09-11 19:58:03 +00:00
|
|
|
<p>
|
2003-09-11 20:23:52 +00:00
|
|
|
|
|
|
|
<dt><A href="gccld.html"><b>gccld</b></A>
|
|
|
|
<dd>
|
|
|
|
LLVM linker used by GCC and other native compiler tools.
|
2003-09-11 19:58:03 +00:00
|
|
|
</dl>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|