loop.texi (Loop Analysis and Representation): Document loop_depth function.
authorNicklas Bo Jensen <nbjensen@gmail.com>
Thu, 14 Jan 2016 21:03:11 +0000 (21:03 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 14 Jan 2016 21:03:11 +0000 (14:03 -0700)
        * doc/loop.texi (Loop Analysis and Representation): Document
loop_depth function.

From-SVN: r232389

gcc/ChangeLog
gcc/doc/loop.texi

index d7eabaf..ee96204 100644 (file)
@@ -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
index 8920002..8c7a62f 100644 (file)
@@ -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