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);
Returns true if A is less than or equal to B.
bool
operator<=(
DynamicAPInt const& A,
int64_t B);
Returns true if A is less than or equal to B.
bool
operator<=(
int64_t A,
DynamicAPInt const& B);
Order wrappers by raw location metadata pointer address.
bool
operator<=(
RawLocationWrapper const& A,
RawLocationWrapper const& B);
Return true if L is less than or equal to R.
template<class DigitsT>
bool
operator<=(
int32_t L,
ScaledNumber<DigitsT> const& R);
Return true if L is less than or equal to R.
template<class DigitsT>
bool
operator<=(
ScaledNumber<DigitsT> const& L,
int32_t R);
Return true if L is less than or equal to R.
template<class DigitsT>
bool
operator<=(
int64_t L,
ScaledNumber<DigitsT> const& R);
Return true if L is less than or equal to R.
template<class DigitsT>
bool
operator<=(
ScaledNumber<DigitsT> const& L,
int64_t R);
Return true if L is less than or equal to R.
template<class DigitsT>
bool
operator<=(
uint32_t L,
ScaledNumber<DigitsT> const& R);
Return true if L is less than or equal to R.
template<class DigitsT>
bool
operator<=(
ScaledNumber<DigitsT> const& L,
uint32_t R);
Return true if L is less than or equal to R.
template<class DigitsT>
bool
operator<=(
uint64_t L,
ScaledNumber<DigitsT> const& R);
Return true if LHS is lexicographically less than or equal to RHS.
bool
operator<=(
StringRef LHS,
StringRef RHS);
Deleted; LLVM atomic orders form a lattice, not a total order.
bool
operator<=(
AtomicOrdering Lhs,
AtomicOrdering Rhs) = delete;
Deleted; CABI atomic orders form a lattice, not a total order.
bool
operator<=(
AtomicOrderingCABI Lhs,
AtomicOrderingCABI Rhs) = delete;
Compare a signed 64‐bit value with an APSInt for less‐or‐equal.
bool
operator<=(
int64_t V1,
APSInt const& V2);
Determine whether one version number precedes or is equivalent to another.
bool
operator<=(
VersionTuple const& X,
VersionTuple const& Y);
Relational less‐or‐equal is deleted for MaybeAlign vs MaybeAlign.
bool
operator<=(
MaybeAlign Lhs,
MaybeAlign Rhs) = delete;
Relational less‐or‐equal is deleted for MaybeAlign vs Align.
bool
operator<=(
MaybeAlign Lhs,
Align Rhs) = delete;
Relational less‐or‐equal is deleted for Align vs MaybeAlign.
bool
operator<=(
Align Lhs,
MaybeAlign Rhs) = delete;
Return true if alignment Lhs is less than or equal to byte count Rhs.
bool
operator<=(
Align Lhs,
uint64_t Rhs);
Return true if LHS is lexicographically less than or equal to RHS.
template<typename T>
bool
operator<=(
ArrayRef<T> LHS,
ArrayRef<T> RHS);
Return true if alignment Lhs is less than or equal to Rhs.
bool
operator<=(
Align Lhs,
Align Rhs);
Return Value
-
True if
Lis less than or equal toR. -
True if
Ais less than or equal toB. -
True if
Aorders before or equal toBby raw location metadata pointer address. -
True if
LHSis lexicographically less than or equal toRHS. -
true if
V1is less than or equal toV2 -
trueifXis less than or equal toY. -
True if
Lhsis less than or equal toRhsbytes. -
True if
Lhsis less than or equal toRhs.
Parameters
Name |
Description |
L |
Left‐hand operand. |
R |
Right‐hand operand. |
A |
Left‐hand operand. |
B |
Right‐hand operand. |
LHS |
Left‐hand StringRef. |
RHS |
Right‐hand StringRef. |
Lhs |
Left‐hand LLVM atomic ordering. |
Rhs |
Right‐hand LLVM atomic ordering. |
V1 |
signed 64‐bit left‐hand operand |
V2 |
APSInt right‐hand operand |
X |
Left‐hand version. |
Y |
Right‐hand version. |
Created with MrDocs