Searched refs:SrcBitWidth (Results 1 – 11 of 11) sorted by relevance
467 unsigned SrcBitWidth; in computeKnownBitsImpl() local471 SrcBitWidth = MI.getOperand(2).getImm(); in computeKnownBitsImpl()473 SrcBitWidth = SrcTy.isPointer() in computeKnownBitsImpl()477 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsImpl()478 Known = Known.zextOrTrunc(SrcBitWidth); in computeKnownBitsImpl()481 if (BitWidth > SrcBitWidth) in computeKnownBitsImpl()482 Known.Zero.setBitsFrom(SrcBitWidth); in computeKnownBitsImpl()
2321 unsigned SrcBitWidth = SrcTy.getScalarSizeInBits(); in widenScalarMulo() local2333 bool WideMulCanOverflow = WideTy.getScalarSizeInBits() < 2 * SrcBitWidth; in widenScalarMulo()2355 ExtResult = MIRBuilder.buildSExtInReg(WideTy, Mul, SrcBitWidth); in widenScalarMulo()2359 ExtResult = MIRBuilder.buildZExtInReg(WideTy, Mul, SrcBitWidth); in widenScalarMulo()
439 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local441 APInt InputDemandedMask = DemandedMask.zextOrTrunc(SrcBitWidth); in SimplifyDemandedUseBits()442 KnownBits InputKnown(SrcBitWidth); in SimplifyDemandedUseBits()450 assert(InputKnown.getBitWidth() == SrcBitWidth && "Src width changed?"); in SimplifyDemandedUseBits()460 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local462 APInt InputDemandedBits = DemandedMask.trunc(SrcBitWidth); in SimplifyDemandedUseBits()466 if (DemandedMask.getActiveBits() > SrcBitWidth) in SimplifyDemandedUseBits()467 InputDemandedBits.setBit(SrcBitWidth-1); in SimplifyDemandedUseBits()469 KnownBits InputKnown(SrcBitWidth); in SimplifyDemandedUseBits()476 DemandedMask.getActiveBits() <= SrcBitWidth) { in SimplifyDemandedUseBits()
149 KnownBits KnownBits::sextInReg(unsigned SrcBitWidth) const { in sextInReg()151 assert(0 < SrcBitWidth && SrcBitWidth <= BitWidth && in sextInReg()154 if (SrcBitWidth == BitWidth) in sextInReg()157 unsigned ExtBits = BitWidth - SrcBitWidth; in sextInReg()
205 KnownBits sextInReg(unsigned SrcBitWidth) const;
828 unsigned SrcBitWidth = IType->getBitWidth(); in adjustIntTypeByWidth() local829 if (SrcBitWidth > 1) { in adjustIntTypeByWidth()830 unsigned BitWidth = adjustOpTypeIntWidth(SrcBitWidth); in adjustIntTypeByWidth()832 if (SrcBitWidth != BitWidth) in adjustIntTypeByWidth()
1141 unsigned SrcBitWidth; in computeKnownBitsFromOperator() local1145 SrcBitWidth = ScalarTy->isPointerTy() ? in computeKnownBitsFromOperator()1149 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsFromOperator()1150 Known = Known.anyextOrTrunc(SrcBitWidth); in computeKnownBitsFromOperator()1252 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in computeKnownBitsFromOperator() local1254 Known = Known.trunc(SrcBitWidth); in computeKnownBitsFromOperator()
8061 unsigned SrcBitWidth = Op.getOperand(OpNo).getScalarValueSizeInBits(); in computeNumSignBitsBinOp() local8064 if (SrcBitWidth > VTBits) { // PACK in computeNumSignBitsBinOp()8065 unsigned SrcExtraBits = SrcBitWidth - VTBits; in computeNumSignBitsBinOp()8070 assert (SrcBitWidth == VTBits && "Expected operands of same bitwidth."); in computeNumSignBitsBinOp()
2893 unsigned SrcBitWidth = SrcVT.getScalarSizeInBits(); in isSplatValue() local2902 if ((BitWidth % SrcBitWidth) == 0) { in isSplatValue()2904 unsigned Scale = BitWidth / SrcBitWidth; in isSplatValue()
1172 unsigned SrcBitWidth = Src.getScalarValueSizeInBits(); in SimplifyDemandedBits() local1173 APInt SrcDemandedBits = DemandedBits.zext(SrcBitWidth); in SimplifyDemandedBits()
7041 unsigned SrcBitWidth = SrcVT.getScalarSizeInBits(); in visitAND() local7043 Mask = Mask.trunc(SrcBitWidth); in visitAND()7050 if (N1C->getAPIntValue().countLeadingZeros() >= (BitWidth - SrcBitWidth) && in visitAND()