Lines Matching defs:RHSC
1429 if (ConstantSDNode *RHSC = isConstOrConstSplat(Op1, DemandedElts)) {
1432 // If the LHS already has zeros where RHSC does, this 'and' is dead.
1434 (~RHSC->getAPIntValue() & DemandedBits))
1449 LHSKnown.One == ~RHSC->getAPIntValue()) {
5360 if (auto *RHSC = dyn_cast<ConstantSDNode>(N1)) {
5366 DAG.getConstant(RHSC->getAPIntValue() - LHSR->getAPIntValue(),
5374 DAG.getConstant(LHSR->getAPIntValue() ^ RHSC->getAPIntValue(),
5384 DAG.getConstant(SUBC->getAPIntValue() - RHSC->getAPIntValue(),
5388 // Could RHSC fold directly into a compare?
5389 if (RHSC->getValueType(0).getSizeInBits() <= 64)
5390 LegalRHSImm = isLegalICmpImmediate(RHSC->getSExtValue());
11322 if (ConstantSDNode *RHSC = isConstOrConstSplat(RHS)) {
11323 const APInt &C = RHSC->getAPIntValue();