Searched refs:FromWidth (Results 1 – 4 of 4) sorted by relevance
153 bool InstCombiner::shouldChangeType(unsigned FromWidth, in shouldChangeType() argument155 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()160 if (ToWidth < FromWidth && (ToWidth == 8 || ToWidth == 16 || ToWidth == 32)) in shouldChangeType()170 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in shouldChangeType()184 unsigned FromWidth = From->getPrimitiveSizeInBits(); in shouldChangeType() local186 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType()
93 bool InstCombiner::ShouldChangeType(unsigned FromWidth, in ShouldChangeType() argument95 bool FromLegal = DL.isLegalInteger(FromWidth); in ShouldChangeType()105 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in ShouldChangeType()117 unsigned FromWidth = From->getPrimitiveSizeInBits(); in ShouldChangeType() local119 return ShouldChangeType(FromWidth, ToWidth); in ShouldChangeType()
94 unsigned FromWidth = From->getPrimitiveSizeInBits(); in ShouldChangeType() local96 bool FromLegal = TD->isLegalInteger(FromWidth); in ShouldChangeType()106 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in ShouldChangeType()
391 const unsigned FromWidth = Ctx.getIntWidth(FromType); in getNarrowingKind() local395 if (FromWidth > ToWidth || in getNarrowingKind()396 (FromWidth == ToWidth && FromSigned != ToSigned) || in getNarrowingKind()406 if (FromWidth < ToWidth) { in getNarrowingKind()