[LLVMdev] Optimized code analysis problems

Eli Friedman eli.friedman at gmail.com
Fri Jan 30 19:39:57 PST 2009


On Fri, Jan 30, 2009 at 7:10 PM, Nipun Arora <nipun2512 at gmail.com> wrote:
> Essentially I would like to extract the control flow graph representation
> with function names (eg. _mm_cvtsi32_si128) instead of the functions being
> replaced by 'llvm.*'
> Is there anyway to extract these names directly as function calls?

The names disappear in an unrecoverable way once the first inlining
pass runs to take care of always_inline.  You might be able to hack
the code to sneak in before then, though.

-Eli



More information about the llvm-dev mailing list