Searched refs:FromWidth (Results 1 – 4 of 4) sorted by relevance
239 bool InstCombinerImpl::shouldChangeType(unsigned FromWidth, in shouldChangeType() argument241 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()246 if (ToWidth < FromWidth && isDesirableIntType(ToWidth)) in shouldChangeType()251 if ((FromLegal || isDesirableIntType(FromWidth)) && !ToLegal) in shouldChangeType()256 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in shouldChangeType()273 unsigned FromWidth = From->getPrimitiveSizeInBits(); in shouldChangeType() local275 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()
499 const unsigned FromWidth = Ctx.getIntWidth(FromType); in getNarrowingKind() local503 if (FromWidth > ToWidth || in getNarrowingKind()504 (FromWidth == ToWidth && FromSigned != ToSigned) || in getNarrowingKind()520 if (FromWidth < ToWidth) { in getNarrowingKind()