Lines Matching defs:RHSC
1396 if (ConstantSDNode *RHSC = isConstOrConstSplat(Op1, DemandedElts)) {
1399 // If the LHS already has zeros where RHSC does, this 'and' is dead.
1401 (~RHSC->getAPIntValue() & DemandedBits))
1416 LHSKnown.One == ~RHSC->getAPIntValue()) {
5313 if (auto *RHSC = dyn_cast<ConstantSDNode>(N1)) {
5319 DAG.getConstant(RHSC->getAPIntValue() - LHSR->getAPIntValue(),
5327 DAG.getConstant(LHSR->getAPIntValue() ^ RHSC->getAPIntValue(),
5337 DAG.getConstant(SUBC->getAPIntValue() - RHSC->getAPIntValue(),
5341 // Could RHSC fold directly into a compare?
5342 if (RHSC->getValueType(0).getSizeInBits() <= 64)
5343 LegalRHSImm = isLegalICmpImmediate(RHSC->getSExtValue());
10967 if (ConstantSDNode *RHSC = isConstOrConstSplat(RHS)) {
10968 const APInt &C = RHSC->getAPIntValue();