llvm.org GIT mirror llvm / release_33 docs / CommandGuide / tblgen.rst
release_33

Tree @release_33 (Download .tar.gz)

tblgen.rst @release_33view markup · raw · history · blame

tblgen - Target Description To C++ Code Generator

SYNOPSIS

:program:`tblgen` [options] [filename]

DESCRIPTION

:program:`tblgen` translates from target description (.td) files into C++ code that can be included in the definition of an LLVM target library. Most users of LLVM will not need to use this program. It is only for assisting with writing an LLVM target backend.

The input and output of :program:`tblgen` is beyond the scope of this short introduction. Please see :doc:`../TableGenFundamentals`.

The filename argument specifies the name of a Target Description (.td) file to read as input.

OPTIONS

EXIT STATUS

If :program:`tblgen` succeeds, it will exit with 0. Otherwise, if an error occurs, it will exit with a non-zero value.