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

Tree @release_90 (Download .tar.gz)

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

tblgen - Target Description To C++ Code Generator


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


: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.



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