add llvm ir bitcode definition file
[oota-llvm.git] / docs / ProgrammersManual.html
index 031c86b9111d73a5ffa0eb1dda42eac58c96ccf3..347861e9638896a59a85879ee228860fae29fc25 100644 (file)
@@ -803,7 +803,7 @@ vector is also useful when interfacing with code that expects vectors :).
 <div class="doc_code">
 <pre>
 for ( ... ) {
-   std::vector<foo> V;
+   std::vector&lt;foo&gt; V;
    use V;
 }
 </pre>
@@ -813,7 +813,7 @@ for ( ... ) {
 
 <div class="doc_code">
 <pre>
-std::vector<foo> V;
+std::vector&lt;foo&gt; V;
 for ( ... ) {
    use V;
    V.clear();
@@ -2195,7 +2195,7 @@ the <tt>lib/VMCore</tt> directory.</p>
   point type.</dd>
   <dt><tt>StructType</tt></dt>
   <dd>Subclass of DerivedTypes for struct types.</dd>
-  <dt><tt>FunctionType</tt></dt>
+  <dt><tt><a name="FunctionType">FunctionType</a></tt></dt>
   <dd>Subclass of DerivedTypes for function types.
     <ul>
       <li><tt>bool isVarArg() const</tt>: Returns true if its a vararg
@@ -2389,7 +2389,7 @@ method. In addition, all LLVM values can be named.  The "name" of the
 </pre>
 </div>
 
-<p><a name="#nameWarning">The name of this instruction is "foo".</a> <b>NOTE</b>
+<p><a name="nameWarning">The name of this instruction is "foo".</a> <b>NOTE</b>
 that the name of any value may be missing (an empty string), so names should
 <b>ONLY</b> be used for debugging (making the source code easier to read,
 debugging printouts), they should not be used to keep track of values or map
@@ -2630,7 +2630,7 @@ a subclass, which represents the address of a global variable or function.
       <li><tt>uint64_t getZExtValue() const</tt>: Converts the underlying APInt
       value to a uint64_t via zero extension. IF the value (not the bit width)
       of the APInt is too large to fit in a uint64_t, an assertion will result.
-      For this reason, use of this method is discourage.</li>
+      For this reason, use of this method is discouraged.</li>
       <li><tt>static ConstantInt* get(const APInt&amp; Val)</tt>: Returns the
       ConstantInt object that represents the value provided by <tt>Val</tt>.
       The type is implied as the IntegerType that corresponds to the bit width
@@ -2805,7 +2805,7 @@ is its address (after linking) which is guaranteed to be constant.</p>
     create and what type of linkage the function should have. The <a 
     href="#FunctionType"><tt>FunctionType</tt></a> argument
     specifies the formal arguments and return value for the function. The same
-    <a href="#FunctionTypel"><tt>FunctionType</tt></a> value can be used to
+    <a href="#FunctionType"><tt>FunctionType</tt></a> value can be used to
     create multiple functions. The <tt>Parent</tt> argument specifies the Module
     in which the function is defined. If this argument is provided, the function
     will automatically be inserted into that module's list of