[PATCH] D29424: [PPC] WIP - Add statistics for mem* fucntions
Sean Fertile via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 13:58:05 PST 2017
sfertile created this revision.
Add Statistics for memset/memcpy/memmove/memcmp functions.
Counts the number of times one of these functions is lowered, and if the call has a know size at compile time. If the Call has a know size then we bucket the size into small/med/large.
For the intrinsics, the alignment of the arguments is checked and recorded if they have
1. worst-case alignment
2. ideal alignment
Finally I add an option that allows tuning the maximum number of memory-operatons done in a n expansion of memcpy/memset/memmove.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 14126 bytes
Desc: not available
More information about the llvm-commits