diff options
author | Richard Guenther <rguenther@suse.de> | 2012-04-05 13:38:47 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-04-05 13:38:47 +0000 |
commit | 216820a4ad105b4f0802372fa3437d00bdb182d9 (patch) | |
tree | 8683318a9371cb594b545fa16e42b2a11e4bf33a /gcc/gimple.h | |
parent | eaf6ca186f3f165d0b641e02461dcb57d9c0d04d (diff) | |
download | gcc-216820a4ad105b4f0802372fa3437d00bdb182d9.tar.gz |
gimple.c (walk_gimple_op): Compute val_only for the LHS of an assigment in the canonical way...
2012-04-05 Richard Guenther <rguenther@suse.de>
* gimple.c (walk_gimple_op): Compute val_only for the LHS
of an assigment in the canonical way, avoiding is_gimple_mem_rhs.
(is_gimple_mem_rhs, is_gimple_reg_rhs, is_gimple_stmt): Move ...
* gimplify.c (is_gimple_mem_rhs, is_gimple_reg_rhs, is_gimple_stmt):
... here and make static.
* gimple.h (is_gimple_mem_rhs, is_gimple_reg_rhs, is_gimple_stmt):
Remove.
From-SVN: r186165
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r-- | gcc/gimple.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h index 6af6dc48536..c3e07983d73 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -961,8 +961,6 @@ gimple gimple_alloc_stat (enum gimple_code, unsigned MEM_STAT_DECL); const char *gimple_decl_printable_name (tree, int); tree gimple_get_virt_method_for_binfo (HOST_WIDE_INT, tree); tree gimple_extract_devirt_binfo_from_cst (tree); -/* Returns true iff T is a valid GIMPLE statement. */ -extern bool is_gimple_stmt (tree); /* Returns true iff T is a scalar register variable. */ extern bool is_gimple_reg (tree); @@ -996,11 +994,6 @@ extern bool is_gimple_val (tree); extern bool is_gimple_asm_val (tree); /* Returns true iff T is a valid address operand of a MEM_REF. */ bool is_gimple_mem_ref_addr (tree); -/* Returns true iff T is a valid rhs for a MODIFY_EXPR where the LHS is a - GIMPLE temporary, a renamed user variable, or something else, - respectively. */ -extern bool is_gimple_reg_rhs (tree); -extern bool is_gimple_mem_rhs (tree); /* Returns true iff T is a valid if-statement condition. */ extern bool is_gimple_condexpr (tree); |