[cfe-dev] optimizations done on ASTs

Bin Zeng ezengbin at gmail.com
Fri Sep 9 08:44:08 PDT 2011


Hi all,

Just a quick question. What optimizations are done on ASTs in clang? By scanning the code, I did not find any optimizations done directly on ASTs. Shortly after preprocessed code is parsed in ParseAST.cpp, it is translated into bitcode which lots of optimizations manipulate. If any, please point me to the right direction.

Thanks a lot in advance.
-Bin Zeng





More information about the cfe-dev mailing list