Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp838 const APInt &ShrOp1 = cast<ConstantInt>(Shr->getOperand(1))->getValue(); in SimplifyShrShlDemandedBits() local
839 if (!ShlOp1 || !ShrOp1) in SimplifyShrShlDemandedBits()
845 if (ShlOp1.uge(BitWidth) || ShrOp1.uge(BitWidth)) in SimplifyShrShlDemandedBits()
849 unsigned ShrAmt = ShrOp1.getZExtValue(); in SimplifyShrShlDemandedBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp860 InstCombiner::simplifyShrShlDemandedBits(Instruction *Shr, const APInt &ShrOp1, in simplifyShrShlDemandedBits() argument
864 if (!ShlOp1 || !ShrOp1) in simplifyShrShlDemandedBits()
870 if (ShlOp1.uge(BitWidth) || ShrOp1.uge(BitWidth)) in simplifyShrShlDemandedBits()
874 unsigned ShrAmt = ShrOp1.getZExtValue(); in simplifyShrShlDemandedBits()
DInstCombineInternal.h757 Instruction *Shr, const APInt &ShrOp1, Instruction *Shl,