diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2013-09-12 13:30:31 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2013-09-12 13:30:31 +0000 |
commit | b12ebd96ba91490e361a139dca9d0fc17a67312f (patch) | |
tree | e3ce39c8fbda173b827c7f34d8c74d43cf39f543 /gcc/tree-flow-inline.h | |
parent | 0e2cd22d3dcffb2c2182bdbdf835644d2b862564 (diff) | |
download | gcc-b12ebd96ba91490e361a139dca9d0fc17a67312f.zip gcc-b12ebd96ba91490e361a139dca9d0fc17a67312f.tar.gz gcc-b12ebd96ba91490e361a139dca9d0fc17a67312f.tar.bz2 |
tree-flow.h (FREE_SSANAMES): Move to tree-ssanames.c (SSANAMES...
* tree-flow.h (FREE_SSANAMES): Move to tree-ssanames.c
(SSANAMES, MODIFIED_NORETURN_CALLS, DEFAULT_DEFS, ptr_info_def,
num_ssa_names, ssa_name): Move to tree-ssanames.h + prototypes.
* tree-flow-inline.h (make_ssa_name, copy_ssa_name, duplicate_ssa_name,
make_temp_ssa_name): move to tree-ssanames.h
* tree-ssa-alias.h: Move prototype.
* tree-ssa.h: Include tree-ssanames.h.
* tree-ssanames.c (FREE_SSANAMES): Move to here.
* tree-ssanames.h: New. Move items from tree-flow*.h
* Makefile.in (tree-ssanames.h): Add to tree-ssanames.o and GTFILES.
From-SVN: r202527
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r-- | gcc/tree-flow-inline.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h index 24f3f44..03c4840 100644 --- a/gcc/tree-flow-inline.h +++ b/gcc/tree-flow-inline.h @@ -1159,46 +1159,6 @@ gimple_ssa_operands (const struct function *fun) } -/* Return an SSA_NAME node for variable VAR defined in statement STMT - in function cfun. */ - -static inline tree -make_ssa_name (tree var, gimple stmt) -{ - return make_ssa_name_fn (cfun, var, stmt); -} - -/* Return an SSA_NAME node using the template SSA name NAME defined in - statement STMT in function cfun. */ - -static inline tree -copy_ssa_name (tree var, gimple stmt) -{ - return copy_ssa_name_fn (cfun, var, stmt); -} - -/* Creates a duplicate of a SSA name NAME tobe defined by statement STMT - in function cfun. */ - -static inline tree -duplicate_ssa_name (tree var, gimple stmt) -{ - return duplicate_ssa_name_fn (cfun, var, stmt); -} - -/* Return an anonymous SSA_NAME node for type TYPE defined in statement STMT - in function cfun. Arrange so that it uses NAME in dumps. */ - -static inline tree -make_temp_ssa_name (tree type, gimple stmt, const char *name) -{ - tree ssa_name; - gcc_checking_assert (TYPE_P (type)); - ssa_name = make_ssa_name_fn (cfun, type, stmt); - SET_SSA_NAME_VAR_OR_IDENTIFIER (ssa_name, get_identifier (name)); - return ssa_name; -} - /* Returns the base object and a constant BITS_PER_UNIT offset in *POFFSET that denotes the starting address of the memory access EXP. Returns NULL_TREE if the offset is not constant or any component |