Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp858 bool isLshr = (Shr->getOpcode() == Instruction::LShr); in SimplifyShrShlDemandedBits() local
859 BitMask1 = isLshr ? (BitMask1.lshr(ShrAmt) << ShlAmt) : in SimplifyShrShlDemandedBits()
865 BitMask2 = isLshr ? BitMask2.lshr(ShrAmt - ShlAmt): in SimplifyShrShlDemandedBits()
886 New = isLshr ? BinaryOperator::CreateLShr(VarX, Amt) : in SimplifyShrShlDemandedBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp883 bool isLshr = (Shr->getOpcode() == Instruction::LShr); in simplifyShrShlDemandedBits() local
884 BitMask1 = isLshr ? (BitMask1.lshr(ShrAmt) << ShlAmt) : in simplifyShrShlDemandedBits()
890 BitMask2 = isLshr ? BitMask2.lshr(ShrAmt - ShlAmt): in simplifyShrShlDemandedBits()
911 New = isLshr ? BinaryOperator::CreateLShr(VarX, Amt) : in simplifyShrShlDemandedBits()