Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp7529 SDValue LHSShift; // The shift. in MatchRotate() local
7531 matchRotateHalf(DAG, LHS, LHSShift, LHSMask); in MatchRotate()
7538 if (!LHSShift && !RHSShift) in MatchRotate()
7550 if (LHSShift) in MatchRotate()
7552 extractShiftForRotate(DAG, LHSShift, RHS, RHSMask, DL)) in MatchRotate()
7558 LHSShift = NewLHSShift; in MatchRotate()
7561 if (!RHSShift || !LHSShift) in MatchRotate()
7566 if (LHSShift.getOpcode() == RHSShift.getOpcode()) in MatchRotate()
7572 std::swap(LHSShift, RHSShift); in MatchRotate()
7581 SDValue LHSShiftArg = LHSShift.getOperand(0); in MatchRotate()
[all …]
H A DTargetLowering.cpp9157 unsigned LHSShift = std::min(LHSLead, Scale); in expandFixedPointDiv() local
9158 unsigned RHSShift = Scale - LHSShift; in expandFixedPointDiv()
9165 if (LHSShift) in expandFixedPointDiv()
9167 DAG.getConstant(LHSShift, dl, ShiftTy)); in expandFixedPointDiv()