summaryrefslogtreecommitdiff
path: root/docs/CommandGuide
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-08-07 16:29:57 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-08-07 16:29:57 +0000
commit0ecfb59644f9f80b90bfa4a675786f8831048e80 (patch)
tree80d511187e0c7130cc41b9e496488dc3c2fac227 /docs/CommandGuide
parentb7a54b9b72b443a7c497e15ed2fb563f73949cc7 (diff)
downloadllvm-0ecfb59644f9f80b90bfa4a675786f8831048e80.tar.gz
llvm-0ecfb59644f9f80b90bfa4a675786f8831048e80.tar.bz2
llvm-0ecfb59644f9f80b90bfa4a675786f8831048e80.tar.xz
Rearrange options into sections and add the last floating point related option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40895 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide')
-rw-r--r--docs/CommandGuide/lli.pod46
1 files changed, 32 insertions, 14 deletions
diff --git a/docs/CommandGuide/lli.pod b/docs/CommandGuide/lli.pod
index 879814067a..3ef9b2a400 100644
--- a/docs/CommandGuide/lli.pod
+++ b/docs/CommandGuide/lli.pod
@@ -22,14 +22,28 @@ program from standard input.
The optional I<args> specified on the command line are passed to the program as
arguments.
-=head1 OPTIONS
+=head1 GENERAL OPTIONS
=over
+=item B<-fake-argv0>=I<executable>
+
+Override the C<argv[0]> value passed into the executing program.
+
+=item B<-force-interpreter>=I<{false,true}>
+
+If set to true, use the interpreter even if a just-in-time compiler is available
+for this architecture. Defaults to false.
+
=item B<-help>
Print a summary of command line options.
+=item B<-load>=I<puginfilename>
+
+Causes B<lli> to load the plugin (shared object) named I<pluginfilename> and use
+it for optimization.
+
=item B<-stats>
Print statistics from the code-generation passes. This is only meaningful for
@@ -40,6 +54,12 @@ the just-in-time compiler, at present.
Record the amount of time needed for each code-generation pass and print it to
standard error.
+=back
+
+=head1 TARGET OPTIONS
+
+=over
+
=item B<-mtriple>=I<target triple>
Override the target triple specified in the input bitcode file with the
@@ -67,33 +87,31 @@ operations are enabled or not. The default set of attributes is set by the
current CPU. For a list of available attributes, use:
B<llvm-as E<lt> /dev/null | llc -march=xyz -mattr=help>
-=item B<-fake-argv0>=I<executable>
+=back
-Override the C<argv[0]> value passed into the executing program.
-=item B<-force-interpreter>=I<{false,true}>
+=head1 FLOATING POINT OPTIONS
-If set to true, use the interpreter even if a just-in-time compiler is available
-for this architecture. Defaults to false.
+=over
-=item B<-load>=I<puginfilename>
+=item B<-disable-excess-fp-precision>
-Causes B<lli> to load the plugin (shared object) named I<pluginfilename> and use
-it for optimization.
+Disable optimizations that may increase floating point precision.
-=item B<-soft-float>
+=item B<-enable-finite-only-fp-math>
-Causes B<lli> to generate software floating point library calls instead of
-equivalent hardware instructions.
+Enable optimizations that assumes only finite floating point math. That is,
+there is no NAN or Inf values.
=item B<-enable-unsafe-fp-math>
Causes B<lli> to enable optimizations that may decrease floating point
precision.
-=item B<-disable-excess-fp-precision>
+=item B<-soft-float>
-Disable optimizations that may increase floating point precision.
+Causes B<lli> to generate software floating point library calls instead of
+equivalent hardware instructions.
=back