diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-16 09:34:24 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-16 09:34:24 +0000 |
commit | d860e1f980031b23f6ea1b9a3b44d8ca4420b185 (patch) | |
tree | f8f3a676f08510bce33991ec76f4760c9c9b62bc /gcc/tree-flow-inline.h | |
parent | 019166512855799010454b15096185d9014a7234 (diff) | |
download | gcc-d860e1f980031b23f6ea1b9a3b44d8ca4420b185.tar.gz |
2007-02-16 Richard Guenther <rguenther@suse.de>
* tree-flow-inline.h (single_imm_use_p): Remove.
(zero_imm_uses_p): Likewise.
* tree-ssa-coalesce.c (create_outofssa_var_map): Use has_single_use
instead of single_imm_use_p.
* tree-cfg.c (replace_uses_by): Use has_zero_use instead of
zero_imm_uses_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122036 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r-- | gcc/tree-flow-inline.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h index 64be7685b63..8d1072aaf4d 100644 --- a/gcc/tree-flow-inline.h +++ b/gcc/tree-flow-inline.h @@ -560,17 +560,6 @@ has_single_use (tree var) } -/* If VAR has only a single immediate use, return true. */ -static inline bool -single_imm_use_p (tree var) -{ - ssa_use_operand_t *ptr; - - ptr = &(SSA_NAME_IMM_USE_NODE (var)); - return (ptr != ptr->next && ptr == ptr->next->next); -} - - /* If VAR has only a single immediate use, return true, and set USE_P and STMT to the use pointer and stmt of occurrence. */ static inline bool @@ -605,14 +594,6 @@ num_imm_uses (tree var) return num; } -/* Return true if VAR has no immediate uses. */ -static inline bool -zero_imm_uses_p (tree var) -{ - ssa_use_operand_t *ptr = &(SSA_NAME_IMM_USE_NODE (var)); - return (ptr == ptr->next); -} - /* Return the tree pointer to by USE. */ static inline tree get_use_from_ptr (use_operand_p use) |