Searched refs:DstBitSize (Results 1 – 11 of 11) sorted by relevance
1504 unsigned DstBitSize; in executeBitCastInst() local1523 DstBitSize = DstTy->getScalarSizeInBits(); in executeBitCastInst()1524 DstNum = (SrcNum * SrcBitSize) / DstBitSize; in executeBitCastInst()1527 DstBitSize = DstTy->getPrimitiveSizeInBits(); in executeBitCastInst()1531 if (SrcNum * SrcBitSize != DstNum * DstBitSize) in executeBitCastInst()1561 Elt.IntVal = Elt.IntVal.zext(DstBitSize); in executeBitCastInst()1567 Tmp = Tmp.zext(DstBitSize); in executeBitCastInst()1578 unsigned ShiftAmt = isLittleEndian ? 0 : DstBitSize * (Ratio - 1); in executeBitCastInst()1585 if (DstBitSize < SrcBitSize) in executeBitCastInst()1586 Elt.IntVal = Elt.IntVal.trunc(DstBitSize); in executeBitCastInst()[all …]
1505 unsigned DstBitSize; in executeBitCastInst() local1524 DstBitSize = DstTy->getScalarSizeInBits(); in executeBitCastInst()1525 DstNum = (SrcNum * SrcBitSize) / DstBitSize; in executeBitCastInst()1528 DstBitSize = DstTy->getPrimitiveSizeInBits(); in executeBitCastInst()1532 if (SrcNum * SrcBitSize != DstNum * DstBitSize) in executeBitCastInst()1562 Elt.IntVal = Elt.IntVal.zext(DstBitSize); in executeBitCastInst()1568 Tmp = Tmp.zext(DstBitSize); in executeBitCastInst()1579 unsigned ShiftAmt = isLittleEndian ? 0 : DstBitSize * (Ratio - 1); in executeBitCastInst()1586 if (DstBitSize < SrcBitSize) in executeBitCastInst()1587 Elt.IntVal = Elt.IntVal.trunc(DstBitSize); in executeBitCastInst()[all …]
154 unsigned DstBitSize = DstEltTy->getPrimitiveSizeInBits(); in FoldBitCast() local162 unsigned ShiftAmt = isLittleEndian ? 0 : DstBitSize*(Ratio-1); in FoldBitCast()168 ShiftAmt += isLittleEndian ? DstBitSize : -DstBitSize; in FoldBitCast()
205 unsigned DstBitSize = DL.getTypeSizeInBits(DstEltTy); in FoldBitCast() local213 unsigned ShiftAmt = isLittleEndian ? 0 : DstBitSize*(Ratio-1); in FoldBitCast()219 ShiftAmt += isLittleEndian ? DstBitSize : -DstBitSize; in FoldBitCast()224 IntegerType *DstIntTy = Type::getIntNTy(C->getContext(), DstBitSize); in FoldBitCast()
237 unsigned DstBitSize = DL.getTypeSizeInBits(DstEltTy); in FoldBitCast() local256 unsigned ShiftAmt = isLittleEndian ? 0 : DstBitSize*(Ratio-1); in FoldBitCast()262 ShiftAmt += isLittleEndian ? DstBitSize : -DstBitSize; in FoldBitCast()267 IntegerType *DstIntTy = Type::getIntNTy(C->getContext(), DstBitSize); in FoldBitCast()
2611 unsigned DstBitSize = DstTy->getScalarSizeInBits(); in castIsValid() local2626 SrcLength == DstLength && SrcBitSize > DstBitSize; in castIsValid()2629 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()2632 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()2635 SrcLength == DstLength && SrcBitSize > DstBitSize; in castIsValid()2638 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
2912 unsigned DstBitSize = DstTy->getScalarSizeInBits(); in castIsValid() local2927 SrcLength == DstLength && SrcBitSize > DstBitSize; in castIsValid()2930 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()2933 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()2936 SrcLength == DstLength && SrcBitSize > DstBitSize; in castIsValid()2939 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
3095 unsigned DstBitSize = DstTy->getScalarSizeInBits(); in castIsValid() local3110 SrcLength == DstLength && SrcBitSize > DstBitSize; in castIsValid()3113 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()3116 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()3119 SrcLength == DstLength && SrcBitSize > DstBitSize; in castIsValid()3122 SrcLength == DstLength && SrcBitSize < DstBitSize; in castIsValid()
5106 unsigned DstBitSize = DstEltVT.getSizeInBits(); in ConstantFoldBITCASTofBUILD_VECTOR() local5110 if (SrcBitSize == DstBitSize) { in ConstantFoldBITCASTofBUILD_VECTOR()5162 if (SrcBitSize < DstBitSize) { in ConstantFoldBITCASTofBUILD_VECTOR()5163 unsigned NumInputsPerOutput = DstBitSize/SrcBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()5169 APInt NewBits = APInt(DstBitSize, 0); in ConstantFoldBITCASTofBUILD_VECTOR()5179 zextOrTrunc(SrcBitSize).zext(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()5196 unsigned NumOutputsPerInput = SrcBitSize/DstBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()5212 APInt ThisVal = OpVal.trunc(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()5218 OpVal = OpVal.lshr(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
7648 unsigned DstBitSize = DstEltVT.getSizeInBits(); in ConstantFoldBITCASTofBUILD_VECTOR() local7652 if (SrcBitSize == DstBitSize) { in ConstantFoldBITCASTofBUILD_VECTOR()7700 if (SrcBitSize < DstBitSize) { in ConstantFoldBITCASTofBUILD_VECTOR()7701 unsigned NumInputsPerOutput = DstBitSize/SrcBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()7707 APInt NewBits = APInt(DstBitSize, 0); in ConstantFoldBITCASTofBUILD_VECTOR()7717 zextOrTrunc(SrcBitSize).zext(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()7732 unsigned NumOutputsPerInput = SrcBitSize/DstBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()7747 APInt ThisVal = OpVal.trunc(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()7749 OpVal = OpVal.lshr(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
9998 unsigned DstBitSize = DstEltVT.getSizeInBits(); in ConstantFoldBITCASTofBUILD_VECTOR() local10002 if (SrcBitSize == DstBitSize) { in ConstantFoldBITCASTofBUILD_VECTOR()10050 if (SrcBitSize < DstBitSize) { in ConstantFoldBITCASTofBUILD_VECTOR()10051 unsigned NumInputsPerOutput = DstBitSize/SrcBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()10057 APInt NewBits = APInt(DstBitSize, 0); in ConstantFoldBITCASTofBUILD_VECTOR()10067 zextOrTrunc(SrcBitSize).zext(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()10082 unsigned NumOutputsPerInput = SrcBitSize/DstBitSize; in ConstantFoldBITCASTofBUILD_VECTOR()10097 APInt ThisVal = OpVal.trunc(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()10099 OpVal.lshrInPlace(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()