blob: ba920984e1c24251cc2d44dde818a84b30c4baec [file] [log] [blame]
John Criswellecf32e52003-09-11 19:58:03 +00001<html>
2<title>
Chris Lattneree43b692003-09-25 19:50:05 +00003LLVM: lli tool
John Criswellecf32e52003-09-11 19:58:03 +00004</title>
5
Chris Lattner08a04fd2003-10-07 20:12:05 +00006<body bgcolor=white>
John Criswellecf32e52003-09-11 19:58:03 +00007
8<center>
Chris Lattner090fcc12003-10-07 19:46:37 +00009<h1>LLVM: <tt>lli</tt> tool</h1>
John Criswellecf32e52003-09-11 19:58:03 +000010</center>
11<HR>
12
13<h3>
14NAME
15</h3>
16
Chris Lattner090fcc12003-10-07 19:46:37 +000017<tt>lli</tt>
John Criswellecf32e52003-09-11 19:58:03 +000018
19<h3>
20SYNOPSIS
21</h3>
22
Chris Lattner090fcc12003-10-07 19:46:37 +000023<tt>lli [options] [filename] [args ...]</tt>
John Criswellecf32e52003-09-11 19:58:03 +000024<h3>
25DESCRIPTION
26</h3>
27
Chris Lattner090fcc12003-10-07 19:46:37 +000028The <tt>lli</tt> command is the LLVM interpreter. It takes a program in LLVM
29bytecode format and executes it using an interpreter or a Just In Time (JIT)
30compiler. <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 Criswell511a4912003-09-29 20:10:08 +000032<p>
33
34If filename is not specified, then lli reads its input from standard input.
35<p>
Chris Lattner090fcc12003-10-07 19:46:37 +000036The optional "args" specified on the command line are passed to the executed
John Criswell511a4912003-09-29 20:10:08 +000037program as arguments.
38<p>
39
John Criswellecf32e52003-09-11 19:58:03 +000040
41<h3>
42OPTIONS
43</h3>
44
45<ul>
Chris Lattner090fcc12003-10-07 19:46:37 +000046 <li> -array-checks (interpreter specific)
John Criswellecf32e52003-09-11 19:58:03 +000047 <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 Criswellecf32e52003-09-11 19:58:03 +000056 <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>
69EXIT STATUS
70</h3>
71
72If lli succeeds, it will exit with 0. Otherwise, if an error occurs, it
73will exit with a non-zero value.
74
75<h3>
76SEE ALSO
77</h3>
Chris Lattner090fcc12003-10-07 19:46:37 +000078<a href="llc.html"><tt>llc</tt></a>
John Criswellecf32e52003-09-11 19:58:03 +000079
80<HR>
Chris Lattner08a04fd2003-10-07 20:12:05 +000081Maintained by the <a href="http://llvm.cs.uiuc.edu">LLVM Team</a>.
John Criswellecf32e52003-09-11 19:58:03 +000082</body>
83</html>
84