Searched refs:SrcBitWidth (Results 1 – 9 of 9) sorted by relevance
455 unsigned SrcBitWidth; in computeKnownBitsImpl() local459 SrcBitWidth = MI.getOperand(2).getImm(); in computeKnownBitsImpl()461 SrcBitWidth = SrcTy.isPointer() in computeKnownBitsImpl()465 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsImpl()466 Known = Known.zextOrTrunc(SrcBitWidth); in computeKnownBitsImpl()469 if (BitWidth > SrcBitWidth) in computeKnownBitsImpl()470 Known.Zero.setBitsFrom(SrcBitWidth); in computeKnownBitsImpl()
1987 unsigned SrcBitWidth = SrcTy.getScalarSizeInBits(); in widenScalarMulo() local2009 ExtResult = MIRBuilder.buildSExtInReg(WideTy, Mul, SrcBitWidth); in widenScalarMulo()2013 ExtResult = MIRBuilder.buildZExtInReg(WideTy, Mul, SrcBitWidth); in widenScalarMulo()2018 if (WideTy.getScalarSizeInBits() < 2 * SrcBitWidth) { in widenScalarMulo()
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()
407 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local409 APInt InputDemandedMask = DemandedMask.zextOrTrunc(SrcBitWidth); in SimplifyDemandedUseBits()410 KnownBits InputKnown(SrcBitWidth); in SimplifyDemandedUseBits()413 assert(InputKnown.getBitWidth() == SrcBitWidth && "Src width changed?"); in SimplifyDemandedUseBits()443 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local445 APInt InputDemandedBits = DemandedMask.trunc(SrcBitWidth); in SimplifyDemandedUseBits()449 if (DemandedMask.getActiveBits() > SrcBitWidth) in SimplifyDemandedUseBits()450 InputDemandedBits.setBit(SrcBitWidth-1); in SimplifyDemandedUseBits()452 KnownBits InputKnown(SrcBitWidth); in SimplifyDemandedUseBits()459 DemandedMask.getActiveBits() <= SrcBitWidth) { in SimplifyDemandedUseBits()
207 KnownBits sextInReg(unsigned SrcBitWidth) const;
1178 unsigned SrcBitWidth; in computeKnownBitsFromOperator() local1182 SrcBitWidth = ScalarTy->isPointerTy() ? in computeKnownBitsFromOperator()1186 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsFromOperator()1187 Known = Known.anyextOrTrunc(SrcBitWidth); in computeKnownBitsFromOperator()1247 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in computeKnownBitsFromOperator() local1249 Known = Known.trunc(SrcBitWidth); in computeKnownBitsFromOperator()
7379 unsigned SrcBitWidth = Op.getOperand(OpNo).getScalarValueSizeInBits(); in computeNumSignBitsBinOp() local7382 if (SrcBitWidth > VTBits) { // PACK in computeNumSignBitsBinOp()7383 unsigned SrcExtraBits = SrcBitWidth - VTBits; in computeNumSignBitsBinOp()7388 assert (SrcBitWidth == VTBits && "Expected operands of same bitwidth."); in computeNumSignBitsBinOp()
2736 unsigned SrcBitWidth = SrcVT.getScalarSizeInBits(); in isSplatValue() local2745 if ((BitWidth % SrcBitWidth) == 0) { in isSplatValue()2747 unsigned Scale = BitWidth / SrcBitWidth; in isSplatValue()
1136 unsigned SrcBitWidth = Src.getScalarValueSizeInBits(); in SimplifyDemandedBits() local1137 APInt SrcDemandedBits = DemandedBits.zext(SrcBitWidth); in SimplifyDemandedBits()