[LLVMdev] Utilizing gperf for TableGen

Christopher Lamb christopher.lamb at gmail.com
Tue Jan 1 11:40:48 PST 2008


I believe that some of this will be alleviated by switching to a Trie  
data structure, though Anton would know for sure.

--
Christopher Lamb

On Jan 1, 2008, at 3:51 AM, Wilhansen Li wrote:

> The output of TableGen (intrinsics.gen) seems a bit too clunky
> specifically the switching parts (input the string, output the enum).
> Moreover, the code makes MSVC barf due to its nesting limit which even
> applices to if-else statements.
>
> One one hand, gperf
> (http://www.gnu.org/software/gperf/manual/gperf.html) offers a way to
> map strings to records without much difficulty (and it does its job
> efficiently).
>
> My point is, are there plans to utilize gperf for table generation?
> -- 
> (<_<)(>_>)(>_<)(<.<)(>.>)(>.<)
> Life is too short for dial-up.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080101/c3a1ea2c/attachment.html>


More information about the llvm-dev mailing list