From 84f48495e979dee9adf890c0d14b87bf1bf911a1 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 26 Sep 2013 18:39:28 +0200 Subject: tree-ssa.h (walk_use_def_chains_fn, [...]): Delete. 2013-09-26 Florian Weimer * 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 --- gcc/doc/tree-ssa.texi | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'gcc/doc') 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}) -- cgit v1.1