[LLVMdev] Optimized code analysis problems
Nipun Arora
nipun2512 at gmail.com
Sat Jan 31 13:14:04 PST 2009
Hii,
Thanks for the response, yes I couldn't find any way to extract the names
through any of the passes.
Where could I potentially insert a hack so that any function call to
intrinsic functions or library functions can be retrieved?
Could you gimme any ideas for the start?
-Nipun
On Fri, Jan 30, 2009 at 10:39 PM, Eli Friedman <eli.friedman at gmail.com>wrote:
> 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
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090131/e6fa45fc/attachment.html>
More information about the llvm-dev
mailing list