diff --git a/docs/LangRef.html b/docs/LangRef.html index 0d2fc44714c..e58d159cbf0 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -211,11 +211,11 @@
  • Arithmetic with Overflow Intrinsics
      -
    1. 'llvm.sadd.with.overflow.* Intrinsics
    2. -
    3. 'llvm.uadd.with.overflow.* Intrinsics
    4. -
    5. 'llvm.ssub.with.overflow.* Intrinsics
    6. -
    7. 'llvm.usub.with.overflow.* Intrinsics
    8. -
    9. 'llvm.smul.with.overflow.* Intrinsics
    10. +
    11. 'llvm.sadd.with.overflow.* Intrinsics
    12. +
    13. 'llvm.uadd.with.overflow.* Intrinsics
    14. +
    15. 'llvm.ssub.with.overflow.* Intrinsics
    16. +
    17. 'llvm.usub.with.overflow.* Intrinsics
    18. +
    19. 'llvm.smul.with.overflow.* Intrinsics
  • Debugger intrinsics
  • @@ -5913,9 +5913,21 @@ reversed. That is, the 0th bit in %repl replaces the + +
    + Arithmetic with Overflow Intrinsics +
    + +
    +

    +LLVM provides intrinsics for some arithmetic with overflow operations. +

    + +
    +
    - 'llvm.sadd.with.overflow.*' Intrinsics + 'llvm.sadd.with.overflow.*' Intrinsics
    @@ -5923,7 +5935,7 @@ reversed. That is, the 0th bit in %repl replaces the
    Syntax:

    This is an overloaded intrinsic. You can use llvm.sadd.with.overflow -on any integer bit width. However, not all targets support all bit widths.

    +on any integer bit width.

       declare {i16, i1} @llvm.sadd.with.overflow.i16(i16 %a, i16 %b)
    @@ -5963,7 +5975,7 @@ is a bit specifying if the signed summation resulted in an overflow.

    @@ -5971,7 +5983,7 @@ is a bit specifying if the signed summation resulted in an overflow.

    Syntax:

    This is an overloaded intrinsic. You can use llvm.uadd.with.overflow -on any integer bit width. However, not all targets support all bit widths.

    +on any integer bit width.

       declare {i16, i1} @llvm.uadd.with.overflow.i16(i16 %a, i16 %b)
    @@ -6011,7 +6023,7 @@ specifying if the unsigned summation resulted in a carry.

    @@ -6019,7 +6031,7 @@ specifying if the unsigned summation resulted in a carry.

    Syntax:

    This is an overloaded intrinsic. You can use llvm.ssub.with.overflow -on any integer bit width. However, not all targets support all bit widths.

    +on any integer bit width.

       declare {i16, i1} @llvm.ssub.with.overflow.i16(i16 %a, i16 %b)
    @@ -6059,7 +6071,7 @@ specifying if the signed subtraction resulted in an overflow.

    @@ -6067,7 +6079,7 @@ specifying if the signed subtraction resulted in an overflow.

    Syntax:

    This is an overloaded intrinsic. You can use llvm.usub.with.overflow -on any integer bit width. However, not all targets support all bit widths.

    +on any integer bit width.

       declare {i16, i1} @llvm.usub.with.overflow.i16(i16 %a, i16 %b)
    @@ -6107,7 +6119,7 @@ specifying if the unsigned subtraction resulted in an overflow.

    @@ -6115,7 +6127,7 @@ specifying if the unsigned subtraction resulted in an overflow.

    Syntax:

    This is an overloaded intrinsic. You can use llvm.smul.with.overflow -on any integer bit width. However, not all targets support all bit widths.

    +on any integer bit width.

       declare {i16, i1} @llvm.smul.with.overflow.i16(i16 %a, i16 %b)