Searched refs:SrcBitWidth (Results 1 – 11 of 11) sorted by relevance
445 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local447 APInt InputDemandedMask = DemandedMask.zextOrTrunc(SrcBitWidth); in SimplifyDemandedUseBits()448 KnownBits InputKnown(SrcBitWidth); in SimplifyDemandedUseBits()456 assert(InputKnown.getBitWidth() == SrcBitWidth && "Src width changed?"); in SimplifyDemandedUseBits()466 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local468 APInt InputDemandedBits = DemandedMask.trunc(SrcBitWidth); in SimplifyDemandedUseBits()472 if (DemandedMask.getActiveBits() > SrcBitWidth) in SimplifyDemandedUseBits()473 InputDemandedBits.setBit(SrcBitWidth-1); in SimplifyDemandedUseBits()475 KnownBits InputKnown(SrcBitWidth); in SimplifyDemandedUseBits()482 DemandedMask.getActiveBits() <= SrcBitWidth) { in SimplifyDemandedUseBits()
158 KnownBits KnownBits::sextInReg(unsigned SrcBitWidth) const { in sextInReg()160 assert(0 < SrcBitWidth && SrcBitWidth <= BitWidth && in sextInReg()163 if (SrcBitWidth == BitWidth) in sextInReg()166 unsigned ExtBits = BitWidth - SrcBitWidth; in sextInReg()
209 LLVM_ABI KnownBits sextInReg(unsigned SrcBitWidth) const;
1011 unsigned SrcBitWidth = IType->getBitWidth(); in adjustIntTypeByWidth() local1012 if (SrcBitWidth > 1) { in adjustIntTypeByWidth()1013 unsigned BitWidth = adjustOpTypeIntWidth(SrcBitWidth); in adjustIntTypeByWidth()1015 if (SrcBitWidth != BitWidth) in adjustIntTypeByWidth()
509 unsigned SrcBitWidth = MI.getOperand(2).getImm(); in computeKnownBitsImpl() local510 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsImpl()511 APInt InMask = APInt::getLowBitsSet(BitWidth, SrcBitWidth); in computeKnownBitsImpl()
2619 unsigned SrcBitWidth = SrcTy.getScalarSizeInBits(); in widenScalarMulo() local2631 bool WideMulCanOverflow = WideTy.getScalarSizeInBits() < 2 * SrcBitWidth; in widenScalarMulo()2653 ExtResult = MIRBuilder.buildSExtInReg(WideTy, Mul, SrcBitWidth); in widenScalarMulo()2657 ExtResult = MIRBuilder.buildZExtInReg(WideTy, Mul, SrcBitWidth); in widenScalarMulo()
1281 unsigned SrcBitWidth; in computeKnownBitsFromOperator() local1285 SrcBitWidth = ScalarTy->isPointerTy() ? in computeKnownBitsFromOperator()1289 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsFromOperator()1290 Known = Known.anyextOrTrunc(SrcBitWidth); in computeKnownBitsFromOperator()1392 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in computeKnownBitsFromOperator() local1394 Known = Known.trunc(SrcBitWidth); in computeKnownBitsFromOperator()
9385 unsigned SrcBitWidth = Op.getOperand(OpNo).getScalarValueSizeInBits(); in computeNumSignBitsBinOp() local9388 if (SrcBitWidth > VTBits) { // PACK in computeNumSignBitsBinOp()9389 unsigned SrcExtraBits = SrcBitWidth - VTBits; in computeNumSignBitsBinOp()9394 assert (SrcBitWidth == VTBits && "Expected operands of same bitwidth."); in computeNumSignBitsBinOp()
3141 unsigned SrcBitWidth = SrcVT.getScalarSizeInBits(); in isSplatValue() local3150 if ((BitWidth % SrcBitWidth) == 0) { in isSplatValue()3152 unsigned Scale = BitWidth / SrcBitWidth; in isSplatValue()
1227 unsigned SrcBitWidth = Src.getScalarValueSizeInBits(); in SimplifyDemandedBits() local1228 APInt SrcDemandedBits = DemandedBits.zext(SrcBitWidth); in SimplifyDemandedBits()
7463 unsigned SrcBitWidth = SrcVT.getScalarSizeInBits(); in visitAND() local7465 Mask = Mask.trunc(SrcBitWidth); in visitAND()7472 if (N1C->getAPIntValue().countLeadingZeros() >= (BitWidth - SrcBitWidth) && in visitAND()