Home
last modified time | relevance | path

Searched refs:SrcTySize (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp831 unsigned SrcTySize = getBitWidth(); in zeroExtend() local
832 assert(SrcTySize < DstTySize && "Not a value extension"); in zeroExtend()
839 APInt::getOneBitSet(DstTySize, SrcTySize)); in zeroExtend()
848 unsigned SrcTySize = getBitWidth(); in signExtend() local
849 assert(SrcTySize < DstTySize && "Not a value extension"); in signExtend()
856 return ConstantRange(APInt::getHighBitsSet(DstTySize,DstTySize-SrcTySize+1), in signExtend()
857 APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1); in signExtend()
917 unsigned SrcTySize = getBitWidth(); in zextOrTrunc() local
918 if (SrcTySize > DstTySize) in zextOrTrunc()
920 if (SrcTySize < DstTySize) in zextOrTrunc()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2069 unsigned SrcTySize = MRI.getType(ExtSrc).getScalarSizeInBits(); in matchCombineShlOfExtend() local
2070 return MinLeadingZeros >= ShiftAmt && ShiftAmt < SrcTySize; in matchCombineShlOfExtend()