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

The main scalar evolution driver. Because client code (intentionally) can't do much with the SCEV objects directly, they must ask this class for services.

Terms

This class consists of common code factored out of the SmallVector class to reduce code duplication based on the SmallVector 'N' template parameter.

Sizes

This class consists of common code factored out of the SmallVector class to reduce code duplication based on the SmallVector 'N' template parameter.

ElementSize

This class represents an analyzed expression in the program. These are opaque objects that the client is not allowed to do much with directly.

Created with MrDocs