LLI(1) | LLVM | LLI(1) |
NAME¶
lli - directly execute programs from LLVM bitcode
SYNOPSIS¶
lli [options] [filename] [program args]
DESCRIPTION¶
lli directly executes programs in LLVM bitcode format. It takes a program in LLVM bitcode format and executes it using a just-in-time compiler, if one is available for the current architecture, or an interpreter. lli takes all of the same code generator options as llc|llc, but they are only effective when lli is using the just-in-time compiler.
If filename is not specified, then lli reads the LLVM bitcode for the program from standard input.
The optional args specified on the command line are passed to the program as arguments.
GENERAL OPTIONS¶
-fake-argv0=executable
-force-interpreter={false,true}
-help
-load=pluginfilename
-stats
-time-passes
-version
TARGET OPTIONS¶
-mtriple=target triple
-march=arch
-mcpu=cpuname
-mattr=a1,+a2,-a3,...
FLOATING POINT OPTIONS¶
-disable-excess-fp-precision
-enable-no-infs-fp-math
-enable-no-nans-fp-math
-enable-unsafe-fp-math
-soft-float
CODE GENERATION OPTIONS¶
-code-model=model
default: Target default code model small: Small code model kernel: Kernel code model medium: Medium code model large: Large code model
-disable-post-RA-scheduler
-disable-spill-fusing
-jit-enable-eh
-join-liveintervals
-nozero-initialized-in-bss Don't place zero-initialized symbols into the BSS section.
-pre-RA-sched=scheduler
=default: Best scheduler for the target =none: No scheduling: breadth first sequencing =simple: Simple two pass scheduling: minimize critical path and maximize processor utilization =simple-noitin: Simple two pass scheduling: Same as simple except using generic latency =list-burr: Bottom-up register reduction list scheduling =list-tdrr: Top-down register reduction list scheduling =list-td: Top-down list scheduler -print-machineinstrs - Print generated machine code
-regalloc=allocator
=bigblock: Big-block register allocator =linearscan: linear scan register allocator =local - local register allocator =simple: simple register allocator
-relocation-model=model
=default: Target default relocation model =static: Non-relocatable code =pic - Fully relocatable, position independent code =dynamic-no-pic: Relocatable external references, non-relocatable code
-spiller
=simple: simple spiller =local: local spiller
-x86-asm-syntax=syntax
=att: Emit AT&T-style assembly =intel: Emit Intel-style assembly
EXIT STATUS¶
If lli fails to load the program, it will exit with an exit code of 1. Otherwise, it will return the exit code of the program it executes.
SEE ALSO¶
llc|llc
AUTHOR¶
Maintained by The LLVM Team (http://llvm.org/).
COPYRIGHT¶
2003-2017, LLVM Project
2017-04-16 | 3.7 |