| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
| "http://www.w3.org/TR/html4/strict.dtd"> |
| <html> |
| <head> |
| <title>LLVM Command Guide</title> |
| <link rel="stylesheet" href="../llvm.css" type="text/css"> |
| </head> |
| <body> |
| |
| <div class="doc_title"> |
| LLVM Command Guide |
| </div> |
| |
| <div class="doc_text"> |
| |
| <p>This document is the reference manual for the LLVM utilities. It will |
| show you how to use the LLVM commands and what their options are. Note that in |
| the descriptions below, `bytecode' and `program' refer to LLVM bytecode files |
| and assembly programs, respectively.</p> |
| |
| <ul> |
| <li><a href="#basic">Basic Commands</a></li> |
| <li><a href="#frontend">C and C++ Frond-end Commands</a></li> |
| <li><a href="#debug">Debugging commands</a></li> |
| </ul> |
| |
| </div> |
| |
| <!-- *********************************************************************** --> |
| <div class="doc_section"> |
| <a name="basic">Basic Commands</a> |
| </div> |
| <!-- *********************************************************************** --> |
| |
| <div class="doc_text"> |
| |
| <ul> |
| |
| <li><a href="llvm-as.html"><b>llvm-as</b></a> - |
| assemble a human-readable program into bytecode</li> |
| |
| <li><a href="llvm-dis.html"><b>llvm-dis</b></a> - |
| disassemble a bytecode file into human-readable form</li> |
| |
| <li><a href="analyze.html"><b>analyze</b></a> - |
| analyze a program compiled to bytecode</li> |
| |
| <li><a href="opt.html"><b>opt</b></a> - |
| optimize a bytecode file</li> |
| |
| <li><a href="llc.html"><b>llc</b></a> - |
| compile a bytecode program into native machine code</li> |
| |
| <li><a href="lli.html"><b>lli</b></a> - |
| run a bytecode program using either an interpreter or a JIT compiler</li> |
| |
| <li><a href="llvm-link.html"><b>llvm-link</b></A> |
| link several bytecode files into one</li> |
| |
| <li><a href="llvm-nm.html"><b>llvm-nm</b></a> |
| print out the names and types of symbols in a bytecode file</li> |
| |
| <li><a href="llvm-prof.html"><b>llvm-prof</b></a> - |
| transform raw `<tt>llvmprof.out</tt>' data into a human-readable report</li> |
| |
| </ul> |
| |
| </div> |
| |
| <!-- *********************************************************************** --> |
| <div class="doc_section"> |
| <a name="frontend">C and C++ Front-end Commands</a> |
| </div> |
| <!-- *********************************************************************** --> |
| |
| <div class="doc_text"> |
| |
| <ul> |
| |
| <li><a href="llvmgcc.html"><b>llvmgcc</b></a> - |
| GCC-based C front end for LLVM |
| |
| <li><a href="llvmgxx.html"><b>llvmg++</b></a> - |
| GCC-based C++ front end for LLVM</li> |
| |
| <li><a href="gccas.html"><b>gccas</b></a> - |
| optimizing assembler used by llvm-g++ and llvm-gcc</li> |
| |
| <li><a href="gccld.html"><b>gccld</b></a> - |
| optimizing linker used by llvm-g++ and llvm-gcc</li> |
| |
| </ul> |
| |
| </div> |
| |
| <!-- *********************************************************************** --> |
| <div class="doc_section"> |
| <a name="debug">Debugging Tools</a> |
| </div> |
| <!-- *********************************************************************** --> |
| |
| |
| <div class="doc_text"> |
| |
| <ul> |
| |
| <li><a href="bugpoint.html"><b>bugpoint</b></a> - |
| automatic test-case reducer</li> |
| |
| <li><a href="extract.html"><b>extract</b></a> - |
| extract a function from an LLVM bytecode file</li> |
| |
| <li><a href="llvm-abcd.html"><b>llvm-abcd</b></a> - |
| bytecode analyzer (analyzes the binary encoding itself, not the program it |
| represents)</li> |
| |
| </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> |
| |
| <a href="mailto:criswell at cs dot uiuc dot edu">John Criswell</a><br> |
| <a href="http://llvm.cs.uiuc.edu">LLVM Compiler Infrastructure</a><br> |
| Last modified: $Date$ |
| </address> |
| |
| </body> |
| </html> |