1TBLGEN(1)                     LLVM Command Guide                     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
18       introduction. Please see the CodeGeneration page in the LLVM
19       documentation.
20
21       The filename argument specifies the name of a Target Description (.td)
22       file to read as input.
23

OPTIONS

25       -help
26           Print a summary of command line options.
27
28       -o filename
29           Specify the output file name.  If filename is "-", then tblgen
30           sends its output to standard output.
31
32       -I directory
33           Specify where to find other target description files for inclusion.
34           The directory value should be a full or partial path to a directory
35           that contains target description files.
36
37       -asmwriternum N
38           Make -gen-asm-writer emit assembly writer number N.
39
40       -class class Name
41           Print the enumeration list for this class.
42
43       -print-records
44           Print all records to standard output (default).
45
46       -print-enums
47           Print enumeration values for a class
48
49       -gen-emitter
50           Generate machine code emitter.
51
52       -gen-register-enums
53           Generate the enumeration values for all registers.
54
55       -gen-register-desc
56           Generate a register info description for each register.
57
58       -gen-register-desc-header
59           Generate a register info description header for each register.
60
61       -gen-instr-enums
62           Generate enumeration values for instructions.
63
64       -gen-instr-desc
65           Generate instruction descriptions.
66
67       -gen-asm-writer
68           Generate the assembly writer.
69
70       -gen-dag-isel
71           Generate a DAG (Directed Acycle Graph) instruction selector.
72
73       -gen-subtarget
74           Generate subtarget enumerations.
75
76       -gen-intrinsic
77           Generate intrinsic information.
78
79       -version
80           Show the version number of this program.
81

EXIT STATUS

83       If tblgen succeeds, it will exit with 0.  Otherwise, if an error
84       occurs, it will exit with a non-zero value.
85

AUTHORS

87       Maintained by The LLVM Team (<http://llvm.org>).
88
89
90
91CVS                               2010-05-07                         TBLGEN(1)
Impressum