A range adaptor for a pair of iterators.
Synopsis
Declared in <llvm/ADT/iterator_range.h>
template<typename IteratorT>
class iterator_range;
Description
This just wraps two iterators into a range‐compatible interface. Nothing fancy at all.
Member Functions
Name |
Description |
|
Constructors |
Return an iterator to the first element. |
|
Return true if the range contains no elements. |
|
Return an iterator past the last element. |
Deduction Guides
Name |
Description |
|
Deduction guide for constructing an iterator_range from a container. |
Non-Member Functions
Name |
Description |
Return a range that visits |
|
Return a range over the children of node |
|
Return a range over the outgoing child edges of node |
|
Return a range over all operands in the const bundle containing |
|
Return a range walking defining accesses from |
|
Return a range that visits |
|
Return a range that visits |
|
Return the range of DbgRecords attached to |
|
Return a range over the inverse‐order children of node |
|
Return a range that visits the inverse of |
|
Return a range that visits the inverse of |
|
Return a range over all nodes of |
|
Same as previous, but with range expressed via iterator_range. |
|
Make a range that does early increment to allow mutation of the underlying range without disrupting iteration. |
|
Build an iterator range whose increments report failure through |
|
Convenience function that takes a range of elements and a predicate, and return a new filter_iterator range. |
|
Return a range that iterates over the pointees of |
|
Return a range that iterates over the pointees of |
|
Return a range whose iterators expose addresses of elements in |
|
Construct an iterator_range from a pair of iterators. |
|
Convenience function for iterating over sub‐ranges. |
|
Return a range over all operands in the bundle containing |
|
Return a range over all nodes of graph |
|
Return a range walking the optimized clobbering‐access chain from |
|
Returns an iterator range over all physical register and mask operands for |
|
Iterate over partitions of a string split on character |
|
Iterate over partitions of a string split on |
|
Return a range walking upward defs from |
|
Use this to get all registered SubCommands from the provided parser. |
|
Find the first spelling in a range that applies to a language version. |
|
Create an iterator range over the entries of the llvm.global_ctors array. |
|
Create an iterator range over the entries of the llvm.global_dtors array. |
|
Create an iterator range over the GlobalValues that contribute to static initialization. |
Created with MrDocs