Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DConstantRange.cpp536 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()
[all …]
/external/llvm-project/llvm/lib/IR/
DConstantRange.cpp688 unsigned SrcTySize = getBitWidth(); in zeroExtend() local
689 assert(SrcTySize < DstTySize && "Not a value extension"); in zeroExtend()
696 APInt::getOneBitSet(DstTySize, SrcTySize)); in zeroExtend()
705 unsigned SrcTySize = getBitWidth(); in signExtend() local
706 assert(SrcTySize < DstTySize && "Not a value extension"); in signExtend()
713 return ConstantRange(APInt::getHighBitsSet(DstTySize,DstTySize-SrcTySize+1), in signExtend()
714 APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1); in signExtend()
775 unsigned SrcTySize = getBitWidth(); in zextOrTrunc() local
776 if (SrcTySize > DstTySize) in zextOrTrunc()
778 if (SrcTySize < DstTySize) in zextOrTrunc()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp672 unsigned SrcTySize = getBitWidth(); in zeroExtend() local
673 assert(SrcTySize < DstTySize && "Not a value extension"); in zeroExtend()
680 APInt::getOneBitSet(DstTySize, SrcTySize)); in zeroExtend()
689 unsigned SrcTySize = getBitWidth(); in signExtend() local
690 assert(SrcTySize < DstTySize && "Not a value extension"); in signExtend()
697 return ConstantRange(APInt::getHighBitsSet(DstTySize,DstTySize-SrcTySize+1), in signExtend()
698 APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1); in signExtend()
759 unsigned SrcTySize = getBitWidth(); in zextOrTrunc() local
760 if (SrcTySize > DstTySize) in zextOrTrunc()
762 if (SrcTySize < DstTySize) in zextOrTrunc()
[all …]