[llvm-dev] Organization of LLVM utilities

Craig Topper via llvm-dev llvm-dev at lists.llvm.org
Tue Aug 4 11:43:26 PDT 2020


There is also clang/utils/TableGen which contains the clang tablegen
backends.The build produces an llvm-tblgen from llvm/utils/TableGen and
clang-tblgen from clang/utils/TableGen

~Craig


On Tue, Aug 4, 2020 at 11:41 AM Charlotte Delenk via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

>
> On 8/4/20 7:31 PM, Paul C. Anagnostopoulos via llvm-dev wrote:
> > I was confused by the lack of TableGen backends in the llvm/lib/tablegen
> directory until I stumbled upon the llvm/utils/tablegen directory. Could
> someone explain why TableGen is divided into these two directories?
> > _________________________________
> > LLVM Developers mailing list
> > llvm-dev at lists.llvm.org
> > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
> I am assuming the TableGen code is split like this so that external
> tools can utilize the TableGen parser without all of the specific logic
> in the LLVM tablegen binary. I can't find any application that uses it
> though aside from tablegen proper.
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200804/37d4e6a4/attachment.html>


More information about the llvm-dev mailing list