• Home
  • Raw
  • Download

Lines Matching refs:imm

3244         Immediate imm(mul->InputAt(1)->AsIntConstant()->GetValue());  in VisitMul()  local
3245 __ imull(out.AsRegister<Register>(), first.AsRegister<Register>(), imm); in VisitMul()
3486 int32_t imm = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in DivRemOneOrMinusOne() local
3488 DCHECK(imm == 1 || imm == -1); in DivRemOneOrMinusOne()
3494 if (imm == -1) { in DivRemOneOrMinusOne()
3507 int32_t imm = Int64FromConstant(second.GetConstant()); in RemByPowerOfTwo() local
3508 DCHECK(IsPowerOfTwo(AbsOrMin(imm))); in RemByPowerOfTwo()
3509 uint32_t abs_imm = static_cast<uint32_t>(AbsOrMin(imm)); in RemByPowerOfTwo()
3527 int32_t imm = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in DivByPowerOfTwo() local
3528 DCHECK(IsPowerOfTwo(AbsOrMin(imm))); in DivByPowerOfTwo()
3529 uint32_t abs_imm = static_cast<uint32_t>(AbsOrMin(imm)); in DivByPowerOfTwo()
3536 int shift = CTZ(imm); in DivByPowerOfTwo()
3539 if (imm < 0) { in DivByPowerOfTwo()
3550 int imm = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in GenerateDivRemWithAnyConstant() local
3575 CalculateMagicAndShiftForDivRem(imm, /* is_long= */ false, &magic, &shift); in GenerateDivRemWithAnyConstant()
3586 if (imm > 0 && magic < 0) { in GenerateDivRemWithAnyConstant()
3589 } else if (imm < 0 && magic > 0) { in GenerateDivRemWithAnyConstant()
3605 __ imull(edx, Immediate(imm)); in GenerateDivRemWithAnyConstant()
3628 int32_t imm = second.GetConstant()->AsIntConstant()->GetValue(); in GenerateDivRemIntegral() local
3630 if (imm == 0) { in GenerateDivRemIntegral()
3632 } else if (imm == 1 || imm == -1) { in GenerateDivRemIntegral()
3634 } else if (IsPowerOfTwo(AbsOrMin(imm))) { in GenerateDivRemIntegral()
3641 DCHECK(imm <= -2 || imm >= 2); in GenerateDivRemIntegral()
4271 Immediate imm(shift); in HandleShift() local
4273 __ shll(first_reg, imm); in HandleShift()
4275 __ sarl(first_reg, imm); in HandleShift()
4277 __ shrl(first_reg, imm); in HandleShift()
4452 Immediate imm(second.GetConstant()->AsIntConstant()->GetValue() & kMaxIntShiftDistance); in VisitRor() local
4453 __ rorl(first_reg, imm); in VisitRor()
4486 Immediate imm(shift_amt); in VisitRor() local
4491 __ shrd(first_reg_lo, first_reg_hi, imm); in VisitRor()
4494 __ shrd(first_reg_hi, temp_reg, imm); in VisitRor()
6300 Immediate imm(value); in EmitMove() local
6315 __ movl(Address(ESP, destination.GetStackIndex()), imm); in EmitMove()