On 11/06/14 05:24, Ilya Enkovich wrote:
Hi,

This patch adds support of instrumented builtin calls in expand.  Calls are 
mostly expanded as calls.  But some of them reuse existing string function 
calls expand functions (memcpy expand was slightly refactored for that).

This is the last enabling patch in this series.  Remaining two patches are 
performance ones.

Thanks,
Ilya
--
2014-11-06  Ilya Enkovich  <ilya.enkov...@intel.com>

        * builtins.c (expand_builtin_memcpy_args): New.
        (expand_builtin_memcpy): Call expand_builtin_memcpy_args.
        (expand_builtin_memcpy_with_bounds): New.
        (expand_builtin_mempcpy_with_bounds): New.
        (expand_builtin_mempcpy_args): Add orig_exp arg. Support
        BUILT_IN_CHKP_MEMCPY_NOBND_NOCHK
        (expand_builtin_memset_with_bounds): New.
        (expand_builtin_memset_args): Support BUILT_IN_CHKP_MEMSET_NOBND_NOCHK.
        (expand_builtin_with_bounds): New.
        * builtins.h (expand_builtin_with_bounds): New.
        * expr.c (expand_expr_real_1): Support instrumented builtin calls.


OK if/when rest of series is approved.

jeff

Reply via email to