llvm::operator<=

Less-than-or-equal operators

Synopses

Declared in <llvm/ADT/DynamicAPInt.h>

Return true if L is less than or equal to R.

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

Returns true if A is less than or equal to B.

bool
operator<=(
    DynamicAPInt const& A,
    int64_t B);
» more...

Returns true if A is less than or equal to B.

bool
operator<=(
    int64_t A,
    DynamicAPInt const& B);
» more...

Order wrappers by raw location metadata pointer address.

bool
operator<=(
    RawLocationWrapper const& A,
    RawLocationWrapper const& B);
» more...

Return true if L is less than or equal to R.

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

Return true if L is less than or equal to R.

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

Return true if L is less than or equal to R.

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

Return true if L is less than or equal to R.

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

Return true if L is less than or equal to R.

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

Return true if L is less than or equal to R.

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

Return true if L is less than or equal to R.

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

Return true if LHS is lexicographically less than or equal to RHS.

bool
operator<=(
    StringRef LHS,
    StringRef RHS);
» more...

Deleted; LLVM atomic orders form a lattice, not a total order.

bool
operator<=(
    AtomicOrdering Lhs,
    AtomicOrdering Rhs) = delete;
» more...

Deleted; CABI atomic orders form a lattice, not a total order.

bool
operator<=(
    AtomicOrderingCABI Lhs,
    AtomicOrderingCABI Rhs) = delete;
» more...

Compare a signed 64-bit value with an APSInt for less-or-equal.

bool
operator<=(
    int64_t V1,
    APSInt const& V2);
» more...

Determine whether one version number precedes or is equivalent to another.

bool
operator<=(
    VersionTuple const& X,
    VersionTuple const& Y);
» more...

Relational less-or-equal is deleted for MaybeAlign vs MaybeAlign.

bool
operator<=(
    MaybeAlign Lhs,
    MaybeAlign Rhs) = delete;
» more...

Relational less-or-equal is deleted for MaybeAlign vs Align.

bool
operator<=(
    MaybeAlign Lhs,
    Align Rhs) = delete;
» more...

Relational less-or-equal is deleted for Align vs MaybeAlign.

bool
operator<=(
    Align Lhs,
    MaybeAlign Rhs) = delete;
» more...

Return true if alignment Lhs is less than or equal to byte count Rhs.

bool
operator<=(
    Align Lhs,
    uint64_t Rhs);
» more...

Return true if LHS is lexicographically less than or equal to RHS.

template<typename T>
bool
operator<=(
    ArrayRef<T> LHS,
    ArrayRef<T> RHS);
» more...

Return true if alignment Lhs is less than or equal to Rhs.

bool
operator<=(
    Align Lhs,
    Align Rhs);
» more...

Return Value

  • True if L is less than or equal to R.
  • True if A is less than or equal to B.
  • True if A orders before or equal to B by raw location metadata pointer address.
  • True if LHS is lexicographically less than or equal to RHS.
  • true if V1 is less than or equal to V2
  • true if X is less than or equal to Y.
  • True if Lhs is less than or equal to Rhs bytes.
  • True if Lhs is less than or equal to Rhs.

Parameters

NameDescription
LLeft-hand operand.
RRight-hand operand.
ALeft-hand operand.
BRight-hand operand.
LHSLeft-hand StringRef.
RHSRight-hand StringRef.
LhsLeft-hand LLVM atomic ordering.
RhsRight-hand LLVM atomic ordering.
V1signed 64-bit left-hand operand
V2APSInt right-hand operand
XLeft-hand version.
YRight-hand version.