Searched refs:SrcBitWidth (Results 1 – 10 of 10) sorted by relevance
459 unsigned SrcBitWidth; in computeKnownBitsImpl() local463 SrcBitWidth = MI.getOperand(2).getImm(); in computeKnownBitsImpl()465 SrcBitWidth = SrcTy.isPointer() in computeKnownBitsImpl()469 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsImpl()470 Known = Known.zextOrTrunc(SrcBitWidth); in computeKnownBitsImpl()473 if (BitWidth > SrcBitWidth) in computeKnownBitsImpl()474 Known.Zero.setBitsFrom(SrcBitWidth); in computeKnownBitsImpl()
2257 unsigned SrcBitWidth = SrcTy.getScalarSizeInBits(); in widenScalarMulo() local2269 bool WideMulCanOverflow = WideTy.getScalarSizeInBits() < 2 * SrcBitWidth; in widenScalarMulo()2291 ExtResult = MIRBuilder.buildSExtInReg(WideTy, Mul, SrcBitWidth); in widenScalarMulo()2295 ExtResult = MIRBuilder.buildZExtInReg(WideTy, Mul, SrcBitWidth); in widenScalarMulo()
442 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local444 APInt InputDemandedMask = DemandedMask.zextOrTrunc(SrcBitWidth); in SimplifyDemandedUseBits()445 KnownBits InputKnown(SrcBitWidth); in SimplifyDemandedUseBits()452 assert(InputKnown.getBitWidth() == SrcBitWidth && "Src width changed?"); in SimplifyDemandedUseBits()463 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local465 APInt InputDemandedBits = DemandedMask.trunc(SrcBitWidth); in SimplifyDemandedUseBits()469 if (DemandedMask.getActiveBits() > SrcBitWidth) in SimplifyDemandedUseBits()470 InputDemandedBits.setBit(SrcBitWidth-1); in SimplifyDemandedUseBits()472 KnownBits InputKnown(SrcBitWidth); in SimplifyDemandedUseBits()479 DemandedMask.getActiveBits() <= SrcBitWidth) { in SimplifyDemandedUseBits()
100 KnownBits KnownBits::sextInReg(unsigned SrcBitWidth) const { in sextInReg()102 assert(0 < SrcBitWidth && SrcBitWidth <= BitWidth && in sextInReg()105 if (SrcBitWidth == BitWidth) in sextInReg()108 unsigned ExtBits = BitWidth - SrcBitWidth; in sextInReg()
207 KnownBits sextInReg(unsigned SrcBitWidth) const;
1009 unsigned SrcBitWidth; in computeKnownBitsFromOperator() local1013 SrcBitWidth = ScalarTy->isPointerTy() ? in computeKnownBitsFromOperator()1017 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsFromOperator()1018 Known = Known.anyextOrTrunc(SrcBitWidth); in computeKnownBitsFromOperator()1081 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in computeKnownBitsFromOperator() local1083 Known = Known.trunc(SrcBitWidth); in computeKnownBitsFromOperator()
7918 unsigned SrcBitWidth = Op.getOperand(OpNo).getScalarValueSizeInBits(); in computeNumSignBitsBinOp() local7921 if (SrcBitWidth > VTBits) { // PACK in computeNumSignBitsBinOp()7922 unsigned SrcExtraBits = SrcBitWidth - VTBits; in computeNumSignBitsBinOp()7927 assert (SrcBitWidth == VTBits && "Expected operands of same bitwidth."); in computeNumSignBitsBinOp()
2852 unsigned SrcBitWidth = SrcVT.getScalarSizeInBits(); in isSplatValue() local2861 if ((BitWidth % SrcBitWidth) == 0) { in isSplatValue()2863 unsigned Scale = BitWidth / SrcBitWidth; in isSplatValue()
1151 unsigned SrcBitWidth = Src.getScalarValueSizeInBits(); in SimplifyDemandedBits() local1152 APInt SrcDemandedBits = DemandedBits.zext(SrcBitWidth); in SimplifyDemandedBits()
7047 unsigned SrcBitWidth = SrcVT.getScalarSizeInBits(); in visitAND() local7049 Mask = Mask.trunc(SrcBitWidth); in visitAND()7056 if (N1C->getAPIntValue().countLeadingZeros() >= (BitWidth - SrcBitWidth) && in visitAND()