From 8d8e1eb284be2b710d39e630fbf8328b2770f89b Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Wed, 4 Apr 2007 19:15:59 +0000 Subject: [PATCH] Remove the part_set intrinsic. It won't get implemented as an intrinsic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35667 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index aeca1f2dcde..17c67f3bd06 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -185,7 +185,6 @@
  • 'llvm.ctlz.*' Intrinsic
  • 'llvm.cttz.*' Intrinsic
  • 'llvm.bit.part_select.*' Intrinsic
  • -
  • 'llvm.bit.part_set.*' Intrinsic
  • Debugger intrinsics
  • @@ -4642,44 +4641,6 @@ only the %hiBit - %loBit bits set, as follows:

    - -
    - 'llvm.bit.part_set.*' Intrinsic -
    - -
    - -
    Syntax:
    -

    This is an overloaded intrinsic. You can use llvm.bit.part_set on -any integer bit width. -

    -  declare i17 @llvm.bit.part_set.i17.i17.i9 (i17 %val, i32 %bit, i9 %newbits)
    -  declare i29 @llvm.bit.part_set.i29.i29.i13(i29 %val, i32 %bit, i13 %newbits)
    -
    - -
    Overview:
    -

    The 'llvm.bit.part_set' family of intrinsic functions sets a range -of bits in a given value to a new value and returns the result.

    - -
    Arguments:
    -

    The first argument and the result may be an integer type of any bit width but -they must have the same bit width. The second argument must be an i32. -The third argument may be any any bit width less than or equal to the bit width -of the first argument.

    - -
    Semantics:
    -

    The 'llvm.bit.part_set' intrinsic sets the value given by -%newbits into %val at the bit index given by %bit. -This is equivalent to the following sequence:

    -
      -
    1. The bits in %val starting at %bit and up to the width - of %newbits are cleared by ANDing them with a zero mask.
    2. -
    3. The bits in %newbits are shifted left by %bit bits. -
    4. The shifted %newbits value is OR'd into %val to produce - the result.
    5. -
    -
    -
    Debugger Intrinsics