Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DAPInt.cpp1000 unsigned BitShift = ShiftAmt % APINT_BITS_PER_WORD; in ashrSlowCase() local
1009 if (BitShift == 0) { in ashrSlowCase()
1014 U.pVal[i] = (U.pVal[i + WordShift] >> BitShift) | in ashrSlowCase()
1015 (U.pVal[i + WordShift + 1] << (APINT_BITS_PER_WORD - BitShift)); in ashrSlowCase()
1018 U.pVal[WordsToMove - 1] = U.pVal[WordShift + WordsToMove - 1] >> BitShift; in ashrSlowCase()
1021 SignExtend64(U.pVal[WordsToMove - 1], APINT_BITS_PER_WORD - BitShift); in ashrSlowCase()
2718 unsigned BitShift = Count % APINT_BITS_PER_WORD; in tcShiftLeft() local
2721 if (BitShift == 0) { in tcShiftLeft()
2725 Dst[Words] = Dst[Words - WordShift] << BitShift; in tcShiftLeft()
2728 Dst[Words - WordShift - 1] >> (APINT_BITS_PER_WORD - BitShift); in tcShiftLeft()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLocal.cpp2937 const APInt &BitShift = *C; in collectBitParts() local
2940 if (BitShift.uge(BitWidth)) in collectBitParts()
2944 if (!MatchBitReversals && (BitShift.getZExtValue() % 8) != 0) in collectBitParts()
2956 P.erase(std::prev(P.end(), BitShift.getZExtValue()), P.end()); in collectBitParts()
2957 P.insert(P.begin(), BitShift.getZExtValue(), BitPart::Unset); in collectBitParts()
2959 P.erase(P.begin(), std::next(P.begin(), BitShift.getZExtValue())); in collectBitParts()
2960 P.insert(P.end(), BitShift.getZExtValue(), BitPart::Unset); in collectBitParts()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp3926 SDValue BitShift = DAG.getNode(ISD::SHL, DL, PtrVT, Addr, in lowerATOMIC_LOAD_OP() local
3928 BitShift = DAG.getNode(ISD::TRUNCATE, DL, WideVT, BitShift); in lowerATOMIC_LOAD_OP()
3933 DAG.getConstant(0, DL, WideVT), BitShift); in lowerATOMIC_LOAD_OP()
3950 SDValue Ops[] = { ChainIn, AlignedAddr, Src2, BitShift, NegBitShift, in lowerATOMIC_LOAD_OP()
3957 SDValue ResultShift = DAG.getNode(ISD::ADD, DL, WideVT, BitShift, in lowerATOMIC_LOAD_OP()
4042 SDValue BitShift = DAG.getNode(ISD::SHL, DL, PtrVT, Addr, in lowerATOMIC_CMP_SWAP() local
4044 BitShift = DAG.getNode(ISD::TRUNCATE, DL, WideVT, BitShift); in lowerATOMIC_CMP_SWAP()
4049 DAG.getConstant(0, DL, WideVT), BitShift); in lowerATOMIC_CMP_SWAP()
4053 SDValue Ops[] = { ChainIn, AlignedAddr, CmpVal, SwapVal, BitShift, in lowerATOMIC_CMP_SWAP()
7364 Register BitShift = IsSubWord ? MI.getOperand(4).getReg() : Register(); in emitAtomicLoadBinary() local
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp7149 uint64_t BitShift = ShiftOp->getZExtValue(); in calculateByteProvider() local
7150 if (BitShift % 8 != 0) in calculateByteProvider()
7152 uint64_t ByteShift = BitShift / 8; in calculateByteProvider()