Unary minus operators
Declared in <llvm/ADT/DynamicAPInt.h>
Negate an APInt.
APInt
operator-(APInt v);
» more...
Subtract a 64-bit value from an APInt.
APInt
operator-(
APInt a,
uint64_t RHS);
» more...
Subtract two APInts.
APInt
operator-(
APInt a,
APInt const& b);
» more...
Returns A minus B.
DynamicAPInt
operator-(
int64_t A,
DynamicAPInt const& B);
» more...
Subtract an APInt from a 64-bit value.
APInt
operator-(
uint64_t LHS,
APInt b);
» more...
Subtract that prefers moving from b.
APInt
operator-(
APInt const& a,
APInt&& b);
» more...
Returns A minus B.
DynamicAPInt
operator-(
DynamicAPInt const& A,
int64_t B);
» more...
Return the saturating difference of LHS and RHS.
InstructionCost
operator-(
InstructionCost const& LHS,
InstructionCost const& RHS);
» more...
Return the difference of L and R using saturating arithmetic.
template<class DigitsT>
ScaledNumber<DigitsT>
operator-(
ScaledNumber<DigitsT> const& L,
ScaledNumber<DigitsT> const& R);
» more...
Return a sparse bit vector with bits of LHS that are clear in RHS.
template<unsigned int ElementSize>
SparseBitVector<ElementSize>
operator-(
SparseBitVector<ElementSize> const& LHS,
SparseBitVector<ElementSize> const& RHS);
» more...
v.a and RHS.a and b.A and B.LHS and b.LHS and RHS.L and R.LHS intersected with the complement of RHS.| Name | Description |
|---|---|
| v | Value to negate |
| a | Left-hand APInt |
| RHS | Right-hand 64-bit value |
| b | Right-hand operand |
| A | Left-hand operand. |
| B | Right-hand operand. |
| LHS | Left-hand 64-bit value |
| L | Left-hand scaled number. |
| R | Right-hand scaled number. |