diff options
author | Gabor Greif <ggreif@gmail.com> | 2009-01-05 16:05:32 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2009-01-05 16:05:32 +0000 |
commit | fd095b6389ec7c794e094f2a5dc8851bdc108999 (patch) | |
tree | b8dfad42f12dc67a6b69332c4c026b3cdb2a8ea1 /docs | |
parent | 4050a2324ce3c5e292ca8e2e025971766017f0e4 (diff) | |
download | external_llvm-fd095b6389ec7c794e094f2a5dc8851bdc108999.zip external_llvm-fd095b6389ec7c794e094f2a5dc8851bdc108999.tar.gz external_llvm-fd095b6389ec7c794e094f2a5dc8851bdc108999.tar.bz2 |
Get rid of the tagging functions and use PointerIntPair.
This means that we have to include an additional header.
This patch should be functionally equivalent. I cannot outrule any performance
degradation, though I do not expect any.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61694 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ProgrammersManual.html | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index 8f352ea..708211f 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -2234,7 +2234,7 @@ insert entries into the symbol table.</p> <div class="doc_text"> <p>The <tt><a href="http://llvm.org/doxygen/classllvm_1_1User.html"> -User</a></tt> class provides a base for expressing the ownership of <tt>User</tt> +User</a></tt> class provides a basis for expressing the ownership of <tt>User</tt> towards other <tt><a href="http://llvm.org/doxygen/classllvm_1_1Value.html"> Value</a></tt>s. The <tt><a href="http://llvm.org/doxygen/classllvm_1_1Use.html"> Use</a></tt> helper class is employed to do the bookkeeping and to facilitate <i>O(1)</i> @@ -2242,7 +2242,7 @@ addition and removal.</p> <!-- ______________________________________________________________________ --> <div class="doc_subsubsection"> - <a name="PATypeHolder">Interaction and relationship between <tt>User</tt> and <tt>Use</tt> objects</a> + <a name="Use2User">Interaction and relationship between <tt>User</tt> and <tt>Use</tt> objects</a> </div> <div class="doc_text"> @@ -2303,7 +2303,7 @@ enforce the following memory layouts:</p> <!-- ______________________________________________________________________ --> <div class="doc_subsubsection"> - <a name="PATypeHolder">The waymarking algorithm</a> + <a name="Waymarking">The waymarking algorithm</a> </div> <div class="doc_text"> @@ -2344,7 +2344,7 @@ stops, so that the <i>worst case is 20 memory accesses</i> when there are <!-- ______________________________________________________________________ --> <div class="doc_subsubsection"> - <a name="PATypeHolder">Reference implementation</a> + <a name="ReferenceImpl">Reference implementation</a> </div> <div class="doc_text"> @@ -2434,7 +2434,7 @@ OK, passed 500 tests. <!-- ______________________________________________________________________ --> <div class="doc_subsubsection"> - <a name="PATypeHolder">Tagging considerations</a> + <a name="Tagging">Tagging considerations</a> </div> <p> @@ -2446,7 +2446,8 @@ tag bits.</p> For layout b) instead of the <tt>User</tt> we find a pointer (<tt>User*</tt> with LSBit set). Following this pointer brings us to the <tt>User</tt>. A portable trick ensures that the first bytes of <tt>User</tt> (if interpreted as a pointer) never has -the LSBit set.</p> +the LSBit set. (Portability is relying on the fact that all known compilers place the +<tt>vptr</tt> in the first word of the instances.)</p> </div> @@ -2491,7 +2492,7 @@ the <tt>lib/VMCore</tt> directory.</p> <!-- _______________________________________________________________________ --> <div class="doc_subsubsection"> - <a name="m_Value">Important Public Methods</a> + <a name="m_Type">Important Public Methods</a> </div> <div class="doc_text"> @@ -2513,7 +2514,7 @@ the <tt>lib/VMCore</tt> directory.</p> <!-- _______________________________________________________________________ --> <div class="doc_subsubsection"> - <a name="m_Value">Important Derived Types</a> + <a name="derivedtypes">Important Derived Types</a> </div> <div class="doc_text"> <dl> |