Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp826 APInt BitMask2(APInt::getAllOnesValue(BitWidth)); in SimplifyShrShlDemandedBits() local
833 BitMask2 <<= (ShlAmt - ShrAmt); in SimplifyShrShlDemandedBits()
835 BitMask2 = isLshr ? BitMask2.lshr(ShrAmt - ShlAmt): in SimplifyShrShlDemandedBits()
836 BitMask2.ashr(ShrAmt - ShlAmt); in SimplifyShrShlDemandedBits()
840 if ((BitMask1 & DemandedMask) == (BitMask2 & DemandedMask)) { in SimplifyShrShlDemandedBits()