Return true if a particular regular or SameSD level is scalar.
Declared in <llvm/Analysis/DependenceAnalysis.h>
virtual
bool
isScalar(
unsigned int Level,
bool SameSD = false) const;
A level is scalar when no subscript in the source or destination mentions the induction variable associated with the loop at this level.
True if the level is scalar.
| Name | Description |
|---|---|
| Level | Loop nesting level to query (1-based). |
| SameSD | When true, interpret Level as a SameSD level. |