Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp231 bool InstCombinerImpl::shouldChangeType(unsigned FromWidth, in shouldChangeType() argument
233 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()
238 if (ToWidth < FromWidth && isDesirableIntType(ToWidth)) in shouldChangeType()
248 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in shouldChangeType()
265 unsigned FromWidth = From->getPrimitiveSizeInBits(); in shouldChangeType() local
267 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h316 uint64_t FromWidth) { in castAPSInt() argument
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaOverload.cpp426 const unsigned FromWidth = Ctx.getIntWidth(FromType); in getNarrowingKind() local
430 if (FromWidth > ToWidth || in getNarrowingKind()
431 (FromWidth == ToWidth && FromSigned != ToSigned) || in getNarrowingKind()
447 if (FromWidth < ToWidth) { in getNarrowingKind()