[cfe-dev] Memset checker

Aleksei Sidorin via cfe-dev cfe-dev at lists.llvm.org
Fri Apr 27 07:16:02 PDT 2018

Hello Gabor,

The optimizations don't affect AST - they are done by LLVM for the IR. 
You possibly want to look at the result bitcode instead.

27.04.2018 13:44, Gabor Borsik via cfe-dev пишет:
> Dear All,
> I would like to create a tool, which could count the number of 
> "memset" calls in the AST before and after the optimizations. Is there 
> any existing tool which can do it? If there isn't, where to place it? 
> I found three possible ways: integrate into the compiler, clang plugin 
> or an independent tool. Which one is the best?
> Thanks,
> Gábor
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

Best regards,
Aleksei Sidorin,
SRR, Samsung Electronics

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180427/56cb915d/attachment.html>

More information about the cfe-dev mailing list