Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp101 unsigned InnerShAmt = InnerShiftConst->getZExtValue(); in canEvaluateShiftedShift() local
103 IsInnerShl ? TypeWidth - InnerShAmt : InnerShAmt - OuterShAmt; in canEvaluateShiftedShift()
205 unsigned InnerShAmt = C1->getZExtValue(); in foldShiftedShift() local
224 if (InnerShAmt + OuterShAmt >= TypeWidth) in foldShiftedShift()
227 return NewInnerShift(InnerShAmt + OuterShAmt); in foldShiftedShift()
233 if (InnerShAmt == OuterShAmt) { in foldShiftedShift()
246 assert(InnerShAmt > OuterShAmt && in foldShiftedShift()
253 return NewInnerShift(InnerShAmt - OuterShAmt); in foldShiftedShift()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp722 uint64_t InnerShAmt = cast<ConstantSDNode>(InnerOp.getOperand(1)) in SimplifyDemandedBits() local
724 if (InnerShAmt < ShAmt && in SimplifyDemandedBits()
725 InnerShAmt < InnerBits && in SimplifyDemandedBits()
726 NewMask.lshr(InnerBits - InnerShAmt + ShAmt) == 0 && in SimplifyDemandedBits()
729 TLO.DAG.getConstant(ShAmt - InnerShAmt, dl, in SimplifyDemandedBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp847 unsigned InnerShAmt = SA2->getLimitedValue(InnerBits); in SimplifyDemandedBits() local
848 if (InnerShAmt < ShAmt && in SimplifyDemandedBits()
849 InnerShAmt < InnerBits && in SimplifyDemandedBits()
850 NewMask.getActiveBits() <= (InnerBits - InnerShAmt + ShAmt) && in SimplifyDemandedBits()
853 TLO.DAG.getConstant(ShAmt - InnerShAmt, dl, in SimplifyDemandedBits()