Lines Matching refs:imm
1960 int64_t imm = CodeGenerator::GetInt64ValueOf(right->AsConstant()); in HandleBinaryOp() local
1962 can_use_imm = IsUint<16>(imm); in HandleBinaryOp()
1967 if (!(type == DataType::Type::kInt32 && imm == INT32_MIN)) { in HandleBinaryOp()
1968 imm = -imm; in HandleBinaryOp()
1972 can_use_imm = IsInt<16>(imm) || (Low16Bits(imm) == 0) || single_use; in HandleBinaryOp()
1974 can_use_imm = IsInt<16>(imm) || (IsInt<32>(imm) && (Low16Bits(imm) == 0)) || single_use; in HandleBinaryOp()
3362 int64_t imm = Int64FromConstant(second.GetConstant()); in DivRemOneOrMinusOne() local
3363 DCHECK(imm == 1 || imm == -1); in DivRemOneOrMinusOne()
3368 if (imm == -1) { in DivRemOneOrMinusOne()
3391 int64_t imm = Int64FromConstant(second.GetConstant()); in DivRemByPowerOfTwo() local
3392 uint64_t abs_imm = static_cast<uint64_t>(AbsOrMin(imm)); in DivRemByPowerOfTwo()
3406 if (imm < 0) { in DivRemByPowerOfTwo()
3428 if (imm < 0) { in DivRemByPowerOfTwo()
3479 int64_t imm = Int64FromConstant(second.GetConstant()); in GenerateDivRemWithAnyConstant() local
3486 CalculateMagicAndShiftForDivRem(imm, in GenerateDivRemWithAnyConstant()
3495 if (imm > 0 && magic < 0) { in GenerateDivRemWithAnyConstant()
3497 } else if (imm < 0 && magic > 0) { in GenerateDivRemWithAnyConstant()
3511 __ LoadConst32(TMP, imm); in GenerateDivRemWithAnyConstant()
3519 if (imm > 0 && magic < 0) { in GenerateDivRemWithAnyConstant()
3521 } else if (imm < 0 && magic > 0) { in GenerateDivRemWithAnyConstant()
3537 __ LoadConst64(TMP, imm); in GenerateDivRemWithAnyConstant()
3554 int64_t imm = Int64FromConstant(second.GetConstant()); in GenerateDivRemIntegral() local
3555 if (imm == 0) { in GenerateDivRemIntegral()
3557 } else if (imm == 1 || imm == -1) { in GenerateDivRemIntegral()
3559 } else if (IsPowerOfTwo(AbsOrMin(imm))) { in GenerateDivRemIntegral()
3562 DCHECK(imm <= -2 || imm >= 2); in GenerateDivRemIntegral()