Skip to content

SageInterface::isCanonicalDoLoop

Check if a Fortran Do loop has a complete canonical form: Do I=1, 10, 1

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
bool
isCanonicalDoLoop(
    SgFortranDo* loop,
    SgInitializedName** ivar,
    SgExpression** lb,
    SgExpression** ub,
    SgExpression** step,
    SgStatement** body,
    bool* hasIncrementalIterationSpace,
    bool* isInclusiveUpperBound);

Parameters

Name

Description

ivar

This class represents the notion of a declared variable.

lb

This class represents the notion of an expression. Expressions

ub

This class represents the notion of an expression. Expressions

step

This class represents the notion of an expression. Expressions

body

This class represents the notion of a statement.

Created with MrDocs