Division operators
Synopses
Declared in <llvm/ADT/DynamicAPInt.h>
Returns A divided by B.
DynamicAPInt
operator/(
int64_t A,
DynamicAPInt const& B);
Returns A divided by B.
DynamicAPInt
operator/(
DynamicAPInt const& A,
int64_t B);
Return the saturating quotient of LHS divided by RHS.
InstructionCost
operator/(
InstructionCost const& LHS,
InstructionCost const& RHS);
Return the quotient of L and R using saturating arithmetic.
template<class DigitsT>
ScaledNumber<DigitsT>
operator/(
ScaledNumber<DigitsT> const& L,
ScaledNumber<DigitsT> const& R);
Return Value
-
Quotient of
Adivided byB. -
The saturating quotient of
LHSdivided byRHS. -
Quotient of
LandR.
Parameters
Name |
Description |
A |
Dividend. |
B |
Divisor. |
LHS |
Left‐hand cost. |
RHS |
Right‐hand cost. |
L |
Left‐hand scaled number. |
R |
Right‐hand scaled number. |
Created with MrDocs