Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp94 unsigned ToWidth) const { in ShouldChangeType()
96 bool ToLegal = DL.isLegalInteger(ToWidth); in ShouldChangeType()
105 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in ShouldChangeType()
118 unsigned ToWidth = To->getPrimitiveSizeInBits(); in ShouldChangeType() local
119 return ShouldChangeType(FromWidth, ToWidth); in ShouldChangeType()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstructionCombining.cpp95 unsigned ToWidth = To->getPrimitiveSizeInBits(); in ShouldChangeType() local
97 bool ToLegal = TD->isLegalInteger(ToWidth); in ShouldChangeType()
106 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in ShouldChangeType()
/external/clang/lib/Sema/
DSemaOverload.cpp393 const unsigned ToWidth = Ctx.getIntWidth(ToType); in getNarrowingKind() local
395 if (FromWidth > ToWidth || in getNarrowingKind()
396 (FromWidth == ToWidth && FromSigned != ToSigned) || in getNarrowingKind()
406 if (FromWidth < ToWidth) { in getNarrowingKind()
418 ConvertedValue = ConvertedValue.trunc(ToWidth); in getNarrowingKind()