Searched refs:AddRHS (Results 1 – 4 of 4) sorted by relevance
1128 Value *AddLHS, *AddRHS; in match() local1129 auto AddExpr = m_Add(m_Value(AddLHS), m_Value(AddRHS)); in match()1133 if (AddExpr.match(ICmpLHS) && (ICmpRHS == AddLHS || ICmpRHS == AddRHS)) in match()1134 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS); in match()1138 if (AddExpr.match(ICmpRHS) && (ICmpLHS == AddLHS || ICmpLHS == AddRHS)) in match()1139 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS); in match()
212 const APInt& AddRHS = OpRHS->getValue(); in OptAndOp() local215 if ((AddRHS & (AndRHSV-1)) == 0) { in OptAndOp()220 if ((AddRHS & AndRHSV) == 0) { // Bit is not set, noop in OptAndOp()
2112 if (ConstantInt *AddRHS = dyn_cast<ConstantInt>(I->getOperand(1))) { in visitSwitchInst() local2123 Constant* NewCaseVal = ConstantExpr::getSub(LHS, AddRHS); in visitSwitchInst()
7023 const SCEVMulExpr *AddRHS = dyn_cast<SCEVMulExpr>(Add->getOperand(1)); in MatchNotExpr() local7024 if (!AddRHS || AddRHS->getNumOperands() != 2) return nullptr; in MatchNotExpr()7026 const SCEVConstant *MulLHS = dyn_cast<SCEVConstant>(AddRHS->getOperand(0)); in MatchNotExpr()7030 return AddRHS->getOperand(1); in MatchNotExpr()