mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 01:42:09 +00:00
Add pointer to LLC for code generator options. <tt> a bunch of stuff which should be
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8932 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7a59bc8fae
commit
090fcc1853
@ -6,7 +6,7 @@ LLVM: lli tool
|
||||
<body>
|
||||
|
||||
<center>
|
||||
<h1>LLVM: lli tool</h1>
|
||||
<h1>LLVM: <tt>lli</tt> tool</h1>
|
||||
</center>
|
||||
<HR>
|
||||
|
||||
@ -14,56 +14,36 @@ LLVM: lli tool
|
||||
NAME
|
||||
</h3>
|
||||
|
||||
lli
|
||||
<tt>lli</tt>
|
||||
|
||||
<h3>
|
||||
SYNOPSIS
|
||||
</h3>
|
||||
|
||||
lli [options] [filename] [args ...]
|
||||
<tt>lli [options] [filename] [args ...]</tt>
|
||||
<h3>
|
||||
DESCRIPTION
|
||||
</h3>
|
||||
|
||||
The lli command is the LLVM interpreter. It takes a program in LLVM bytecode
|
||||
format and executes it using an interpreter or a Just In Time (JIT) compiler.
|
||||
The <tt>lli</tt> command is the LLVM interpreter. It takes a program in LLVM
|
||||
bytecode format and executes it using an interpreter or a Just In Time (JIT)
|
||||
compiler. <tt>lli</tt> takes all of the same code generator option as the
|
||||
<tt><a href="llc.html">llc</a></tt> tool as well.
|
||||
<p>
|
||||
|
||||
If filename is not specified, then lli reads its input from standard input.
|
||||
<p>
|
||||
The optional arguments specified on the command line are passed to the executed
|
||||
The optional "args" specified on the command line are passed to the executed
|
||||
program as arguments.
|
||||
<p>
|
||||
|
||||
<h3>
|
||||
MAIN FUNCTION
|
||||
</h3>
|
||||
|
||||
The main() function of the bytecode program is where execution starts. It
|
||||
is passed three arguments:
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
int argc - The number of command line arguments.
|
||||
<p>
|
||||
|
||||
<li>
|
||||
char ** argv - The arguments to the program.
|
||||
<p>
|
||||
|
||||
<li>
|
||||
char ** envp - An array of environment variables used by the program.
|
||||
</ul>
|
||||
|
||||
The first argument to the program is the name of the executed bytecode file
|
||||
(with the .bc suffix removed).
|
||||
|
||||
<h3>
|
||||
OPTIONS
|
||||
</h3>
|
||||
|
||||
<ul>
|
||||
<li> -array-checks
|
||||
<li> -array-checks (interpreter specific)
|
||||
<br>
|
||||
Enable array bound checks.
|
||||
<p>
|
||||
@ -73,11 +53,6 @@ OPTIONS
|
||||
Print a summary of command line options.
|
||||
<p>
|
||||
|
||||
<li> -disable-fp-elim
|
||||
<br>
|
||||
Disable frame pointer elimination optimization.
|
||||
<p>
|
||||
|
||||
<li> -stats
|
||||
<br>
|
||||
Print statistics.
|
||||
@ -100,7 +75,7 @@ will exit with a non-zero value.
|
||||
<h3>
|
||||
SEE ALSO
|
||||
</h3>
|
||||
llvm-dis
|
||||
<a href="llc.html"><tt>llc</tt></a>
|
||||
|
||||
<HR>
|
||||
<a href="http://llvm.cs.uiuc.edu">LLVM Team</a>
|
||||
|
Loading…
Reference in New Issue
Block a user