62987 disables LTO build on darwin.
[oota-llvm.git] / docs / TableGenFundamentals.html
index 37d7d55d732f4013ae7e422a6c8bad9b136947c2..ad7263dc0081f9a1e625ce0afa2f6338e114250c 100644 (file)
@@ -138,7 +138,7 @@ file prints this (at the time of this writing):</p>
   <b>bit</b> isIndirectBranch = 0;
   <b>bit</b> isBarrier = 0;
   <b>bit</b> isCall = 0;
-  <b>bit</b> isSimpleLoad = 0;
+  <b>bit</b> canFoldAsLoad = 0;
   <b>bit</b> mayLoad = 0;
   <b>bit</b> mayStore = 0;
   <b>bit</b> isImplicitDef = 0;
@@ -301,9 +301,7 @@ and very high-level types (such as <tt>dag</tt>).  This flexibility is what
 allows it to describe a wide range of information conveniently and compactly.
 The TableGen types are:</p>
 
-<ul>
 <dl>
-
 <dt><tt><b>bit</b></tt></dt>
   <dd>A 'bit' is a boolean value that can hold either 0 or 1.</dd>
 
@@ -337,7 +335,6 @@ The TableGen types are:</p>
   <dd>This represents a big hunk of text. NOTE: I don't remember why this is
   distinct from string!</dd>
 </dl>
-</ul>
 
 <p>To date, these types have been sufficient for describing things that
 TableGen has been used for, but it is straight-forward to extend this list if
@@ -357,7 +354,6 @@ when building up values.  These forms allow the TableGen file to be written in a
 natural syntax and flavor for the application.  The current expression forms
 supported include:</p>
 
-<ul>
 <dl>
 <dt><tt>?</tt></dt>
   <dd>uninitialized field</dd>
@@ -401,7 +397,6 @@ supported include:</p>
   <dd>A string value that is the result of concatenating the 'a' and 'b'
   strings.</dd>
 </dl>
-</ul>
 
 <p>Note that all of the values have rules specifying how they convert to values
 for different types.  These rules allow you to assign a value like "<tt>7</tt>"
@@ -699,7 +694,7 @@ File-scope let expressions are really just another way that TableGen allows the
 end-user to factor out commonality from the records.</p>
 
 <p>File-scope "let" expressions take a comma-separated list of bindings to
-apply, and one of more records to bind the values in.  Here are some
+apply, and one or more records to bind the values in.  Here are some
 examples:</p>
 
 <div class="doc_code">
@@ -712,12 +707,12 @@ examples:</p>
   <b>let</b> Defs = [EAX, ECX, EDX, FP0, FP1, FP2, FP3, FP4, FP5, FP6, ST0,
               MM0, MM1, MM2, MM3, MM4, MM5, MM6, MM7,
               XMM0, XMM1, XMM2, XMM3, XMM4, XMM5, XMM6, XMM7, EFLAGS] <b>in</b> {
-    <b>def</b> CALLpcrel32 : Ii32<0xE8, RawFrm, (outs), (ins i32imm:$dst,variable_ops),
-                           "call\t${dst:call}", []>;
-    <b>def</b> CALL32r     : I<0xFF, MRM2r, (outs), (ins GR32:$dst, variable_ops),
-                        "call\t{*}$dst", [(X86call GR32:$dst)]>;
-    <b>def</b> CALL32m     : I<0xFF, MRM2m, (outs), (ins i32mem:$dst, variable_ops),
-                        "call\t{*}$dst", []>;
+    <b>def</b> CALLpcrel32 : Ii32&lt;0xE8, RawFrm, (outs), (ins i32imm:$dst,variable_ops),
+                           "call\t${dst:call}", []&gt;;
+    <b>def</b> CALL32r     : I&lt;0xFF, MRM2r, (outs), (ins GR32:$dst, variable_ops),
+                        "call\t{*}$dst", [(X86call GR32:$dst)]&gt;;
+    <b>def</b> CALL32m     : I&lt;0xFF, MRM2m, (outs), (ins i32mem:$dst, variable_ops),
+                        "call\t{*}$dst", []&gt;;
   }
 </pre>
 </div>
@@ -745,9 +740,9 @@ This should highlight the APIs in <tt>TableGen/Record.h</tt>.</p>
 <hr>
 <address>
   <a href="http://jigsaw.w3.org/css-validator/check/referer"><img
-  src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!"></a>
+  src="http://jigsaw.w3.org/css-validator/images/vcss-blue" alt="Valid CSS"></a>
   <a href="http://validator.w3.org/check/referer"><img
-  src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"></a>
+  src="http://www.w3.org/Icons/valid-html401-blue" alt="Valid HTML 4.01"></a>
 
   <a href="mailto:sabre@nondot.org">Chris Lattner</a><br>
   <a href="http://llvm.org">LLVM Compiler Infrastructure</a><br>