class AllocaSlices::partition_iterator

Declaration

class AllocaSlices::partition_iterator : public iterator_facade_base { /* full declaration omitted */ };

Description

An iterator over partitions of the alloca's slices. This iterator implements the core algorithm for partitioning the alloca's slices. It is a forward iterator as we don't support backtracking for efficiency reasons, and re-use a single storage area to maintain the current set of split slices. It is templated on the slice iterator type to use so that it can operate with either const or non-const slice iterators.

Declared at: llvm/lib/Transforms/Scalar/SROA.cpp:430

Inherits from: iterator_facade_base