Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp856 APInt BitMask2(APInt::getAllOnesValue(BitWidth)); in SimplifyShrShlDemandedBits() local
863 BitMask2 <<= (ShlAmt - ShrAmt); in SimplifyShrShlDemandedBits()
865 BitMask2 = isLshr ? BitMask2.lshr(ShrAmt - ShlAmt): in SimplifyShrShlDemandedBits()
866 BitMask2.ashr(ShrAmt - ShlAmt); in SimplifyShrShlDemandedBits()
870 if ((BitMask1 & DemandedMask) == (BitMask2 & DemandedMask)) { in SimplifyShrShlDemandedBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp881 APInt BitMask2(APInt::getAllOnesValue(BitWidth)); in simplifyShrShlDemandedBits() local
888 BitMask2 <<= (ShlAmt - ShrAmt); in simplifyShrShlDemandedBits()
890 BitMask2 = isLshr ? BitMask2.lshr(ShrAmt - ShlAmt): in simplifyShrShlDemandedBits()
891 BitMask2.ashr(ShrAmt - ShlAmt); in simplifyShrShlDemandedBits()
895 if ((BitMask1 & DemandedMask) == (BitMask2 & DemandedMask)) { in simplifyShrShlDemandedBits()