LLVM API Documentation

llvm::SparseBitVector< ElementSize > Class Template Reference

#include <SparseBitVector.h>

Inheritance diagram for llvm::SparseBitVector< ElementSize >:
[legend]
Collaboration diagram for llvm::SparseBitVector< ElementSize >:
[legend]

List of all members.

Public Types

typedef SparseBitVectorIterator iterator

Public Member Functions

 SparseBitVector ()
 ~SparseBitVector ()
 SparseBitVector (const SparseBitVector &RHS)
void clear ()
SparseBitVector & operator= (const SparseBitVector &RHS)
bool test (unsigned Idx)
void reset (unsigned Idx)
void set (unsigned Idx)
bool test_and_set (unsigned Idx)
bool operator!= (const SparseBitVector &RHS) const
bool operator== (const SparseBitVector &RHS) const
bool operator|= (const SparseBitVector &RHS)
bool operator &= (const SparseBitVector &RHS)
bool intersectWithComplement (const SparseBitVector &RHS)
bool intersectWithComplement (const SparseBitVector< ElementSize > *RHS) const
void intersectWithComplement (const SparseBitVector< ElementSize > &RHS1, const SparseBitVector< ElementSize > &RHS2)
void intersectWithComplement (const SparseBitVector< ElementSize > *RHS1, const SparseBitVector< ElementSize > *RHS2)
bool intersects (const SparseBitVector< ElementSize > *RHS) const
bool intersects (const SparseBitVector< ElementSize > &RHS) const
bool contains (const SparseBitVector< ElementSize > &RHS) const
int find_first () const
bool empty () const
unsigned count () const
iterator begin () const
iterator end () const
uint64_t getHashValue () const

Classes

class  SparseBitVectorIterator


Detailed Description

template<unsigned ElementSize = 128>
class llvm::SparseBitVector< ElementSize >

Definition at line 280 of file SparseBitVector.h.


Member Typedef Documentation

template<unsigned ElementSize = 128>
typedef SparseBitVectorIterator llvm::SparseBitVector< ElementSize >::iterator

Definition at line 446 of file SparseBitVector.h.


Constructor & Destructor Documentation

template<unsigned ElementSize = 128>
llvm::SparseBitVector< ElementSize >::SparseBitVector (  )  [inline]

Definition at line 448 of file SparseBitVector.h.

template<unsigned ElementSize = 128>
llvm::SparseBitVector< ElementSize >::~SparseBitVector (  )  [inline]

Definition at line 452 of file SparseBitVector.h.

template<unsigned ElementSize = 128>
llvm::SparseBitVector< ElementSize >::SparseBitVector ( const SparseBitVector< ElementSize > &  RHS  )  [inline]

Definition at line 456 of file SparseBitVector.h.


Member Function Documentation

template<unsigned ElementSize = 128>
void llvm::SparseBitVector< ElementSize >::clear (  )  [inline]

Definition at line 467 of file SparseBitVector.h.

Referenced by llvm::LazyLiveness::runOnMachineFunction().

template<unsigned ElementSize = 128>
SparseBitVector& llvm::SparseBitVector< ElementSize >::operator= ( const SparseBitVector< ElementSize > &  RHS  )  [inline]

Definition at line 472 of file SparseBitVector.h.

template<unsigned ElementSize = 128>
bool llvm::SparseBitVector< ElementSize >::test ( unsigned  Idx  )  [inline]

template<unsigned ElementSize = 128>
void llvm::SparseBitVector< ElementSize >::reset ( unsigned  Idx  )  [inline]

Definition at line 502 of file SparseBitVector.h.

template<unsigned ElementSize = 128>
void llvm::SparseBitVector< ElementSize >::set ( unsigned  Idx  )  [inline]

template<unsigned ElementSize = 128>
bool llvm::SparseBitVector< ElementSize >::test_and_set ( unsigned  Idx  )  [inline]

Definition at line 552 of file SparseBitVector.h.

template<unsigned ElementSize = 128>
bool llvm::SparseBitVector< ElementSize >::operator!= ( const SparseBitVector< ElementSize > &  RHS  )  const [inline]

Definition at line 561 of file SparseBitVector.h.

template<unsigned ElementSize = 128>
bool llvm::SparseBitVector< ElementSize >::operator== ( const SparseBitVector< ElementSize > &  RHS  )  const [inline]

Definition at line 565 of file SparseBitVector.h.

template<unsigned ElementSize = 128>
bool llvm::SparseBitVector< ElementSize >::operator|= ( const SparseBitVector< ElementSize > &  RHS  )  [inline]

Definition at line 578 of file SparseBitVector.h.

template<unsigned ElementSize = 128>
bool llvm::SparseBitVector< ElementSize >::operator &= ( const SparseBitVector< ElementSize > &  RHS  )  [inline]

Definition at line 606 of file SparseBitVector.h.

template<unsigned ElementSize = 128>
bool llvm::SparseBitVector< ElementSize >::intersectWithComplement ( const SparseBitVector< ElementSize > &  RHS  )  [inline]

template<unsigned ElementSize = 128>
bool llvm::SparseBitVector< ElementSize >::intersectWithComplement ( const SparseBitVector< ElementSize > *  RHS  )  const [inline]

Definition at line 685 of file SparseBitVector.h.

template<unsigned ElementSize = 128>
void llvm::SparseBitVector< ElementSize >::intersectWithComplement ( const SparseBitVector< ElementSize > &  RHS1,
const SparseBitVector< ElementSize > &  RHS2 
) [inline]

Definition at line 692 of file SparseBitVector.h.

template<unsigned ElementSize = 128>
void llvm::SparseBitVector< ElementSize >::intersectWithComplement ( const SparseBitVector< ElementSize > *  RHS1,
const SparseBitVector< ElementSize > *  RHS2 
) [inline]

Definition at line 743 of file SparseBitVector.h.

template<unsigned ElementSize = 128>
bool llvm::SparseBitVector< ElementSize >::intersects ( const SparseBitVector< ElementSize > *  RHS  )  const [inline]

Definition at line 748 of file SparseBitVector.h.

Referenced by llvm::SparseBitVector< 128 >::intersects().

template<unsigned ElementSize = 128>
bool llvm::SparseBitVector< ElementSize >::intersects ( const SparseBitVector< ElementSize > &  RHS  )  const [inline]

Definition at line 753 of file SparseBitVector.h.

template<unsigned ElementSize = 128>
bool llvm::SparseBitVector< ElementSize >::contains ( const SparseBitVector< ElementSize > &  RHS  )  const [inline]

Definition at line 782 of file SparseBitVector.h.

template<unsigned ElementSize = 128>
int llvm::SparseBitVector< ElementSize >::find_first (  )  const [inline]

Definition at line 789 of file SparseBitVector.h.

template<unsigned ElementSize = 128>
bool llvm::SparseBitVector< ElementSize >::empty (  )  const [inline]

Definition at line 797 of file SparseBitVector.h.

Referenced by llvm::LiveVariables::HandleVirtRegDef().

template<unsigned ElementSize = 128>
unsigned llvm::SparseBitVector< ElementSize >::count (  )  const [inline]

Definition at line 801 of file SparseBitVector.h.

template<unsigned ElementSize = 128>
iterator llvm::SparseBitVector< ElementSize >::begin (  )  const [inline]

template<unsigned ElementSize = 128>
iterator llvm::SparseBitVector< ElementSize >::end (  )  const [inline]

template<unsigned ElementSize = 128>
uint64_t llvm::SparseBitVector< ElementSize >::getHashValue (  )  const [inline]

Definition at line 819 of file SparseBitVector.h.


The documentation for this class was generated from the following file: