Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp960 APInt KnownZeroMask(~Known.Zero); in transformZExtICmp() local
961 uint32_t ShAmt = KnownZeroMask.logBase2(); in transformZExtICmp()
962 bool IsExpectShAmt = KnownZeroMask.isPowerOf2() && in transformZExtICmp()
1323 APInt KnownZeroMask(~Known.Zero); in transformSExtICmp() local
1324 if (KnownZeroMask.isPowerOf2()) { in transformSExtICmp()
1328 if (!Op1C->isZero() && Op1C->getValue() != KnownZeroMask) { in transformSExtICmp()
1338 unsigned ShiftAmt = KnownZeroMask.countr_zero(); in transformSExtICmp()
1352 unsigned ShiftAmt = KnownZeroMask.countl_zero(); in transformSExtICmp()
1360 KnownZeroMask.getBitWidth() - 1), "sext"); in transformSExtICmp()