From db7adeb304b11dfd67f67ee12190425b79257aea Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 11 Jul 2009 19:24:18 +0000 Subject: Update documentation for Not, and normalize some formatting. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@75373 91177308-0d34-0410-b5e6-96231b3b80d8 --- www/KQuery.html | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/www/KQuery.html b/www/KQuery.html index 4c43dad9..3049b2e4 100644 --- a/www/KQuery.html +++ b/www/KQuery.html @@ -58,6 +58,7 @@
  • Bitwise Operations
      +
    1. Not
    2. And
    3. Or
    4. Xor
    5. @@ -96,8 +97,7 @@
    6. Macro Expressions
        -
      1. Not
      2. -
      3. Not
      4. +
      5. Neg
      6. ReadLSB
      7. ReadMSB
      @@ -235,7 +235,7 @@

      Non-decimal constants can be signed. The '_' character is ignored when - evaluating constants, but is available for use as a separator.

      + evaluating constants, but is available for use as a separator.

      Types

      @@ -396,21 +396,32 @@ and right-hand side expressions must match the expression type.

      UDiv

      -

      Truncated unsigned division. Undefined if divisor is 0.

      +

      Truncated unsigned division. Undefined if divisor is 0.

      URem

      -

      Unsigned remainder. Undefined if divisor is 0

      +

      Unsigned remainder. Undefined if divisor is 0.

      SDiv

      -

      Signed division. Undefined if divisor is 0.

      +

      Signed division. Undefined if divisor is 0.

      SRem

      -

      Signed remainder. Undefined if divisor is 0. Sign of the - remainder is the same as that of the dividend.

      +

      Signed remainder. Undefined if divisor is 0. Sign of the + remainder is the same as that of the dividend.

      Bitwise Operations

      +

      Not

      + +

      Syntax:

      +
      + expression = "(" "Not" [ type ] expression ")" +
      + +

      Bitwise negation. The result is the bitwise negation (one's complement) of + the input expression. If the type is specified, it must match the expression + type.

      +

      And, Or, Xor, @@ -424,8 +435,8 @@ expression = "(" bitwise-expr-kind type expression expression ")"
      -

      Bitwise operations are always binary and the types of the left- - and right-hand side expressions must match the expression type.

      +

      These bitwise operations are always binary and the types of the left- and + right-hand side expressions must match the expression type.

      Shl

      @@ -433,19 +444,18 @@ expression = "(" "Shl" type X Y ")" -

      Logical shift left. Moves each bit of X to the left - by Y positions. The Y right-most bits of X are +

      Logical shift left. Moves each bit of X to the left + by Y positions. The Y right-most bits of X are replaced with zero, and the left-most bits discarded.

      -

      LShr

      expression = "(" "LShr" type X Y ")"
      -

      Logical shift right. Moves each bit of X to the right - by Y positions. The Y left-most bits of X are +

      Logical shift right. Moves each bit of X to the right + by Y positions. The Y left-most bits of X are replaced with zero, and the right-most bits discarded.

      @@ -455,7 +465,7 @@ expression = "(" "AShr" type X Y ")" -

      Arithmetic shift right. Behaves as LShr except that the +

      Arithmetic shift right. Behaves as LShr except that the left-most bits of X copy the initial left-most bit (the sign bit) of X. @@ -575,16 +585,6 @@

      This macro form can be used to generate a Sub from zero.

      -

      Not

      - -

      Syntax:

      -
      - expression = "(" "Not" [ type ] expression ")" -
      - -

      This macro form can be used to generate an Eq comparison to zero. If - the type is specified, it must be w1.

      -

      ReadLSB, ReadMSB

      -- cgit 1.4.1