Searched refs:DestBitSize (Results 1 – 2 of 2) sorted by relevance
/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/lib/IR/ |
D | Verifier.cpp | 2030 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitTruncInst() local 2036 Assert(SrcBitSize > DestBitSize, "DestTy too big for Trunc", &I); in visitTruncInst() 2052 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitZExtInst() local 2054 Assert(SrcBitSize < DestBitSize, "Type too small for ZExt", &I); in visitZExtInst() 2066 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitSExtInst() local 2072 Assert(SrcBitSize < DestBitSize, "Type too small for SExt", &I); in visitSExtInst() 2083 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPTruncInst() local 2089 Assert(SrcBitSize > DestBitSize, "DestTy too big for FPTrunc", &I); in visitFPTruncInst() 2101 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPExtInst() local 2107 Assert(SrcBitSize < DestBitSize, "DestTy too small for FPExt", &I); in visitFPExtInst()
|