.\" $FreeBSD$ .TH "TBLGEN" "1" "2012-08-16" "3.2" "LLVM" .SH NAME tblgen \- Target Description To C++ Code Generator . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .\" Man page generated from reStructuredText. . .SH SYNOPSIS .sp \fBtblgen\fP [\fIoptions\fP] [\fIfilename\fP] .SH DESCRIPTION .sp \fBtblgen\fP 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. .sp The input and output of \fBtblgen\fP is beyond the scope of this short introduction. Please see the \fICodeGeneration\fP page in the LLVM documentation. .sp The \fIfilename\fP argument specifies the name of a Target Description (.td) file to read as input. .SH OPTIONS .sp \fB\-help\fP .INDENT 0.0 .INDENT 3.5 Print a summary of command line options. .UNINDENT .UNINDENT .sp \fB\-o\fP \fIfilename\fP .INDENT 0.0 .INDENT 3.5 Specify the output file name. If \fIfilename\fP is \fB\-\fP, then \fBtblgen\fP sends its output to standard output. .UNINDENT .UNINDENT .sp \fB\-I\fP \fIdirectory\fP .INDENT 0.0 .INDENT 3.5 Specify where to find other target description files for inclusion. The \fIdirectory\fP value should be a full or partial path to a directory that contains target description files. .UNINDENT .UNINDENT .sp \fB\-asmparsernum\fP \fIN\fP .INDENT 0.0 .INDENT 3.5 Make \-gen\-asm\-parser emit assembly writer number \fIN\fP. .UNINDENT .UNINDENT .sp \fB\-asmwriternum\fP \fIN\fP .INDENT 0.0 .INDENT 3.5 Make \-gen\-asm\-writer emit assembly writer number \fIN\fP. .UNINDENT .UNINDENT .sp \fB\-class\fP \fIclass Name\fP .INDENT 0.0 .INDENT 3.5 Print the enumeration list for this class. .UNINDENT .UNINDENT .sp \fB\-print\-records\fP .INDENT 0.0 .INDENT 3.5 Print all records to standard output (default). .UNINDENT .UNINDENT .sp \fB\-print\-enums\fP .INDENT 0.0 .INDENT 3.5 Print enumeration values for a class. .UNINDENT .UNINDENT .sp \fB\-print\-sets\fP .INDENT 0.0 .INDENT 3.5 Print expanded sets for testing DAG exprs. .UNINDENT .UNINDENT .sp \fB\-gen\-emitter\fP .INDENT 0.0 .INDENT 3.5 Generate machine code emitter. .UNINDENT .UNINDENT .sp \fB\-gen\-register\-info\fP .INDENT 0.0 .INDENT 3.5 Generate registers and register classes info. .UNINDENT .UNINDENT .sp \fB\-gen\-instr\-info\fP .INDENT 0.0 .INDENT 3.5 Generate instruction descriptions. .UNINDENT .UNINDENT .sp \fB\-gen\-asm\-writer\fP .INDENT 0.0 .INDENT 3.5 Generate the assembly writer. .UNINDENT .UNINDENT .sp \fB\-gen\-disassembler\fP .INDENT 0.0 .INDENT 3.5 Generate disassembler. .UNINDENT .UNINDENT .sp \fB\-gen\-pseudo\-lowering\fP .INDENT 0.0 .INDENT 3.5 Generate pseudo instruction lowering. .UNINDENT .UNINDENT .sp \fB\-gen\-dag\-isel\fP .INDENT 0.0 .INDENT 3.5 Generate a DAG (Directed Acycle Graph) instruction selector. .UNINDENT .UNINDENT .sp \fB\-gen\-asm\-matcher\fP .INDENT 0.0 .INDENT 3.5 Generate assembly instruction matcher. .UNINDENT .UNINDENT .sp \fB\-gen\-dfa\-packetizer\fP .INDENT 0.0 .INDENT 3.5 Generate DFA Packetizer for VLIW targets. .UNINDENT .UNINDENT .sp \fB\-gen\-fast\-isel\fP .INDENT 0.0 .INDENT 3.5 Generate a "fast" instruction selector. .UNINDENT .UNINDENT .sp \fB\-gen\-subtarget\fP .INDENT 0.0 .INDENT 3.5 Generate subtarget enumerations. .UNINDENT .UNINDENT .sp \fB\-gen\-intrinsic\fP .INDENT 0.0 .INDENT 3.5 Generate intrinsic information. .UNINDENT .UNINDENT .sp \fB\-gen\-tgt\-intrinsic\fP .INDENT 0.0 .INDENT 3.5 Generate target intrinsic information. .UNINDENT .UNINDENT .sp \fB\-gen\-enhanced\-disassembly\-info\fP .INDENT 0.0 .INDENT 3.5 Generate enhanced disassembly info. .UNINDENT .UNINDENT .sp \fB\-version\fP .INDENT 0.0 .INDENT 3.5 Show the version number of this program. .UNINDENT .UNINDENT .SH EXIT STATUS .sp If \fBtblgen\fP succeeds, it will exit with 0. Otherwise, if an error occurs, it will exit with a non\-zero value. .SH AUTHOR Maintained by The LLVM Team (http://llvm.org/). .SH COPYRIGHT 2012, LLVM Project .\" Generated by docutils manpage writer. .