LLVM 24.0.0git
SliceSplitter::Iterator Struct Reference

An iterator which iterates over the sub-slices that we want to split the slice into. More...

Inheritance diagram for SliceSplitter::Iterator:
[legend]

Public Member Functions

 Iterator (SliceSplitter &SS, bool IsEnd)
bool operator== (const Iterator &Other) const
uint64_t getOffset () const
uint64_t getSize () const
Iterator & operator++ ()
const Iterator & operator* () const
Public Member Functions inherited from llvm::iterator_facade_base< Iterator, std::forward_iterator_tag, const Iterator >
Iterator operator+ (std::ptrdiff_t n) const
Iterator operator- (std::ptrdiff_t n) const
Iterator & operator++ ()
Iterator & operator-- ()
bool operator!= (const Iterator &RHS) const
bool operator> (const Iterator &RHS) const
bool operator<= (const Iterator &RHS) const
bool operator>= (const Iterator &RHS) const
PointerProxy operator-> () const
ReferenceProxy operator[] (std::ptrdiff_t n) const

Public Attributes

SliceSplitter & SS
unsigned Idx

Additional Inherited Members

Public Types inherited from llvm::iterator_facade_base< Iterator, std::forward_iterator_tag, const Iterator >
enum  
using iterator_category
using value_type
using difference_type
using pointer
using reference

Detailed Description

An iterator which iterates over the sub-slices that we want to split the slice into.

Definition at line 5007 of file SROA.cpp.

Constructor & Destructor Documentation

◆ Iterator()

SliceSplitter::Iterator::Iterator ( SliceSplitter & SS,
bool IsEnd )
inline

Definition at line 5012 of file SROA.cpp.

References Idx, SliceSplitter::SliceSplitter(), and SS.

Referenced by operator*(), operator++(), and operator==().

Member Function Documentation

◆ getOffset()

uint64_t SliceSplitter::Iterator::getOffset ( ) const
inline

Definition at line 5016 of file SROA.cpp.

References Idx, and SS.

Referenced by SliceSplitter::createLoad(), SliceSplitter::createSlice(), and SliceSplitter::createStore().

◆ getSize()

uint64_t SliceSplitter::Iterator::getSize ( ) const
inline

Definition at line 5017 of file SROA.cpp.

References llvm::getOffset(), Idx, and SS.

Referenced by SliceSplitter::createLoad(), and SliceSplitter::createSlice().

◆ operator*()

const Iterator & SliceSplitter::Iterator::operator* ( ) const
inline

Definition at line 5026 of file SROA.cpp.

References Iterator().

◆ operator++()

Iterator & SliceSplitter::Iterator::operator++ ( )
inline

Definition at line 5022 of file SROA.cpp.

References Idx, and Iterator().

◆ operator==()

bool SliceSplitter::Iterator::operator== ( const Iterator & Other) const
inline

Definition at line 5015 of file SROA.cpp.

References Idx, Iterator(), and llvm::Other.

Member Data Documentation

◆ Idx

unsigned SliceSplitter::Iterator::Idx

Definition at line 5011 of file SROA.cpp.

Referenced by getOffset(), getSize(), Iterator(), operator++(), and operator==().

◆ SS

SliceSplitter& SliceSplitter::Iterator::SS

Definition at line 5010 of file SROA.cpp.

Referenced by getOffset(), getSize(), and Iterator().


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