Lines Matching refs:SrcTySize
536 unsigned SrcTySize = getBitWidth(); in zeroExtend() local
537 assert(SrcTySize < DstTySize && "Not a value extension"); in zeroExtend()
543 return ConstantRange(LowerExt, APInt::getOneBitSet(DstTySize, SrcTySize)); in zeroExtend()
556 unsigned SrcTySize = getBitWidth(); in signExtend() local
557 assert(SrcTySize < DstTySize && "Not a value extension"); in signExtend()
564 return ConstantRange(APInt::getHighBitsSet(DstTySize,DstTySize-SrcTySize+1), in signExtend()
565 APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1); in signExtend()
629 unsigned SrcTySize = getBitWidth(); in zextOrTrunc() local
630 if (SrcTySize > DstTySize) in zextOrTrunc()
632 if (SrcTySize < DstTySize) in zextOrTrunc()
640 unsigned SrcTySize = getBitWidth(); in sextOrTrunc() local
641 if (SrcTySize > DstTySize) in sextOrTrunc()
643 if (SrcTySize < DstTySize) in sextOrTrunc()