John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <title> |
Chris Lattner | ee43b69 | 2003-09-25 19:50:05 +0000 | [diff] [blame] | 3 | LLVM: lli tool |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 4 | </title> |
| 5 | |
Chris Lattner | 08a04fd | 2003-10-07 20:12:05 +0000 | [diff] [blame] | 6 | <body bgcolor=white> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 7 | |
| 8 | <center> |
Chris Lattner | 090fcc1 | 2003-10-07 19:46:37 +0000 | [diff] [blame] | 9 | <h1>LLVM: <tt>lli</tt> tool</h1> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 10 | </center> |
| 11 | <HR> |
| 12 | |
| 13 | <h3> |
| 14 | NAME |
| 15 | </h3> |
| 16 | |
Chris Lattner | 090fcc1 | 2003-10-07 19:46:37 +0000 | [diff] [blame] | 17 | <tt>lli</tt> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 18 | |
| 19 | <h3> |
| 20 | SYNOPSIS |
| 21 | </h3> |
| 22 | |
Chris Lattner | 090fcc1 | 2003-10-07 19:46:37 +0000 | [diff] [blame] | 23 | <tt>lli [options] [filename] [args ...]</tt> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 24 | <h3> |
| 25 | DESCRIPTION |
| 26 | </h3> |
| 27 | |
Chris Lattner | 090fcc1 | 2003-10-07 19:46:37 +0000 | [diff] [blame] | 28 | The <tt>lli</tt> command is the LLVM interpreter. It takes a program in LLVM |
| 29 | bytecode format and executes it using an interpreter or a Just In Time (JIT) |
| 30 | compiler. <tt>lli</tt> takes all of the same code generator option as the |
| 31 | <tt><a href="llc.html">llc</a></tt> tool as well. |
John Criswell | 511a491 | 2003-09-29 20:10:08 +0000 | [diff] [blame] | 32 | <p> |
| 33 | |
| 34 | If filename is not specified, then lli reads its input from standard input. |
| 35 | <p> |
Chris Lattner | 090fcc1 | 2003-10-07 19:46:37 +0000 | [diff] [blame] | 36 | The optional "args" specified on the command line are passed to the executed |
John Criswell | 511a491 | 2003-09-29 20:10:08 +0000 | [diff] [blame] | 37 | program as arguments. |
| 38 | <p> |
| 39 | |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 40 | |
| 41 | <h3> |
| 42 | OPTIONS |
| 43 | </h3> |
| 44 | |
| 45 | <ul> |
Chris Lattner | 090fcc1 | 2003-10-07 19:46:37 +0000 | [diff] [blame] | 46 | <li> -array-checks (interpreter specific) |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 47 | <br> |
| 48 | Enable array bound checks. |
| 49 | <p> |
| 50 | |
| 51 | <li> -help |
| 52 | <br> |
| 53 | Print a summary of command line options. |
| 54 | <p> |
| 55 | |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 56 | <li> -stats |
| 57 | <br> |
| 58 | Print statistics. |
| 59 | <p> |
| 60 | |
| 61 | <li> -time-passes |
| 62 | <br> |
| 63 | Record the amount of time needed for each pass and print it to standard |
| 64 | error. |
| 65 | <p> |
| 66 | </ul> |
| 67 | |
| 68 | <h3> |
| 69 | EXIT STATUS |
| 70 | </h3> |
| 71 | |
| 72 | If lli succeeds, it will exit with 0. Otherwise, if an error occurs, it |
| 73 | will exit with a non-zero value. |
| 74 | |
| 75 | <h3> |
| 76 | SEE ALSO |
| 77 | </h3> |
Chris Lattner | 090fcc1 | 2003-10-07 19:46:37 +0000 | [diff] [blame] | 78 | <a href="llc.html"><tt>llc</tt></a> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 79 | |
| 80 | <HR> |
Chris Lattner | 08a04fd | 2003-10-07 20:12:05 +0000 | [diff] [blame] | 81 | Maintained by the <a href="http://llvm.cs.uiuc.edu">LLVM Team</a>. |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 82 | </body> |
| 83 | </html> |
| 84 | |