I'm just getting to know the LLVM / Clang source code structure and I find it hard to figure out what *.td files actually are?
*.td files contain TableGen code. TableGen is an interpreted languague to describe "records of domain-specific information". One of its main purposes is generating parts of the llvm / clang C/C++ source code. However it is used for various other purposes as well, see
TableGen Program Reference: http://llvm.org/docs/TableGen/index.html
TableGen Language Reference: http://llvm.org/docs/TableGen/LangRef.html
TableGen Backends: http://llvm.org/docs/TableGen/BackEnds.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With