Home
last modified time | relevance | path

Searched refs:FromWidth (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp263 bool InstCombinerImpl::shouldChangeType(unsigned FromWidth, in shouldChangeType() argument
265 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()
270 if (ToWidth < FromWidth && isDesirableIntType(ToWidth)) in shouldChangeType()
275 if ((FromLegal || isDesirableIntType(FromWidth)) && !ToLegal) in shouldChangeType()
280 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in shouldChangeType()
297 unsigned FromWidth = From->getPrimitiveSizeInBits(); in shouldChangeType() local
299 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp2644 unsigned FromWidth = VecTy->getScalarSizeInBits(); in splitVectorElements() local
2645 assert(isPowerOf2_32(ToWidth) && isPowerOf2_32(FromWidth)); in splitVectorElements()
2646 assert(ToWidth <= FromWidth && "Breaking up into wider elements?"); in splitVectorElements()
2647 unsigned NumResults = FromWidth / ToWidth; in splitVectorElements()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h318 uint64_t FromWidth) { in castAPSInt() argument
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp501 unsigned FromWidth = Ctx.getIntWidth(FromType); in getNarrowingKind() local
505 constexpr auto CanRepresentAll = [](bool FromSigned, unsigned FromWidth, in getNarrowingKind()
507 return (FromWidth < ToWidth + (FromSigned == ToSigned)) && in getNarrowingKind()
511 if (CanRepresentAll(FromSigned, FromWidth, ToSigned, ToWidth)) in getNarrowingKind()
522 BitFieldWidth < FromWidth) { in getNarrowingKind()
527 FromWidth = BitFieldWidth; in getNarrowingKind()
549 if (FromWidth < ToWidth) { in getNarrowingKind()