Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp174 bool InstCombiner::shouldChangeType(unsigned FromWidth, in shouldChangeType() argument
176 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()
181 if (ToWidth < FromWidth && (ToWidth == 8 || ToWidth == 16 || ToWidth == 32)) in shouldChangeType()
191 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in shouldChangeType()
208 unsigned FromWidth = From->getPrimitiveSizeInBits(); in shouldChangeType() local
210 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType()