[#llvm-operator_bitor-0cd] = xref:llvm.adoc[llvm]::operator| :relfileprefix: ../ :mrdocs: Return a sparse bit vector that is the union of `LHS` and `RHS.` == Synopsis Declared in `<llvm/ADT/SparseBitVector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<unsigned int ElementSize> xref:llvm/SparseBitVector.adoc[SparseBitVector<ElementSize>] operator|( xref:llvm/SparseBitVector.adoc[SparseBitVector<ElementSize>] const& LHS, xref:llvm/SparseBitVector.adoc[SparseBitVector<ElementSize>] const& RHS); ---- == Return Value New vector containing bits set in either operand. == Parameters [cols="1,4"] |=== | Name| Description | *LHS* | Left‐hand sparse bit vector. | *RHS* | Right‐hand sparse bit vector. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#