Lines Matching full:right
113 right()->PrintTo(stream);
305 right()->PrintTo(stream);
755 // Right now it is only used for LInstanceOfKnownGlobal.
785 DCHECK(instr->right()->representation().IsDouble());
789 LOperand* right = UseFixedDouble(instr->right(), d1);
790 LArithmeticD* result = new(zone()) LArithmeticD(Token::MOD, left, right);
794 LOperand* right = UseRegisterAtStart(instr->right());
795 LArithmeticD* result = new(zone()) LArithmeticD(op, left, right);
809 HValue* right = instr->right();
815 DCHECK(right->representation().IsSmiOrTagged());
819 LOperand* right_operand = UseFixed(right, x0);
856 DCHECK(instr->right()->representation().Equals(instr->representation()));
864 LOperand* right =
867 DefineAsRegister(new(zone()) LAddS(left, right)) :
868 DefineAsRegister(new(zone()) LAddI(left, right));
875 DCHECK(instr->right()->representation().IsInteger32());
878 LOperand* right = UseRegisterOrConstantAtStart(instr->right());
879 return DefineAsRegister(new(zone()) LAddE(left, right));
940 DCHECK(instr->right()->representation().Equals(instr->representation()));
949 LOperand* right =
952 DefineAsRegister(new(zone()) LBitS(left, right)) :
953 DefineAsRegister(new(zone()) LBitI(left, right));
1269 DCHECK(instr->right()->representation().Equals(r));
1271 LOperand* right = UseRegisterOrConstantAtStart(instr->right());
1272 return new(zone()) LCompareNumericAndBranch(left, right);
1276 DCHECK(instr->right()->representation().IsDouble());
1277 if (instr->left()->IsConstant() && instr->right()->IsConstant()) {
1279 LOperand* right = UseConstant(instr->right());
1280 return new(zone()) LCompareNumericAndBranch(left, right);
1283 LOperand* right = UseRegisterAtStart(instr->right());
1284 return new(zone()) LCompareNumericAndBranch(left, right);
1291 DCHECK(instr->right()->representation().IsTagged());
1294 LOperand* right = UseFixed(instr->right(), x0);
1295 LCmpT* result = new(zone()) LCmpT(context, left, right);
1315 LOperand* right = UseRegisterAtStart(instr->right());
1316 return new(zone()) LCmpObjectEqAndBranch(left, right);
1384 DCHECK(instr->right()->representation().Equals(instr->representation()));
1386 int32_t divisor = instr->right()->GetInteger32Constant();
1402 DCHECK(instr->right()->representation().Equals(instr->representation()));
1404 int32_t divisor = instr->right()->GetInteger32Constant();
1421 DCHECK(instr->right()->representation().Equals(instr->representation()));
1423 LOperand* divisor = UseRegister(instr->right());
1439 } else if (instr->right()->IsConstant()) {
1544 UseFixed(instr->right(), InstanceofStub::right()));
1785 DCHECK(instr->right()->representation().Equals(instr->representation()));
1787 int32_t divisor = instr->right()->GetInteger32Constant();
1801 DCHECK(instr->right()->representation().Equals(instr->representation()));
1803 int32_t divisor = instr->right()->GetInteger32Constant();
1820 LOperand* divisor = UseRegister(instr->right());
1831 } else if (instr->right()->IsConstant()) {
1841 LOperand* right = NULL;
1844 DCHECK(instr->right()->representation().Equals(instr->representation()));
1846 right = UseRegisterOrConstantAtStart(instr->BetterRightOperand());
1850 DCHECK(instr->right()->representation().IsDouble());
1852 right = UseRegisterAtStart(instr->right());
1854 return DefineAsRegister(new(zone()) LMathMinMax(left, right));
1861 DCHECK(instr->right()->representation().Equals(instr->representation()));
1863 int32_t divisor = instr->right()->GetInteger32Constant();
1877 DCHECK(instr->right()->representation().Equals(instr->representation()));
1879 int32_t divisor = instr->right()->GetInteger32Constant();
1893 DCHECK(instr->right()->representation().Equals(instr->representation()));
1895 LOperand* divisor = UseRegister(instr->right());
1909 } else if (instr->right()->IsConstant()) {
1925 DCHECK(instr->right()->representation().Equals(instr->representation()));
1949 LConstantOperand* right = UseConstant(most_const);
1955 DefineAsRegister(new(zone()) LMulConstIS(left, right));
1966 LOperand* right = UseRegisterAtStart(most_const);
1968 ? DefineAsRegister(new(zone()) LMulS(left, right))
1969 : DefineAsRegister(new(zone()) LMulI(left, right));
2010 Representation exponent_type = instr->right()->representation();
2013 LOperand* right;
2015 right = UseFixed(instr->right(), MathPowIntegerDescriptor::exponent());
2017 right = UseFixedDouble(instr->right(), d1);
2019 right = UseFixed(instr->right(), MathPowTaggedDescriptor::exponent());
2021 LPower* result = new(zone()) LPower(left, right);
2108 HValue* hright = hinstr->right();
2128 // different instructions both as a left and right operands.
2130 HBitwiseBinaryOperation::cast(hright)->right()->IsConstant()) {
2137 HBitwiseBinaryOperation::cast(hleft)->right()->IsConstant()) {
2146 if ((JSShiftAmountFromHConstant(shift->right()) == 0) && shift->IsShr()) {
2147 // Shifts right by zero can deoptimize.
2183 DCHECK(!hshift->IsShr() || (JSShiftAmountFromHConstant(hshift->right()) > 0));
2187 LOperand* right = UseRegisterAtStart(hshift->left());
2188 LOperand* shift_amount = UseConstant(hshift->right());
2198 res = new(zone()) LBitI(left, right, shift_op, shift_amount);
2200 res = new(zone()) LAddI(left, right, shift_op, shift_amount);
2203 res = new(zone()) LSubI(left, right, shift_op, shift_amount);
2220 DCHECK(instr->right()->representation().Equals(instr->representation()));
2229 LOperand* right = UseRegisterOrConstantAtStart(instr->right());
2233 bool right_can_be_zero = !instr->right()->IsConstant() ||
2234 (JSShiftAmountFromHConstant(instr->right()) == 0);
2246 result = DefineAsRegister(new (zone()) LShiftI(op, left, right, can_deopt));
2249 result = DefineAsRegister(new (zone()) LShiftS(op, left, right, can_deopt));
2438 LOperand* right = UseFixed(instr->right(), x0);
2440 LStringAdd* result = new(zone()) LStringAdd(context, left, right);
2467 DCHECK(instr->right()->representation().IsTagged());
2470 LOperand* right = UseFixed(instr->right(), x0);
2472 new(zone()) LStringCompareAndBranch(context, left, right);
2480 DCHECK(instr->right()->representation().Equals(instr->representation()));
2494 LOperand* right = UseRegisterOrConstantAtStart(instr->right());
2496 DefineAsRegister(new(zone()) LSubS(left, right)) :
2497 DefineAsRegister(new(zone()) LSubI(left, right));