[LLVMdev] trig language-like code generator generator

Tzu-Chien Chiu tzuchien.chiu at gmail.com
Sun Apr 24 10:05:24 PDT 2005

yes, i did read those document. but i don't target any existing
hardware. i need a compiler during the hareware design phase (i work
for an ihv). preferrable a bnf syntax/rule/cost-driven and code
generator generator. dynamic programming ones like twig, burg, beg,

On 4/25/05, Misha Brukman <brukman at uiuc.edu> wrote:
> On Sun, Apr 24, 2005 at 07:15:03PM +0800, Tzu-Chien Chiu wrote:
> > i'd like to know if there is any plan or existing work to add a Aho's
> > trig language like code generator generator?
> I'm not aware of either the trig language code generator nor any work to
> implement it in LLVM.
> > "...If you are starting a new port, we recommend that you write the
> > instruction selector using the SelectionDAG infrastructure."
> >
> > any other things i should know before i write one?
> You should read these:
> http://llvm.cs.uiuc.edu/docs/WritingAnLLVMBackend.html
> http://llvm.cs.uiuc.edu/docs/TableGenFundamentals.html
> If you're unsure of how things are implemented, take a look at how
> similar things are done in X86, PowerPC, Alpha or IA64, they all have
> SelectionDAG-based instruction selectors (*ISelPattern.cpp).  If that
> doesn't clear things up, ask on the list or IRC channel.
> --
> Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu

More information about the llvm-dev mailing list