[LLVMdev] Optimized code analysis problems

Eli Friedman eli.friedman at gmail.com
Mon Feb 2 13:41:42 PST 2009


On Sun, Feb 1, 2009 at 11:45 AM, Nipun Arora <nipun2512 at gmail.com> wrote:
> Well I think a way to hack it might be better for my purposes, can you
> suggest any ways of getting started on that and where.

Assuming you're using llvm-gcc for the analysis, look for
NeedAlwaysInliner in llvm-backend.cpp.

On a side note, depending on what exactly you're doing, a source-level
analysis tool might be more convenient than LLVM; a couple
possibilities are Dehydra (https://developer.mozilla.org/en/Dehydra)
and clang (http://clang.llvm.org/).

-Eli



More information about the llvm-dev mailing list