Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DAPInt.cpp1028 unsigned BitShift = ShiftAmt % APINT_BITS_PER_WORD; in ashrSlowCase() local
1037 if (BitShift == 0) { in ashrSlowCase()
1042 U.pVal[i] = (U.pVal[i + WordShift] >> BitShift) | in ashrSlowCase()
1043 (U.pVal[i + WordShift + 1] << (APINT_BITS_PER_WORD - BitShift)); in ashrSlowCase()
1046 U.pVal[WordsToMove - 1] = U.pVal[WordShift + WordsToMove - 1] >> BitShift; in ashrSlowCase()
1049 SignExtend64(U.pVal[WordsToMove - 1], APINT_BITS_PER_WORD - BitShift); in ashrSlowCase()
2664 unsigned BitShift = Count % APINT_BITS_PER_WORD; in tcShiftLeft() local
2667 if (BitShift == 0) { in tcShiftLeft()
2671 Dst[Words] = Dst[Words - WordShift] << BitShift; in tcShiftLeft()
2674 Dst[Words - WordShift - 1] >> (APINT_BITS_PER_WORD - BitShift); in tcShiftLeft()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLocal.cpp3093 const APInt &BitShift = *C; in collectBitParts() local
3096 if (BitShift.uge(BitWidth)) in collectBitParts()
3100 if (!MatchBitReversals && (BitShift.getZExtValue() % 8) != 0) in collectBitParts()
3112 P.erase(std::prev(P.end(), BitShift.getZExtValue()), P.end()); in collectBitParts()
3113 P.insert(P.begin(), BitShift.getZExtValue(), BitPart::Unset); in collectBitParts()
3115 P.erase(P.begin(), std::next(P.begin(), BitShift.getZExtValue())); in collectBitParts()
3116 P.insert(P.end(), BitShift.getZExtValue(), BitPart::Unset); in collectBitParts()
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp4212 SDValue BitShift = DAG.getNode(ISD::SHL, DL, PtrVT, Addr, in lowerATOMIC_LOAD_OP() local
4214 BitShift = DAG.getNode(ISD::TRUNCATE, DL, WideVT, BitShift); in lowerATOMIC_LOAD_OP()
4219 DAG.getConstant(0, DL, WideVT), BitShift); in lowerATOMIC_LOAD_OP()
4236 SDValue Ops[] = { ChainIn, AlignedAddr, Src2, BitShift, NegBitShift, in lowerATOMIC_LOAD_OP()
4243 SDValue ResultShift = DAG.getNode(ISD::ADD, DL, WideVT, BitShift, in lowerATOMIC_LOAD_OP()
4328 SDValue BitShift = DAG.getNode(ISD::SHL, DL, PtrVT, Addr, in lowerATOMIC_CMP_SWAP() local
4330 BitShift = DAG.getNode(ISD::TRUNCATE, DL, WideVT, BitShift); in lowerATOMIC_CMP_SWAP()
4335 DAG.getConstant(0, DL, WideVT), BitShift); in lowerATOMIC_CMP_SWAP()
4339 SDValue Ops[] = { ChainIn, AlignedAddr, CmpVal, SwapVal, BitShift, in lowerATOMIC_CMP_SWAP()
7787 Register BitShift = IsSubWord ? MI.getOperand(4).getReg() : Register(); in emitAtomicLoadBinary() local
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp1171 SDValue BitShift = DAG.getNode(ISD::SHL, DL, VT, ByteIndex, in LowerSTORE() local
1175 SDValue Mask = DAG.getNode(ISD::SHL, DL, VT, MaskConstant, BitShift); in LowerSTORE()
1179 SDValue ShiftedValue = DAG.getNode(ISD::SHL, DL, VT, TruncValue, BitShift); in LowerSTORE()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DConstantFolding.cpp77 unsigned BitShift = DL.getTypeSizeInBits(SrcEltTy); in foldConstVectorToAPInt() local
86 Result <<= BitShift; in foldConstVectorToAPInt()
94 Result <<= BitShift; in foldConstVectorToAPInt()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp8027 uint64_t BitShift = ShiftOp->getZExtValue(); in calculateByteProvider() local
8029 if (BitShift % 8 != 0) in calculateByteProvider()
8031 uint64_t ByteShift = BitShift / 8; in calculateByteProvider()