tblgen.rst 3.02 KB

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 the :doc:`introduction to TableGen <../TableGen/index>`.

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.