Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DConstantRange.cpp437 unsigned SrcTySize = getBitWidth(); in zeroExtend() local
438 assert(SrcTySize < DstTySize && "Not a value extension"); in zeroExtend()
444 return ConstantRange(LowerExt, APInt::getOneBitSet(DstTySize, SrcTySize)); in zeroExtend()
457 unsigned SrcTySize = getBitWidth(); in signExtend() local
458 assert(SrcTySize < DstTySize && "Not a value extension"); in signExtend()
465 return ConstantRange(APInt::getHighBitsSet(DstTySize,DstTySize-SrcTySize+1), in signExtend()
466 APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1); in signExtend()
530 unsigned SrcTySize = getBitWidth(); in zextOrTrunc() local
531 if (SrcTySize > DstTySize) in zextOrTrunc()
533 if (SrcTySize < DstTySize) in zextOrTrunc()
[all …]