Searched refs:DestWidth (Results 1 – 6 of 6) sorted by relevance
1701 unsigned DestWidth = DestTy->getPrimitiveSizeInBits(); in OptimizeIntToFloatBitCast() local1703 if (VecTy->getPrimitiveSizeInBits() % DestWidth == 0) { in OptimizeIntToFloatBitCast()1708 VecTy->getPrimitiveSizeInBits() / DestWidth); in OptimizeIntToFloatBitCast()1714 Elt = VecTy->getPrimitiveSizeInBits() / DestWidth - 1; in OptimizeIntToFloatBitCast()1725 unsigned DestWidth = DestTy->getPrimitiveSizeInBits(); in OptimizeIntToFloatBitCast() local1726 if (VecTy->getPrimitiveSizeInBits() % DestWidth == 0 && in OptimizeIntToFloatBitCast()1727 ShAmt->getZExtValue() % DestWidth == 0) { in OptimizeIntToFloatBitCast()1732 VecTy->getPrimitiveSizeInBits() / DestWidth); in OptimizeIntToFloatBitCast()1736 unsigned Elt = ShAmt->getZExtValue() / DestWidth; in OptimizeIntToFloatBitCast()1738 Elt = VecTy->getPrimitiveSizeInBits() / DestWidth - 1 - Elt; in OptimizeIntToFloatBitCast()
969 unsigned DestWidth = DL.getTypeSizeInBits(AllocaType); in ConvertScalar_InsertValue() local986 SrcWidth = DestWidth; in ConvertScalar_InsertValue()1006 APInt Mask(APInt::getLowBitsSet(DestWidth, SrcWidth)); in ConvertScalar_InsertValue()1007 if (ShAmt > 0 && (unsigned)ShAmt < DestWidth) { in ConvertScalar_InsertValue()1010 } else if (ShAmt < 0 && (unsigned)-ShAmt < DestWidth) { in ConvertScalar_InsertValue()1017 if (SrcWidth != DestWidth) { in ConvertScalar_InsertValue()1018 assert(DestWidth > SrcWidth); in ConvertScalar_InsertValue()
3094 unsigned DestWidth = 0; in handleModeAttr() local3100 case 'Q': DestWidth = 8; break; in handleModeAttr()3101 case 'H': DestWidth = 16; break; in handleModeAttr()3102 case 'S': DestWidth = 32; break; in handleModeAttr()3103 case 'D': DestWidth = 64; break; in handleModeAttr()3104 case 'X': DestWidth = 96; break; in handleModeAttr()3105 case 'T': DestWidth = 128; break; in handleModeAttr()3113 DestWidth = 0; in handleModeAttr()3120 DestWidth = S.Context.getTargetInfo().getPointerWidth(0); in handleModeAttr()3122 DestWidth = S.Context.getTargetInfo().getCharWidth(); in handleModeAttr()[all …]
513 QualType getIntTypeForBitwidth(unsigned DestWidth,518 QualType getRealTypeForBitwidth(unsigned DestWidth) const;
1504 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast() local1508 Result = APSInt(DestWidth, !DestSigned); in HandleFloatToIntCast()1531 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast() local1535 Result = Result.extOrTrunc(DestWidth); in HandleIntToIntCast()8944 unsigned DestWidth = Ctx.getIntWidth(E->getType()); in CheckICE() local8946 APSInt IgnoredVal(DestWidth, !DestSigned); in CheckICE()
8141 QualType ASTContext::getIntTypeForBitwidth(unsigned DestWidth, in getIntTypeForBitwidth() argument8143 TargetInfo::IntType Ty = getTargetInfo().getIntTypeByWidth(DestWidth, Signed); in getIntTypeForBitwidth()8145 if (!QualTy && DestWidth == 128) in getIntTypeForBitwidth()8153 QualType ASTContext::getRealTypeForBitwidth(unsigned DestWidth) const { in getRealTypeForBitwidth()8154 TargetInfo::RealType Ty = getTargetInfo().getRealTypeByWidth(DestWidth); in getRealTypeForBitwidth()