Lines Matching refs:right
1386 (MatchLeftIsOnes(b->left(), b->right(), negated) ||
1387 MatchLeftIsOnes(b->right(), b->left(), negated));
1403 !right()->CheckFlag(kUint32)) {
1404 return right();
1406 if (right()->EqualsInteger32Constant(nop_constant) &&
1447 if (IsIdentityOperation(left(), right(), 0) &&
1451 if (IsIdentityOperation(right(), left(), 0) &&
1452 !left()->representation().IsDouble()) { // Right could be -0.
1453 return right();
1460 if (IsIdentityOperation(left(), right(), 0)) return left();
1466 if (IsIdentityOperation(left(), right(), 1)) return left();
1467 if (IsIdentityOperation(right(), left(), 1)) return right();
1474 right()->EqualsInteger32Constant(-1)) {
1488 if (IsIdentityOperation(left(), right(), 1)) return left();
1566 HValue* right = hdiv->right();
1567 if (right->IsInteger32Constant()) {
1568 right = Prepend(HConstant::cast(right)->CopyToRepresentation(
1569 Representation::Integer32(), right->block()->zone()));
1570 } else if (right->representation().IsInteger32()) {
1572 } else if (right->IsChange() &&
1573 HChange::cast(right)->from().IsInteger32()) {
1575 right = HChange::cast(right)->value();
1577 right = Prepend(new(block()->zone()) HChange(
1578 right, Representation::Integer32(), false, false));
1584 block()->zone(), context(), left, right));
1725 return os << NameOf(left()) << " " << NameOf(right()) << " "
1816 Range* b = right()->range();
1837 Range* b = right()->range();
1858 Range* b = right()->range();
1883 Range* b = right()->range();
1905 Range* b = right()->range();
1944 Range* b = right()->range();
1946 // The magnitude of the modulus is bounded by the right operand.
2017 if (bitwise->right()->IsInteger32Constant()) {
2018 mask = bitwise->right()->GetInteger32Constant();
2022 base = bitwise->right();
2040 if (add->right()->IsInteger32Constant()) {
2043 base = add->right();
2047 if (sub->right()->IsInteger32Constant()) {
2204 operation->right()->IsInteger32Constant()) {
2205 return operation->right()->GetInteger32Constant();
2206 } else if (operation->right() == phi &&
2213 operation->right()->IsInteger32Constant()) {
2214 return -operation->right()->GetInteger32Constant();
2367 HValue* limit = branch->right();
2369 data = GetInductionVariableData(branch->right());
2421 Range* b = right()->range();
2959 os << NameOf(left()) << " " << NameOf(right());
2996 Representation right_rep = right()->representation();
3043 if (left()->HasRange() && right()->HasRange()) {
3052 int64_t right_upper = right()->range()->upper();
3053 int64_t right_lower = right()->range()->lower();
3067 right()->range()->CanBeNegative())
3079 int32_t right_mask = (right()->range() != NULL)
3080 ? right()->range()->Mask()
3094 if (right()->IsConstant()) {
3095 HConstant* c = HConstant::cast(right());
3109 if (right()->IsConstant()) {
3110 HConstant* c = HConstant::cast(right());
3134 if (right()->IsConstant()) {
3135 HConstant* c = HConstant::cast(right());
3198 os << Token::Name(token()) << " " << NameOf(left()) << " " << NameOf(right());
3204 os << NameOf(left()) << " " << NameOf(right());
3214 if (FLAG_fold_constants && left()->IsConstant() && right()->IsConstant()) {
3215 *block = HConstant::cast(left())->DataEquals(HConstant::cast(right()))
3304 if (left() == right() &&
3351 Representation right_rep = right()->representation();
4050 Zone* zone, HValue* context, HValue* left, HValue* right) { \
4051 if (FLAG_fold_constants && left->IsConstant() && right->IsConstant()) { \
4053 HConstant* c_right = HConstant::cast(right); \
4062 return new(zone) HInstr(context, left, right); \
4076 HValue* right,
4080 if (FLAG_fold_constants && left->IsConstant() && right->IsConstant()) {
4081 HConstant* c_right = HConstant::cast(right);
4095 context, left, right, pretenure_flag, flags, allocation_site);
4242 HValue* right) {
4243 if (FLAG_fold_constants && left->IsConstant() && right->IsConstant()) {
4245 HConstant* c_right = HConstant::cast(right);
4253 return new(zone) HPower(left, right);
4258 Zone* zone, HValue* context, HValue* left, HValue* right, Operation op) {
4259 if (FLAG_fold_constants && left->IsConstant() && right->IsConstant()) {
4261 HConstant* c_right = HConstant::cast(right);
4286 return new(zone) HMathMinMax(context, left, right, op);
4293 HValue* right) {
4294 if (FLAG_fold_constants && left->IsConstant() && right->IsConstant()) {
4296 HConstant* c_right = HConstant::cast(right);
4312 return new(zone) HMod(context, left, right);
4317 Zone* zone, HValue* context, HValue* left, HValue* right) {
4318 // If left and right are constant values, try to return a constant value.
4319 if (FLAG_fold_constants && left->IsConstant() && right->IsConstant()) {
4321 HConstant* c_right = HConstant::cast(right);
4331 Double(c_right->DoubleValue()).Sign(); // Right could be -0.
4336 return new(zone) HDiv(context, left, right);
4341 Zone* zone, HValue* context, Token::Value op, HValue* left, HValue* right) {
4342 if (FLAG_fold_constants && left->IsConstant() && right->IsConstant()) {
4344 HConstant* c_right = HConstant::cast(right);
4366 return new(zone) HBitwise(context, op, left, right);
4372 Zone* zone, HValue* context, HValue* left, HValue* right) { \
4373 if (FLAG_fold_constants && left->IsConstant() && right->IsConstant()) { \
4375 HConstant* c_right = HConstant::cast(right); \
4380 return new(zone) HInstr(context, left, right); \
4393 Zone* zone, HValue* context, HValue* left, HValue* right) {
4394 if (FLAG_fold_constants && left->IsConstant() && right->IsConstant()) {
4396 HConstant* c_right = HConstant::cast(right);
4406 return new(zone) HShr(context, left, right);