A version of PriorityWorklist that selects small size optimized data structures for the vector and map.
Synopsis
Declared in <llvm/ADT/PriorityWorklist.h>
template<
typename T,
unsigned int N>
class SmallPriorityWorklist
: public PriorityWorklist<T, SmallVector<T, N>, SmallDenseMap<T, ptrdiff_t>>
Base Classes
Name |
Description |
|
A FILO worklist that prioritizes on re‐insertion without duplication. |
Type Aliases
Name |
Description |
Const reference to a worklist element. |
|
Key type used for membership queries. |
|
Mutable reference to a worklist element. |
|
Unsigned type used for sizes and counts. |
|
Element type stored in the worklist. |
Member Functions
Name |
Description |
|
Construct an empty small priority worklist. |
Return the last element of the PriorityWorklist. |
|
Completely clear the PriorityWorklist |
|
Count the number of elements of a given key in the PriorityWorklist. |
|
Determine if the PriorityWorklist is empty or not. |
|
Erase an item from the worklist. |
|
Erase items from the set vector based on a predicate function. |
|
|
|
Remove the last element of the PriorityWorklist. |
|
Remove and return the last element of the PriorityWorklist. |
|
Returns the number of elements in the worklist. |
Created with MrDocs