X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FTableGenFundamentals.html;h=f09e0d06420e5f99f44db1bec1fabb7683f5f06c;hb=a75ce9f5d2236d93c117e861e60e6f3f748c9555;hp=2f0c4ae6ec299397ebb338681f3d1f8580352717;hpb=943beeb7476b521eebbfc29400cf95125ec5f660;p=oota-llvm.git diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html index 2f0c4ae6ec2..f09e0d06420 100644 --- a/docs/TableGenFundamentals.html +++ b/docs/TableGenFundamentals.html @@ -422,7 +422,7 @@ class. This operation is analogous to $(foreach) in GNU make.
'b' if the result of 'int' or 'bit' operator 'a' is nonzero, 'c' otherwise.
!eq(a,b)
-
Integer one if string a is equal to string b, zero otherwise. This +
'bit 1' if string a is equal to string b, 0 otherwise. This only operates on string, int and bit objects. Use !cast<string> to compare other types of objects.
@@ -813,7 +813,8 @@ end-user to factor out commonality from the records.

apply, and one or more records to bind the values in. Here are some examples:

-
+
+
 let isTerminator = 1, isReturn = 1, isBarrier = 1, hasCtrlDep = 1 in
   def RET : I<0xC3, RawFrm, (outs), (ins), "ret", [(X86retflag 0)]>;
 
@@ -830,6 +831,7 @@ examples:

"call\t{*}$dst", []>; }
+

File-scope "let" expressions are often useful when a couple of definitions need to be added to several records, and the records do not otherwise need to be