Searched refs:FromWidth (Results 1 – 3 of 3) sorted by relevance
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()