LLVM API Documentation
#include <SmallSet.h>
Public Member Functions | |
| SmallSet () | |
| bool | empty () const |
| unsigned | size () const |
| bool | count (const T &V) const |
| count - Return true if the element is in the set. | |
| bool | insert (const T &V) |
| insert - Insert an element into the set if it isn't already there. | |
| template<typename IterT> | |
| void | insert (IterT I, IterT E) |
| bool | erase (const T &V) |
| void | clear () |
Note that this set does not provide a way to iterate over members in the set.
Definition at line 31 of file SmallSet.h.
| llvm::SmallSet< T, N >::SmallSet | ( | ) | [inline] |
Definition at line 40 of file SmallSet.h.
| bool llvm::SmallSet< T, N >::empty | ( | ) | const [inline] |
Definition at line 42 of file SmallSet.h.
| unsigned llvm::SmallSet< T, N >::size | ( | ) | const [inline] |
| bool llvm::SmallSet< T, N >::count | ( | const T & | V | ) | const [inline] |
count - Return true if the element is in the set.
Definition at line 48 of file SmallSet.h.
Referenced by llvm::SetVector< T, llvm::SmallVector< T, N >, llvm::SmallSet< T, N > >::count(), llvm::MachineModuleInfo::isDbgLabelUsed(), IsSafeAndProfitableToMove(), llvm::LiveIntervals::processImplicitDefs(), and llvm::SimpleRegisterCoalescing::runOnMachineFunction().
| bool llvm::SmallSet< T, N >::insert | ( | const T & | V | ) | [inline] |
insert - Insert an element into the set if it isn't already there.
Definition at line 58 of file SmallSet.h.
Referenced by CheckForLiveRegDef(), llvm::SmallSet< const char *, 16 >::insert(), llvm::SetVector< T, llvm::SmallVector< T, N >, llvm::SmallSet< T, N > >::insert(), IsSafeAndProfitableToMove(), llvm::LiveInterval::MergeValueInAsValue(), llvm::PointerMayBeCaptured(), llvm::LiveIntervals::processImplicitDefs(), llvm::MachineModuleInfo::RecordUsedDbgLabel(), llvm::SimpleRegisterCoalescing::runOnMachineFunction(), llvm::ScheduleDAGInstrs::StartBlock(), and llvm::LoopDependencies::VisitLoop().
| void llvm::SmallSet< T, N >::insert | ( | IterT | I, | |
| IterT | E | |||
| ) | [inline] |
Definition at line 80 of file SmallSet.h.
| bool llvm::SmallSet< T, N >::erase | ( | const T & | V | ) | [inline] |
| void llvm::SmallSet< T, N >::clear | ( | ) | [inline] |
Definition at line 96 of file SmallSet.h.
Referenced by llvm::SetVector< T, llvm::SmallVector< T, N >, llvm::SmallSet< T, N > >::clear(), and llvm::LiveIntervals::processImplicitDefs().