Searched refs:FromWidth (Results 1 – 4 of 4) sorted by relevance
221 bool InstCombinerImpl::shouldChangeType(unsigned FromWidth, in shouldChangeType() argument223 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()228 if (ToWidth < FromWidth && isDesirableIntType(ToWidth)) in shouldChangeType()233 if ((FromLegal || isDesirableIntType(FromWidth)) && !ToLegal) in shouldChangeType()238 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in shouldChangeType()255 unsigned FromWidth = From->getPrimitiveSizeInBits(); in shouldChangeType() local257 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType()
316 uint64_t FromWidth) { in castAPSInt() argument
2643 unsigned FromWidth = VecTy->getScalarSizeInBits(); in splitVectorElements() local2644 assert(isPowerOf2_32(ToWidth) && isPowerOf2_32(FromWidth)); in splitVectorElements()2645 assert(ToWidth <= FromWidth && "Breaking up into wider elements?"); in splitVectorElements()2646 unsigned NumResults = FromWidth / ToWidth; in splitVectorElements()
444 const unsigned FromWidth = Ctx.getIntWidth(FromType); in getNarrowingKind() local448 if (FromWidth > ToWidth || in getNarrowingKind()449 (FromWidth == ToWidth && FromSigned != ToSigned) || in getNarrowingKind()465 if (FromWidth < ToWidth) { in getNarrowingKind()