/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | BDCE.cpp | 121 const uint32_t DestBitSize = DstTy->getScalarSizeInBits(); in bitTrackingDCE() local 122 if (Demanded.countLeadingZeros() >= (DestBitSize - SrcBitSize)) { in bitTrackingDCE()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 867 uint32_t DestBitSize = DestTy->getScalarSizeInBits(); in visitZExt() local 872 APInt::getHighBitsSet(DestBitSize, in visitZExt() 873 DestBitSize-SrcBitsKept), in visitZExt() 879 APInt::getLowBitsSet(DestBitSize, SrcBitsKept)); in visitZExt() 1156 uint32_t DestBitSize = DestTy->getScalarSizeInBits(); in visitSExt() local 1160 if (ComputeNumSignBits(Res, 0, &CI) > DestBitSize - SrcBitSize) in visitSExt() 1164 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); in visitSExt() 1174 uint32_t DestBitSize = DestTy->getScalarSizeInBits(); in visitSExt() local 1177 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); in visitSExt()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 1208 uint32_t DestBitSize = DestTy->getScalarSizeInBits(); in visitZExt() local 1213 APInt::getHighBitsSet(DestBitSize, in visitZExt() 1214 DestBitSize-SrcBitsKept), in visitZExt() 1220 APInt::getLowBitsSet(DestBitSize, SrcBitsKept)); in visitZExt() 1478 uint32_t DestBitSize = DestTy->getScalarSizeInBits(); in visitSExt() local 1482 if (ComputeNumSignBits(Res, 0, &CI) > DestBitSize - SrcBitSize) in visitSExt() 1486 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); in visitSExt() 1497 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitSExt() local 1498 Constant *ShAmt = ConstantInt::get(DestTy, DestBitSize - SrcBitSize); in visitSExt()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 1123 uint32_t DestBitSize = DestTy->getScalarSizeInBits(); in visitZExt() local 1128 APInt::getHighBitsSet(DestBitSize, in visitZExt() 1129 DestBitSize-SrcBitsKept), in visitZExt() 1135 APInt::getLowBitsSet(DestBitSize, SrcBitsKept)); in visitZExt() 1392 uint32_t DestBitSize = DestTy->getScalarSizeInBits(); in visitSExt() local 1396 if (ComputeNumSignBits(Res, 0, &CI) > DestBitSize - SrcBitSize) in visitSExt() 1400 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); in visitSExt() 1411 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitSExt() local 1412 Constant *ShAmt = ConstantInt::get(DestTy, DestBitSize - SrcBitSize); in visitSExt()
|
/external/llvm/lib/IR/ |
D | Verifier.cpp | 2231 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitTruncInst() local 2237 Assert(SrcBitSize > DestBitSize, "DestTy too big for Trunc", &I); in visitTruncInst() 2253 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitZExtInst() local 2255 Assert(SrcBitSize < DestBitSize, "Type too small for ZExt", &I); in visitZExtInst() 2267 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitSExtInst() local 2273 Assert(SrcBitSize < DestBitSize, "Type too small for SExt", &I); in visitSExtInst() 2284 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPTruncInst() local 2290 Assert(SrcBitSize > DestBitSize, "DestTy too big for FPTrunc", &I); in visitFPTruncInst() 2302 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPExtInst() local 2308 Assert(SrcBitSize < DestBitSize, "DestTy too small for FPExt", &I); in visitFPExtInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Verifier.cpp | 2575 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitTruncInst() local 2581 Assert(SrcBitSize > DestBitSize, "DestTy too big for Trunc", &I); in visitTruncInst() 2597 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitZExtInst() local 2599 Assert(SrcBitSize < DestBitSize, "Type too small for ZExt", &I); in visitZExtInst() 2611 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitSExtInst() local 2617 Assert(SrcBitSize < DestBitSize, "Type too small for SExt", &I); in visitSExtInst() 2628 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPTruncInst() local 2634 Assert(SrcBitSize > DestBitSize, "DestTy too big for FPTrunc", &I); in visitFPTruncInst() 2646 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPExtInst() local 2652 Assert(SrcBitSize < DestBitSize, "DestTy too small for FPExt", &I); in visitFPExtInst()
|
/external/llvm-project/llvm/lib/IR/ |
D | Verifier.cpp | 2717 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitTruncInst() local 2723 Assert(SrcBitSize > DestBitSize, "DestTy too big for Trunc", &I); in visitTruncInst() 2739 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitZExtInst() local 2741 Assert(SrcBitSize < DestBitSize, "Type too small for ZExt", &I); in visitZExtInst() 2753 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitSExtInst() local 2759 Assert(SrcBitSize < DestBitSize, "Type too small for SExt", &I); in visitSExtInst() 2770 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPTruncInst() local 2776 Assert(SrcBitSize > DestBitSize, "DestTy too big for FPTrunc", &I); in visitFPTruncInst() 2788 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPExtInst() local 2794 Assert(SrcBitSize < DestBitSize, "DestTy too small for FPExt", &I); in visitFPExtInst()
|