![]() |
![]()
| ![]() |
![]()
NAMElli - directly execute programs from LLVM bitcode SYNOPSISlli [options] [filename] [program args] DESCRIPTIONlli directly executes programs in LLVM bitcode format. It takes a program in LLVM bitcode format and executes it using a just-in-time compiler or an interpreter. lli is not an emulator. It will not execute IR of different architectures and it can only interpret (or JIT-compile) for the host architecture. The JIT compiler takes the same arguments as other tools, like llc, but they don't necessarily work for the interpreter. 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
TARGET OPTIONS
FLOATING POINT OPTIONS
CODE GENERATION OPTIONS
default: Target default code model tiny: Tiny code model small: Small code model kernel: Kernel code model medium: Medium code model large: Large code model
=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
=bigblock: Big-block register allocator =linearscan: linear scan register allocator =local: local register allocator =simple: simple register allocator
=default: Target default relocation model =static: Non-relocatable code =pic: Fully relocatable, position independent code =dynamic-no-pic: Relocatable external references, non-relocatable code
=att: Emit AT&T-style assembly =intel: Emit Intel-style assembly EXIT STATUSIf 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 ALSOllc(1) AUTHORMaintained by the LLVM Team (https://llvm.org/). COPYRIGHT2003-2025, LLVM Project
|