Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp462 unsigned InnerShAmt = InnerShiftConst->getZExtValue(); in canEvaluateShiftedShift() local
464 IsInnerShl ? TypeWidth - InnerShAmt : InnerShAmt - OuterShAmt; in canEvaluateShiftedShift()
541 unsigned InnerShAmt = C1->getZExtValue(); in foldShiftedShift() local
560 if (InnerShAmt + OuterShAmt >= TypeWidth) in foldShiftedShift()
563 return NewInnerShift(InnerShAmt + OuterShAmt); in foldShiftedShift()
569 if (InnerShAmt == OuterShAmt) { in foldShiftedShift()
582 assert(InnerShAmt > OuterShAmt && in foldShiftedShift()
589 return NewInnerShift(InnerShAmt - OuterShAmt); in foldShiftedShift()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp1503 unsigned InnerShAmt = SA2->getZExtValue(); in SimplifyDemandedBits() local
1504 if (InnerShAmt < ShAmt && InnerShAmt < InnerBits && in SimplifyDemandedBits()
1506 (InnerBits - InnerShAmt + ShAmt) && in SimplifyDemandedBits()
1509 TLO.DAG.getConstant(ShAmt - InnerShAmt, dl, ShiftVT); in SimplifyDemandedBits()