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