Searched refs:SrcTySize (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | ConstantRange.cpp | 438 unsigned SrcTySize = getBitWidth(); in zeroExtend() local 439 assert(SrcTySize < DstTySize && "Not a value extension"); in zeroExtend() 442 return ConstantRange(APInt(DstTySize,0), APInt(DstTySize,1).shl(SrcTySize)); in zeroExtend() 454 unsigned SrcTySize = getBitWidth(); in signExtend() local 455 assert(SrcTySize < DstTySize && "Not a value extension"); in signExtend() 457 return ConstantRange(APInt::getHighBitsSet(DstTySize,DstTySize-SrcTySize+1), in signExtend() 458 APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1); in signExtend() 469 unsigned SrcTySize = getBitWidth(); in truncate() local 470 assert(SrcTySize > DstTySize && "Not a value truncation"); in truncate() 471 APInt Size(APInt::getLowBitsSet(SrcTySize, DstTySize)); in truncate() [all …]
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 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() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | ConstantRange.cpp | 619 unsigned SrcTySize = getBitWidth(); in zeroExtend() local 620 assert(SrcTySize < DstTySize && "Not a value extension"); in zeroExtend() 627 APInt::getOneBitSet(DstTySize, SrcTySize)); in zeroExtend() 636 unsigned SrcTySize = getBitWidth(); in signExtend() local 637 assert(SrcTySize < DstTySize && "Not a value extension"); in signExtend() 644 return ConstantRange(APInt::getHighBitsSet(DstTySize,DstTySize-SrcTySize+1), in signExtend() 645 APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1); in signExtend() 706 unsigned SrcTySize = getBitWidth(); in zextOrTrunc() local 707 if (SrcTySize > DstTySize) in zextOrTrunc() 709 if (SrcTySize < DstTySize) in zextOrTrunc() [all …]
|