Searched refs:SrcBitWidth (Results 1 – 9 of 9) sorted by relevance
456 unsigned SrcBitWidth; in computeKnownBitsImpl() local460 SrcBitWidth = MI.getOperand(2).getImm(); in computeKnownBitsImpl()462 SrcBitWidth = SrcTy.isPointer() in computeKnownBitsImpl()466 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsImpl()467 Known = Known.zextOrTrunc(SrcBitWidth); in computeKnownBitsImpl()470 if (BitWidth > SrcBitWidth) in computeKnownBitsImpl()471 Known.Zero.setBitsFrom(SrcBitWidth); in computeKnownBitsImpl()
1980 unsigned SrcBitWidth = SrcTy.getScalarSizeInBits(); in widenScalarMulo() local2002 ExtResult = MIRBuilder.buildSExtInReg(WideTy, Mul, SrcBitWidth); in widenScalarMulo()2006 ExtResult = MIRBuilder.buildZExtInReg(WideTy, Mul, SrcBitWidth); in widenScalarMulo()2011 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()
402 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local404 APInt InputDemandedMask = DemandedMask.zextOrTrunc(SrcBitWidth); in SimplifyDemandedUseBits()405 KnownBits InputKnown(SrcBitWidth); in SimplifyDemandedUseBits()408 assert(InputKnown.getBitWidth() == SrcBitWidth && "Src width changed?"); in SimplifyDemandedUseBits()436 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local438 APInt InputDemandedBits = DemandedMask.trunc(SrcBitWidth); in SimplifyDemandedUseBits()442 if (DemandedMask.getActiveBits() > SrcBitWidth) in SimplifyDemandedUseBits()443 InputDemandedBits.setBit(SrcBitWidth-1); in SimplifyDemandedUseBits()445 KnownBits InputKnown(SrcBitWidth); in SimplifyDemandedUseBits()452 DemandedMask.getActiveBits() <= SrcBitWidth) { in SimplifyDemandedUseBits()
207 KnownBits sextInReg(unsigned SrcBitWidth) const;
1208 unsigned SrcBitWidth; in computeKnownBitsFromOperator() local1212 SrcBitWidth = ScalarTy->isPointerTy() ? in computeKnownBitsFromOperator()1216 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsFromOperator()1217 Known = Known.anyextOrTrunc(SrcBitWidth); in computeKnownBitsFromOperator()1276 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in computeKnownBitsFromOperator() local1278 Known = Known.trunc(SrcBitWidth); in computeKnownBitsFromOperator()
7376 unsigned SrcBitWidth = Op.getOperand(OpNo).getScalarValueSizeInBits(); in computeNumSignBitsBinOp() local7379 if (SrcBitWidth > VTBits) { // PACK in computeNumSignBitsBinOp()7380 unsigned SrcExtraBits = SrcBitWidth - VTBits; in computeNumSignBitsBinOp()7385 assert (SrcBitWidth == VTBits && "Expected operands of same bitwidth."); in computeNumSignBitsBinOp()
2692 unsigned SrcBitWidth = SrcVT.getScalarSizeInBits(); in isSplatValue() local2701 if ((BitWidth % SrcBitWidth) == 0) { in isSplatValue()2703 unsigned Scale = BitWidth / SrcBitWidth; in isSplatValue()
1135 unsigned SrcBitWidth = Src.getScalarValueSizeInBits(); in SimplifyDemandedBits() local1136 APInt SrcDemandedBits = DemandedBits.zext(SrcBitWidth); in SimplifyDemandedBits()