LLVM: llc tool


NAME

llc

SYNOPSIS

llc [options] [filename]

DESCRIPTION

The llc command compiles LLVM bytecode into assembly language for a specified architecture. The assembly language output can then be passed through a native assembler and linker to generate native code.

The choice of architecture for the output assembly code is determined as follows:

If filename is not specified, or if filename is -, llc reads its input from standard input. Otherwise, it will read its input from filename.

If the -o option is left unspecified, then llc will send its output to standard output if the input is from standard input. If the -o option specifies -, then the output will also be sent to standard output.

If no -o option is specified and an input file other than - is specified, then llc creates the output filename as follows:

OPTIONS

EXIT STATUS

If llc succeeds, it will exit with 0. Otherwise, if an error occurs, it will exit with a non-zero value.

SEE ALSO

llvm-dis, lli
LLVM Team