Searched refs:ToWidth (Results 1 – 4 of 4) sorted by relevance
154 unsigned ToWidth) const { in shouldChangeType()156 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()160 if (ToWidth < FromWidth && (ToWidth == 8 || ToWidth == 16 || ToWidth == 32)) in shouldChangeType()170 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in shouldChangeType()185 unsigned ToWidth = To->getPrimitiveSizeInBits(); in shouldChangeType() local186 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType()
94 unsigned ToWidth) const { in ShouldChangeType()96 bool ToLegal = DL.isLegalInteger(ToWidth); in ShouldChangeType()105 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in ShouldChangeType()118 unsigned ToWidth = To->getPrimitiveSizeInBits(); in ShouldChangeType() local119 return ShouldChangeType(FromWidth, ToWidth); in ShouldChangeType()
95 unsigned ToWidth = To->getPrimitiveSizeInBits(); in ShouldChangeType() local97 bool ToLegal = TD->isLegalInteger(ToWidth); in ShouldChangeType()106 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in ShouldChangeType()
393 const unsigned ToWidth = Ctx.getIntWidth(ToType); in getNarrowingKind() local395 if (FromWidth > ToWidth || in getNarrowingKind()396 (FromWidth == ToWidth && FromSigned != ToSigned) || in getNarrowingKind()406 if (FromWidth < ToWidth) { in getNarrowingKind()418 ConvertedValue = ConvertedValue.trunc(ToWidth); in getNarrowingKind()