Lines Matching refs:IsConstant
408 return value->IsConstant() ? UseConstant(value) : UseRegister(value); in UseRegisterOrConstant()
413 return value->IsConstant() ? UseConstant(value) : UseRegisterAtStart(value); in UseRegisterOrConstantAtStart()
423 return value->IsConstant() in UseAny()
839 if (instr->length()->IsConstant() && instr->index()->IsConstant()) { in DoAccessArgumentsAt()
1277 if (instr->left()->IsConstant() && instr->right()->IsConstant()) { in DoCompareNumericAndBranch()
1439 } else if (instr->right()->IsConstant()) { in DoDiv()
1694 LOperand* temp = (!instr->key()->IsConstant() || in DoLoadKeyed()
1707 LOperand* temp = instr->key()->IsConstant() ? NULL : TempRegister(); in DoLoadKeyed()
1720 LOperand* temp = instr->key()->IsConstant() ? NULL : TempRegister(); in DoLoadKeyed()
1831 } else if (instr->right()->IsConstant()) { in DoMathFloorOfDiv()
1909 } else if (instr->right()->IsConstant()) { in DoMod()
1939 if (most_const->IsConstant()) { in DoMul()
2112 if ((hright->IsConstant() && in CanTransformToShiftedOp()
2114 (hinstr->IsCommutative() && hleft->IsConstant() && in CanTransformToShiftedOp()
2130 HBitwiseBinaryOperation::cast(hright)->right()->IsConstant()) { in CanTransformToShiftedOp()
2137 HBitwiseBinaryOperation::cast(hleft)->right()->IsConstant()) { in CanTransformToShiftedOp()
2233 bool right_can_be_zero = !instr->right()->IsConstant() || in DoShift()
2352 temp = instr->key()->IsConstant() ? NULL : TempRegister(); in DoStoreKeyed()
2488 if (instr->left()->IsConstant() && in DoSub()