Searched refs:constant_rhs (Results 1 – 2 of 2) sorted by relevance
74 int constant_rhs = kUnknownIntValue)79 constant_rhs_(constant_rhs), in op_()80 specialized_on_rhs_(RhsIsOneWeWantToOptimizeFor(op, constant_rhs)), in op_()137 static bool RhsIsOneWeWantToOptimizeFor(Token::Value op, int constant_rhs) { in RhsIsOneWeWantToOptimizeFor() argument138 if (constant_rhs == kUnknownIntValue) return false; in RhsIsOneWeWantToOptimizeFor()139 if (op == Token::DIV) return constant_rhs >= 2 && constant_rhs <= 3; in RhsIsOneWeWantToOptimizeFor()141 if (constant_rhs <= 1) return false; in RhsIsOneWeWantToOptimizeFor()142 if (constant_rhs <= 10) return true; in RhsIsOneWeWantToOptimizeFor()143 if (constant_rhs <= kMaxKnownRhs && IsPowerOf2(constant_rhs)) return true; in RhsIsOneWeWantToOptimizeFor()
262 int constant_rhs) { in GenericBinaryOperation() argument