aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicklas Bo Jensen <nbjensen@gmail.com>2016-01-14 21:03:11 +0000
committerJeff Law <law@gcc.gnu.org>2016-01-14 14:03:11 -0700
commit4318655262314b8c558b07e9f7b4a98a806b25b4 (patch)
tree65a611dc8aa502d5892ec7002996b2c79a4d386b
parentbf93d5436362a54beae93703618cf9ac47c06a19 (diff)
downloadgcc-4318655262314b8c558b07e9f7b4a98a806b25b4.zip
gcc-4318655262314b8c558b07e9f7b4a98a806b25b4.tar.gz
gcc-4318655262314b8c558b07e9f7b4a98a806b25b4.tar.bz2
loop.texi (Loop Analysis and Representation): Document loop_depth function.
* doc/loop.texi (Loop Analysis and Representation): Document loop_depth function. From-SVN: r232389
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/loop.texi4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d7eabaf..ee96204 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2016-01-14 Nicklas Bo Jensen <nbjensen@gmail.com>
+
+ * doc/loop.texi (Loop Analysis and Representation): Document
+ loop_depth function.
+
2016-01-14 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/68773
diff --git a/gcc/doc/loop.texi b/gcc/doc/loop.texi
index 8920002..8c7a62f 100644
--- a/gcc/doc/loop.texi
+++ b/gcc/doc/loop.texi
@@ -173,8 +173,6 @@ loop structure (that are kept up-to-date at all times) are:
loop.
@item @code{num_nodes}: Number of basic blocks in the loop (including
the basic blocks of the sub-loops).
-@item @code{depth}: The depth of the loop in the loops tree, i.e., the
-number of super-loops of the loop.
@item @code{outer}, @code{inner}, @code{next}: The super-loop, the first
sub-loop, and the sibling of the loop in the loops tree.
@end itemize
@@ -186,6 +184,8 @@ should not be accessed directly.
The most important functions to query loop structures are:
@itemize
+@item @code{loop_depth}: The depth of the loop in the loops tree, i.e., the
+number of super-loops of the loop.
@item @code{flow_loops_dump}: Dumps the information about loops to a
file.
@item @code{verify_loop_structure}: Checks consistency of the loop