Searched refs:SrcBitWidth (Results 1 – 8 of 8) sorted by relevance
451 unsigned SrcBitWidth; in computeKnownBitsImpl() local455 SrcBitWidth = MI.getOperand(2).getImm(); in computeKnownBitsImpl()457 SrcBitWidth = SrcTy.isPointer() in computeKnownBitsImpl()461 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsImpl()462 Known = Known.zextOrTrunc(SrcBitWidth); in computeKnownBitsImpl()465 if (BitWidth > SrcBitWidth) in computeKnownBitsImpl()466 Known.Zero.setBitsFrom(SrcBitWidth); in computeKnownBitsImpl()
1926 unsigned SrcBitWidth = SrcTy.getScalarSizeInBits(); in widenScalarMulo() local1948 ExtResult = MIRBuilder.buildSExtInReg(WideTy, Mul, SrcBitWidth); in widenScalarMulo()1952 ExtResult = MIRBuilder.buildZExtInReg(WideTy, Mul, SrcBitWidth); in widenScalarMulo()1957 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;
1163 unsigned SrcBitWidth; in computeKnownBitsFromOperator() local1167 SrcBitWidth = ScalarTy->isPointerTy() ? in computeKnownBitsFromOperator()1171 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsFromOperator()1172 Known = Known.anyextOrTrunc(SrcBitWidth); in computeKnownBitsFromOperator()1231 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in computeKnownBitsFromOperator() local1233 Known = Known.trunc(SrcBitWidth); in computeKnownBitsFromOperator()
6980 unsigned SrcBitWidth = Op.getOperand(OpNo).getScalarValueSizeInBits(); in computeNumSignBitsBinOp() local6983 if (SrcBitWidth > VTBits) { // PACK in computeNumSignBitsBinOp()6984 unsigned SrcExtraBits = SrcBitWidth - VTBits; in computeNumSignBitsBinOp()6989 assert (SrcBitWidth == VTBits && "Expected operands of same bitwidth."); in computeNumSignBitsBinOp()
965 unsigned SrcBitWidth = Src.getScalarValueSizeInBits(); in SimplifyDemandedBits() local966 APInt SrcDemandedBits = DemandedBits.zextOrSelf(SrcBitWidth); in SimplifyDemandedBits()