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