Searched refs:DestWidth (Results 1 – 6 of 6) sorted by relevance
3293 static void parseModeAttrArg(Sema &S, StringRef Str, unsigned &DestWidth, in parseModeAttrArg() argument3299 DestWidth = 8; in parseModeAttrArg()3302 DestWidth = 16; in parseModeAttrArg()3305 DestWidth = 32; in parseModeAttrArg()3308 DestWidth = 64; in parseModeAttrArg()3311 DestWidth = 96; in parseModeAttrArg()3314 DestWidth = 128; in parseModeAttrArg()3323 DestWidth = 0; in parseModeAttrArg()3330 DestWidth = S.Context.getTargetInfo().getPointerWidth(0); in parseModeAttrArg()3332 DestWidth = S.Context.getTargetInfo().getCharWidth(); in parseModeAttrArg()[all …]
970 unsigned DestWidth = DL.getTypeSizeInBits(AllocaType); in ConvertScalar_InsertValue() local987 SrcWidth = DestWidth; in ConvertScalar_InsertValue()1007 APInt Mask(APInt::getLowBitsSet(DestWidth, SrcWidth)); in ConvertScalar_InsertValue()1008 if (ShAmt > 0 && (unsigned)ShAmt < DestWidth) { in ConvertScalar_InsertValue()1011 } else if (ShAmt < 0 && (unsigned)-ShAmt < DestWidth) { in ConvertScalar_InsertValue()1018 if (SrcWidth != DestWidth) { in ConvertScalar_InsertValue()1019 assert(DestWidth > SrcWidth); in ConvertScalar_InsertValue()
456 unsigned DestWidth = DestType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() local459 if ((VecWidth % DestWidth != 0) || (ShiftAmount % DestWidth != 0)) in foldVecTruncToExtElt()464 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt()470 unsigned Elt = ShiftAmount / DestWidth; in foldVecTruncToExtElt()
585 QualType getIntTypeForBitwidth(unsigned DestWidth,590 QualType getRealTypeForBitwidth(unsigned DestWidth) const;
1584 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast() local1588 Result = APSInt(DestWidth, !DestSigned); in HandleFloatToIntCast()1611 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast() local1615 Result = Result.extOrTrunc(DestWidth); in HandleIntToIntCast()9319 unsigned DestWidth = Ctx.getIntWidth(E->getType()); in CheckICE() local9321 APSInt IgnoredVal(DestWidth, !DestSigned); in CheckICE()
8544 QualType ASTContext::getIntTypeForBitwidth(unsigned DestWidth, in getIntTypeForBitwidth() argument8546 TargetInfo::IntType Ty = getTargetInfo().getIntTypeByWidth(DestWidth, Signed); in getIntTypeForBitwidth()8548 if (!QualTy && DestWidth == 128) in getIntTypeForBitwidth()8556 QualType ASTContext::getRealTypeForBitwidth(unsigned DestWidth) const { in getRealTypeForBitwidth()8557 TargetInfo::RealType Ty = getTargetInfo().getRealTypeByWidth(DestWidth); in getRealTypeForBitwidth()