Searched refs:SrcBitWidth (Results 1 – 8 of 8) sorted by relevance
436 unsigned SrcBitWidth; in computeKnownBitsImpl() local440 SrcBitWidth = MI.getOperand(2).getImm(); in computeKnownBitsImpl()442 SrcBitWidth = SrcTy.isPointer() in computeKnownBitsImpl()446 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsImpl()447 Known = Known.zextOrTrunc(SrcBitWidth); in computeKnownBitsImpl()450 if (BitWidth > SrcBitWidth) in computeKnownBitsImpl()451 Known.Zero.setBitsFrom(SrcBitWidth); in computeKnownBitsImpl()
1842 unsigned SrcBitWidth = SrcTy.getScalarSizeInBits(); in widenScalarMulo() local1864 ExtResult = MIRBuilder.buildSExtInReg(WideTy, Mul, SrcBitWidth); in widenScalarMulo()1868 ExtResult = MIRBuilder.buildZExtInReg(WideTy, Mul, SrcBitWidth); in widenScalarMulo()1873 if (WideTy.getScalarSizeInBits() < 2 * SrcBitWidth) { in widenScalarMulo()
390 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local392 APInt InputDemandedMask = DemandedMask.zextOrTrunc(SrcBitWidth); in SimplifyDemandedUseBits()393 KnownBits InputKnown(SrcBitWidth); in SimplifyDemandedUseBits()396 assert(InputKnown.getBitWidth() == SrcBitWidth && "Src width changed?"); in SimplifyDemandedUseBits()425 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local427 APInt InputDemandedBits = DemandedMask.trunc(SrcBitWidth); in SimplifyDemandedUseBits()431 if (DemandedMask.getActiveBits() > SrcBitWidth) in SimplifyDemandedUseBits()432 InputDemandedBits.setBit(SrcBitWidth-1); in SimplifyDemandedUseBits()434 KnownBits InputKnown(SrcBitWidth); in SimplifyDemandedUseBits()441 DemandedMask.getActiveBits() <= SrcBitWidth) { in SimplifyDemandedUseBits()
88 KnownBits KnownBits::sextInReg(unsigned SrcBitWidth) const { in sextInReg()90 assert(0 < SrcBitWidth && SrcBitWidth <= BitWidth && in sextInReg()93 if (SrcBitWidth == BitWidth) in sextInReg()96 unsigned ExtBits = BitWidth - SrcBitWidth; in sextInReg()
205 KnownBits sextInReg(unsigned SrcBitWidth) const;
1162 unsigned SrcBitWidth; in computeKnownBitsFromOperator() local1166 SrcBitWidth = ScalarTy->isPointerTy() ? in computeKnownBitsFromOperator()1170 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsFromOperator()1171 Known = Known.anyextOrTrunc(SrcBitWidth); in computeKnownBitsFromOperator()1189 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in computeKnownBitsFromOperator() local1191 Known = Known.trunc(SrcBitWidth); in computeKnownBitsFromOperator()
6952 unsigned SrcBitWidth = Op.getOperand(OpNo).getScalarValueSizeInBits(); in computeNumSignBitsBinOp() local6955 if (SrcBitWidth > VTBits) { // PACK in computeNumSignBitsBinOp()6956 unsigned SrcExtraBits = SrcBitWidth - VTBits; in computeNumSignBitsBinOp()6961 assert (SrcBitWidth == VTBits && "Expected operands of same bitwidth."); in computeNumSignBitsBinOp()
974 unsigned SrcBitWidth = Src.getScalarValueSizeInBits(); in SimplifyDemandedBits() local975 APInt SrcDemandedBits = DemandedBits.zextOrSelf(SrcBitWidth); in SimplifyDemandedBits()