| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | 
 | 2 |                       "http://www.w3.org/TR/html4/strict.dtd"> | 
| John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 3 | <html> | 
| Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame] | 4 | <head> | 
 | 5 |   <title>LLVM Command Guide</title> | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 6 |   <link rel="stylesheet" href="../llvm.css" type="text/css"> | 
| Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame] | 7 | </head> | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 8 | <body> | 
| John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 9 |  | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 10 | <div class="doc_title"> | 
 | 11 |   LLVM Command Guide | 
 | 12 | </div> | 
| John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 13 |  | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 14 | <div class="doc_text"> | 
| John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 15 |  | 
| Chris Lattner | 1a5a79c | 2004-07-10 06:06:56 +0000 | [diff] [blame] | 16 | <p>These documents are HTML versions of the <a href="man/man1/">man pages</a> | 
 | 17 | for all of the LLVM tools.  These pages describe how to use the LLVM commands | 
 | 18 | and what their options are.  Note that these pages do not describe all of the  | 
 | 19 | options available for all tools.  To get a complete listing, pass the  | 
 | 20 | <tt>--help</tt> (general options) or <tt>--help-hidden</tt> (general+debugging | 
 | 21 | options) arguments to the tool you are interested in.</p> | 
| Chris Lattner | d053efd | 2003-10-07 20:05:23 +0000 | [diff] [blame] | 22 |  | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 23 | </div> | 
| John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 24 |  | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 25 | <!-- *********************************************************************** --> | 
 | 26 | <div class="doc_section"> | 
 | 27 |   <a name="basic">Basic Commands</a> | 
 | 28 | </div> | 
 | 29 | <!-- *********************************************************************** --> | 
| John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 30 |  | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 31 | <div class="doc_text"> | 
| John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 32 |  | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 33 | <ul> | 
| John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 34 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 35 | <li><a href="html/llvm-as.html"><b>llvm-as</b></a> -  | 
| Chris Lattner | 1a5a79c | 2004-07-10 06:06:56 +0000 | [diff] [blame] | 36 |     assemble a human-readable .ll file into bytecode</li> | 
| John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 37 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 38 | <li><a href="html/llvm-dis.html"><b>llvm-dis</b></a> - | 
| Chris Lattner | 1a5a79c | 2004-07-10 06:06:56 +0000 | [diff] [blame] | 39 |     disassemble a bytecode file into a human-readable .ll file</li> | 
| Chris Lattner | e66e73a | 2003-11-02 02:10:54 +0000 | [diff] [blame] | 40 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 41 | <li><a href="html/opt.html"><b>opt</b></a> - | 
| Chris Lattner | 1a5a79c | 2004-07-10 06:06:56 +0000 | [diff] [blame] | 42 |     run a series of LLVM-to-LLVM optimizations on a bytecode file</li> | 
| Chris Lattner | e66e73a | 2003-11-02 02:10:54 +0000 | [diff] [blame] | 43 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 44 | <li><a href="html/llc.html"><b>llc</b></a> -  | 
| Chris Lattner | 1a5a79c | 2004-07-10 06:06:56 +0000 | [diff] [blame] | 45 |     generate native machine code for a bytecode file</li> | 
| Chris Lattner | e66e73a | 2003-11-02 02:10:54 +0000 | [diff] [blame] | 46 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 47 | <li><a href="html/lli.html"><b>lli</b></a> -  | 
| Chris Lattner | 1a5a79c | 2004-07-10 06:06:56 +0000 | [diff] [blame] | 48 |     directly run a program compiled to bytecode using a JIT compiler or  | 
 | 49 |     interpreter</li> | 
| John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 50 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 51 | <li><a href="html/llvm-link.html"><b>llvm-link</b></a> - | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 52 |     link several bytecode files into one</li> | 
| John Criswell | 3200330 | 2003-09-11 20:23:52 +0000 | [diff] [blame] | 53 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 54 | <li><a href="html/analyze.html"><b>analyze</b></a> - | 
| Chris Lattner | 1a5a79c | 2004-07-10 06:06:56 +0000 | [diff] [blame] | 55 |     run LLVM analyses on a bytecode file and print the results</li> | 
 | 56 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 57 | <li><a href="html/llvm-ar.html"><b>llvm-ar</b></a> -  | 
| Reid Spencer | 0aa1899 | 2004-11-11 09:30:00 +0000 | [diff] [blame] | 58 |     archive bytecode files</li> | 
 | 59 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 60 | <li><a href="html/llvm-ranlib.html"><b>llvm-ranlib</b></a> -  | 
| Misha Brukman | bbcb10f | 2004-11-15 19:53:43 +0000 | [diff] [blame] | 61 |     create an index for archives made with llvm-ar</li> | 
 | 62 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 63 | <li><a href="html/llvm-nm.html"><b>llvm-nm</b></a> - | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 64 |     print out the names and types of symbols in a bytecode file</li> | 
| John Criswell | 3200330 | 2003-09-11 20:23:52 +0000 | [diff] [blame] | 65 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 66 | <li><a href="html/llvm-prof.html"><b>llvm-prof</b></a> - | 
| Chris Lattner | 1a5a79c | 2004-07-10 06:06:56 +0000 | [diff] [blame] | 67 |     format raw `<tt>llvmprof.out</tt>' data into a human-readable report</li> | 
| John Criswell | aa5ff24 | 2003-10-03 13:48:27 +0000 | [diff] [blame] | 68 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 69 | <li><a href="html/llvmc.html"><b>llvmc</b></a> - | 
| Reid Spencer | 38f98b5 | 2004-11-29 04:32:37 +0000 | [diff] [blame] | 70 |   generic and configurable compiler driver</li> | 
 | 71 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 72 | <li><a href="html/llvm-ld.html"><b>llvm-ld</b></a> - | 
| Reid Spencer | 38f98b5 | 2004-11-29 04:32:37 +0000 | [diff] [blame] | 73 |   general purpose linker with loadable runtime optimization support</li> | 
 | 74 |  | 
| Reid Spencer | cbe3a78 | 2006-03-24 00:03:37 +0000 | [diff] [blame^] | 75 | <li><a href="html/llvm-config.html"><b>llvm-config</b></a> -  | 
 | 76 |   print out LLVM compilation options, libraries, etc. as configured. | 
 | 77 |  | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 78 | </ul> | 
| John Criswell | aa5ff24 | 2003-10-03 13:48:27 +0000 | [diff] [blame] | 79 |  | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 80 | </div> | 
| John Criswell | 3200330 | 2003-09-11 20:23:52 +0000 | [diff] [blame] | 81 |  | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 82 | <!-- *********************************************************************** --> | 
 | 83 | <div class="doc_section"> | 
| Chris Lattner | 9099e3e | 2004-07-10 21:43:12 +0000 | [diff] [blame] | 84 |   <a name="frontend">C, C++, and Stacker Front-end Commands</a> | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 85 | </div> | 
 | 86 | <!-- *********************************************************************** --> | 
| John Criswell | 3200330 | 2003-09-11 20:23:52 +0000 | [diff] [blame] | 87 |  | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 88 | <div class="doc_text"> | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 89 | <ul> | 
| Chris Lattner | d053efd | 2003-10-07 20:05:23 +0000 | [diff] [blame] | 90 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 91 | <li><a href="html/llvmgcc.html"><b>llvmgcc</b></a> - | 
| Chris Lattner | 1a5a79c | 2004-07-10 06:06:56 +0000 | [diff] [blame] | 92 |     GCC-based C front-end for LLVM | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 93 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 94 | <li><a href="html/llvmgxx.html"><b>llvmg++</b></a> - | 
| Chris Lattner | 1a5a79c | 2004-07-10 06:06:56 +0000 | [diff] [blame] | 95 |     GCC-based C++ front-end for LLVM</li> | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 96 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 97 | <li><a href="html/gccas.html"><b>gccas</b></a> - | 
| Chris Lattner | 1a5a79c | 2004-07-10 06:06:56 +0000 | [diff] [blame] | 98 |     compile-time optimizer used by llvm-g++ and llvm-gcc</li> | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 99 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 100 | <li><a href="html/gccld.html"><b>gccld</b></a> - | 
| Chris Lattner | 1a5a79c | 2004-07-10 06:06:56 +0000 | [diff] [blame] | 101 |     linker and link-time optimizer used by llvm-g++ and llvm-gcc</li> | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 102 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 103 | <li><a href="html/stkrc.html"><b>stkrc</b></a> - | 
| Chris Lattner | 9099e3e | 2004-07-10 21:43:12 +0000 | [diff] [blame] | 104 |     front-end compiler for the <a href="../Stacker.html">Stacker</a>  | 
 | 105 |     language</li> | 
 | 106 |  | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 107 | </ul> | 
 | 108 |  | 
 | 109 | </div> | 
 | 110 |  | 
 | 111 | <!-- *********************************************************************** --> | 
 | 112 | <div class="doc_section"> | 
 | 113 |   <a name="debug">Debugging Tools</a> | 
 | 114 | </div> | 
 | 115 | <!-- *********************************************************************** --> | 
| Chris Lattner | d053efd | 2003-10-07 20:05:23 +0000 | [diff] [blame] | 116 |  | 
 | 117 |  | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 118 | <div class="doc_text"> | 
 | 119 |  | 
 | 120 | <ul> | 
 | 121 |  | 
| Misha Brukman | dc0cd02 | 2004-12-09 23:28:09 +0000 | [diff] [blame] | 122 | <li><a href="html/bugpoint.html"><b>bugpoint</b></a> - | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 123 |     automatic test-case reducer</li> | 
 | 124 |  | 
| Misha Brukman | 4e8458d | 2005-04-24 17:46:58 +0000 | [diff] [blame] | 125 | <li><a href="html/llvm-extract.html"><b>llvm-extract</b></a> - | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 126 |     extract a function from an LLVM bytecode file</li> | 
 | 127 |  | 
| Misha Brukman | 233952b | 2004-12-09 23:25:59 +0000 | [diff] [blame] | 128 | <li><a href="html/llvm-bcanalyzer.html"><b>llvm-bcanalyzer</b></a> - | 
| Misha Brukman | 95bba87 | 2004-07-01 16:59:05 +0000 | [diff] [blame] | 129 |     bytecode analyzer (analyzes the binary encoding itself, not the program it | 
 | 130 |     represents)</li> | 
 | 131 |  | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 132 | </ul> | 
 | 133 |  | 
 | 134 | </div> | 
 | 135 |  | 
 | 136 | <!-- *********************************************************************** --> | 
 | 137 |  | 
 | 138 | <hr> | 
 | 139 | <address> | 
 | 140 |   <a href="http://jigsaw.w3.org/css-validator/check/referer"><img | 
 | 141 |   src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!"></a> | 
 | 142 |   <a href="http://validator.w3.org/check/referer"><img | 
 | 143 |   src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"></a> | 
 | 144 |  | 
| Reid Spencer | cd143fc | 2006-03-14 05:42:07 +0000 | [diff] [blame] | 145 |   <a href="http://llvm.org">LLVM Compiler Infrastructure</a><br> | 
| Misha Brukman | 38ca9be | 2004-07-01 16:04:49 +0000 | [diff] [blame] | 146 |   Last modified: $Date$ | 
 | 147 | </address> | 
| Chris Lattner | d053efd | 2003-10-07 20:05:23 +0000 | [diff] [blame] | 148 |  | 
| Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame] | 149 | </body> | 
| John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 150 | </html> |