|
1 .\" Man page generated from reStructuredText. |
|
2 . |
|
3 .TH "TBLGEN" "1" "2016-07-10" "3.8" "LLVM" |
|
4 .SH NAME |
|
5 tblgen \- Target Description To C++ Code Generator |
|
6 . |
|
7 .nr rst2man-indent-level 0 |
|
8 . |
|
9 .de1 rstReportMargin |
|
10 \\$1 \\n[an-margin] |
|
11 level \\n[rst2man-indent-level] |
|
12 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] |
|
13 - |
|
14 \\n[rst2man-indent0] |
|
15 \\n[rst2man-indent1] |
|
16 \\n[rst2man-indent2] |
|
17 .. |
|
18 .de1 INDENT |
|
19 .\" .rstReportMargin pre: |
|
20 . RS \\$1 |
|
21 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] |
|
22 . nr rst2man-indent-level +1 |
|
23 .\" .rstReportMargin post: |
|
24 .. |
|
25 .de UNINDENT |
|
26 . RE |
|
27 .\" indent \\n[an-margin] |
|
28 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] |
|
29 .nr rst2man-indent-level -1 |
|
30 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] |
|
31 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u |
|
32 .. |
|
33 .SH SYNOPSIS |
|
34 .sp |
|
35 \fBtblgen\fP [\fIoptions\fP] [\fIfilename\fP] |
|
36 .SH DESCRIPTION |
|
37 .sp |
|
38 \fBtblgen\fP translates from target description (\fB\&.td\fP) files into C++ |
|
39 code that can be included in the definition of an LLVM target library. Most |
|
40 users of LLVM will not need to use this program. It is only for assisting with |
|
41 writing an LLVM target backend. |
|
42 .sp |
|
43 The input and output of \fBtblgen\fP is beyond the scope of this short |
|
44 introduction; please see the introduction to TableGen\&. |
|
45 .sp |
|
46 The \fIfilename\fP argument specifies the name of a Target Description (\fB\&.td\fP) |
|
47 file to read as input. |
|
48 .SH OPTIONS |
|
49 .INDENT 0.0 |
|
50 .TP |
|
51 .B \-help |
|
52 Print a summary of command line options. |
|
53 .UNINDENT |
|
54 .INDENT 0.0 |
|
55 .TP |
|
56 .B \-o filename |
|
57 Specify the output file name. If \fBfilename\fP is \fB\-\fP, then |
|
58 \fBtblgen\fP sends its output to standard output. |
|
59 .UNINDENT |
|
60 .INDENT 0.0 |
|
61 .TP |
|
62 .B \-I directory |
|
63 Specify where to find other target description files for inclusion. The |
|
64 \fBdirectory\fP value should be a full or partial path to a directory that |
|
65 contains target description files. |
|
66 .UNINDENT |
|
67 .INDENT 0.0 |
|
68 .TP |
|
69 .B \-asmparsernum N |
|
70 Make \-gen\-asm\-parser emit assembly writer number \fBN\fP\&. |
|
71 .UNINDENT |
|
72 .INDENT 0.0 |
|
73 .TP |
|
74 .B \-asmwriternum N |
|
75 Make \-gen\-asm\-writer emit assembly writer number \fBN\fP\&. |
|
76 .UNINDENT |
|
77 .INDENT 0.0 |
|
78 .TP |
|
79 .B \-class className |
|
80 Print the enumeration list for this class. |
|
81 .UNINDENT |
|
82 .INDENT 0.0 |
|
83 .TP |
|
84 .B \-print\-records |
|
85 Print all records to standard output (default). |
|
86 .UNINDENT |
|
87 .INDENT 0.0 |
|
88 .TP |
|
89 .B \-print\-enums |
|
90 Print enumeration values for a class. |
|
91 .UNINDENT |
|
92 .INDENT 0.0 |
|
93 .TP |
|
94 .B \-print\-sets |
|
95 Print expanded sets for testing DAG exprs. |
|
96 .UNINDENT |
|
97 .INDENT 0.0 |
|
98 .TP |
|
99 .B \-gen\-emitter |
|
100 Generate machine code emitter. |
|
101 .UNINDENT |
|
102 .INDENT 0.0 |
|
103 .TP |
|
104 .B \-gen\-register\-info |
|
105 Generate registers and register classes info. |
|
106 .UNINDENT |
|
107 .INDENT 0.0 |
|
108 .TP |
|
109 .B \-gen\-instr\-info |
|
110 Generate instruction descriptions. |
|
111 .UNINDENT |
|
112 .INDENT 0.0 |
|
113 .TP |
|
114 .B \-gen\-asm\-writer |
|
115 Generate the assembly writer. |
|
116 .UNINDENT |
|
117 .INDENT 0.0 |
|
118 .TP |
|
119 .B \-gen\-disassembler |
|
120 Generate disassembler. |
|
121 .UNINDENT |
|
122 .INDENT 0.0 |
|
123 .TP |
|
124 .B \-gen\-pseudo\-lowering |
|
125 Generate pseudo instruction lowering. |
|
126 .UNINDENT |
|
127 .INDENT 0.0 |
|
128 .TP |
|
129 .B \-gen\-dag\-isel |
|
130 Generate a DAG (Directed Acycle Graph) instruction selector. |
|
131 .UNINDENT |
|
132 .INDENT 0.0 |
|
133 .TP |
|
134 .B \-gen\-asm\-matcher |
|
135 Generate assembly instruction matcher. |
|
136 .UNINDENT |
|
137 .INDENT 0.0 |
|
138 .TP |
|
139 .B \-gen\-dfa\-packetizer |
|
140 Generate DFA Packetizer for VLIW targets. |
|
141 .UNINDENT |
|
142 .INDENT 0.0 |
|
143 .TP |
|
144 .B \-gen\-fast\-isel |
|
145 Generate a "fast" instruction selector. |
|
146 .UNINDENT |
|
147 .INDENT 0.0 |
|
148 .TP |
|
149 .B \-gen\-subtarget |
|
150 Generate subtarget enumerations. |
|
151 .UNINDENT |
|
152 .INDENT 0.0 |
|
153 .TP |
|
154 .B \-gen\-intrinsic |
|
155 Generate intrinsic information. |
|
156 .UNINDENT |
|
157 .INDENT 0.0 |
|
158 .TP |
|
159 .B \-gen\-tgt\-intrinsic |
|
160 Generate target intrinsic information. |
|
161 .UNINDENT |
|
162 .INDENT 0.0 |
|
163 .TP |
|
164 .B \-gen\-enhanced\-disassembly\-info |
|
165 Generate enhanced disassembly info. |
|
166 .UNINDENT |
|
167 .INDENT 0.0 |
|
168 .TP |
|
169 .B \-version |
|
170 Show the version number of this program. |
|
171 .UNINDENT |
|
172 .SH EXIT STATUS |
|
173 .sp |
|
174 If \fBtblgen\fP succeeds, it will exit with 0. Otherwise, if an error |
|
175 occurs, it will exit with a non\-zero value. |
|
176 .SH AUTHOR |
|
177 Maintained by The LLVM Team (http://llvm.org/). |
|
178 .SH COPYRIGHT |
|
179 2003-2016, LLVM Project |
|
180 .\" Generated by docutils manpage writer. |
|
181 . |