diff options
author | Ilya Enkovich <ilya.enkovich@intel.com> | 2015-01-19 10:26:52 +0000 |
---|---|---|
committer | Ilya Enkovich <ienkovich@gcc.gnu.org> | 2015-01-19 10:26:52 +0000 |
commit | c11d86b47facb2f787a7cfde0755454c73b8b90e (patch) | |
tree | 68902d8ce02f2954964f324ed9e2a885df3ff7fd /gcc/tree-pass.h | |
parent | 9deaf59d1b60b7738f848ecd99171d16e99438ae (diff) | |
download | gcc-c11d86b47facb2f787a7cfde0755454c73b8b90e.zip gcc-c11d86b47facb2f787a7cfde0755454c73b8b90e.tar.gz gcc-c11d86b47facb2f787a7cfde0755454c73b8b90e.tar.bz2 |
ipa-chkp.c (chkp_produce_thunks): Add early param to split thunks production into two passes.
gcc/
* ipa-chkp.c (chkp_produce_thunks): Add early param
to split thunks production into two passes. Keep
'always_inline' function bodies after the first pass.
(pass_data_ipa_chkp_early_produce_thunks): New.
(pass_ipa_chkp_early_produce_thunks): New.
(pass_ipa_chkp_produce_thunks::execute): Adjust to new
chkp_produce_thunks signature.
(make_pass_ipa_chkp_early_produce_thunks): New.
* passes.def (pass_ipa_chkp_early_produce_thunks): New.
(pass_ipa_chkp_produce_thunks): Move after local optimizations.
* tree-pass.h (make_pass_ipa_chkp_early_produce_thunks): New.
gcc/testsuite/
* gcc.target/i386/chkp-always_inline.c: New.
From-SVN: r219834
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r-- | gcc/tree-pass.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h index 9ff5bdc..b59ae7a 100644 --- a/gcc/tree-pass.h +++ b/gcc/tree-pass.h @@ -334,6 +334,7 @@ extern void register_pass (opt_pass* pass, pass_positioning_ops pos, const char* ref_pass_name, int ref_pass_inst_number); extern simple_ipa_opt_pass *make_pass_ipa_chkp_versioning (gcc::context *ctxt); +extern simple_ipa_opt_pass *make_pass_ipa_chkp_early_produce_thunks (gcc::context *ctxt); extern simple_ipa_opt_pass *make_pass_ipa_chkp_produce_thunks (gcc::context *ctxt); extern gimple_opt_pass *make_pass_chkp (gcc::context *ctxt); extern gimple_opt_pass *make_pass_chkp_opt (gcc::context *ctxt); |