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.cpp239 bool InstCombinerImpl::shouldChangeType(unsigned FromWidth, in shouldChangeType() argument
241 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() local
275 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h316 uint64_t FromWidth) { in castAPSInt() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp2643 unsigned FromWidth = VecTy->getScalarSizeInBits(); in splitVectorElements() local
2644 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()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp499 const unsigned FromWidth = Ctx.getIntWidth(FromType); in getNarrowingKind() local
503 if (FromWidth > ToWidth || in getNarrowingKind()
504 (FromWidth == ToWidth && FromSigned != ToSigned) || in getNarrowingKind()
520 if (FromWidth < ToWidth) { in getNarrowingKind()