/openbsd/gnu/llvm/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMAddressingModes.h | 668 uint32_t Sign = Imm.lshr(15).getZExtValue() & 1; in getFP16Imm() 669 int32_t Exp = (Imm.lshr(10).getSExtValue() & 0x1f) - 15; // -14 to 15 in getFP16Imm() 706 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1; in getFP32Imm() 707 int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127; // -126 to 127 in getFP32Imm() 734 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1; in getFP64Imm() 735 int64_t Exp = (Imm.lshr(52).getSExtValue() & 0x7ff) - 1023; // -1022 to 1023 in getFP64Imm()
|
/openbsd/gnu/llvm/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 | 601 return this->lshr(BitWidth - numBits); in getHiBits() 1109 return shl(rotateAmt) | lshr(BitWidth - rotateAmt); in rotl() 1122 return lshr(rotateAmt) | shl(BitWidth - rotateAmt); in rotr() 1975 APInt Res = lshr(1) * RHS; in umul_ov()
|
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64AddressingModes.h | 369 uint32_t Sign = Imm.lshr(15).getZExtValue() & 1; in getFP16Imm() 370 int32_t Exp = (Imm.lshr(10).getSExtValue() & 0x1f) - 15; // -14 to 15 in getFP16Imm() 395 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1; in getFP32Imm() 396 int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127; // -126 to 127 in getFP32Imm() 423 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1; in getFP64Imm() 424 int64_t Exp = (Imm.lshr(52).getSExtValue() & 0x7ff) - 1023; // -1022 to 1023 in getFP64Imm()
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 632 APInt DemandedMaskIn(DemandedMask.lshr(ShiftAmt)); in SimplifyDemandedUseBits() 936 APInt DemandedMaskLHS(DemandedMask.lshr(ShiftAmt)); in SimplifyDemandedUseBits() 943 RHSKnown.Zero.lshr(BitWidth - ShiftAmt); in SimplifyDemandedUseBits() 945 RHSKnown.One.lshr(BitWidth - ShiftAmt); in SimplifyDemandedUseBits() 1183 BitMask1 = isLshr ? (BitMask1.lshr(ShrAmt) << ShlAmt) : in simplifyShrShlDemandedBits() 1189 BitMask2 = isLshr ? BitMask2.lshr(ShrAmt - ShlAmt): in simplifyShrShlDemandedBits() 1655 APInt SubUndef = UndefElts2.lshr(OutIdx * Ratio).zextOrTrunc(Ratio); in SimplifyDemandedVectorElts()
|
H A D | InstCombineShifts.cpp | 432 AC->eq(AC->lshr(PosOffset).shl(PosOffset)); in commonShiftTransforms() 434 return I.isExact() && AC->eq(AC->shl(PosOffset).lshr(PosOffset)); in commonShiftTransforms() 441 ? AC->lshr(PosOffset) in commonShiftTransforms() 1323 APInt MaskC = APInt::getAllOnes(BitWidth).lshr(ShAmtC); in visitLShr() 1342 APInt NewMulC = MulC->lshr(ShAmtC); in visitLShr()
|
H A D | InstCombineCompares.cpp | 1072 } else if (AP1 == AP2.lshr(Shift)) { in foldICmpShrConstConst() 1633 NewCmpCst = C1.lshr(*C3); in foldICmpAndShift() 1634 NewAndCst = C2.lshr(*C3); in foldICmpAndShift() 1643 AnyCmpCstBitsShiftedOut = NewCmpCst.lshr(*C3) != C1; in foldICmpAndShift() 2123 APInt ShiftedC = C.lshr(*ShiftAmt); in foldICmpShlConstant() 2127 C.lshr(*ShiftAmt).shl(*ShiftAmt) == C) { in foldICmpShlConstant() 2128 APInt ShiftedC = C.lshr(*ShiftAmt); in foldICmpShlConstant() 2137 APInt ShiftedC = (C - 1).lshr(*ShiftAmt) + 1; in foldICmpShlConstant() 2311 if (ShiftedC.lshr(ShAmtVal) == C) in foldICmpShrConstant() 2317 if ((ShiftedC + 1).lshr(ShAmtVal) == (C + 1)) in foldICmpShrConstant() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/Mips/ |
H A D | MipsSEISelDAGToDAG.cpp | 1171 const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue(); in trySelect() 1194 const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue(); in trySelect() 1243 const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue(); in trySelect() 1244 const unsigned Higher = SplatValue.lshr(32).getLoBits(16).getZExtValue(); in trySelect() 1245 const unsigned Highest = SplatValue.lshr(48).getLoBits(16).getZExtValue(); in trySelect()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | InterleavedLoadCombinePass.cpp | 329 Polynomial &lshr(const APInt &C) { in lshr() function in __anonb47475680111::Polynomial 485 A = A.lshr(shiftAmt); in lshr() 927 Result.lshr(C->getValue()); in computePolynomialBinOp()
|
/openbsd/gnu/llvm/llvm/lib/Analysis/ |
H A D | DemandedBits.cpp | 161 AB = AOut.lshr(ShiftAmt); in determineLiveOperandBits() 205 AB = AOut.lshr(ShiftAmt); in determineLiveOperandBits()
|
/openbsd/gnu/llvm/llvm/include/llvm/IR/ |
H A D | ConstantRange.h | 489 ConstantRange lshr(const ConstantRange &Other) const;
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | libgcc2.h | 203 #define __lshrdi3 __NDW(lshr,3)
|
/openbsd/gnu/llvm/llvm/lib/IR/ |
H A D | ConstantRange.cpp | 348 APInt::getMaxValue(BitWidth).lshr(ShAmtUMax) + 1); in makeGuaranteedNoWrapRegion() 897 return lshr(Other); in binaryOp() 1474 ConstantRange::lshr(const ConstantRange &Other) const { in lshr() function in ConstantRange 1478 APInt max = getUnsignedMax().lshr(Other.getUnsignedMin()) + 1; in lshr() 1479 APInt min = getUnsignedMin().lshr(Other.getUnsignedMax()); in lshr()
|
/openbsd/gnu/llvm/llvm/include/llvm/ADT/ |
H A D | APInt.h | 839 APInt lshr(unsigned shiftAmt) const { in lshr() function 869 return RelativeShift > 0 ? lshr(RelativeShift) : shl(-RelativeShift); in relativeLShr() 908 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);
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
H A D | GISelKnownBits.cpp | 132 return KnownBits::lshr(SrcOpKnown, OffsetKnown) & Mask; in extractBits() 432 Known = KnownBits::lshr(LHSKnown, RHSKnown); in computeKnownBitsImpl()
|
/openbsd/gnu/llvm/llvm/include/llvm/Support/ |
H A D | KnownBits.h | 369 static KnownBits lshr(const KnownBits &LHS, const KnownBits &RHS);
|
/openbsd/gnu/llvm/llvm/utils/vim/syntax/ |
H A D | llvm.vim | 31 syn keyword llvmStatement insertvalue inttoptr invoke landingpad load lshr
|
/openbsd/gnu/gcc/gcc/ |
H A D | libgcc2.h | 266 #define __lshrdi3 __NDW(lshr,3)
|
/openbsd/gnu/llvm/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…
|
/openbsd/gnu/llvm/llvm/utils/ |
H A D | llvm.grm | 60 LogicalOps ::= shl | lshr | ashr | and | or | xor;
|
/openbsd/gnu/llvm/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,
|