Lines Matching defs:CmpRHS
306 Value *CmpRHS = IC->getOperand(1);
308 if (!match(CmpRHS, m_Zero()))
363 Value *CmpRHS = ICI->getOperand(1);
366 if (!ICI->isEquality() || !match(CmpRHS, m_Zero()))
409 Value *CmpRHS = ICI->getOperand(1);
417 if (ConstantInt *CI = dyn_cast<ConstantInt>(CmpRHS)) {
444 else if (CmpRHS->getType()->getScalarSizeInBits()
482 CmpRHS = AdjustedRHS;
486 ICI->setOperand(1, CmpRHS);
507 if (ConstantInt *Cmp = dyn_cast<ConstantInt>(CmpRHS)) {
533 if (CmpRHS != CmpLHS && isa<Constant>(CmpRHS)) {
536 SI.setOperand(1, CmpRHS);
540 SI.setOperand(2, CmpRHS);
554 match(CmpRHS, m_Zero())) {
557 } else if (Pred == ICmpInst::ICMP_SLT && match(CmpRHS, m_Zero())) {
562 } else if (Pred == ICmpInst::ICMP_SGT && match(CmpRHS, m_AllOnes())) {