| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMAddressingModes.h | 655 uint32_t Sign = Imm.lshr(15).getZExtValue() & 1; in getFP16Imm() 656 int32_t Exp = (Imm.lshr(10).getSExtValue() & 0x1f) - 15; // -14 to 15 in getFP16Imm() 693 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1; in getFP32Imm() 694 int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127; // -126 to 127 in getFP32Imm() 721 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1; in getFP64Imm() 722 int64_t Exp = (Imm.lshr(52).getSExtValue() & 0x7ff) - 1023; // -1022 to 1023 in getFP64Imm()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | DivisionByConstantInfo.cpp | 32 APInt T = SignedMin + (D.lshr(D.getBitWidth() - 1)); in get() 82 APInt AllOnes = APInt::getAllOnes(D.getBitWidth()).lshr(LeadingZeros); in get() 136 APInt ShiftedD = D.lshr(PreShift); in get()
|
| H A D | APFixedPoint.cpp | 123 Val = Val.lshr(1); in getMax() 415 .lshr(Scale) in toString()
|
| H A D | APInt.cpp | 609 return this->lshr(BitWidth - numBits); in getHiBits() 1117 return shl(rotateAmt) | lshr(BitWidth - rotateAmt); in rotl() 1130 return lshr(rotateAmt) | shl(BitWidth - rotateAmt); in rotr() 1983 APInt Res = lshr(1) * RHS; in umul_ov()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64AddressingModes.h | 368 uint32_t Sign = Imm.lshr(15).getZExtValue() & 1; in getFP16Imm() 369 int32_t Exp = (Imm.lshr(10).getSExtValue() & 0x1f) - 15; // -14 to 15 in getFP16Imm() 394 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1; in getFP32Imm() 395 int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127; // -126 to 127 in getFP32Imm() 422 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1; in getFP64Imm() 423 int64_t Exp = (Imm.lshr(52).getSExtValue() & 0x7ff) - 1023; // -1022 to 1023 in getFP64Imm()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonGenExtract.cpp | 174 APInt A = APInt(BW, ~0ULL).lshr(SR).shl(SL); in INITIALIZE_PASS_DEPENDENCY() 180 APInt M = CM->getValue().lshr(SL); in INITIALIZE_PASS_DEPENDENCY()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 665 APInt DemandedMaskIn(DemandedMask.lshr(ShiftAmt)); in SimplifyDemandedUseBits() 987 APInt DemandedMaskLHS(DemandedMask.lshr(ShiftAmt)); in SimplifyDemandedUseBits() 1013 RHSKnown.Zero.lshr(BitWidth - ShiftAmt); in SimplifyDemandedUseBits() 1015 RHSKnown.One.lshr(BitWidth - ShiftAmt); in SimplifyDemandedUseBits() 1285 BitMask1 = isLshr ? (BitMask1.lshr(ShrAmt) << ShlAmt) : in simplifyShrShlDemandedBits() 1291 BitMask2 = isLshr ? BitMask2.lshr(ShrAmt - ShlAmt): in simplifyShrShlDemandedBits() 1757 APInt SubUndef = PoisonElts2.lshr(OutIdx * Ratio).zextOrTrunc(Ratio); in SimplifyDemandedVectorElts()
|
| H A D | InstCombineShifts.cpp | 464 AC->eq(AC->lshr(PosOffset).shl(PosOffset)); in commonShiftTransforms() 466 return I.isExact() && AC->eq(AC->shl(PosOffset).lshr(PosOffset)); in commonShiftTransforms() 473 ? AC->lshr(PosOffset) in commonShiftTransforms() 1410 APInt MaskC = APInt::getAllOnes(BitWidth).lshr(ShAmtC); in visitLShr() 1429 APInt NewMulC = MulC->lshr(ShAmtC); in visitLShr()
|
| H A D | InstCombineCompares.cpp | 1007 } else if (AP1 == AP2.lshr(Shift)) { in foldICmpShrConstConst() 1667 NewCmpCst = C1.lshr(*C3); in foldICmpAndShift() 1668 NewAndCst = C2.lshr(*C3); in foldICmpAndShift() 1677 AnyCmpCstBitsShiftedOut = NewCmpCst.lshr(*C3) != C1; in foldICmpAndShift() 2291 APInt ShiftedC = C.lshr(*ShiftAmt); in foldICmpShlConstant() 2295 C.lshr(*ShiftAmt).shl(*ShiftAmt) == C) { in foldICmpShlConstant() 2296 APInt ShiftedC = C.lshr(*ShiftAmt); in foldICmpShlConstant() 2305 APInt ShiftedC = (C - 1).lshr(*ShiftAmt) + 1; in foldICmpShlConstant() 2478 if (ShiftedC.lshr(ShAmtVal) == C) in foldICmpShrConstant() 2484 if ((ShiftedC + 1).lshr(ShAmtVal) == (C + 1)) in foldICmpShrConstant() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsSEISelDAGToDAG.cpp | 1167 const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue(); in trySelect() 1190 const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue(); in trySelect() 1239 const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue(); in trySelect() 1240 const unsigned Higher = SplatValue.lshr(32).getLoBits(16).getZExtValue(); in trySelect() 1241 const unsigned Highest = SplatValue.lshr(48).getLoBits(16).getZExtValue(); in trySelect()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | DemandedBits.cpp | 135 AB = AOut.lshr(ShiftAmt); in determineLiveOperandBits() 179 AB = AOut.lshr(ShiftAmt); in determineLiveOperandBits()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | InterleavedLoadCombinePass.cpp | 330 Polynomial &lshr(const APInt &C) { in lshr() function in __anona84ed7510111::Polynomial 486 A = A.lshr(shiftAmt); in lshr() 933 Result.lshr(C->getValue()); in computePolynomialBinOp()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ConstantRange.h | 489 ConstantRange lshr(const ConstantRange &Other) const;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 352 APInt::getMaxValue(BitWidth).lshr(ShAmtUMax) + 1); in makeGuaranteedNoWrapRegion() 900 return lshr(Other); in binaryOp() 1515 ConstantRange::lshr(const ConstantRange &Other) const { in lshr() function in ConstantRange 1519 APInt max = getUnsignedMax().lshr(Other.getUnsignedMin()) + 1; in lshr() 1520 APInt min = getUnsignedMin().lshr(Other.getUnsignedMax()); in lshr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelKnownBits.cpp | 136 return KnownBits::lshr(SrcOpKnown, OffsetKnown) & Mask; in extractBits() 436 Known = KnownBits::lshr(LHSKnown, RHSKnown); in computeKnownBitsImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 829 APInt lshr(unsigned shiftAmt) const { in lshr() function 859 return RelativeShift > 0 ? lshr(RelativeShift) : shl(-RelativeShift); in relativeLShr() 898 APInt lshr(const APInt &ShiftAmt) const { in lshr() function
|
| H A D | APSInt.h | 152 return IsUnsigned ? APSInt(lshr(Amt), true) : APSInt(ashr(Amt), false);
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 396 static KnownBits lshr(const KnownBits &LHS, const KnownBits &RHS,
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | IntegralAP.h | 263 *R = IntegralAP(A.V.lshr(ShiftAmount)); in shiftRight()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | arm_cde.td | 77 (seq (u32 (lshr $acc, (u64 32))):$acc_hi,
|
| H A D | arm_mve.td | 1234 (seq (u32 (lshr $value, (argtype 32))):$hi, 1276 (store (and 1, (lshr (xval $pair, 1), 29)), $carry), 1280 (store (and 1, (lshr (xval $pair, 1), 29)), $carry), 1286 (store (and 1, (lshr (xval $pair, 1), 29)), $carry), 1292 (store (and 1, (lshr (xval $pair, 1), 29)), $carry), 1397 (seq (u32 (lshr $a, (u64 32))):$hi,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/ |
| H A D | CSKYInstrInfoF1.td | 62 …"return CurDAG->getTargetConstant(N->getValueAPF().bitcastToAPInt().lshr("#shift#").getLoBits("#wi… 65 …"return CurDAG->getTargetConstant(N->getValueAPF().bitcastToAPInt().lshr("#shift#").getLoBits("#wi…
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfExpression.cpp | 240 API = API.lshr(8); in addConstantFP()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Utility/ |
| H A D | Scalar.cpp | 436 m_integer = m_integer.lshr(rhs.m_integer); in ShiftRightLogical()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 1227 Result.IntVal = valueToShift.lshr(getShiftAmount(shiftAmount, valueToShift)); in visitLShr() 1234 Dest.IntVal = valueToShift.lshr(getShiftAmount(shiftAmount, valueToShift)); in visitLShr() 2088 Dest.IntVal = Op0.IntVal.lshr(Op1.IntVal.getZExtValue()); in getConstantExprValue()
|