LLVM  15.0.0git
Classes | Namespaces | Functions
SmallPtrSet.h File Reference
#include "llvm/ADT/EpochTracker.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ReverseIteration.h"
#include "llvm/Support/type_traits.h"
#include <cassert>
#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <initializer_list>
#include <iterator>
#include <utility>
Include dependency graph for SmallPtrSet.h:

Go to the source code of this file.

Classes

class  llvm::SmallPtrSetImplBase
 SmallPtrSetImplBase - This is the common code shared among all the SmallPtrSet<>'s, which is almost everything. More...
 
class  llvm::SmallPtrSetIteratorImpl
 SmallPtrSetIteratorImpl - This is the common base class shared between all instances of SmallPtrSetIterator. More...
 
class  llvm::SmallPtrSetIterator< PtrTy >
 SmallPtrSetIterator - This implements a const_iterator for SmallPtrSet. More...
 
struct  llvm::RoundUpToPowerOfTwo< N >
 RoundUpToPowerOfTwo - This is a helper template that rounds N up to the next power of two (which means N itself if N is already a power of two). More...
 
struct  llvm::RoundUpToPowerOfTwoH< N, isPowerTwo >
 RoundUpToPowerOfTwoH - If N is not a power of two, increase it. More...
 
struct  llvm::RoundUpToPowerOfTwoH< N, false >
 
struct  llvm::RoundUpToPowerOfTwo< N >
 RoundUpToPowerOfTwo - This is a helper template that rounds N up to the next power of two (which means N itself if N is already a power of two). More...
 
class  llvm::SmallPtrSetImpl< PtrType >
 A templated base class for SmallPtrSet which provides the typesafe interface that is common across all small sizes. More...
 
class  llvm::SmallPtrSet< PtrType, SmallSize >
 SmallPtrSet - This class implements a set which is optimized for holding SmallSize or less elements. More...
 

Namespaces

 llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
 std
 

Functions

template<typename PtrType >
bool llvm::operator== (const SmallPtrSetImpl< PtrType > &LHS, const SmallPtrSetImpl< PtrType > &RHS)
 Equality comparison for SmallPtrSet. More...
 
template<typename PtrType >
bool llvm::operator!= (const SmallPtrSetImpl< PtrType > &LHS, const SmallPtrSetImpl< PtrType > &RHS)
 Inequality comparison for SmallPtrSet. More...
 
template<class T , unsigned N>
void std::swap (llvm::SmallPtrSet< T, N > &LHS, llvm::SmallPtrSet< T, N > &RHS)
 Implement std::swap in terms of SmallPtrSet swap. More...
 

Detailed Description

This file defines the SmallPtrSet class. See the doxygen comment for SmallPtrSetImplBase for more details on the algorithm used.

Definition in file SmallPtrSet.h.