Searched refs:SrcBitWidth (Results 1 – 6 of 6) sorted by relevance
352 unsigned SrcBitWidth = SrcTy.isPointer() in computeKnownBitsImpl() local355 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsImpl()356 Known = Known.zextOrTrunc(SrcBitWidth, true); in computeKnownBitsImpl()359 if (BitWidth > SrcBitWidth) in computeKnownBitsImpl()360 Known.Zero.setBitsFrom(SrcBitWidth); in computeKnownBitsImpl()
392 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local394 APInt InputDemandedMask = DemandedMask.zextOrTrunc(SrcBitWidth); in SimplifyDemandedUseBits()395 KnownBits InputKnown(SrcBitWidth); in SimplifyDemandedUseBits()398 assert(InputKnown.getBitWidth() == SrcBitWidth && "Src width changed?"); in SimplifyDemandedUseBits()427 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local429 APInt InputDemandedBits = DemandedMask.trunc(SrcBitWidth); in SimplifyDemandedUseBits()433 if (DemandedMask.getActiveBits() > SrcBitWidth) in SimplifyDemandedUseBits()434 InputDemandedBits.setBit(SrcBitWidth-1); in SimplifyDemandedUseBits()436 KnownBits InputKnown(SrcBitWidth); in SimplifyDemandedUseBits()443 DemandedMask.getActiveBits() <= SrcBitWidth) { in SimplifyDemandedUseBits()
1201 unsigned SrcBitWidth; in computeKnownBitsFromOperator() local1205 SrcBitWidth = ScalarTy->isPointerTy() ? in computeKnownBitsFromOperator()1209 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsFromOperator()1210 Known = Known.zextOrTrunc(SrcBitWidth, false); in computeKnownBitsFromOperator()1228 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in computeKnownBitsFromOperator() local1230 Known = Known.trunc(SrcBitWidth); in computeKnownBitsFromOperator()
6625 unsigned SrcBitWidth = Op.getOperand(OpNo).getScalarValueSizeInBits(); in computeNumSignBitsBinOp() local6628 if (SrcBitWidth > VTBits) { // PACK in computeNumSignBitsBinOp()6629 unsigned SrcExtraBits = SrcBitWidth - VTBits; in computeNumSignBitsBinOp()6634 assert (SrcBitWidth == VTBits && "Expected operands of same bitwidth."); in computeNumSignBitsBinOp()
2229 unsigned SrcBitWidth = Src.getScalarValueSizeInBits(); in GetDemandedBits() local2233 if (DemandedBits.getActiveBits() > SrcBitWidth) in GetDemandedBits()2235 APInt SrcDemandedBits = DemandedBits.trunc(SrcBitWidth); in GetDemandedBits()
863 unsigned SrcBitWidth = Src.getScalarValueSizeInBits(); in SimplifyDemandedBits() local864 APInt SrcDemandedBits = DemandedBits.zextOrSelf(SrcBitWidth); in SimplifyDemandedBits()