Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp153 bool InstCombiner::shouldChangeType(unsigned FromWidth, in shouldChangeType() argument
155 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()
160 if (ToWidth < FromWidth && (ToWidth == 8 || ToWidth == 16 || ToWidth == 32)) in shouldChangeType()
170 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in shouldChangeType()
184 unsigned FromWidth = From->getPrimitiveSizeInBits(); in shouldChangeType() local
186 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp93 bool InstCombiner::ShouldChangeType(unsigned FromWidth, in ShouldChangeType() argument
95 bool FromLegal = DL.isLegalInteger(FromWidth); in ShouldChangeType()
105 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in ShouldChangeType()
117 unsigned FromWidth = From->getPrimitiveSizeInBits(); in ShouldChangeType() local
119 return ShouldChangeType(FromWidth, ToWidth); in ShouldChangeType()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstructionCombining.cpp94 unsigned FromWidth = From->getPrimitiveSizeInBits(); in ShouldChangeType() local
96 bool FromLegal = TD->isLegalInteger(FromWidth); in ShouldChangeType()
106 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in ShouldChangeType()
/external/clang/lib/Sema/
DSemaOverload.cpp391 const unsigned FromWidth = Ctx.getIntWidth(FromType); in getNarrowingKind() local
395 if (FromWidth > ToWidth || in getNarrowingKind()
396 (FromWidth == ToWidth && FromSigned != ToSigned) || in getNarrowingKind()
406 if (FromWidth < ToWidth) { in getNarrowingKind()