llvm::SCEVVisitor

This class defines a simple visitor class that may be used for various SCEV analysis purposes.

Synopsis

Declared in <llvm/Analysis/ScalarEvolutionExpressions.h>

template<
    typename SC,
    typename RetVal = void>
struct SCEVVisitor;

Member Functions

NameDescription
visit Dispatch to the typed visit method for S.
visitCouldNotCompute Default handler for SCEVCouldNotCompute; aborts on use.

Derived Classes

NameDescription
SCEVDivision SCEV visitor that divides a numerator expression by a fixed denominator.
SCEVRewriteVisitor This visitor recursively visits a SCEV expression and re-writes it. The result from each visit is cached, so it will return the same SCEV for the same input.