Compute the array dimensions Sizes from the set of Terms extracted from the memory access function of this SCEVAddRecExpr (second step of delinearization).

Synopsis

Declared in <llvm/Analysis/Delinearization.h>

void
findArrayDimensions(
    ScalarEvolution& SE,
    SmallVectorImpl<SCEV const*>& Terms,
    SmallVectorImpl<SCEV const*>& Sizes,
    SCEV const* ElementSize);

Parameters

Name

Description

SE

Scalar evolution used to GCD‐divide the collected terms.

Terms

Parametric terms extracted from the access function.

Sizes

Filled with the inferred size of each array dimension.

ElementSize

Size in bytes of one array element.

Created with MrDocs