llvm::Dependence::isScalar

Return true if a particular regular or SameSD level is scalar.

Synopsis

Declared in <llvm/Analysis/DependenceAnalysis.h>

virtual
bool
isScalar(
    unsigned int Level,
    bool SameSD = false) const;

Description

A level is scalar when no subscript in the source or destination mentions the induction variable associated with the loop at this level.

Return Value

True if the level is scalar.

Parameters

NameDescription
LevelLoop nesting level to query (1-based).
SameSDWhen true, interpret Level as a SameSD level.