Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp234 bool InstCombinerImpl::shouldChangeType(unsigned FromWidth, in shouldChangeType() argument
236 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() local
270 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp2204 unsigned FromWidth = VecTy->getScalarSizeInBits(); in splitVectorElements() local
2205 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()
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h316 uint64_t FromWidth) { in castAPSInt() argument
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaOverload.cpp430 const unsigned FromWidth = Ctx.getIntWidth(FromType); in getNarrowingKind() local
434 if (FromWidth > ToWidth || in getNarrowingKind()
435 (FromWidth == ToWidth && FromSigned != ToSigned) || in getNarrowingKind()
451 if (FromWidth < ToWidth) { in getNarrowingKind()