Sunday 15 July 2012

compiler framework for C code -



compiler framework for C code -

i looking compiler framework can utilize write code optimizations , dataflow analysis c source code. know there llvm work source code rather bytecode. looking llvm-dragonegg not sure how easy implement dataflow passes using that?

a compiler don't work on textual source code (but parses source code). works on internal representations, such asts. each compiler has own internal representation(s) , of optimization work of compiler transform internal representations.

if decide work recent gcc extend melt (or, more painfully, own gcc plugin). of course of study you'll need understand in details internal representations (gimple, generic trees) , compilation passes.

melt lispy domain specific language, implemented gcc plugin, extend gcc.

compiler-construction compiler-optimization llvm-clang

No comments:

Post a Comment