Home
last modified time | relevance | path

Searched refs:BitShift (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp1004 unsigned BitShift = ShiftAmt % APINT_BITS_PER_WORD; in ashrSlowCase() local
1013 if (BitShift == 0) { in ashrSlowCase()
1018 U.pVal[i] = (U.pVal[i + WordShift] >> BitShift) | in ashrSlowCase()
2714 unsigned BitShift = Count % APINT_BITS_PER_WORD; in tcShiftLeft() local
2717 if (BitShift == 0) { in tcShiftLeft()
2721 Dst[Words] = Dst[Words - WordShift] << BitShift; in tcShiftLeft()
2724 Dst[Words - WordShift - 1] >> (APINT_BITS_PER_WORD - BitShift); in tcShiftLeft()
2741 unsigned BitShift = Count % APINT_BITS_PER_WORD; in tcShiftRight() local
2745 if (BitShift == 0) { in tcShiftRight()
2749 Dst[i] = Dst[i + WordShift] >> BitShift; in tcShiftRight()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp2946 const APInt &BitShift = *C; in collectBitParts() local
2949 if (BitShift.uge(BitWidth)) in collectBitParts()
2953 if (!MatchBitReversals && (BitShift.getZExtValue() % 8) != 0) in collectBitParts()
2965 P.erase(std::prev(P.end(), BitShift.getZExtValue()), P.end()); in collectBitParts()
2966 P.insert(P.begin(), BitShift.getZExtValue(), BitPart::Unset); in collectBitParts()
2968 P.erase(P.begin(), std::next(P.begin(), BitShift.getZExtValue())); in collectBitParts()
2969 P.insert(P.end(), BitShift.getZExtValue(), BitPart::Unset); in collectBitParts()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp3975 SDValue BitShift = DAG.getNode(ISD::SHL, DL, PtrVT, Addr, in lowerATOMIC_LOAD_OP() local
3977 BitShift = DAG.getNode(ISD::TRUNCATE, DL, WideVT, BitShift); in lowerATOMIC_LOAD_OP()
3999 SDValue Ops[] = { ChainIn, AlignedAddr, Src2, BitShift, NegBitShift, in lowerATOMIC_LOAD_OP()
4006 SDValue ResultShift = DAG.getNode(ISD::ADD, DL, WideVT, BitShift, in lowerATOMIC_LOAD_OP()
4091 SDValue BitShift = DAG.getNode(ISD::SHL, DL, PtrVT, Addr, in lowerATOMIC_CMP_SWAP() local
4093 BitShift = DAG.getNode(ISD::TRUNCATE, DL, WideVT, BitShift); in lowerATOMIC_CMP_SWAP()
4102 SDValue Ops[] = { ChainIn, AlignedAddr, CmpVal, SwapVal, BitShift, in lowerATOMIC_CMP_SWAP()
7445 .addReg(OldVal).addReg(BitShift).addImm(0); in emitAtomicLoadBinary()
7562 .addReg(OldVal).addReg(BitShift).addImm(0); in emitAtomicLoadMinMax()
7624 Register BitShift = MI.getOperand(5).getReg(); in emitAtomicCmpSwapW() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp1200 SDValue BitShift = DAG.getNode(ISD::SHL, DL, VT, ByteIndex, in LowerSTORE() local
1204 SDValue Mask = DAG.getNode(ISD::SHL, DL, VT, MaskConstant, BitShift); in LowerSTORE()
1208 SDValue ShiftedValue = DAG.getNode(ISD::SHL, DL, VT, TruncValue, BitShift); in LowerSTORE()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp82 unsigned BitShift = DL.getTypeSizeInBits(SrcEltTy); in foldConstVectorToAPInt() local
91 Result <<= BitShift; in foldConstVectorToAPInt()
99 Result <<= BitShift; in foldConstVectorToAPInt()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp7179 uint64_t BitShift = ShiftOp->getZExtValue(); in calculateByteProvider() local
7180 if (BitShift % 8 != 0) in calculateByteProvider()
7182 uint64_t ByteShift = BitShift / 8; in calculateByteProvider()