Lines Matching refs:quotient
94 Node* quotient = graph()->NewNode(machine()->Int32MulHigh(), dividend, in Int32Div() local
97 quotient = Int32Add(quotient, dividend); in Int32Div()
99 quotient = Int32Sub(quotient, dividend); in Int32Div()
101 return Int32Add(Word32Sar(quotient, mag.shift), Word32Shr(dividend, 31)); in Int32Div()
115 Node* quotient = graph()->NewNode(machine()->Uint32MulHigh(), dividend, in Uint32Div() local
119 quotient = Word32Shr( in Uint32Div()
120 Int32Add(Word32Shr(Int32Sub(dividend, quotient), 1), quotient), in Uint32Div()
123 quotient = Word32Shr(quotient, mag.shift); in Uint32Div()
125 return quotient; in Uint32Div()
526 Node* quotient = dividend; in ReduceInt32Div() local
531 quotient = Word32Sar(quotient, 31); in ReduceInt32Div()
533 quotient = Int32Add(Word32Shr(quotient, 32u - shift), dividend); in ReduceInt32Div()
534 quotient = Word32Sar(quotient, shift); in ReduceInt32Div()
536 quotient = Int32Div(quotient, Abs(divisor)); in ReduceInt32Div()
540 node->ReplaceInput(1, quotient); in ReduceInt32Div()
545 return Replace(quotient); in ReduceInt32Div()
606 Node* quotient = Int32Div(dividend, divisor); in ReduceInt32Mod() local
608 node->ReplaceInput(1, Int32Mul(quotient, Int32Constant(divisor))); in ReduceInt32Mod()
636 Node* quotient = Uint32Div(dividend, divisor); in ReduceUint32Mod() local
638 node->ReplaceInput(1, Int32Mul(quotient, Uint32Constant(divisor))); in ReduceUint32Mod()