Movatterモバイル変換


[0]ホーム

URL:


LLVM 20.0.0git
Public Member Functions |List of all members
llvm::iterator_range< IteratorT > Class Template Reference

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
 

Detailed Description

template<typename IteratorT>
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 line42 of fileiterator_range.h.

Constructor & Destructor Documentation

◆ iterator_range()[1/2]

template<typename IteratorT >
template<typename Container , std::enable_if_t<explicitly_convertible<llvm::detail::IterOfRange< Container >, IteratorT >::value > * = nullptr>
llvm::iterator_range< IteratorT >::iterator_range(Container && c)
inline

Definition at line57 of fileiterator_range.h.

◆ iterator_range()[2/2]

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

Definition at line60 of fileiterator_range.h.

Member Function Documentation

◆ begin()

template<typename IteratorT >
IteratorTllvm::iterator_range< IteratorT >::begin() const
inline

Definition at line64 of fileiterator_range.h.

Referenced byllvm::orc::CtorDtorRunner::add(),llvm::RegisterBankInfo::applyDefaultMapping(),llvm::DominatorTreeBase< NodeT, IsPostDom >::findNearestCommonDominator(),llvm::LazyCallGraph::RefSCC::insertIncomingRefEdge(),llvm::at::RAUW(), andllvm::sandboxir::BranchInst::successors().

◆ empty()

template<typename IteratorT >
boolllvm::iterator_range< IteratorT >::empty() const
inline

Definition at line66 of fileiterator_range.h.

Referenced byllvm::orc::CtorDtorRunner::add(),llvm::RegisterBankInfo::applyDefaultMapping(),DbgVariableRecordsRemoveRedundantDbgInstrsUsingForwardScan(),DbgVariableRecordsRemoveUndefDbgAssignsFromEntryBlock(),llvm::DwarfFile::emitUnit(),llvm::DominatorTreeBase< NodeT, IsPostDom >::findNearestCommonDominator(),removeRedundantDbgInstrsUsingForwardScan(), andremoveUndefDbgAssignsFromEntryBlock().

◆ end()

template<typename IteratorT >
IteratorTllvm::iterator_range< IteratorT >::end() const
inline

Definition at line65 of fileiterator_range.h.

Referenced bycollectAllHeaderMasks(),llvm::LazyCallGraph::RefSCC::insertIncomingRefEdge(),llvm::at::RAUW(), andllvm::sandboxir::BranchInst::successors().


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

Generated on Sun Jul 20 2025 19:05:43 for LLVM by doxygen 1.9.6
[8]ページ先頭

©2009-2025 Movatter.jp