llvm::operator|=

Bitwise disjunction assignment operators

Synopses

Declared in <llvm/Transforms/IPO/Attributor.h>

Assign CHANGED if either operand is CHANGED.

ChangeStatus&
operator|=(
    ChangeStatus& l,
    ChangeStatus r);
» more...

Union LHS with *RHS in place.

template<unsigned int ElementSize>
bool
operator|=(
    SparseBitVector<ElementSize>& LHS,
    SparseBitVector<ElementSize> const* RHS);
» more...

Union *LHS with RHS in place.

template<unsigned int ElementSize>
bool
operator|=(
    SparseBitVector<ElementSize>* LHS,
    SparseBitVector<ElementSize> const& RHS);
» more...

Return Value

  • Whether the state or IR changed.
  • True if any bit in LHS changed.
  • True if any bit in *LHS changed.

Parameters

NameDescription
lThe left-hand change status (updated in place).
rThe right-hand change status.
LHSSparse bit vector updated in place.
RHSPointer to the sparse bit vector whose bits are added.