Searched refs:SrcBitSize (Results 1 - 6 of 6) sorted by relevance

/external/llvm/lib/VMCore/
H A DVerifier.cpp868 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); local
875 Assert1(SrcBitSize > DestBitSize,"DestTy too big for Trunc", &I);
890 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); local
893 Assert1(SrcBitSize < DestBitSize,"Type too small for ZExt", &I);
904 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); local
911 Assert1(SrcBitSize < DestBitSize,"Type too small for SExt", &I);
921 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); local
928 Assert1(SrcBitSize > DestBitSize,"DestTy too big for FPTrunc", &I);
939 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); local
946 Assert1(SrcBitSize < DestBitSiz
1091 unsigned SrcBitSize = SrcTy->getPrimitiveSizeInBits(); local
[all...]
H A DConstantFold.cpp292 unsigned SrcBitSize = local
296 if (ByteStart*8 >= SrcBitSize)
301 if (ByteStart == 0 && ByteSize*8 == SrcBitSize)
306 if ((SrcBitSize&7) == 0 && (ByteStart+ByteSize)*8 <= SrcBitSize)
311 if ((ByteStart+ByteSize)*8 < SrcBitSize) {
312 assert((SrcBitSize&7) && "Shouldn't get byte sized case here");
H A DInstructions.cpp2626 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); local
2642 SrcLength == DstLength && SrcBitSize > DstBitSize;
2645 SrcLength == DstLength && SrcBitSize < DstBitSize;
2648 SrcLength == DstLength && SrcBitSize < DstBitSize;
2651 SrcLength == DstLength && SrcBitSize > DstBitSize;
2654 SrcLength == DstLength && SrcBitSize < DstBitSize;
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1069 uint32_t SrcBitSize = SrcTy->getScalarSizeInBits(); local
1074 if (ComputeNumSignBits(Res) > DestBitSize - SrcBitSize)
1078 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize);
1087 uint32_t SrcBitSize = SrcTy->getScalarSizeInBits(); local
1091 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize);
/external/llvm/lib/Analysis/
H A DConstantFolding.cpp163 unsigned SrcBitSize = SrcEltTy->getPrimitiveSizeInBits(); local
168 unsigned ShiftAmt = isLittleEndian ? 0 : SrcBitSize*(Ratio-1);
180 ShiftAmt += isLittleEndian ? SrcBitSize : -SrcBitSize;
/external/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp5527 unsigned SrcBitSize = SrcEltVT.getSizeInBits(); local
5532 if (SrcBitSize == DstBitSize) {
5584 if (SrcBitSize < DstBitSize) {
5585 unsigned NumInputsPerOutput = DstBitSize/SrcBitSize;
5595 NewBits <<= SrcBitSize; local
5601 zextOrTrunc(SrcBitSize).zext(DstBitSize);
5618 unsigned NumOutputsPerInput = SrcBitSize/DstBitSize;
5631 getAPIntValue().zextOrTrunc(SrcBitSize);
5636 if (isS2V && i == 0 && j == 0 && ThisVal.zext(SrcBitSize) == OpVal)

Completed in 175 milliseconds