Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp551 APInt KnownZeroMask(~KnownZero); in transformZExtICmp() local
552 if (KnownZeroMask.isPowerOf2()) { // Exactly 1 possible 1? in transformZExtICmp()
556 if (Op1CV != 0 && (Op1CV != KnownZeroMask)) { in transformZExtICmp()
565 uint32_t ShiftAmt = KnownZeroMask.logBase2(); in transformZExtICmp()
921 APInt KnownZeroMask(~KnownZero); in transformSExtICmp() local
922 if (KnownZeroMask.isPowerOf2()) { in transformSExtICmp()
926 if (!Op1C->isZero() && Op1C->getValue() != KnownZeroMask) { in transformSExtICmp()
936 unsigned ShiftAmt = KnownZeroMask.countTrailingZeros(); in transformSExtICmp()
950 unsigned ShiftAmt = KnownZeroMask.countLeadingZeros(); in transformSExtICmp()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp628 APInt KnownZeroMask(~KnownZero); in transformZExtICmp() local
629 if (KnownZeroMask.isPowerOf2()) { // Exactly 1 possible 1? in transformZExtICmp()
633 if (Op1CV != 0 && (Op1CV != KnownZeroMask)) { in transformZExtICmp()
642 uint32_t ShAmt = KnownZeroMask.logBase2(); in transformZExtICmp()
1003 APInt KnownZeroMask(~KnownZero); in transformSExtICmp() local
1004 if (KnownZeroMask.isPowerOf2()) { in transformSExtICmp()
1008 if (!Op1C->isZero() && Op1C->getValue() != KnownZeroMask) { in transformSExtICmp()
1018 unsigned ShiftAmt = KnownZeroMask.countTrailingZeros(); in transformSExtICmp()
1032 unsigned ShiftAmt = KnownZeroMask.countLeadingZeros(); in transformSExtICmp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp852 APInt KnownZeroMask(~Known.Zero); in transformZExtICmp() local
853 if (KnownZeroMask.isPowerOf2()) { // Exactly 1 possible 1? in transformZExtICmp()
857 if (!Op1CV->isNullValue() && (*Op1CV != KnownZeroMask)) { in transformZExtICmp()
864 uint32_t ShAmt = KnownZeroMask.logBase2(); in transformZExtICmp()
1221 APInt KnownZeroMask(~Known.Zero); in transformSExtICmp() local
1222 if (KnownZeroMask.isPowerOf2()) { in transformSExtICmp()
1226 if (!Op1C->isZero() && Op1C->getValue() != KnownZeroMask) { in transformSExtICmp()
1236 unsigned ShiftAmt = KnownZeroMask.countTrailingZeros(); in transformSExtICmp()
1250 unsigned ShiftAmt = KnownZeroMask.countLeadingZeros(); in transformSExtICmp()
1258 KnownZeroMask.getBitWidth() - 1), "sext"); in transformSExtICmp()