Lines Matching refs:imm
3156 int64_t imm = Int64FromLocation(instruction->GetLocations()->InAt(1)); in FOR_EACH_CONDITION_INSTRUCTION() local
3157 uint64_t abs_imm = static_cast<uint64_t>(AbsOrMin(imm)); in FOR_EACH_CONDITION_INSTRUCTION()
3203 if (imm > 0) { in FOR_EACH_CONDITION_INSTRUCTION()
3262 int64_t imm = Int64FromConstant(second.GetConstant()); in GenerateInt64UnsignedDivRemWithAnyPositiveConstant() local
3263 DCHECK_GT(imm, 0); in GenerateInt64UnsignedDivRemWithAnyPositiveConstant()
3267 CalculateMagicAndShiftForDivRem(imm, /* is_long= */ true, &magic, &shift); in GenerateInt64UnsignedDivRemWithAnyPositiveConstant()
3296 GenerateResultRemWithAnyConstant(out, dividend, temp, imm, &temps); in GenerateInt64UnsignedDivRemWithAnyPositiveConstant()
3313 int64_t imm = Int64FromConstant(second.GetConstant()); in GenerateInt64DivRemWithAnyConstant() local
3317 CalculateMagicAndShiftForDivRem(imm, /* is_long= */ true, &magic, &shift); in GenerateInt64DivRemWithAnyConstant()
3337 if (NeedToAddDividend(magic, imm)) { in GenerateInt64DivRemWithAnyConstant()
3340 } else if (NeedToSubDividend(magic, imm)) { in GenerateInt64DivRemWithAnyConstant()
3351 GenerateResultRemWithAnyConstant(out, dividend, temp, imm, &temps); in GenerateInt64DivRemWithAnyConstant()
3368 int64_t imm = Int64FromConstant(second.GetConstant()); in GenerateInt32DivRemWithAnyConstant() local
3372 CalculateMagicAndShiftForDivRem(imm, /* is_long= */ false, &magic, &shift); in GenerateInt32DivRemWithAnyConstant()
3391 if (NeedToAddDividend(magic, imm)) { in GenerateInt32DivRemWithAnyConstant()
3394 } else if (NeedToSubDividend(magic, imm)) { in GenerateInt32DivRemWithAnyConstant()
3401 if (imm > 0 && HasNonNegativeInputAt(instruction, 0)) { in GenerateInt32DivRemWithAnyConstant()
3407 GenerateResultRemWithAnyConstant(out, dividend, temp, imm, &temps); in GenerateInt32DivRemWithAnyConstant()
3414 GenerateResultRemWithAnyConstant(out, dividend, temp, imm, &temps); in GenerateInt32DivRemWithAnyConstant()
3436 int64_t imm = Int64FromLocation(instruction->GetLocations()->InAt(1)); in GenerateIntDivForConstDenom() local
3438 if (imm == 0) { in GenerateIntDivForConstDenom()
3443 if (IsPowerOfTwo(AbsOrMin(imm))) { in GenerateIntDivForConstDenom()
3447 DCHECK(imm < -2 || imm > 2) << imm; in GenerateIntDivForConstDenom()
3448 GenerateDivRemWithAnyConstant(instruction, imm); in GenerateIntDivForConstDenom()
5910 int64_t imm = Int64FromLocation(instruction->GetLocations()->InAt(1)); in GenerateIntRemForPower2Denom() local
5911 uint64_t abs_imm = static_cast<uint64_t>(AbsOrMin(imm)); in GenerateIntRemForPower2Denom()
5942 int64_t imm = Int64FromLocation(instruction->GetLocations()->InAt(1)); in GenerateIntRemForConstDenom() local
5944 if (imm == 0) { in GenerateIntRemForConstDenom()
5950 if (IsPowerOfTwo(AbsOrMin(imm))) { in GenerateIntRemForConstDenom()
5958 DCHECK(imm < -2 || imm > 2) << imm; in GenerateIntRemForConstDenom()
5959 GenerateDivRemWithAnyConstant(instruction, imm); in GenerateIntRemForConstDenom()