Searched refs:RHSShiftAmt (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 2928 SDValue RHSShiftAmt = RHSShift.getOperand(1); in MatchRotate() local 2933 RHSShiftAmt.getOpcode() == ISD::Constant) { in MatchRotate() 2935 uint64_t RShVal = cast<ConstantSDNode>(RHSShiftAmt)->getZExtValue(); in MatchRotate() 2943 Rot = DAG.getNode(ISD::ROTR, DL, VT, LHSShiftArg, RHSShiftAmt); in MatchRotate() 2971 if (RHSShiftAmt.getOpcode() == ISD::SUB && in MatchRotate() 2972 LHSShiftAmt == RHSShiftAmt.getOperand(1)) { in MatchRotate() 2974 dyn_cast<ConstantSDNode>(RHSShiftAmt.getOperand(0))) { in MatchRotate() 2981 LHSShiftArg, RHSShiftAmt).getNode(); in MatchRotate() 2989 RHSShiftAmt == LHSShiftAmt.getOperand(1)) { in MatchRotate() 2995 LHSShiftArg, RHSShiftAmt).getNode(); in MatchRotate() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 4057 SDValue RHSShiftAmt = RHSShift.getOperand(1); in MatchRotate() local 4061 if (isConstOrConstSplat(LHSShiftAmt) && isConstOrConstSplat(RHSShiftAmt)) { in MatchRotate() 4063 uint64_t RShVal = isConstOrConstSplat(RHSShiftAmt)->getZExtValue(); in MatchRotate() 4068 LHSShiftArg, HasROTL ? LHSShiftAmt : RHSShiftAmt); in MatchRotate() 4101 SDValue RExtOp0 = RHSShiftAmt; in MatchRotate() 4106 (RHSShiftAmt.getOpcode() == ISD::SIGN_EXTEND || in MatchRotate() 4107 RHSShiftAmt.getOpcode() == ISD::ZERO_EXTEND || in MatchRotate() 4108 RHSShiftAmt.getOpcode() == ISD::ANY_EXTEND || in MatchRotate() 4109 RHSShiftAmt.getOpcode() == ISD::TRUNCATE)) { in MatchRotate() 4111 RExtOp0 = RHSShiftAmt.getOperand(0); in MatchRotate() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 5516 SDValue RHSShiftAmt = RHSShift.getOperand(1); in MatchRotate() local 5524 if (ISD::matchBinaryPredicate(LHSShiftAmt, RHSShiftAmt, MatchRotateSum)) { in MatchRotate() 5526 LHSShiftArg, HasROTL ? LHSShiftAmt : RHSShiftAmt); in MatchRotate() 5534 SDValue RHSBits = DAG.getNode(ISD::SRL, DL, VT, AllOnes, RHSShiftAmt); in MatchRotate() 5557 SDValue RExtOp0 = RHSShiftAmt; in MatchRotate() 5562 (RHSShiftAmt.getOpcode() == ISD::SIGN_EXTEND || in MatchRotate() 5563 RHSShiftAmt.getOpcode() == ISD::ZERO_EXTEND || in MatchRotate() 5564 RHSShiftAmt.getOpcode() == ISD::ANY_EXTEND || in MatchRotate() 5565 RHSShiftAmt.getOpcode() == ISD::TRUNCATE)) { in MatchRotate() 5567 RExtOp0 = RHSShiftAmt.getOperand(0); in MatchRotate() [all …]
|