2 .\" Man page generated from reStructuredText.
4 .TH "TBLGEN" "1" "2014-01-01" "3.4" "LLVM"
6 tblgen \- Target Description To C++ Code Generator
8 .nr rst2man-indent-level 0
12 level \\n[rst2man-indent-level]
13 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
20 .\" .rstReportMargin pre:
22 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
23 . nr rst2man-indent-level +1
24 .\" .rstReportMargin post:
28 .\" indent \\n[an-margin]
29 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
30 .nr rst2man-indent-level -1
31 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
32 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
36 \fBtblgen\fP [\fIoptions\fP] [\fIfilename\fP]
39 \fBtblgen\fP translates from target description (\fB\&.td\fP) files into C++
40 code that can be included in the definition of an LLVM target library. Most
41 users of LLVM will not need to use this program. It is only for assisting with
42 writing an LLVM target backend.
44 The input and output of \fBtblgen\fP is beyond the scope of this short
45 introduction. Please see \fB\&../TableGenFundamentals\fP\&.
47 The \fIfilename\fP argument specifies the name of a Target Description (\fB\&.td\fP)
48 file to read as input.
53 Print a summary of command line options.
58 Specify the output file name. If \fBfilename\fP is \fB\-\fP, then
59 \fBtblgen\fP sends its output to standard output.
64 Specify where to find other target description files for inclusion. The
65 \fBdirectory\fP value should be a full or partial path to a directory that
66 contains target description files.
71 Make \-gen\-asm\-parser emit assembly writer number \fBN\fP\&.
76 Make \-gen\-asm\-writer emit assembly writer number \fBN\fP\&.
81 Print the enumeration list for this class.
86 Print all records to standard output (default).
91 Print enumeration values for a class.
96 Print expanded sets for testing DAG exprs.
101 Generate machine code emitter.
105 .B \-gen\-register\-info
106 Generate registers and register classes info.
110 .B \-gen\-instr\-info
111 Generate instruction descriptions.
115 .B \-gen\-asm\-writer
116 Generate the assembly writer.
120 .B \-gen\-disassembler
121 Generate disassembler.
125 .B \-gen\-pseudo\-lowering
126 Generate pseudo instruction lowering.
131 Generate a DAG (Directed Acycle Graph) instruction selector.
135 .B \-gen\-asm\-matcher
136 Generate assembly instruction matcher.
140 .B \-gen\-dfa\-packetizer
141 Generate DFA Packetizer for VLIW targets.
146 Generate a "fast" instruction selector.
151 Generate subtarget enumerations.
156 Generate intrinsic information.
160 .B \-gen\-tgt\-intrinsic
161 Generate target intrinsic information.
165 .B \-gen\-enhanced\-disassembly\-info
166 Generate enhanced disassembly info.
171 Show the version number of this program.
175 If \fBtblgen\fP succeeds, it will exit with 0. Otherwise, if an error
176 occurs, it will exit with a non\-zero value.
178 Maintained by The LLVM Team (http://llvm.org/).
180 2003-2013, LLVM Project
181 .\" Generated by docutils manpage writer.