llvm::operator/

Division operators

Synopses

Declared in <llvm/ADT/DynamicAPInt.h>

Returns A divided by B.

DynamicAPInt
operator/(
    int64_t A,
    DynamicAPInt const& B);
» more...

Returns A divided by B.

DynamicAPInt
operator/(
    DynamicAPInt const& A,
    int64_t B);
» more...

Return the saturating quotient of LHS divided by RHS.

InstructionCost
operator/(
    InstructionCost const& LHS,
    InstructionCost const& RHS);
» more...

Return the quotient of L and R using saturating arithmetic.

template<class DigitsT>
ScaledNumber<DigitsT>
operator/(
    ScaledNumber<DigitsT> const& L,
    ScaledNumber<DigitsT> const& R);
» more...

Return Value

  • Quotient of A divided by B.
  • The saturating quotient of LHS divided by RHS.
  • Quotient of L and R.

Parameters

NameDescription
ADividend.
BDivisor.
LHSLeft-hand cost.
RHSRight-hand cost.
LLeft-hand scaled number.
RRight-hand scaled number.