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="analyze.html"><b>analyze</b></A> |
| 34 | <dd> |
| 35 | Analyze an LLVM bytecode file. |
| 36 | <p> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 37 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame] | 38 | <dt><A href="opt.html"><b>opt</b></A> |
| 39 | <dd> |
| 40 | Optimize 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="llc.html"><b>llc</b></A> |
| 44 | <dd> |
| 45 | Compile an LLVM bytecode program into native machine code. |
Chris Lattner | 8522e38 | 2003-11-30 05:46:14 +0000 | [diff] [blame] | 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="lli.html"><b>lli</b></A> |
| 49 | <dd> |
| 50 | Run an LLVM bytecode program using either an interpreter or a |
| 51 | JIT compiler. |
| 52 | <p> |
Chris Lattner | e66e73a | 2003-11-02 02:10:54 +0000 | [diff] [blame] | 53 | |
| 54 | <dt><A href="llvm-link.html"><b>llvm-link</b></A> |
| 55 | <dd> |
| 56 | Link several LLVM bytecode files together into one LLVM |
| 57 | bytecode file. |
| 58 | <p> |
| 59 | |
| 60 | <dt><A href="llvm-nm.html"><b>llvm-nm</b></A> |
| 61 | <dd> |
| 62 | Print out the names and types of symbols in an LLVM bytecode file. |
| 63 | <p> |
| 64 | |
| 65 | <dt><A href="llvm-prof.html"><b>llvm-prof</b></A> |
| 66 | <dd> |
| 67 | Transform raw '<tt>llvmprof.out</tt>' data into a human readable report. |
| 68 | <p> |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame] | 69 | </dl> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 70 | |
Chris Lattner | 651fbec | 2003-10-07 20:35:55 +0000 | [diff] [blame] | 71 | </td><td valign=top width=50%> |
John Criswell | 3200330 | 2003-09-11 20:23:52 +0000 | [diff] [blame] | 72 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame] | 73 | <!--===============================================================--> |
| 74 | <center><h2><a name="llvmcmds">C and C++ Front-end Commands</a><hr></h2></center> |
| 75 | <!--===============================================================--> |
John Criswell | 3200330 | 2003-09-11 20:23:52 +0000 | [diff] [blame] | 76 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame] | 77 | <dl compact> |
| 78 | <dt><A href="llvmgcc.html"><b>llvmgcc</b></A> |
| 79 | <dd> |
| 80 | GCC-based C front end for LLVM. |
| 81 | <p> |
John Criswell | aa5ff24 | 2003-10-03 13:48:27 +0000 | [diff] [blame] | 82 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame] | 83 | <dt><A href="llvmgxx.html"><b>llvmg++</b></A> |
| 84 | <dd> |
| 85 | GCC-based C++ front end for LLVM. |
| 86 | <p> |
John Criswell | aa5ff24 | 2003-10-03 13:48:27 +0000 | [diff] [blame] | 87 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame] | 88 | <dt><A href="gccas.html"><b>gccas</b></A> |
| 89 | <dd> |
| 90 | LLVM assembler used by GCC and other native compiler tools. |
| 91 | <p> |
John Criswell | 3200330 | 2003-09-11 20:23:52 +0000 | [diff] [blame] | 92 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame] | 93 | <dt><A href="gccld.html"><b>gccld</b></A> |
| 94 | <dd> |
| 95 | LLVM linker used by GCC and other native compiler tools. |
| 96 | </dl> |
John Criswell | 3200330 | 2003-09-11 20:23:52 +0000 | [diff] [blame] | 97 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame] | 98 | <!--===============================================================--> |
| 99 | <center><h2><a name="llvmcmds">Debugging Tools</a><hr></h2></center> |
| 100 | <!--===============================================================--> |
Chris Lattner | d053efd | 2003-10-07 20:05:23 +0000 | [diff] [blame] | 101 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame] | 102 | <dl compact> |
| 103 | <dt><A href="bugpoint.html"><b>bugpoint</b></A> |
| 104 | <dd> |
| 105 | Trace an LLVM bytecode program and reduce its failure to a |
| 106 | simple testcase. |
| 107 | <p> |
Chris Lattner | d053efd | 2003-10-07 20:05:23 +0000 | [diff] [blame] | 108 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame] | 109 | <dt><A href="extract.html"><b>extract</b></A> |
| 110 | <dd> |
| 111 | Extract a function from an LLVM bytecode file. |
| 112 | </dl> |
Chris Lattner | d053efd | 2003-10-07 20:05:23 +0000 | [diff] [blame] | 113 | </td></tr></table> |
| 114 | |
| 115 | |
| 116 | <hr><font size=-1> |
| 117 | Maintained by the |
| 118 | <a href="http://llvm.cs.uiuc.edu">LLVM Team</a>.<br> |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame] | 119 | Last modified: $Date$ |
Chris Lattner | d053efd | 2003-10-07 20:05:23 +0000 | [diff] [blame] | 120 | </font> |
| 121 | |
Misha Brukman | c6ad94c | 2003-10-31 00:39:28 +0000 | [diff] [blame] | 122 | </body> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 123 | </html> |