Lines Matching refs:imm

1991         int32_t imm = CodeGenerator::GetInt32ValueOf(right->AsConstant());
1993 can_use_imm = IsUint<16>(imm);
1997 imm = -imm;
2001 int16_t imm_high = High16Bits(imm);
2002 int16_t imm_low = Low16Bits(imm);
2008 can_use_imm = IsInt<16>(imm);
3706 int64_t imm = Int64FromConstant(second.GetConstant());
3707 DCHECK(imm == 1 || imm == -1);
3716 if (imm == -1) {
3733 if (imm == -1) {
3758 int32_t imm = second.GetConstant()->AsIntConstant()->GetValue();
3759 uint32_t abs_imm = static_cast<uint32_t>(AbsOrMin(imm));
3772 if (imm < 0) {
3805 int64_t imm = Int64FromConstant(second.GetConstant());
3806 uint64_t abs_imm = static_cast<uint64_t>(AbsOrMin(imm));
3829 if (imm < 0) {
3840 if (imm < 0) {
3856 if (imm < 0) {
3861 DCHECK_LT(imm, 0);
3961 int32_t imm = second.GetConstant()->AsIntConstant()->GetValue();
3965 CalculateMagicAndShiftForDivRem(imm, false /* is_long */, &magic, &shift);
3976 if (imm > 0 && magic < 0) {
3978 } else if (imm < 0 && magic > 0) {
3992 __ LoadConst32(TMP, imm);
4011 int32_t imm = second.GetConstant()->AsIntConstant()->GetValue();
4012 if (imm == 0) {
4014 } else if (imm == 1 || imm == -1) {
4016 } else if (IsPowerOfTwo(AbsOrMin(imm))) {
4019 DCHECK(imm <= -2 || imm >= 2);
4047 int64_t imm = CodeGenerator::GetInt64ValueOf(div->InputAt(1)->AsConstant());
4048 call_long_div = (imm != 0) && !IsPowerOfTwo(static_cast<uint64_t>(AbsOrMin(imm)));
4104 int64_t imm = locations->InAt(1).GetConstant()->AsLongConstant()->GetValue();
4105 if (imm == 0) {
4107 } else if (imm == 1 || imm == -1) {
4110 DCHECK(IsPowerOfTwo(static_cast<uint64_t>(AbsOrMin(imm))));
4691 int64_t imm = 0;
4696 imm = rhs_location.GetConstant()->AsLongConstant()->GetValue();
4697 imm_high = High32Bits(imm);
4698 imm_low = Low32Bits(imm);
4703 if (use_imm && imm == 0) {
4906 int64_t imm = 0;
4911 imm = rhs_location.GetConstant()->AsLongConstant()->GetValue();
4912 imm_high = High32Bits(imm);
4913 imm_low = Low32Bits(imm);
4919 if (use_imm && imm == 0) {
8695 int64_t imm = CodeGenerator::GetInt64ValueOf(rem->InputAt(1)->AsConstant());
8696 call_rem = (imm != 0) && !IsPowerOfTwo(static_cast<uint64_t>(AbsOrMin(imm)));
8752 int64_t imm = locations->InAt(1).GetConstant()->AsLongConstant()->GetValue();
8753 if (imm == 0) {
8755 } else if (imm == 1 || imm == -1) {
8758 DCHECK(IsPowerOfTwo(static_cast<uint64_t>(AbsOrMin(imm))));