[PATCH] D31025: [Docs] Add tablegen backend for target opcode documentatio

Tanya Lattner via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 16 16:18:14 PDT 2017


There are a bunch of scripts that run on the server to generate documentation (sphinx, doxygen, and one uses clang table gen). 

I have not examined this diff in detail, can you give me a high level summary of what command(s) are used to generate documentation and where that documentation would exist on llvm.org?

Thanks,
Tanya


> On Mar 16, 2017, at 2:47 AM, Oliver Stannard via Phabricator <reviews at reviews.llvm.org> wrote:
> 
> olista01 created this revision.
> Herald added a subscriber: mgorny.
> 
> This is a tablegen backend to generate documentation for the opcodes that exist for each target. For each opcode, it lists the assembly string, the names and types of all operands, and the flags and predicates that apply to the opcode.
> 
> As far as I can tell, the current table-generated documentation is built for llvm.org by some method external to the CMake scripts. What need doing to get this documentation visible on llvm.org?
> 
> 
> Repository:
>  rL LLVM
> 
> https://reviews.llvm.org/D31025
> 
> Files:
>  utils/TableGen/CMakeLists.txt
>  utils/TableGen/InstrDocsEmitter.cpp
>  utils/TableGen/TableGen.cpp
>  utils/TableGen/TableGenBackends.h
> 
> <D31025.91979.patch>



More information about the llvm-commits mailing list