1TBLGEN(1)                            LLVM                            TBLGEN(1)
2
3
4

NAME

6       tblgen - Target Description To C++ Code Generator
7

SYNOPSIS

9       tblgen [options] [filename]
10

DESCRIPTION

12       tblgen  translates  from  target  description (.td) files into C++ code
13       that can be included in the definition of an LLVM target library.  Most
14       users  of  LLVM  will  not  need  to  use this program.  It is only for
15       assisting with writing an LLVM target backend.
16
17       The input and output of tblgen is beyond the scope of this short intro‐
18       duction; please see the introduction to TableGen.
19
20       The  filename argument specifies the name of a Target Description (.td)
21       file to read as input.
22

OPTIONS

24       -help  Print a summary of command line options.
25
26       -o filename
27              Specify the output file name.  If filename  is  -,  then  tblgen
28              sends its output to standard output.
29
30       -I directory
31              Specify  where to find other target description files for inclu‐
32              sion.  The directory value should be a full or partial path to a
33              directory that contains target description files.
34
35       -asmparsernum N
36              Make -gen-asm-parser emit assembly writer number N.
37
38       -asmwriternum N
39              Make -gen-asm-writer emit assembly writer number N.
40
41       -class className
42              Print the enumeration list for this class.
43
44       -print-records
45              Print all records to standard output (default).
46
47       -print-enums
48              Print enumeration values for a class.
49
50       -print-sets
51              Print expanded sets for testing DAG exprs.
52
53       -gen-emitter
54              Generate machine code emitter.
55
56       -gen-register-info
57              Generate registers and register classes info.
58
59       -gen-instr-info
60              Generate instruction descriptions.
61
62       -gen-asm-writer
63              Generate the assembly writer.
64
65       -gen-disassembler
66              Generate disassembler.
67
68       -gen-pseudo-lowering
69              Generate pseudo instruction lowering.
70
71       -gen-dag-isel
72              Generate a DAG (Directed Acycle Graph) instruction selector.
73
74       -gen-asm-matcher
75              Generate assembly instruction matcher.
76
77       -gen-dfa-packetizer
78              Generate DFA Packetizer for VLIW targets.
79
80       -gen-fast-isel
81              Generate a "fast" instruction selector.
82
83       -gen-subtarget
84              Generate subtarget enumerations.
85
86       -gen-intrinsic
87              Generate intrinsic information.
88
89       -gen-tgt-intrinsic
90              Generate target intrinsic information.
91
92       -gen-enhanced-disassembly-info
93              Generate enhanced disassembly info.
94
95       -version
96              Show the version number of this program.
97

EXIT STATUS

99       If  tblgen  succeeds,  it  will  exit  with  0.  Otherwise, if an error
100       occurs, it will exit with a non-zero value.
101

AUTHOR

103       Maintained by The LLVM Team (http://llvm.org/).
104
106       2003-2020, LLVM Project
107
108
109
110
1115                                 2020-01-29                         TBLGEN(1)
Impressum