Searched refs:FromWidth (Results 1 – 4 of 4) sorted by relevance
234 bool InstCombinerImpl::shouldChangeType(unsigned FromWidth, in shouldChangeType() argument236 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()241 if (ToWidth < FromWidth && isDesirableIntType(ToWidth)) in shouldChangeType()246 if ((FromLegal || isDesirableIntType(FromWidth)) && !ToLegal) in shouldChangeType()251 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in shouldChangeType()268 unsigned FromWidth = From->getPrimitiveSizeInBits(); in shouldChangeType() local270 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType()
2204 unsigned FromWidth = VecTy->getScalarSizeInBits(); in splitVectorElements() local2205 assert(isPowerOf2_32(ToWidth) && isPowerOf2_32(FromWidth)); in splitVectorElements()2206 assert(ToWidth <= FromWidth && "Breaking up into wider elements?"); in splitVectorElements()2207 unsigned NumResults = FromWidth / ToWidth; in splitVectorElements()
316 uint64_t FromWidth) { in castAPSInt() argument
430 const unsigned FromWidth = Ctx.getIntWidth(FromType); in getNarrowingKind() local434 if (FromWidth > ToWidth || in getNarrowingKind()435 (FromWidth == ToWidth && FromSigned != ToSigned) || in getNarrowingKind()451 if (FromWidth < ToWidth) { in getNarrowingKind()