简体   繁体   English

LLVM / Clang源中的* .td文件是什么?

[英]What are *.td files in the LLVM / Clang source?

我刚刚开始了解LLVM / Clang源代码结构,我发现很难找出实际上是什么* .td文件?

*.td files contain TableGen code. * .td文件包含TableGen代码。 TableGen is an interpreted languague to describe "records of domain-specific information". TableGen是用于描述“特定于域的信息的记录”的解释性语言。 One of its main purposes is generating parts of the llvm / clang C/C++ source code. 其主要目的之一是生成llvm / clang C / C ++源代码的一部分。 However it is used for various other purposes as well, see 然而,它也用于各种其他目的,请参阅
TableGen Program Reference: http://llvm.org/docs/TableGen/index.html TableGen程序参考: http ://llvm.org/docs/TableGen/index.html
TableGen Language Reference: http://llvm.org/docs/TableGen/LangRef.html TableGen语言参考: http ://llvm.org/docs/TableGen/LangRef.html
TableGen Backends: http://llvm.org/docs/TableGen/BackEnds.html TableGen后端: http ://llvm.org/docs/TableGen/BackEnds.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM