diff options
author | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-11-25 21:26:24 +0000 |
---|---|---|
committer | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-11-25 21:26:24 +0000 |
commit | 3abdee23808f0c46eab022a54c4e6b9068586042 (patch) | |
tree | 369ab6215c76ec02c9c5f6a2ebf568c38a320056 /gcc/tree-pass.h | |
parent | e82fa7d80739d4c50899240a73f63bf5be60ae38 (diff) | |
download | linaro-gcc-3abdee23808f0c46eab022a54c4e6b9068586042.tar.gz linaro-gcc-3abdee23808f0c46eab022a54c4e6b9068586042.tar.bz2 linaro-gcc-3abdee23808f0c46eab022a54c4e6b9068586042.zip |
Add pass_oacc_kernels
2015-11-25 Tom de Vries <tom@codesourcery.com>
* tree-pass.h (make_pass_oacc_kernels, make_pass_oacc_kernels2):
Declare.
* tree-ssa-loop.c (gate_oacc_kernels): New static function.
(pass_data_oacc_kernels, pass_data_oacc_kernels2): New pass_data.
(class pass_oacc_kernels, class pass_oacc_kernels2): New pass.
(make_pass_oacc_kernels, make_pass_oacc_kernels2): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230906 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r-- | gcc/tree-pass.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h index dcd2d5e3a46..97049183451 100644 --- a/gcc/tree-pass.h +++ b/gcc/tree-pass.h @@ -465,6 +465,8 @@ extern gimple_opt_pass *make_pass_strength_reduction (gcc::context *ctxt); extern gimple_opt_pass *make_pass_vtable_verify (gcc::context *ctxt); extern gimple_opt_pass *make_pass_ubsan (gcc::context *ctxt); extern gimple_opt_pass *make_pass_sanopt (gcc::context *ctxt); +extern gimple_opt_pass *make_pass_oacc_kernels (gcc::context *ctxt); +extern gimple_opt_pass *make_pass_oacc_kernels2 (gcc::context *ctxt); /* IPA Passes */ extern simple_ipa_opt_pass *make_pass_ipa_lower_emutls (gcc::context *ctxt); |