LLVM: llvm::iterator_range< IteratorT > Class Template Reference (original) (raw)

A range adaptor for a pair of iterators. More...

#include "[llvm/ADT/iterator_range.h](iterator%5F%5Frange%5F8h%5Fsource.html)"

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

Detailed Description

template
class llvm::iterator_range< IteratorT >

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.

Constructor & Destructor Documentation

template

template<typename Container, std::void_t< explicitly_converted_t< llvm::detail::IterOfRange< Container >, IteratorT > > * = nullptr>

iterator_range() [2/2]

template

llvm::iterator_range< IteratorT >::iterator_range ( IteratorT begin_iterator, IteratorT end_iterator ) inline

Member Function Documentation

begin()

template

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().

empty()

template

end()

template


The documentation for this class was generated from the following file: