LLVM 20.0.0git
|
A range adaptor for a pair of iterators. More...
#include "llvm/ADT/iterator_range.h"
Public Member Functions | |
template<typename Container , std::enable_if_t< explicitly_convertible< llvm::detail::IterOfRange< Container >, IteratorT >::value > * = nullptr> | |
iterator_range (Container &&c) | |
iterator_range (IteratorT begin_iterator, IteratorT end_iterator) | |
IteratorT | begin () const |
IteratorT | end () const |
bool | empty () const |
A range adaptor for a pair of iterators.
This just wraps two iterators into a range-compatible interface. Nothing fancy at all.
Definition at line 42 of file iterator_range.h.
|
inline |
Definition at line 57 of file iterator_range.h.
|
inline |
Definition at line 60 of file iterator_range.h.
|
inline |
Definition at line 64 of file iterator_range.h.
Referenced by llvm::orc::CtorDtorRunner::add(), llvm::RegisterBankInfo::applyDefaultMapping(), llvm::LazyCallGraph::RefSCC::insertIncomingRefEdge(), llvm::at::RAUW(), and llvm::sandboxir::BranchInst::successors().
|
inline |
Definition at line 66 of file iterator_range.h.
Referenced by llvm::orc::CtorDtorRunner::add(), llvm::RegisterBankInfo::applyDefaultMapping(), DbgVariableRecordsRemoveRedundantDbgInstrsUsingForwardScan(), DbgVariableRecordsRemoveUndefDbgAssignsFromEntryBlock(), llvm::DwarfFile::emitUnit(), removeRedundantDbgInstrsUsingForwardScan(), and removeUndefDbgAssignsFromEntryBlock().
|
inline |
Definition at line 65 of file iterator_range.h.
Referenced by collectAllHeaderMasks(), llvm::LazyCallGraph::RefSCC::insertIncomingRefEdge(), llvm::at::RAUW(), and llvm::sandboxir::BranchInst::successors().