Home | History | Annotate | Download | only in Utils

Lines Matching defs:Quotient

69   // Remainder = Dividend - Quotient*Divisor
71 // ; %quotient = udiv i32 %dividend, %divisor
72 // ; %product = mul i32 %divisor, %quotient
74 Value *Quotient = Builder.CreateUDiv(Dividend, Divisor);
75 Value *Product = Builder.CreateMul(Divisor, Quotient);
78 if (Instruction *UDiv = dyn_cast<Instruction>(Quotient))
84 /// Generate code to divide two signed integers. Returns the quotient, rounded
123 /// quotient, rounded towards 0. Builder's insert point should be pointing where
397 Value *Quotient = generateSignedDivisionCode(Div->getOperand(0),
399 Div->replaceAllUsesWith(Quotient);
412 Value *Quotient = generateUnsignedDivisionCode(Div->getOperand(0),
415 Div->replaceAllUsesWith(Quotient);