Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/VMCore/
DVerifier.cpp859 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitTruncInst() local
865 Assert1(SrcBitSize > DestBitSize,"DestTy too big for Trunc", &I); in visitTruncInst()
881 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitZExtInst() local
883 Assert1(SrcBitSize < DestBitSize,"Type too small for ZExt", &I); in visitZExtInst()
895 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitSExtInst() local
901 Assert1(SrcBitSize < DestBitSize,"Type too small for SExt", &I); in visitSExtInst()
912 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPTruncInst() local
918 Assert1(SrcBitSize > DestBitSize,"DestTy too big for FPTrunc", &I); in visitFPTruncInst()
930 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPExtInst() local
936 Assert1(SrcBitSize < DestBitSize,"DestTy too small for FPExt", &I); in visitFPExtInst()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp781 uint32_t DestBitSize = DestTy->getScalarSizeInBits(); in visitZExt() local
785 if (MaskedValueIsZero(Res, APInt::getHighBitsSet(DestBitSize, in visitZExt()
786 DestBitSize-SrcBitsKept))) in visitZExt()
791 APInt::getLowBitsSet(DestBitSize, SrcBitsKept)); in visitZExt()
1082 uint32_t DestBitSize = DestTy->getScalarSizeInBits(); in visitSExt() local
1086 if (ComputeNumSignBits(Res) > DestBitSize - SrcBitSize) in visitSExt()
1090 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); in visitSExt()
1100 uint32_t DestBitSize = DestTy->getScalarSizeInBits(); in visitSExt() local
1103 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); in visitSExt()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp867 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/
DVerifier.cpp2231 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()