[LLVMdev] tblgen automated code emitter?

Evan Cheng echeng at apple.com
Wed Mar 11 09:50:29 PDT 2009


On Mar 11, 2009, at 1:24 AM, someguy wrote:

> Hi,
>
> I noted that tblgen (in 2.5) seems to generate some code related to
> code emission. Does this work? If so, how is it used/controlled?

Yes, it works. You can look at how ARM backend uses it. Basically you  
can specify the "static" portion of  instruction encoding in  
instruction definitions in td files.

Evan

>
> Thanks,
> someguy
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list