You've already forked linux-packaging-mono
acceptance-tests
data
debian
docs
external
Newtonsoft.Json
api-doc-tools
api-snapshot
aspnetwebstack
bdwgc
binary-reference-assemblies
bockbuild
boringssl
cecil
cecil-legacy
corefx
corert
helix-binaries
ikdasm
ikvm
illinker-test-assets
linker
llvm-project
clang
clang-tools-extra
compiler-rt
eng
libcxx
libcxxabi
libunwind
lld
lldb
llvm
bindings
cmake
docs
CommandGuide
FileCheck.rst
bugpoint.rst
dsymutil.rst
index.rst
lit.rst
llc.rst
lli.rst
llvm-ar.rst
llvm-as.rst
llvm-bcanalyzer.rst
llvm-build.rst
llvm-config.rst
llvm-cov.rst
llvm-diff.rst
llvm-dis.rst
llvm-dwarfdump.rst
llvm-extract.rst
llvm-lib.rst
llvm-link.rst
llvm-nm.rst
llvm-pdbutil.rst
llvm-profdata.rst
llvm-readobj.rst
llvm-stress.rst
llvm-symbolizer.rst
opt.rst
tblgen.rst
Frontend
HistoricalNotes
PDB
Proposals
TableGen
_ocamldoc
_static
_templates
_themes
tutorial
AMDGPUUsage.rst.REMOVED.git-id
ARM-BE-bitcastfail.png
ARM-BE-bitcastsuccess.png
ARM-BE-ld1.png
ARM-BE-ldr.png
AdvancedBuilds.rst
AliasAnalysis.rst
Atomics.rst
Benchmarking.rst
BigEndianNEON.rst
BitCodeFormat.rst
BlockFrequencyTerminology.rst
BranchWeightMetadata.rst
Bugpoint.rst
CFIVerify.rst
CMake.rst
CMakeLists.txt
CMakePrimer.rst
CodeGenerator.rst.REMOVED.git-id
CodeOfConduct.rst
CodingStandards.rst
CommandLine.rst
CompileCudaWithLLVM.rst
CompilerWriterInfo.rst
Coroutines.rst
CoverageMappingFormat.rst
DebuggingJITedCode.rst
DeveloperPolicy.rst
Docker.rst
ExceptionHandling.rst
ExtendedIntegerResults.txt
ExtendingLLVM.rst
Extensions.rst
FAQ.rst
FaultMaps.rst
FuzzingLLVM.rst
GarbageCollection.rst
GetElementPtr.rst
GettingStarted.rst
GettingStartedVS.rst
GlobalISel.rst
GoldPlugin.rst
HowToAddABuilder.rst
HowToBuildOnARM.rst
HowToCrossCompileBuiltinsOnArm.rst
HowToCrossCompileLLVM.rst
HowToReleaseLLVM.rst
HowToSetUpLLVMStyleRTTI.rst
HowToSubmitABug.rst
HowToUseAttributes.rst
HowToUseInstrMappings.rst
InAlloca.rst
LLVMBuild.rst
LLVMBuild.txt
LangRef.rst.REMOVED.git-id
Lexicon.rst
LibFuzzer.rst
LinkTimeOptimization.rst
MCJIT-creation.png
MCJIT-dyld-load.png
MCJIT-engine-builder.png
MCJIT-load-object.png
MCJIT-load.png
MCJIT-resolve-relocations.png
MCJITDesignAndImplementation.rst
MIRLangRef.rst
Makefile.sphinx
MarkedUpDisassembly.rst
MemorySSA.rst
MergeFunctions.rst
NVPTXUsage.rst
OptBisect.rst
Packaging.rst
Passes.rst
Phabricator.rst
ProgrammersManual.rst.REMOVED.git-id
Projects.rst
README.txt
ReleaseNotes.rst
ReleaseProcess.rst
ReportingGuide.rst
ScudoHardenedAllocator.rst
SegmentedStacks.rst
SourceLevelDebugging.rst
SphinxQuickstartTemplate.rst
StackMaps.rst
Statepoints.rst
SystemLibrary.rst
TableGenFundamentals.rst
TestSuiteMakefileGuide.rst
TestingGuide.rst
TypeMetadata.rst
Vectorizers.rst
WritingAnLLVMBackend.rst
WritingAnLLVMPass.rst
XRay.rst
XRayExample.rst
XRayFDRFormat.rst
YamlIO.rst
conf.py
doxygen-mainpage.dox
doxygen.cfg.in
gcc-loops.png
index.rst
linpack-pc.png
make.bat
re_format.7
yaml2obj.rst
examples
include
lib
projects
resources
runtimes
scripts
test
tools
unittests
utils
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in
version.txt.in
nuget
openmp
polly
Directory.Build.props
Directory.Build.targets
NuGet.config
azure-pipelines.yml
build.cmd
build.sh
dir.common.props
global.json
llvm.proj
mxe-Win64.cmake.in
nuget-buildtasks
nunit-lite
roslyn-binaries
rx
xunit-binaries
how-to-bump-roslyn-binaries.md
ikvm-native
llvm
m4
man
mcs
mono
msvc
netcore
po
runtime
samples
scripts
support
tools
COPYING.LIB
LICENSE
Makefile.am
Makefile.in
NEWS
README.md
acinclude.m4
aclocal.m4
autogen.sh
code_of_conduct.md
compile
config.guess
config.h.in
config.rpath
config.sub
configure.REMOVED.git-id
configure.ac.REMOVED.git-id
depcomp
install-sh
ltmain.sh.REMOVED.git-id
missing
mkinstalldirs
mono-uninstalled.pc.in
test-driver
winconfig.h
133 lines
2.8 KiB
ReStructuredText
133 lines
2.8 KiB
ReStructuredText
![]() |
tblgen - Target Description To C++ Code Generator
|
||
|
=================================================
|
||
|
|
||
|
SYNOPSIS
|
||
|
--------
|
||
|
|
||
|
:program:`tblgen` [*options*] [*filename*]
|
||
|
|
||
|
DESCRIPTION
|
||
|
-----------
|
||
|
|
||
|
:program:`tblgen` translates from target description (``.td``) files into C++
|
||
|
code that can be included in the definition of an LLVM target library. Most
|
||
|
users of LLVM will not need to use this program. It is only for assisting with
|
||
|
writing an LLVM target backend.
|
||
|
|
||
|
The input and output of :program:`tblgen` is beyond the scope of this short
|
||
|
introduction; please see the :doc:`introduction to TableGen
|
||
|
<../TableGen/index>`.
|
||
|
|
||
|
The *filename* argument specifies the name of a Target Description (``.td``)
|
||
|
file to read as input.
|
||
|
|
||
|
OPTIONS
|
||
|
-------
|
||
|
|
||
|
.. program:: tblgen
|
||
|
|
||
|
.. option:: -help
|
||
|
|
||
|
Print a summary of command line options.
|
||
|
|
||
|
.. option:: -o filename
|
||
|
|
||
|
Specify the output file name. If ``filename`` is ``-``, then
|
||
|
:program:`tblgen` sends its output to standard output.
|
||
|
|
||
|
.. option:: -I directory
|
||
|
|
||
|
Specify where to find other target description files for inclusion. The
|
||
|
``directory`` value should be a full or partial path to a directory that
|
||
|
contains target description files.
|
||
|
|
||
|
.. option:: -asmparsernum N
|
||
|
|
||
|
Make -gen-asm-parser emit assembly writer number ``N``.
|
||
|
|
||
|
.. option:: -asmwriternum N
|
||
|
|
||
|
Make -gen-asm-writer emit assembly writer number ``N``.
|
||
|
|
||
|
.. option:: -class className
|
||
|
|
||
|
Print the enumeration list for this class.
|
||
|
|
||
|
.. option:: -print-records
|
||
|
|
||
|
Print all records to standard output (default).
|
||
|
|
||
|
.. option:: -print-enums
|
||
|
|
||
|
Print enumeration values for a class.
|
||
|
|
||
|
.. option:: -print-sets
|
||
|
|
||
|
Print expanded sets for testing DAG exprs.
|
||
|
|
||
|
.. option:: -gen-emitter
|
||
|
|
||
|
Generate machine code emitter.
|
||
|
|
||
|
.. option:: -gen-register-info
|
||
|
|
||
|
Generate registers and register classes info.
|
||
|
|
||
|
.. option:: -gen-instr-info
|
||
|
|
||
|
Generate instruction descriptions.
|
||
|
|
||
|
.. option:: -gen-asm-writer
|
||
|
|
||
|
Generate the assembly writer.
|
||
|
|
||
|
.. option:: -gen-disassembler
|
||
|
|
||
|
Generate disassembler.
|
||
|
|
||
|
.. option:: -gen-pseudo-lowering
|
||
|
|
||
|
Generate pseudo instruction lowering.
|
||
|
|
||
|
.. option:: -gen-dag-isel
|
||
|
|
||
|
Generate a DAG (Directed Acycle Graph) instruction selector.
|
||
|
|
||
|
.. option:: -gen-asm-matcher
|
||
|
|
||
|
Generate assembly instruction matcher.
|
||
|
|
||
|
.. option:: -gen-dfa-packetizer
|
||
|
|
||
|
Generate DFA Packetizer for VLIW targets.
|
||
|
|
||
|
.. option:: -gen-fast-isel
|
||
|
|
||
|
Generate a "fast" instruction selector.
|
||
|
|
||
|
.. option:: -gen-subtarget
|
||
|
|
||
|
Generate subtarget enumerations.
|
||
|
|
||
|
.. option:: -gen-intrinsic
|
||
|
|
||
|
Generate intrinsic information.
|
||
|
|
||
|
.. option:: -gen-tgt-intrinsic
|
||
|
|
||
|
Generate target intrinsic information.
|
||
|
|
||
|
.. option:: -gen-enhanced-disassembly-info
|
||
|
|
||
|
Generate enhanced disassembly info.
|
||
|
|
||
|
.. option:: -version
|
||
|
|
||
|
Show the version number of this program.
|
||
|
|
||
|
EXIT STATUS
|
||
|
-----------
|
||
|
|
||
|
If :program:`tblgen` succeeds, it will exit with 0. Otherwise, if an error
|
||
|
occurs, it will exit with a non-zero value.
|