diff options
| author | Anatoly Sokolov <aesok@post.ru> | 2015-10-30 23:56:32 +0300 |
|---|---|---|
| committer | Anatoly Sokolov <aesok@gcc.gnu.org> | 2015-10-30 23:56:32 +0300 |
| commit | d614335f7796ca828cfab1a9e789bbb91165755b (patch) | |
| tree | 2e6dad106e2c0be6d7bcd62276c61e90c5b1dc22 /gcc/rtl.h | |
| parent | a6906c809772feaead79e533e79535bd03a49aa6 (diff) | |
| download | gcc-d614335f7796ca828cfab1a9e789bbb91165755b.zip gcc-d614335f7796ca828cfab1a9e789bbb91165755b.tar.gz gcc-d614335f7796ca828cfab1a9e789bbb91165755b.tar.bz2 | |
Add contains_symbol_ref_p
From-SVN: r229607
Diffstat (limited to 'gcc/rtl.h')
| -rw-r--r-- | gcc/rtl.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -829,6 +829,9 @@ struct GTY(()) rtvec_def { /* Predicate yielding nonzero iff RTX is a subreg. */ #define SUBREG_P(RTX) (GET_CODE (RTX) == SUBREG) +/* Predicate yielding true iff RTX is a symbol ref. */ +#define SYMBOL_REF_P(RTX) (GET_CODE (RTX) == SYMBOL_REF) + template <> template <> inline bool @@ -2926,6 +2929,7 @@ extern void set_insn_deleted (rtx); /* Functions in rtlanal.c */ extern rtx single_set_2 (const rtx_insn *, const_rtx); +extern bool contains_symbol_ref_p (const_rtx); /* Handle the cheap and common cases inline for performance. */ |
