forked from OSchip/llvm-project
* Add spaces between function names for readability
* Separate paragraphs, flush HTML text to left margin for ease of editing llvm-svn: 17333
This commit is contained in:
parent
124ea873ca
commit
ad279bfe07
|
@ -1200,42 +1200,52 @@ like branches and can go in the switch tables. <tt>BasicBlock</tt>s have type
|
||||||
<div class="doc_text">
|
<div class="doc_text">
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><tt>BasicBlock(const std::string &Name = "", </tt><tt><a
|
|
||||||
|
<li><tt>BasicBlock(const std::string &Name = "", </tt><tt><a
|
||||||
href="#Function">Function</a> *Parent = 0)</tt>
|
href="#Function">Function</a> *Parent = 0)</tt>
|
||||||
<p>The <tt>BasicBlock</tt> constructor is used to create new basic
|
|
||||||
blocks for insertion into a function. The constructor optionally takes
|
<p>The <tt>BasicBlock</tt> constructor is used to create new basic blocks for
|
||||||
a name for the new block, and a <a href="#Function"><tt>Function</tt></a>
|
insertion into a function. The constructor optionally takes a name for the new
|
||||||
to insert it into. If the <tt>Parent</tt> parameter is specified, the
|
block, and a <a href="#Function"><tt>Function</tt></a> to insert it into. If
|
||||||
new <tt>BasicBlock</tt> is automatically inserted at the end of the
|
the <tt>Parent</tt> parameter is specified, the new <tt>BasicBlock</tt> is
|
||||||
specified <a href="#Function"><tt>Function</tt></a>, if not specified,
|
automatically inserted at the end of the specified <a
|
||||||
the BasicBlock must be manually inserted into the <a href="#Function"><tt>Function</tt></a>.</p>
|
href="#Function"><tt>Function</tt></a>, if not specified, the BasicBlock must be
|
||||||
</li>
|
manually inserted into the <a href="#Function"><tt>Function</tt></a>.</p></li>
|
||||||
<li><tt>BasicBlock::iterator</tt> - Typedef for instruction list
|
|
||||||
iterator<br>
|
<li><tt>BasicBlock::iterator</tt> - Typedef for instruction list iterator<br>
|
||||||
<tt>BasicBlock::const_iterator</tt> - Typedef for const_iterator.<br>
|
<tt>BasicBlock::const_iterator</tt> - Typedef for const_iterator.<br>
|
||||||
<tt>begin()</tt>, <tt>end()</tt>, <tt>front()</tt>, <tt>back()</tt>,<tt>size()</tt>,<tt>empty()</tt>,<tt>rbegin()</tt>,<tt>rend()
|
<tt>begin()</tt>, <tt>end()</tt>, <tt>front()</tt>, <tt>back()</tt>,
|
||||||
- </tt>STL style functions for accessing the instruction list.
|
<tt>size()</tt>, <tt>empty()</tt>, <tt>rbegin()</tt>, <tt>rend()</tt> -
|
||||||
<p> These methods and typedefs are forwarding functions that have
|
STL-style functions for accessing the instruction list.
|
||||||
the same semantics as the standard library methods of the same names.
|
|
||||||
These methods expose the underlying instruction list of a basic block in
|
<p>These methods and typedefs are forwarding functions that have the same
|
||||||
a way that is easy to manipulate. To get the full complement of
|
semantics as the standard library methods of the same names. These methods
|
||||||
container operations (including operations to update the list), you must
|
expose the underlying instruction list of a basic block in a way that is easy to
|
||||||
use the <tt>getInstList()</tt> method.</p></li>
|
manipulate. To get the full complement of container operations (including
|
||||||
<li><tt>BasicBlock::InstListType &getInstList()</tt>
|
operations to update the list), you must use the <tt>getInstList()</tt>
|
||||||
<p> This method is used to get access to the underlying container
|
method.</p></li>
|
||||||
that actually holds the Instructions. This method must be used when
|
|
||||||
there isn't a forwarding function in the <tt>BasicBlock</tt> class for
|
<li><tt>BasicBlock::InstListType &getInstList()</tt>
|
||||||
the operation that you would like to perform. Because there are no
|
|
||||||
forwarding functions for "updating" operations, you need to use this if
|
<p>This method is used to get access to the underlying container that actually
|
||||||
you want to update the contents of a <tt>BasicBlock</tt>.</p></li>
|
holds the Instructions. This method must be used when there isn't a forwarding
|
||||||
<li><tt><a href="#Function">Function</a> *getParent()</tt>
|
function in the <tt>BasicBlock</tt> class for the operation that you would like
|
||||||
<p> Returns a pointer to <a href="#Function"><tt>Function</tt></a>
|
to perform. Because there are no forwarding functions for "updating"
|
||||||
the block is embedded into, or a null pointer if it is homeless.</p></li>
|
operations, you need to use this if you want to update the contents of a
|
||||||
<li><tt><a href="#TerminatorInst">TerminatorInst</a> *getTerminator()</tt>
|
<tt>BasicBlock</tt>.</p></li>
|
||||||
<p> Returns a pointer to the terminator instruction that appears at
|
|
||||||
the end of the <tt>BasicBlock</tt>. If there is no terminator
|
<li><tt><a href="#Function">Function</a> *getParent()</tt>
|
||||||
instruction, or if the last instruction in the block is not a
|
|
||||||
terminator, then a null pointer is returned.</p></li>
|
<p> Returns a pointer to <a href="#Function"><tt>Function</tt></a> the block is
|
||||||
|
embedded into, or a null pointer if it is homeless.</p></li>
|
||||||
|
|
||||||
|
<li><tt><a href="#TerminatorInst">TerminatorInst</a> *getTerminator()</tt>
|
||||||
|
|
||||||
|
<p> Returns a pointer to the terminator instruction that appears at the end of
|
||||||
|
the <tt>BasicBlock</tt>. If there is no terminator instruction, or if the last
|
||||||
|
instruction in the block is not a terminator, then a null pointer is
|
||||||
|
returned.</p></li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue