2003-09-12 03:58:03 +08: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-12 04:23:52 +08:00
|
|
|
<h2><a name="llvmcmds">LLVM Base Commands</a><hr></h2>
|
2003-09-12 03:58:03 +08:00
|
|
|
<!--===============================================================-->
|
|
|
|
|
|
|
|
<dl compact>
|
2003-10-08 00:34:51 +08:00
|
|
|
<dt><A href="llvm-as.html"><b>llvm-as</b></A>
|
2003-09-12 03:58:03 +08:00
|
|
|
<dd>
|
|
|
|
Assemble a human-readable LLVM program into LLVM bytecode.
|
|
|
|
<p>
|
|
|
|
|
2003-10-08 00:34:51 +08:00
|
|
|
<dt><A href="llvm-dis.html"><b>llvm-dis</b></A>
|
2003-09-12 03:58:03 +08:00
|
|
|
<dd>
|
|
|
|
Disassemble an LLVM bytecode file into human-readable form.
|
|
|
|
<p>
|
|
|
|
|
2003-09-12 04:23:52 +08:00
|
|
|
<dt><A href="analyze.html"><b>analyze</b></A>
|
2003-09-12 03:58:03 +08:00
|
|
|
<dd>
|
|
|
|
Analyze an LLVM bytecode file.
|
|
|
|
<p>
|
|
|
|
|
2003-09-12 04:23:52 +08:00
|
|
|
<dt><A href="opt.html"><b>opt</b></A>
|
2003-09-12 03:58:03 +08:00
|
|
|
<dd>
|
|
|
|
Optimize an LLVM bytecode file.
|
|
|
|
<p>
|
|
|
|
|
2003-10-08 00:34:51 +08:00
|
|
|
<dt><A href="llvm-link.html"><b>llvm-link</b></A>
|
2003-09-12 03:58:03 +08:00
|
|
|
<dd>
|
|
|
|
Link several LLVM bytecode files together into one LLVM
|
|
|
|
bytecode file.
|
|
|
|
<p>
|
|
|
|
|
2003-09-12 04:23:52 +08:00
|
|
|
<dt><A href="llc.html"><b>llc</b></A>
|
2003-09-12 03:58:03 +08:00
|
|
|
<dd>
|
2003-09-12 04:23:52 +08: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-12 03:58:03 +08:00
|
|
|
<p>
|
2003-09-12 04:23:52 +08:00
|
|
|
</dl>
|
|
|
|
|
|
|
|
<!--===============================================================-->
|
|
|
|
<h2><a name="llvmcmds">LLVM Debugging Tools</a><hr></h2>
|
|
|
|
<!--===============================================================-->
|
2003-09-12 03:58:03 +08:00
|
|
|
|
2003-09-12 04:23:52 +08:00
|
|
|
<dl compact>
|
|
|
|
<dt><A href="bugpoint.html"><b>bugpoint</b></A>
|
2003-09-12 03:58:03 +08:00
|
|
|
<dd>
|
2003-09-12 04:23:52 +08:00
|
|
|
Trace an LLVM bytecode program and reduce its failure to a
|
|
|
|
simple testcase.
|
2003-09-12 03:58:03 +08:00
|
|
|
<p>
|
|
|
|
|
2003-09-12 04:23:52 +08:00
|
|
|
<dt><A href="extract.html"><b>extract</b></A>
|
2003-09-12 03:58:03 +08:00
|
|
|
<dd>
|
2003-09-12 04:23:52 +08:00
|
|
|
Extract a function from an LLVM bytecode file.
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<!--===============================================================-->
|
|
|
|
<h2><a name="llvmcmds">LLVM GCC Support Commands</a><hr></h2>
|
|
|
|
<!--===============================================================-->
|
2003-09-12 03:58:03 +08:00
|
|
|
|
2003-09-12 04:23:52 +08:00
|
|
|
<dl compact>
|
2003-10-03 21:48:27 +08:00
|
|
|
<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>
|
|
|
|
|
2003-09-12 04:23:52 +08:00
|
|
|
<dt><A href="gccas.html"><b>gccas</b></A>
|
2003-09-12 03:58:03 +08:00
|
|
|
<dd>
|
2003-09-12 04:23:52 +08:00
|
|
|
LLVM assembler used by GCC and other native compiler tools.
|
2003-09-12 03:58:03 +08:00
|
|
|
<p>
|
2003-09-12 04:23:52 +08:00
|
|
|
|
|
|
|
<dt><A href="gccld.html"><b>gccld</b></A>
|
|
|
|
<dd>
|
|
|
|
LLVM linker used by GCC and other native compiler tools.
|
2003-09-12 03:58:03 +08:00
|
|
|
</dl>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|