Drive the analysis of interleaved memory accesses in the loop.
Synopsis
Declared in <llvm/Analysis/VectorUtils.h>
class InterleavedAccessInfo;
Description
Use this class to analyze interleaved accesses only when we can vectorize a loop. Otherwise it's meaningless to do analysis as the vectorization on interleaved accesses is unsafe.
The analysis collects interleave groups and records the relationships between the member and the group in a map.
Member Functions
Name |
Description |
|
|
|
Destructor |
Analyze the interleaved accesses and collect them in interleave groups. Substitute symbolic strides using |
|
Get the interleave group that |
|
Returns true if we have any interleave groups. |
|
Invalidate groups, e.g., in case all blocks in loop will be predicated contrary to original assumption. Although we currently prevent group formation for predicated accesses, we may be able to relax this limitation in the future once we handle more complicated blocks. Returns true if any groups were invalidated. |
|
Invalidate groups that require a scalar epilogue (due to gaps). This can happen when optimizing for size forbids a scalar epilogue, and the gap cannot be filtered by masking the load/store. |
|
Check if |
|
Returns true if an interleaved group that may access memory out‐of‐bounds requires a scalar epilogue iteration for correctness. |
Created with MrDocs