John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html> |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 3 | <head> |
| 4 | <title>LLVM Command Guide</title> |
| 5 | </head> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 6 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 7 | <body bgcolor=white> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 8 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 9 | <center><h1>LLVM Command Guide<br></h1></center> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 10 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 11 | This document is the reference manual for the LLVM utilities. It will |
| 12 | show you how to use the LLVM commands and what all of their options |
| 13 | are. |
Chris Lattner | d053efd | 2003-10-07 20:05:23 +0000 | [diff] [blame] | 14 | |
| 15 | <table width=100% border=0> |
Chris Lattner | 651fbec | 2003-10-07 20:35:55 +0000 | [diff] [blame] | 16 | <tr><td valign=top width=50%> |
Chris Lattner | d053efd | 2003-10-07 20:05:23 +0000 | [diff] [blame] | 17 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 18 | <!--===============================================================--> |
| 19 | <center><h2><a name="llvmcmds">Basic Commands</a><hr></h2></center> |
| 20 | <!--===============================================================--> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 21 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 22 | <dl compact> |
| 23 | <dt><A href="llvm-as.html"><b>llvm-as</b></A> |
| 24 | <dd> |
| 25 | Assemble a human-readable LLVM program into LLVM bytecode. |
| 26 | <p> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 27 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 28 | <dt><A href="llvm-dis.html"><b>llvm-dis</b></A> |
| 29 | <dd> |
| 30 | Disassemble an LLVM bytecode file into human-readable form. |
| 31 | <p> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 32 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 33 | <dt><A href="llvm-nm.html"><b>llvm-nm</b></A> |
| 34 | <dd> |
| 35 | Print out the names and types of symbols in an LLVM bytecode file. |
| 36 | <p> |
Brian Gaeke | f0e3a08 | 2003-10-16 18:04:40 +0000 | [diff] [blame] | 37 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 38 | <dt><A href="analyze.html"><b>analyze</b></A> |
| 39 | <dd> |
| 40 | Analyze an LLVM bytecode file. |
| 41 | <p> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 42 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 43 | <dt><A href="opt.html"><b>opt</b></A> |
| 44 | <dd> |
| 45 | Optimize an LLVM bytecode file. |
| 46 | <p> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 47 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 48 | <dt><A href="llvm-link.html"><b>llvm-link</b></A> |
| 49 | <dd> |
| 50 | Link several LLVM bytecode files together into one LLVM |
| 51 | bytecode file. |
| 52 | <p> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 53 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 54 | <dt><A href="llc.html"><b>llc</b></A> |
| 55 | <dd> |
| 56 | Compile an LLVM bytecode program into native machine code. |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 57 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 58 | <dt><A href="lli.html"><b>lli</b></A> |
| 59 | <dd> |
| 60 | Run an LLVM bytecode program using either an interpreter or a |
| 61 | JIT compiler. |
| 62 | <p> |
| 63 | </dl> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 64 | |
Chris Lattner | 651fbec | 2003-10-07 20:35:55 +0000 | [diff] [blame] | 65 | </td><td valign=top width=50%> |
John Criswell | 3200330 | 2003-09-11 20:23:52 +0000 | [diff] [blame] | 66 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 67 | <!--===============================================================--> |
| 68 | <center><h2><a name="llvmcmds">C and C++ Front-end Commands</a><hr></h2></center> |
| 69 | <!--===============================================================--> |
John Criswell | 3200330 | 2003-09-11 20:23:52 +0000 | [diff] [blame] | 70 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 71 | <dl compact> |
| 72 | <dt><A href="llvmgcc.html"><b>llvmgcc</b></A> |
| 73 | <dd> |
| 74 | GCC-based C front end for LLVM. |
| 75 | <p> |
John Criswell | aa5ff24 | 2003-10-03 13:48:27 +0000 | [diff] [blame] | 76 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 77 | <dt><A href="llvmgxx.html"><b>llvmg++</b></A> |
| 78 | <dd> |
| 79 | GCC-based C++ front end for LLVM. |
| 80 | <p> |
John Criswell | aa5ff24 | 2003-10-03 13:48:27 +0000 | [diff] [blame] | 81 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 82 | <dt><A href="gccas.html"><b>gccas</b></A> |
| 83 | <dd> |
| 84 | LLVM assembler used by GCC and other native compiler tools. |
| 85 | <p> |
John Criswell | 3200330 | 2003-09-11 20:23:52 +0000 | [diff] [blame] | 86 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 87 | <dt><A href="gccld.html"><b>gccld</b></A> |
| 88 | <dd> |
| 89 | LLVM linker used by GCC and other native compiler tools. |
| 90 | </dl> |
John Criswell | 3200330 | 2003-09-11 20:23:52 +0000 | [diff] [blame] | 91 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 92 | <!--===============================================================--> |
| 93 | <center><h2><a name="llvmcmds">Debugging Tools</a><hr></h2></center> |
| 94 | <!--===============================================================--> |
Chris Lattner | d053efd | 2003-10-07 20:05:23 +0000 | [diff] [blame] | 95 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 96 | <dl compact> |
| 97 | <dt><A href="bugpoint.html"><b>bugpoint</b></A> |
| 98 | <dd> |
| 99 | Trace an LLVM bytecode program and reduce its failure to a |
| 100 | simple testcase. |
| 101 | <p> |
Chris Lattner | d053efd | 2003-10-07 20:05:23 +0000 | [diff] [blame] | 102 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 103 | <dt><A href="extract.html"><b>extract</b></A> |
| 104 | <dd> |
| 105 | Extract a function from an LLVM bytecode file. |
| 106 | </dl> |
Chris Lattner | d053efd | 2003-10-07 20:05:23 +0000 | [diff] [blame] | 107 | </td></tr></table> |
| 108 | |
| 109 | |
| 110 | <hr><font size=-1> |
| 111 | Maintained by the |
| 112 | <a href="http://llvm.cs.uiuc.edu">LLVM Team</a>.<br> |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 113 | Last modified: $Date$ |
Chris Lattner | d053efd | 2003-10-07 20:05:23 +0000 | [diff] [blame] | 114 | </font> |
| 115 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame^] | 116 | </body> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 117 | </html> |