From 216820a4ad105b4f0802372fa3437d00bdb182d9 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Thu, 5 Apr 2012 13:38:47 +0000 Subject: gimple.c (walk_gimple_op): Compute val_only for the LHS of an assigment in the canonical way... 2012-04-05 Richard Guenther * 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 --- gcc/gimple.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gcc/gimple.h') 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); -- cgit v1.2.1