llvm/docs/*.html: Fix markups.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 27 Mar 2012 11:25:16 +0000 (11:25 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 27 Mar 2012 11:25:16 +0000 (11:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153508 91177308-0d34-0410-b5e6-96231b3b80d8

13 files changed:
docs/CodeGenerator.html
docs/CodingStandards.html
docs/DeveloperPolicy.html
docs/ExceptionHandling.html
docs/FAQ.html
docs/GettingStarted.html
docs/LLVMBuild.html
docs/LangRef.html
docs/ProgrammersManual.html
docs/ReleaseNotes.html
docs/SourceLevelDebugging.html
docs/TableGenFundamentals.html
docs/TestingGuide.html

index 32a3a971a32e088cc89c883362b6b01ba701f236..77bd625a4e5e22d3ba2e712ed6c8b0113d9b5778 100644 (file)
@@ -861,6 +861,8 @@ ret
 
 </div>
 
+</div>
+
 <!-- *********************************************************************** -->
 <h2>
   <a name="mc">The "MC" Layer</a>
index f00caa33225b63c5ca3fbc83d42a6f1a46d52491..5390a7a2d40abf26759c7a433ea123c1b3049c19 100644 (file)
@@ -465,7 +465,7 @@ common use case of LLVM as a library linked into a larger application.</p>
 <p>Consider the use of LLVM as a JIT linked into another application (perhaps
 for <a href="http://llvm.org/Users.html">OpenGL, custom languages</a>,
 <a href="http://llvm.org/devmtg/2010-11/Gritz-OpenShadingLang.pdf">shaders in
-movies</a>, etc</a>).  Due to the design of static constructors, they must be
+movies</a>, etc).  Due to the design of static constructors, they must be
 executed at startup time of the entire application, regardless of whether or
 how LLVM is used in that larger application.  There are two problems with
 this:</p>
index 08e47a18d9fe38933c20648d2a8143902b2d11ca..93eb3d36dadffee18162f4f4ebe915a04bab5be5 100644 (file)
 </h2>
 <!--=========================================================================-->
 
+<div>
+
 <div class="doc_notes">
 <p style="text-align:center;font-weight:bold">NOTE: This section deals with
    legal matters but does not provide legal advice.  We are not lawyers &mdash; 
 
 </div>
 
+</div>
+
 <!-- *********************************************************************** -->
 <hr>
 <address>
index 42881f5a773d8c7adfdf2bca00c7d54dab640f7f..5ee1c4b6a7ada1c1274d21d26f548fe69e930f6a 100644 (file)
 
 </div>
 
+</div>
+
 <!-- ======================================================================= -->
 <h2>
   <a name="asm">Asm Table Formats</a>
index 7294cdd1a4294bbdafc5cdb142202b13d1dbe3e9..74e85347d1173b20166d74016679d03f020d1b10 100644 (file)
 </h2>
 <!-- *********************************************************************** -->
 
+<div>
+
 <div class="question">
 <p>Why are the LLVM source code and the front-end distributed under different
    licenses?</p>
    GPL, as explained in the first question above.</p>
 </div>
 
+</div>
+
 <!-- *********************************************************************** -->
 <h2>
   <a name="source">Source Code</a>
 </h2>
 <!-- *********************************************************************** -->
 
+<div>
+
 <div class="question">
 <p>In what language is LLVM written?</p>
 </div>
@@ -223,12 +229,16 @@ LLVM have been ported to a plethora of platforms.</p>
 
 </div>
 
+</div>
+
 <!-- *********************************************************************** -->
 <h2>
   <a name="build">Build Problems</a>
 </h2>
 <!-- *********************************************************************** -->
 
+<div>
+
 <div class="question">
 <p>When I run configure, it finds the wrong C compiler.</p>
 </div>
@@ -435,11 +445,15 @@ Stop.
 <p>We regret the inconvenience.</p>
 </div>
 
+</div>
+
 <!-- *********************************************************************** -->
 <h2>
   <a name="felangs">Source Languages</a>
 </h2>
 
+<div>
+
 <div class="question">
 <p><a name="langs">What source languages are supported?</a></p>
 </div>
@@ -540,11 +554,15 @@ Stop.
    Instruction</a>.</p>
 </div>
 
+</div>
+
 <!-- *********************************************************************** -->
 <h2>
   <a name="cfe">Using the GCC Front End</a>
 </h2>
 
+<div>
+
 <div class="question">
 <p>When I compile software that uses a configure script, the configure script
    thinks my system has all of the header files and libraries it is testing for.
@@ -697,11 +715,15 @@ Stop.
    order to have the result conform to the platform ABI.</p>
 </div>
 
+</div>
+
 <!-- *********************************************************************** -->
 <h2>
   <a name="cfe_code">Questions about code generated by the GCC front-end</a>
 </h2>
 
+<div>
+
 <div class="question">
 <p><a name="iosinit">What is this <tt>llvm.global_ctors</tt> and
    <tt>_GLOBAL__I__tmp_webcompile...</tt> stuff that happens when I <tt>#include
@@ -907,6 +929,8 @@ F.i:
 
 </div>
 
+</div>
+
 <!-- *********************************************************************** -->
 
 <hr>
index 575ec04a86f7472577ba7cc21d5d32c917d0bb20..2bc17ea8c10c4752016f6fc0c2705c3a07c224dc 100644 (file)
@@ -155,8 +155,8 @@ also be a good place to start.</p>
     <li><tt>cd <i>where-you-want-to-build-llvm</i></tt></li>
     <li><tt>mkdir build</tt> (for building without polluting the source dir)</li>
     <li><tt>cd build</tt></li>
-    <li><tt>../llvm/configure [options]</tt></li>
-    Some common options:
+    <li><tt>../llvm/configure [options]</tt>
+    <br>Some common options:
 
       <ul>
         <li><tt>--prefix=<i>directory</i></tt> -
@@ -174,7 +174,7 @@ also be a good place to start.</p>
         <li><tt>--enable-assertions</tt> -
         Compile with assertion checks enabled (default is YES).</li>
       </ul>
-
+   </li>
     <li><tt>make [-j]</tt> - The -j specifies the number of jobs (commands) to 
     run simultaneously.  This builds both LLVM and Clang for Debug+Asserts mode.
     The --enabled-optimized configure option is used to specify a Release build.</li>
@@ -192,7 +192,6 @@ also be a good place to start.</p>
 
   </ul>
   </li>
-  </ol>
 
 </ol>
 
index b06946743b8aef67f64773b9a7d4f338b6cd0667..cce607d611fc99f58c0e2cbb0654312617218fb8 100644 (file)
@@ -171,7 +171,7 @@ name = Linker
 parent = Libraries
 required_libraries = Archive BitReader Core Support TransformUtils
 </pre>
-  </div class="doc_code">
+  </div>
 
   <p>A full description of the exact sections and properties which are allowed
  follows.</p>
index cfe489031e0bed9086468d445bfcd8732ce69df2..50ce5a07f433e352225acfd2f46d4dcf65e348a8 100644 (file)
@@ -3029,6 +3029,8 @@ call void @llvm.dbg.value(metadata !24, i64 0, metadata !25)
 </pre>
 </div>
 
+</div>
+
 <!-- _______________________________________________________________________ -->
 <h4>
   <a name="range">'<tt>range</tt>' Metadata</a>
@@ -3066,8 +3068,6 @@ call void @llvm.dbg.value(metadata !24, i64 0, metadata !25)
 
 </div>
 
-</div>
-
 <!-- *********************************************************************** -->
 <h2>
   <a name="module_flags">Module Flags Metadata</a>
index f4c03222b2065a6760cab92203940662d54593fc..1a7f215ae0ae439fb980860085920f62c3ef9c55 100644 (file)
@@ -2567,7 +2567,7 @@ block but not delete it, you can use the <tt>removeFromParent()</tt> method.</p>
 
 <div>
 
-<p><i>Replacing individual instructions</i></p>
+<h5><i>Replacing individual instructions</i></h5>
 
 <p>Including "<a href="/doxygen/BasicBlockUtils_8h-source.html">llvm/Transforms/Utils/BasicBlockUtils.h</a>"
 permits use of two very useful replace functions: <tt>ReplaceInstWithValue</tt>
@@ -2575,6 +2575,7 @@ and <tt>ReplaceInstWithInst</tt>.</p>
 
 <h5><a name="schanges_deleting">Deleting <tt>Instruction</tt>s</a></h5>
 
+<div>
 <ul>
   <li><tt>ReplaceInstWithValue</tt>
 
@@ -2611,7 +2612,9 @@ ReplaceInstWithInst(instToReplace-&gt;getParent()-&gt;getInstList(), ii,
 </pre></div></li>
 </ul>
 
-<p><i>Replacing multiple uses of <tt>User</tt>s and <tt>Value</tt>s</i></p>
+</div>
+
+<h5><i>Replacing multiple uses of <tt>User</tt>s and <tt>Value</tt>s</i></h5>
 
 <p>You can use <tt>Value::replaceAllUsesWith</tt> and
 <tt>User::replaceUsesOfWith</tt> to change more than one use at a time.  See the
@@ -3305,13 +3308,12 @@ helpful member functions that try to make common operations easy.</p>
 <div>
 
 <ul>
-  <li><tt>Module::Module(std::string name = "")</tt></li>
-</ul>
+  <li><tt>Module::Module(std::string name = "")</tt>
 
-<p>Constructing a <a href="#Module">Module</a> is easy. You can optionally
+  <p>Constructing a <a href="#Module">Module</a> is easy. You can optionally
 provide a name for it (probably based on the name of the translation unit).</p>
+  </li>
 
-<ul>
   <li><tt>Module::iterator</tt> - Typedef for function list iterator<br>
     <tt>Module::const_iterator</tt> - Typedef for const_iterator.<br>
 
index 23e31b7d67f94126187e465e2f8e41f7d939a0bb..72153a9973882be687f5f8602d4bed877c394b6a 100644 (file)
@@ -403,7 +403,6 @@ Release Notes</a>.</h1>
   <li>On Darwin, the ARM target now has a full-featured integrated assembler.
   </li>
 </ul>
-</div>
 
 <h4>
 <a name="armintegratedassembler">ARM Integrated Assembler</a>
@@ -420,6 +419,8 @@ subtarget and CPU specific extensions for VFP2, VFP3 and NEON.</p>
 <p>The assembler is Unified Syntax only (see ARM Architecural Reference Manual
 for details). While there is some, and growing, support for pre-unfied (divided)
 syntax, there are still significant gaps in that support.</p>
+</div>
+
 </div>
 <!--=========================================================================-->
 <h3>
@@ -521,8 +522,6 @@ syntax, there are still significant gaps in that support.</p>
 
 </div>
 
-</div>
-
 <!--=========================================================================-->
 <h3>
 <a name="tools_changes">Tools Changes</a>
index 06bd85248a7f00951a0e9b6bc7b5a9a8155faa32..cdeedb1d6d6d5092fc1782d26c70a1b9e38870b4 100644 (file)
@@ -2164,16 +2164,15 @@ The DWARF for this would be:
   </tr>
 </table>
 
-</div>
 </div>
 </div>
 
-<div>
 <!-- ======================================================================= -->
 <h3>
   <a name="acceltable">Name Accelerator Tables</a>
 </h3>
 <!-- ======================================================================= -->
+<div>
 <!-- ======================================================================= -->
 <h4>
   <a name="acceltableintroduction">Introduction</a>
@@ -2842,6 +2841,7 @@ int main ()
 </ul>
 </div>
 </div>
+</div>
 
 <!-- *********************************************************************** -->
 
index 45baf198454e62dbf63607da6b265aff3c66b6cc..b401c7a49f0967c4ac32d984e5cfc04db2d72ae0 100644 (file)
@@ -420,7 +420,7 @@ which case the user must specify it explicitly.</dd>
 <dt><tt>str1#str2</tt></dt>
   <dd>"#" (paste) is a shorthand for !strconcat.  It may concatenate
   things that are not quoted strings, in which case an implicit
-  !cast<string> is done on the operand of the paste.</dd>
+  !cast&lt;string&gt; is done on the operand of the paste.</dd>
 <dt><tt>!cast&lt;type&gt;(a)</tt></dt>
   <dd>A symbol of type <em>type</em> obtained by looking up the string 'a' in
 the symbol table.  If the type of 'a' does not match <em>type</em>, TableGen
index fe5d836fe56143b76eaa37aecc91a94f2c633bd2..bd3db228686ec31ee74a704fb18a6cb9201245f1 100644 (file)
@@ -889,8 +889,6 @@ understand the Makefile based setup.</p>
 the <a href="TestSuiteMakefileGuide.html">Test Suite Makefile Guide.</a></p>
 </div>
 
-</div>
-
 <!-- *********************************************************************** -->
 
 <hr>