LLVM 22.0.0git
|
A range adaptor for a pair of iterators. More...
#include "llvm/ADT/iterator_range.h"
Public Member Functions | |
template<typename Container, std::void_t< explicitly_converted_t< llvm::detail::IterOfRange< Container >, IteratorT > > * = 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 32 of file iterator_range.h.
|
inline |
Definition at line 50 of file iterator_range.h.
|
inline |
Definition at line 53 of file iterator_range.h.
|
inline |
Definition at line 57 of file iterator_range.h.
Referenced by llvm::orc::CtorDtorRunner::add(), llvm::RegisterBankInfo::applyDefaultMapping(), llvm::CodeViewDebug::beginModule(), eliminateMove(), llvm::DominatorTreeBase< BlockT, false >::findNearestCommonDominator(), llvm::MachineInstr::getDebugOperand(), llvm::MachineInstr::getDebugOperand(), llvm::jitlink::getOrCreateLocalMachOHeader(), getSalvageOpsForTrunc(), llvm::SPIRVGlobalRegistry::getSPIRVTypeID(), llvm::LazyCallGraph::RefSCC::insertIncomingRefEdge(), isSafeToMove(), LLVMGetFirstTarget(), llvm::at::RAUW(), llvm::jitlink::SectionRange::SectionRange(), llvm::jitlink::splitCompactUnwindBlocks(), llvm::sandboxir::BranchInst::successors(), llvm::sandboxir::BranchInst::successors(), and llvm::jitlink::CompactUnwindManager< CURecTraits >::writeUnwindInfo().
|
inline |
Definition at line 59 of file iterator_range.h.
Referenced by llvm::orc::CtorDtorRunner::add(), llvm::RegisterBankInfo::applyDefaultMapping(), llvm::DwarfFile::emitUnit(), llvm::DominatorTreeBase< BlockT, false >::findNearestCommonDominator(), hasUAVsAtEveryStage(), and llvm::jitlink::SectionRange::SectionRange().
|
inline |
Definition at line 58 of file iterator_range.h.
Referenced by findHeaderMask(), llvm::LazyCallGraph::RefSCC::insertIncomingRefEdge(), LLVMGetTargetFromName(), PerformExtractEltToVMOVRRD(), preparePlanForMainVectorLoop(), llvm::at::RAUW(), llvm::jitlink::splitCompactUnwindBlocks(), llvm::sandboxir::BranchInst::successors(), and llvm::sandboxir::BranchInst::successors().