LLVM
8.0.1
|
A partition of the slices. More...
Public Member Functions | |
uint64_t | beginOffset () const |
The start offset of this partition. More... | |
uint64_t | endOffset () const |
The end offset of this partition. More... | |
uint64_t | size () const |
The size of the partition. More... | |
bool | empty () const |
Test whether this partition contains no slices, and merely spans a region occupied by split slices. More... | |
ArrayRef< Slice * > | splitSliceTails () const |
Get the sequence of split slice tails. More... | |
Iterate slices that start within the partition. | |
These may be splittable or unsplittable. They have a begin offset >= the partition begin offset. | |
iterator | begin () const |
iterator | end () const |
Friends | |
class | AllocaSlices |
class | AllocaSlices::partition_iterator |
A partition of the slices.
An ephemeral representation for a range of slices which can be viewed as a partition of the alloca. This range represents a span of the alloca's memory which cannot be split, and provides access to all of the slices overlapping some part of the partition.
Objects of this type are produced by traversing the alloca's slices, but are only ephemeral and not persistent.
|
inline |
Definition at line 416 of file SROA.cpp.
References SI.
Referenced by getTypePartition(), and isIntegerWideningViable().
|
inline |
The start offset of this partition.
All of the contained slices start at or after this offset.
Definition at line 388 of file SROA.cpp.
Referenced by getTypePartition(), and isVectorPromotionViableForSlice().
|
inline |
|
inline |
Definition at line 417 of file SROA.cpp.
Referenced by getTypePartition(), and isIntegerWideningViable().
|
inline |
The end offset of this partition.
All of the contained slices end at or before this offset.
Definition at line 393 of file SROA.cpp.
Referenced by getTypePartition(), and isVectorPromotionViableForSlice().
|
inline |
The size of the partition.
Note that this can never be zero.
Definition at line 398 of file SROA.cpp.
References assert().
Referenced by getTypePartition().
|
inline |
Get the sequence of split slice tails.
These tails are of slices which start before this partition but are split and overlap into the partition. We accumulate these while forming partitions.
Definition at line 425 of file SROA.cpp.
Referenced by getTypePartition().
|
friend |
|
friend |