| /freebsd-9-stable/contrib/llvm/lib/Target/ARM/MCTargetDesc/ |
| D | ARMAddressingModes.h | 612 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1; in getFP32Imm() 613 int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127; // -126 to 127 in getFP32Imm() 640 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1; in getFP64Imm() 641 int64_t Exp = (Imm.lshr(52).getSExtValue() & 0x7ff) - 1023; // -1022 to 1023 in getFP64Imm()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineSimplifyDemanded.cpp | 609 APInt DemandedMaskIn(DemandedMask.lshr(ShiftAmt)); in SimplifyDemandedUseBits() 646 KnownZero = APIntOps::lshr(KnownZero, ShiftAmt); in SimplifyDemandedUseBits() 647 KnownOne = APIntOps::lshr(KnownOne, ShiftAmt); in SimplifyDemandedUseBits() 693 KnownZero = APIntOps::lshr(KnownZero, ShiftAmt); in SimplifyDemandedUseBits() 694 KnownOne = APIntOps::lshr(KnownOne, ShiftAmt); in SimplifyDemandedUseBits() 699 SignBit = APIntOps::lshr(SignBit, ShiftAmt); in SimplifyDemandedUseBits() 869 BitMask1 = isLshr ? (BitMask1.lshr(ShrAmt) << ShlAmt) : in SimplifyShrShlDemandedBits() 875 BitMask2 = isLshr ? BitMask2.lshr(ShrAmt - ShlAmt): in SimplifyShrShlDemandedBits()
|
| D | InstCombineShifts.cpp | 390 MaskV = MaskV.lshr(Op1->getZExtValue()); in FoldShiftByConstant()
|
| D | InstCombineAndOrXor.cpp | 2377 APInt FoldConst = C1->getValue().lshr(C2->getValue()); in visitXor()
|
| /freebsd-9-stable/contrib/llvm/include/llvm/ADT/ |
| D | APInt.h | 538 return getAllOnesValue(numBits).lshr(numBits - loBitsSet); in getLowBitsSet() 851 APInt LLVM_ATTRIBUTE_UNUSED_RESULT lshr(unsigned shiftAmt) const; 880 APInt LLVM_ATTRIBUTE_UNUSED_RESULT lshr(const APInt &shiftAmt) const; 1790 inline APInt lshr(const APInt &LHS, unsigned shiftAmt) { in lshr() function 1791 return LHS.lshr(shiftAmt); in lshr()
|
| D | APSInt.h | 115 return IsUnsigned ? APSInt(lshr(Amt), true) : APSInt(ashr(Amt), false);
|
| /freebsd-9-stable/contrib/llvm/include/llvm/Support/ |
| D | ConstantRange.h | 255 ConstantRange lshr(const ConstantRange &Other) const;
|
| /freebsd-9-stable/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| D | TargetLowering.cpp | 628 if (SimplifyDemandedBits(InOp, NewMask.lshr(ShAmt), in SimplifyDemandedBits() 638 if (ShAmt < InnerBits && NewMask.lshr(InnerBits) == 0 && in SimplifyDemandedBits() 664 NewMask.lshr(InnerBits - InnerShAmt + ShAmt) == 0 && in SimplifyDemandedBits() 721 KnownZero = KnownZero.lshr(ShAmt); in SimplifyDemandedBits() 722 KnownOne = KnownOne.lshr(ShAmt); in SimplifyDemandedBits() 758 KnownZero = KnownZero.lshr(ShAmt); in SimplifyDemandedBits() 759 KnownOne = KnownOne.lshr(ShAmt); in SimplifyDemandedBits() 762 APInt SignBit = APInt::getSignBit(BitWidth).lshr(ShAmt); in SimplifyDemandedBits() 962 HighBits = HighBits.lshr(ShAmt->getZExtValue()).trunc(BitWidth); in SimplifyDemandedBits() 1266 bestMask = Mask.lshr(offset * (width/8) * 8); in SimplifySetCC() [all …]
|
| D | SelectionDAG.cpp | 1019 EltParts.push_back(getConstant(NewVal.lshr(i * ViaEltSizeInBits) in getConstant() 1924 KnownZero = KnownZero.lshr(ShAmt); in ComputeMaskedBits() 1925 KnownOne = KnownOne.lshr(ShAmt); in ComputeMaskedBits() 1945 KnownZero = KnownZero.lshr(ShAmt); in ComputeMaskedBits() 1946 KnownOne = KnownOne.lshr(ShAmt); in ComputeMaskedBits() 1950 SignBit = SignBit.lshr(ShAmt); // Adjust to where it is now in the mask. in ComputeMaskedBits() 2861 Outputs.push_back(getConstant(C1.lshr(C2), SVT)); in FoldConstantArithmetic() 3156 APInt ShiftedVal = C->getAPIntValue().lshr(Shift); in getNode() 6509 APInt HighValue = SplatValue.lshr(HalfSize).trunc(HalfSize); in isConstantSplat() 6511 APInt HighUndef = SplatUndef.lshr(HalfSize).trunc(HalfSize); in isConstantSplat()
|
| D | DAGCombiner.cpp | 2610 Constant &= SplatValue.lshr(i*BitWidth).zextOrTrunc(BitWidth); in visitAND() 3759 Mask = Mask.lshr(c1-c2); in visitSHL() 4022 APInt Mask = APInt::getAllOnesValue(VT.getSizeInBits()).lshr(ShiftAmt); in visitSRL() 5962 OpVal = OpVal.lshr(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR() 7907 APInt NarrowedUsedBits = UsedBits.lshr(UsedBits.countTrailingZeros()); in areUsedBitsDense() 8345 APInt NewImm = (Imm & Mask).lshr(ShAmt).trunc(NewBW); in ReduceLoadOpStoreWidth()
|
| /freebsd-9-stable/contrib/llvm/lib/Support/ |
| D | APInt.cpp | 672 return APIntOps::lshr(*this, BitWidth - numBits); in getHiBits() 677 return APIntOps::lshr(APIntOps::shl(*this, BitWidth - numBits), in getLoBits() 1121 APInt APInt::lshr(const APInt &shiftAmt) const { in lshr() function in APInt 1122 return lshr((unsigned)shiftAmt.getLimitedValue(BitWidth)); in lshr() 1127 APInt APInt::lshr(unsigned shiftAmt) const { in lshr() function in APInt 1248 return shl(rotateAmt) | lshr(BitWidth - rotateAmt); in rotl() 1259 return lshr(rotateAmt) | shl(BitWidth - rotateAmt); in rotr() 1403 t = signedMin + (d.lshr(d.getBitWidth() - 1)); in magic() 1445 APInt allOnes = APInt::getAllOnesValue(d.getBitWidth()).lshr(LeadingZeros); in magicu() 2223 Tmp = Tmp.lshr(ShiftAmt); in toString()
|
| D | ConstantRange.cpp | 699 ConstantRange::lshr(const ConstantRange &Other) const { in lshr() function in ConstantRange 703 APInt max = getUnsignedMax().lshr(Other.getUnsignedMin()); in lshr() 704 APInt min = getUnsignedMin().lshr(Other.getUnsignedMax()); in lshr()
|
| D | APFloat.cpp | 3562 significand = significand.lshr(trailingZeros); in toString()
|
| /freebsd-9-stable/contrib/llvm/lib/Analysis/ |
| D | ValueTracking.cpp | 506 KnownZero = APIntOps::lshr(KnownZero, ShiftAmt); in ComputeMaskedBits() 507 KnownOne = APIntOps::lshr(KnownOne, ShiftAmt); in ComputeMaskedBits() 522 KnownZero = APIntOps::lshr(KnownZero, ShiftAmt); in ComputeMaskedBits() 523 KnownOne = APIntOps::lshr(KnownOne, ShiftAmt); in ComputeMaskedBits() 1509 Val2 = Val.lshr(NextWidth); in isBytewiseValue()
|
| D | LazyValueInfo.cpp | 744 Result.markConstantRange(LHSRange.lshr(RHSRange)); in solveBlockValueConstantRange()
|
| D | ScalarEvolution.cpp | 756 Mult = Mult.lshr(TwoFactors); in BinomialCoefficient() 3327 APInt::getMaxValue(BitWidth).lshr(TZ).shl(TZ) + 1); in getUnsignedRange() 5411 APInt AD = A.lshr(Mult2).zext(BW + 1); // AD = A / D in SolveLinEquationWithOverflow() 5418 APInt Result = (I * B.lshr(Mult2).zext(BW + 1)).urem(Mod); in SolveLinEquationWithOverflow()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/CodeGen/ |
| D | CGExprConstant.cpp | 187 Tmp = Tmp.lshr(NewFieldWidth); in AppendBitField() 196 FieldValue = FieldValue.lshr(BitsInPreviousByte); in AppendBitField() 254 FieldValue.lshr(FieldValue.getBitWidth() - CharWidth).trunc(CharWidth); in AppendBitField() 259 FieldValue = FieldValue.lshr(CharWidth); in AppendBitField()
|
| /freebsd-9-stable/contrib/gcc/ |
| D | libgcc2.h | 264 #define __lshrdi3 __NDW(lshr,3)
|
| /freebsd-9-stable/contrib/llvm/lib/ExecutionEngine/Interpreter/ |
| D | Execution.cpp | 1176 Result.IntVal = valueToShift.lshr(getShiftAmount(shiftAmount, valueToShift)); in visitLShr() 1183 Dest.IntVal = valueToShift.lshr(getShiftAmount(shiftAmount, valueToShift)); in visitLShr() 1582 Elt.IntVal = Elt.IntVal.lshr(ShiftAmt); in executeBitCastInst() 2043 Dest.IntVal = Op0.IntVal.lshr(Op1.IntVal.getZExtValue()); in getConstantExprValue()
|
| /freebsd-9-stable/contrib/llvm/lib/AsmParser/ |
| D | LLLexer.cpp | 650 INSTKEYWORD(shl, Shl); INSTKEYWORD(lshr, LShr); INSTKEYWORD(ashr, AShr); in LexIdentifier()
|
| /freebsd-9-stable/contrib/llvm/lib/IR/ |
| D | ConstantFold.cpp | 211 V = V.lshr(ByteStart*8); in ExtractConstantBytes() 1086 return ConstantInt::get(CI1->getContext(), C1V.lshr(shiftAmt)); in ConstantFoldBinaryInstruction()
|
| /freebsd-9-stable/contrib/llvm/lib/Target/R600/ |
| D | SIInstrInfo.td | 74 APInt V = N->getValueAPF().bitcastToAPInt().lshr(32).trunc(32);
|
| /freebsd-9-stable/contrib/gcc/config/ia64/ |
| D | vect.md | 335 (define_insn "lshr<mode>3"
|
| /freebsd-9-stable/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| D | AsmPrinter.cpp | 1878 Realigned = Realigned.lshr(ExtraBitsSize); in emitGlobalConstantLargeInt()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/Scalar/ |
| D | ScalarReplAggregates.cpp | 1003 Mask = Mask.lshr(-ShAmt); in ConvertScalar_InsertValue()
|