Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp6951 SDValue LHSShift; // The shift. in MatchRotate() local
6953 matchRotateHalf(DAG, LHS, LHSShift, LHSMask); in MatchRotate()
6960 if (!LHSShift && !RHSShift) in MatchRotate()
6972 if (LHSShift) in MatchRotate()
6974 extractShiftForRotate(DAG, LHSShift, RHS, RHSMask, DL)) in MatchRotate()
6980 LHSShift = NewLHSShift; in MatchRotate()
6983 if (!RHSShift || !LHSShift) in MatchRotate()
6988 if (LHSShift.getOpcode() == RHSShift.getOpcode()) in MatchRotate()
6998 std::swap(LHSShift, RHSShift); in MatchRotate()
7003 SDValue LHSShiftArg = LHSShift.getOperand(0); in MatchRotate()
[all …]
H A DTargetLowering.cpp8298 unsigned LHSShift = std::min(LHSLead, Scale); in expandFixedPointDiv() local
8299 unsigned RHSShift = Scale - LHSShift; in expandFixedPointDiv()
8306 if (LHSShift) in expandFixedPointDiv()
8308 DAG.getConstant(LHSShift, dl, ShiftTy)); in expandFixedPointDiv()