Commit d7889929 by Ben Elliston Committed by Ben Elliston

cfg.texi (Maintaining the CFG): Use @ftable instead of @table to list the BSI methods.

	* doc/cfg.texi (Maintaining the CFG): Use @ftable instead of
	@table to list the BSI methods.  Use individual @findex directives
	instead of one with a comma-separated list of index entries.

From-SVN: r91033
parent 1d481ba8
2004-11-23 Ben Elliston <bje@au.ibm.com>
* doc/cfg.texi (Maintaining the CFG): Use @ftable instead of
@table to list the BSI methods. Use individual @findex directives
instead of one with a comma-separated list of index entries.
2004-11-22 Zdenek Dvorak <dvorakz@suse.cz> 2004-11-22 Zdenek Dvorak <dvorakz@suse.cz>
PR tree-optimization/18529 PR tree-optimization/18529
......
...@@ -457,41 +457,34 @@ instruction stream. Block statement iterators iterators are ...@@ -457,41 +457,34 @@ instruction stream. Block statement iterators iterators are
constructed using the @code{block_stmt_iterator} data structure and constructed using the @code{block_stmt_iterator} data structure and
several modifier are available, including the following: several modifier are available, including the following:
@table @code @ftable @code
@item bsi_start @item bsi_start
@findex bsi_start
This function initializes a @code{block_stmt_iterator} that points to This function initializes a @code{block_stmt_iterator} that points to
the first non-empty statement in a basic block. the first non-empty statement in a basic block.
@item bsi_last @item bsi_last
@findex bsi_last
This function initializes a @code{block_stmt_iterator} that points to This function initializes a @code{block_stmt_iterator} that points to
the last statement in a basic block. the last statement in a basic block.
@item bsi_end_p @item bsi_end_p
@findex bsi_end_p
This predicate is @code{true} if a @code{block_stmt_iterator} This predicate is @code{true} if a @code{block_stmt_iterator}
represents the end of a basic block. represents the end of a basic block.
@item bsi_next @item bsi_next
@findex bsi_next
This function takes a @code{block_stmt_iterator} and makes it point to This function takes a @code{block_stmt_iterator} and makes it point to
its successor. its successor.
@item bsi_prev @item bsi_prev
@findex bsi_prev
This function takes a @code{block_stmt_iterator} and makes it point to This function takes a @code{block_stmt_iterator} and makes it point to
its predecessor. its predecessor.
@item bsi_insert_after @item bsi_insert_after
@findex bsi_insert_after
This function inserts a statement after the @code{block_stmt_iterator} This function inserts a statement after the @code{block_stmt_iterator}
passed in. The final parameter determines whether the statement passed in. The final parameter determines whether the statement
iterator is updated to point to the newly inserted statement, or left iterator is updated to point to the newly inserted statement, or left
pointing to the original statement. pointing to the original statement.
@item bsi_insert_before @item bsi_insert_before
@findex bsi_insert_before
This function inserts a statement before the @code{block_stmt_iterator} This function inserts a statement before the @code{block_stmt_iterator}
passed in. The final parameter determines whether the statement passed in. The final parameter determines whether the statement
iterator is updated to point to the newly inserted statement, or left iterator is updated to point to the newly inserted statement, or left
...@@ -500,8 +493,7 @@ pointing to the original statement. ...@@ -500,8 +493,7 @@ pointing to the original statement.
@item bsi_remove @item bsi_remove
This function removes the @code{block_stmt_iterator} passed in and This function removes the @code{block_stmt_iterator} passed in and
rechains the remaining statements in a basic block, if any. rechains the remaining statements in a basic block, if any.
@end ftable
@end table
@findex BB_HEAD, BB_END @findex BB_HEAD, BB_END
In the RTL representation, the macros @code{BB_HEAD} and @code{BB_END} In the RTL representation, the macros @code{BB_HEAD} and @code{BB_END}
...@@ -540,8 +532,10 @@ and add necessary edges. The CFG hook @code{split_block} may be used ...@@ -540,8 +532,10 @@ and add necessary edges. The CFG hook @code{split_block} may be used
when an instruction in the middle of a basic block has to become the when an instruction in the middle of a basic block has to become the
target of a jump or branch instruction. target of a jump or branch instruction.
@findex insert_insn_on_edge, commit_edge_insertions @findex insert_insn_on_edge
@findex bsi_insert_on_edge, bsi_commit_edge_inserts @findex commit_edge_insertions
@findex bsi_insert_on_edge
@findex bsi_commit_edge_inserts
@cindex edge splitting @cindex edge splitting
For a global optimizer, a common operation is to split edges in the For a global optimizer, a common operation is to split edges in the
flow graph and insert instructions on them. In the RTL flow graph and insert instructions on them. In the RTL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment