Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DConstantRange.cpp490 unsigned SrcTySize = getBitWidth(); in zeroExtend() local
491 assert(SrcTySize < DstTySize && "Not a value extension"); in zeroExtend()
497 return ConstantRange(LowerExt, APInt::getOneBitSet(DstTySize, SrcTySize)); in zeroExtend()
510 unsigned SrcTySize = getBitWidth(); in signExtend() local
511 assert(SrcTySize < DstTySize && "Not a value extension"); in signExtend()
518 return ConstantRange(APInt::getHighBitsSet(DstTySize,DstTySize-SrcTySize+1), in signExtend()
519 APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1); in signExtend()
583 unsigned SrcTySize = getBitWidth(); in zextOrTrunc() local
584 if (SrcTySize > DstTySize) in zextOrTrunc()
586 if (SrcTySize < DstTySize) in zextOrTrunc()
[all …]