Address range collection that merges intersecting and adjacent ranges.
Synopsis
Declared in <llvm/ADT/AddressRanges.h>
class AddressRanges
: public AddressRangesBase<AddressRange>
Description
This class keeps a sorted vector of AddressRange objects and can perform insertions and searches efficiently. Intersecting([100,200), [150,300))]] and adjacent([100,200), [200,300)) address ranges are combined during]] insertion.
Base Classes
Name |
Description |
Base class for sorted, non‐overlapping address range collections. |
Member Functions
Name |
Description |
Return an iterator to the first stored range. |
|
Remove all ranges from the collection. |
|
|
|
Return true if the collection holds no ranges. |
|
Return an iterator past the last stored range. |
|
Return the stored entry that contains |
|
Insert |
|
Return the range entry at index |
|
Reserve capacity for at least |
|
Return the number of stored ranges. |
|
Return true if both collections store the same ranges in order. |
Protected Type Aliases
Name |
Description |
Sorted vector of address‐range‐like entries. |
Protected Member Functions
Name |
Description |
Find a stored range that fully contains []`Start,` |
Protected Data Members
Name |
Description |
Storage for the normalized, non‐overlapping ranges. |
Non-Member Functions
Name |
Description |
Decode a collection of address ranges from a binary data stream. |
|
Encode a collection of address ranges into a binary stream. |
Created with MrDocs