Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp8427 SDValue LHSShift; // The shift. in MatchRotate() local
8429 matchRotateHalf(DAG, LHS, LHSShift, LHSMask); in MatchRotate()
8436 if (!LHSShift && !RHSShift) in MatchRotate()
8448 if (LHSShift) in MatchRotate()
8450 extractShiftForRotate(DAG, LHSShift, RHS, RHSMask, DL)) in MatchRotate()
8456 LHSShift = NewLHSShift; in MatchRotate()
8459 if (!RHSShift || !LHSShift) in MatchRotate()
8464 if (LHSShift.getOpcode() == RHSShift.getOpcode()) in MatchRotate()
8470 std::swap(LHSShift, RHSShift); in MatchRotate()
8479 SDValue LHSShiftArg = LHSShift.getOperand(0); in MatchRotate()
[all …]
H A DTargetLowering.cpp10328 unsigned LHSShift = std::min(LHSLead, Scale); in expandFixedPointDiv() local
10329 unsigned RHSShift = Scale - LHSShift; in expandFixedPointDiv()
10336 if (LHSShift) in expandFixedPointDiv()
10338 DAG.getConstant(LHSShift, dl, ShiftTy)); in expandFixedPointDiv()