[cfe-dev] Extending Clang with new keywords

kuebler via cfe-dev cfe-dev at lists.llvm.org
Wed Apr 27 06:08:58 PDT 2016


Hi,
my name is Timo and I am part of a project group at the University of 
Paderborn (Germany). The goal of our pg is to create an approximate cpu. 
We currently trying to extend Clang with some new keywords. Our idea is 
to introduce some keywords, so that Clang produces new LLVM IR Code (our 
approximate instructions).

We tried to add keyword to Tokenkinds.def, but we have not really an 
idea to go on from there?

Where else are changes needed to get an AST Node and transform it later 
to LLVM IR?


Regards,
Timo



More information about the cfe-dev mailing list