Home | History | Annotate | Download | only in InstCombine

Lines Matching defs:Shr

600           Instruction *Shr = cast<Instruction>(I->getOperand(0));
601 Value *R = SimplifyShrShlDemandedBits(Shr, I, DemandedMask,
657 // always convert this into a logical shr, even if the shift amount is
845 Value *InstCombiner::SimplifyShrShlDemandedBits(Instruction *Shr,
849 unsigned ShrAmt = cast<ConstantInt>(Shr->getOperand(1))->getZExtValue();
858 Value *VarX = Shr->getOperand(0);
864 bool isLshr = (Shr->getOpcode() == Instruction::LShr);
880 if (!Shr->hasOneUse())
894 if (cast<BinaryOperator>(Shr)->isExact())