Searched refs:DstBitSize (Results 1 – 4 of 4) sorted by relevance
1557 unsigned DstBitSize; in executeBitCastInst() local1576 DstBitSize = DstTy->getScalarSizeInBits(); in executeBitCastInst()1577 DstNum = (SrcNum * SrcBitSize) / DstBitSize; in executeBitCastInst()1580 DstBitSize = DstTy->getPrimitiveSizeInBits(); in executeBitCastInst()1584 if (SrcNum * SrcBitSize != DstNum * DstBitSize) in executeBitCastInst()1614 Elt.IntVal = Elt.IntVal.zext(DstBitSize); in executeBitCastInst()1620 Tmp = Tmp.zext(DstBitSize); in executeBitCastInst()1631 unsigned ShiftAmt = isLittleEndian ? 0 : DstBitSize * (Ratio - 1); in executeBitCastInst()1638 if (DstBitSize < SrcBitSize) in executeBitCastInst()1639 Elt.IntVal = Elt.IntVal.trunc(DstBitSize); in executeBitCastInst()[all …]
242 unsigned DstBitSize = DL.getTypeSizeInBits(DstEltTy); in FoldBitCast() local261 unsigned ShiftAmt = isLittleEndian ? 0 : DstBitSize*(Ratio-1); in FoldBitCast()267 ShiftAmt += isLittleEndian ? DstBitSize : -DstBitSize; in FoldBitCast()272 IntegerType *DstIntTy = Type::getIntNTy(C->getContext(), DstBitSize); in FoldBitCast()
3190 unsigned DstBitSize = DstTy->getScalarSizeInBits(); in castIsValid() local3205 SrcLength == DstLength && SrcBitSize > DstBitSize; in castIsValid()3208 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()3211 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()3214 SrcLength == DstLength && SrcBitSize > DstBitSize; in castIsValid()3217 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
11402 unsigned DstBitSize = DstEltVT.getSizeInBits(); in ConstantFoldBITCASTofBUILD_VECTOR() local11406 if (SrcBitSize == DstBitSize) { in ConstantFoldBITCASTofBUILD_VECTOR()11447 if (SrcBitSize < DstBitSize) { in ConstantFoldBITCASTofBUILD_VECTOR()11448 unsigned NumInputsPerOutput = DstBitSize/SrcBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()11454 APInt NewBits = APInt(DstBitSize, 0); in ConstantFoldBITCASTofBUILD_VECTOR()11464 zextOrTrunc(SrcBitSize).zext(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()11479 unsigned NumOutputsPerInput = SrcBitSize/DstBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()11494 APInt ThisVal = OpVal.trunc(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()11496 OpVal.lshrInPlace(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()