LLVM: llvm::AddressRangesBase< T > Class Template Reference (original) (raw)
The AddressRangesBase class presents the base functionality for the normalized address ranges collection. More...
#include "[llvm/ADT/AddressRanges.h](AddressRanges%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| void | clear () |
| bool | empty () const |
| bool | contains (uint64_t Addr) const |
| bool | contains (AddressRange Range) const |
| void | reserve (size_t Capacity) |
| size_t | size () const |
| std::optional< T > | getRangeThatContains (uint64_t Addr) const |
| Collection::const_iterator | begin () const |
| Collection::const_iterator | end () const |
| const T & | operator[] (size_t I) const |
| bool | operator== (const AddressRangesBase &RHS) const |
| Protected Attributes | |
|---|---|
| Collection | Ranges |
template<typename T>
class llvm::AddressRangesBase< T >
The AddressRangesBase class presents the base functionality for the normalized address ranges collection.
This class keeps a sorted vector of AddressRange-like objects and can perform searches efficiently. The address ranges are always sorted and never contain any invalid, empty or intersected address ranges.
Definition at line 58 of file AddressRanges.h.
◆ Collection
◆ begin()
◆ clear()
◆ contains() [1/2]
◆ contains() [2/2]
◆ empty()
◆ end()
◆ find()
◆ getRangeThatContains()
◆ operator==()
◆ operator[]()
◆ reserve()
◆ size()
◆ Ranges
Definition at line 61 of file AddressRanges.h.
Referenced by begin(), clear(), contains(), contains(), empty(), end(), find(), getRangeThatContains(), operator==(), operator, reserve(), and size().
The documentation for this class was generated from the following file:
- include/llvm/ADT/AddressRanges.h