diff options
author | Florian Weimer <fw@deneb.enyo.de> | 2013-09-26 18:39:28 +0200 |
---|---|---|
committer | Florian Weimer <fw@gcc.gnu.org> | 2013-09-26 18:39:28 +0200 |
commit | 84f48495e979dee9adf890c0d14b87bf1bf911a1 (patch) | |
tree | bf45465f8dc31f1e73a75ecfc906676391b0d3a8 /gcc/doc | |
parent | 74fc8b8ab93cc6be30282b9c01010198a37510ee (diff) | |
download | gcc-84f48495e979dee9adf890c0d14b87bf1bf911a1.zip gcc-84f48495e979dee9adf890c0d14b87bf1bf911a1.tar.gz gcc-84f48495e979dee9adf890c0d14b87bf1bf911a1.tar.bz2 |
tree-ssa.h (walk_use_def_chains_fn, [...]): Delete.
2013-09-26 Florian Weimer <fw@deneb.enyo.de>
* tree-ssa.h (walk_use_def_chains_fn, walk_use_def_chains): Delete.
* tree-ssa.c (walk_use_def_chains_1, walk_use_def_chains): Delete.
* doc/tree-ssa.texi (Walking use-def chains): Delete.
From-SVN: r202951
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/tree-ssa.texi | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/gcc/doc/tree-ssa.texi b/gcc/doc/tree-ssa.texi index fc479d6..aaf741b 100644 --- a/gcc/doc/tree-ssa.texi +++ b/gcc/doc/tree-ssa.texi @@ -725,33 +725,6 @@ Returns the version number of the @code{SSA_NAME} object @var{var}. @end defmac -@subsection Walking use-def chains - -@deftypefn {Tree SSA function} void walk_use_def_chains (@var{var}, @var{fn}, @var{data}) - -Walks use-def chains starting at the @code{SSA_NAME} node @var{var}. -Calls function @var{fn} at each reaching definition found. Function -@var{FN} takes three arguments: @var{var}, its defining statement -(@var{def_stmt}) and a generic pointer to whatever state information -that @var{fn} may want to maintain (@var{data}). Function @var{fn} is -able to stop the walk by returning @code{true}, otherwise in order to -continue the walk, @var{fn} should return @code{false}. - -Note, that if @var{def_stmt} is a @code{PHI} node, the semantics are -slightly different. For each argument @var{arg} of the PHI node, this -function will: - -@enumerate -@item Walk the use-def chains for @var{arg}. -@item Call @code{FN (@var{arg}, @var{phi}, @var{data})}. -@end enumerate - -Note how the first argument to @var{fn} is no longer the original -variable @var{var}, but the PHI argument currently being examined. -If @var{fn} wants to get at @var{var}, it should call -@code{PHI_RESULT} (@var{phi}). -@end deftypefn - @subsection Walking the dominator tree @deftypefn {Tree SSA function} void walk_dominator_tree (@var{walk_data}, @var{bb}) |