Lines Matching defs:BitSize

3047 // CCMask says which comparison result is being tested and BitSize is
3050 static unsigned getTestUnderMaskCond(unsigned BitSize, unsigned CCMask,
3208 unsigned BitSize = NewC.Op0.getValueSizeInBits();
3215 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask,
3226 (NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask,
3233 NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, MaskVal, CmpVal,
4869 int64_t BitSize = llvm::bit_ceil(NumSignificantBits);
4870 BitSize = std::min(BitSize, OrigBitSize);
4878 // position larger than BitSize remain zero throughout.
4879 for (int64_t I = BitSize / 2; I >= 8; I = I / 2) {
4881 if (BitSize != OrigBitSize)
4883 DAG.getConstant(((uint64_t)1 << BitSize) - 1, DL, VT));
4888 if (BitSize > 8)
4890 DAG.getConstant(BitSize - 8, DL, VT));
4966 int64_t BitSize = NarrowVT.getSizeInBits();
4991 DAG.getConstant(32 - BitSize, DL, WideVT));
4995 DAG.getConstant(uint32_t(-1) >> BitSize, DL, WideVT));
5000 DAG.getConstant(BitSize, DL, WideVT) };
5007 DAG.getConstant(BitSize, DL, WideVT));
5075 int64_t BitSize = NarrowVT.getSizeInBits();
5083 NegBitShift, DAG.getConstant(BitSize, DL, WideVT) };
9020 unsigned BitSize = MI.getOperand(6).getImm();
9066 // XILF with the upper BitSize bits set.
9068 .addReg(Tmp).addImm(-1U << (32 - BitSize));
9079 .addImm(32).addImm(31 + BitSize).addImm(32 - BitSize);
9115 unsigned BitSize = MI.getOperand(6).getImm();
9165 // %RotatedAltVal = RISBG %RotatedOldVal, %Src2, 32, 31 + BitSize, 0
9170 .addImm(32).addImm(31 + BitSize).addImm(0);
9217 int64_t BitSize = MI.getOperand(7).getImm();
9225 unsigned ZExtOpcode = BitSize == 8 ? SystemZ::LLCR : SystemZ::LLHR;
9257 // %OldValRot = RLL %OldVal, BitSize(%BitShift)
9258 // ^^ The low BitSize bits contain the field
9260 // %RetrySwapVal = RISBG32 %SwapVal, %OldValRot, 32, 63-BitSize, 0
9261 // ^^ Replace the upper 32-BitSize bits of the
9275 .addReg(OldVal).addReg(BitShift).addImm(BitSize);
9277 .addReg(SwapVal).addReg(OldValRot).addImm(32).addImm(63 - BitSize).addImm(0);
9289 // %StoreVal = RLL %RetrySwapVal, -BitSize(%NegBitShift)
9296 .addReg(RetrySwapVal).addReg(NegBitShift).addImm(-BitSize);