diff options
author | zqchen <zqchen@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-05-15 06:54:48 +0000 |
---|---|---|
committer | zqchen <zqchen@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-05-15 06:54:48 +0000 |
commit | 59483f68e3dc09f4ce9ac070be4b7c57fc1e5e18 (patch) | |
tree | 7b099524607ef851d55ab807f10d94713196c9d1 /gcc/regcprop.h | |
parent | 808bdd173056b18aa4d8a0ffd5071dbf1ad5892c (diff) | |
download | gcc-59483f68e3dc09f4ce9ac070be4b7c57fc1e5e18.tar.gz |
2014-05-15 Zhenqiang Chen <zhenqiang.chen@linaro.org>
* regcprop.h: New file.
* regcprop.c (skip_debug_insn_p): New decl.
(replace_oldest_value_reg): Check skip_debug_insn_p.
(copyprop_hardreg_forward_bb_without_debug_insn.): New function.
* shrink-wrap.c: include regcprop.h
(prepare_shrink_wrap):
Call copyprop_hardreg_forward_bb_without_debug_insn.
testsuite/ChangeLog:
2014-05-15 Zhenqiang Chen <zhenqiang.chen@linaro.org>
* shrink-wrap-loop.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210458 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/regcprop.h')
-rw-r--r-- | gcc/regcprop.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gcc/regcprop.h b/gcc/regcprop.h new file mode 100644 index 00000000000..ab54eafcaf8 --- /dev/null +++ b/gcc/regcprop.h @@ -0,0 +1,27 @@ +/* Copy propagation on hard registers. + Copyright (C) 1989-2014 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 3, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +<http://www.gnu.org/licenses/>. */ + +#ifndef GCC_REGCPROP_H +#define GCC_REGCPROP_H + +#include "basic-block.h" + +extern void copyprop_hardreg_forward_bb_without_debug_insn (basic_block bb); + +#endif /* GCC_REGCPROP_H */ |