clang 24.0.0git
OMPLoopDirective Class Reference

This is a common base class for loop directives ('omp simd', 'omp for', 'omp for simd' etc.). It is responsible for the loop code generation. More...

#include "clang/AST/StmtOpenMP.h"

Inheritance diagram for OMPLoopDirective:
[legend]

Public Member Functions

Expr * getIterationVariable () const
Expr * getLastIteration () const
Expr * getCalcLastIteration () const
Expr * getPreCond () const
Expr * getCond () const
Expr * getInit () const
Expr * getInc () const
const Stmt * getPreInits () const
Stmt * getPreInits ()
Expr * getIsLastIterVariable () const
Expr * getLowerBoundVariable () const
Expr * getUpperBoundVariable () const
Expr * getStrideVariable () const
Expr * getEnsureUpperBound () const
Expr * getNextLowerBound () const
Expr * getNextUpperBound () const
Expr * getNumIterations () const
Expr * getPrevLowerBoundVariable () const
Expr * getPrevUpperBoundVariable () const
Expr * getDistInc () const
Expr * getPrevEnsureUpperBound () const
Expr * getCombinedLowerBoundVariable () const
Expr * getCombinedUpperBoundVariable () const
Expr * getCombinedEnsureUpperBound () const
Expr * getCombinedInit () const
Expr * getCombinedCond () const
Expr * getCombinedNextLowerBound () const
Expr * getCombinedNextUpperBound () const
Expr * getCombinedDistCond () const
Expr * getCombinedParForInDistCond () const
Stmt * getBody ()
const Stmt * getBody () const
ArrayRef< Expr * > counters ()
ArrayRef< Expr * > counters () const
ArrayRef< Expr * > private_counters ()
ArrayRef< Expr * > private_counters () const
ArrayRef< Expr * > inits ()
ArrayRef< Expr * > inits () const
ArrayRef< Expr * > updates ()
ArrayRef< Expr * > updates () const
ArrayRef< Expr * > finals ()
ArrayRef< Expr * > finals () const
ArrayRef< Expr * > dependent_counters ()
ArrayRef< Expr * > dependent_counters () const
ArrayRef< Expr * > dependent_inits ()
ArrayRef< Expr * > dependent_inits () const
ArrayRef< Expr * > finals_conditions ()
ArrayRef< Expr * > finals_conditions () const

Static Public Member Functions

static bool classof (const Stmt *T)

Protected Member Functions

 OMPLoopDirective (StmtClass SC, OpenMPDirectiveKind Kind, SourceLocation StartLoc, SourceLocation EndLoc, unsigned CollapsedNum)
 Build instance of loop directive of class Kind.
void setIterationVariable (Expr *IV)
void setLastIteration (Expr *LI)
void setCalcLastIteration (Expr *CLI)
void setPreCond (Expr *PC)
void setCond (Expr *Cond)
void setInit (Expr *Init)
void setInc (Expr *Inc)
void setPreInits (Stmt *PreInits)
void setIsLastIterVariable (Expr *IL)
void setLowerBoundVariable (Expr *LB)
void setUpperBoundVariable (Expr *UB)
void setStrideVariable (Expr *ST)
void setEnsureUpperBound (Expr *EUB)
void setNextLowerBound (Expr *NLB)
void setNextUpperBound (Expr *NUB)
void setNumIterations (Expr *NI)
void setPrevLowerBoundVariable (Expr *PrevLB)
void setPrevUpperBoundVariable (Expr *PrevUB)
void setDistInc (Expr *DistInc)
void setPrevEnsureUpperBound (Expr *PrevEUB)
void setCombinedLowerBoundVariable (Expr *CombLB)
void setCombinedUpperBoundVariable (Expr *CombUB)
void setCombinedEnsureUpperBound (Expr *CombEUB)
void setCombinedInit (Expr *CombInit)
void setCombinedCond (Expr *CombCond)
void setCombinedNextLowerBound (Expr *CombNLB)
void setCombinedNextUpperBound (Expr *CombNUB)
void setCombinedDistCond (Expr *CombDistCond)
void setCombinedParForInDistCond (Expr *CombParForInDistCond)
void setCounters (ArrayRef< Expr * > A)
void setPrivateCounters (ArrayRef< Expr * > A)
void setInits (ArrayRef< Expr * > A)
void setUpdates (ArrayRef< Expr * > A)
void setFinals (ArrayRef< Expr * > A)
void setDependentCounters (ArrayRef< Expr * > A)
void setDependentInits (ArrayRef< Expr * > A)
void setFinalsConditions (ArrayRef< Expr * > A)
void setHelperExprs (const HelperExprs &Exprs)
 Set the helper expressions used by this directive kind.

Static Protected Member Functions

static unsigned getArraysOffset (OpenMPDirectiveKind Kind)
 Offset to the start of children expression arrays.
static unsigned numLoopChildren (unsigned CollapsedNum, OpenMPDirectiveKind Kind)
 Children number.

Friends

class ASTStmtReader

Detailed Description

This is a common base class for loop directives ('omp simd', 'omp for', 'omp for simd' etc.). It is responsible for the loop code generation.

Definition at line 1110 of file StmtOpenMP.h.

Constructor & Destructor Documentation

◆ OMPLoopDirective()

OMPLoopDirective::OMPLoopDirective ( StmtClass SC,
OpenMPDirectiveKind Kind,
SourceLocation StartLoc,
SourceLocation EndLoc,
unsigned CollapsedNum )
inlineprotected

Build instance of loop directive of class Kind.

Parameters
SCStatement class.
KindKind of OpenMP directive.
StartLocStarting location of the directive (directive keyword).
EndLocEnding location of the directive.
CollapsedNumNumber of collapsed loops from 'collapse' clause.

Definition at line 1245 of file StmtOpenMP.h.

Referenced by counters(), dependent_counters(), dependent_inits(), finals(), finals_conditions(), getBody(), inits(), OMPDistributeDirective::OMPExecutableDirective, OMPDistributeParallelForDirective::OMPExecutableDirective, OMPDistributeParallelForSimdDirective::OMPExecutableDirective, OMPDistributeSimdDirective::OMPExecutableDirective, OMPForDirective::OMPExecutableDirective, OMPForSimdDirective::OMPExecutableDirective, OMPGenericLoopDirective::OMPExecutableDirective, OMPMaskedTaskLoopDirective::OMPExecutableDirective, OMPMaskedTaskLoopSimdDirective::OMPExecutableDirective, OMPMasterTaskLoopDirective::OMPExecutableDirective, OMPMasterTaskLoopSimdDirective::OMPExecutableDirective, OMPParallelForDirective::OMPExecutableDirective, OMPParallelForSimdDirective::OMPExecutableDirective, OMPParallelGenericLoopDirective::OMPExecutableDirective, OMPParallelMaskedTaskLoopDirective::OMPExecutableDirective, OMPParallelMaskedTaskLoopSimdDirective::OMPExecutableDirective, OMPParallelMasterTaskLoopDirective::OMPExecutableDirective, OMPParallelMasterTaskLoopSimdDirective::OMPExecutableDirective, OMPSimdDirective::OMPExecutableDirective, OMPTargetGenericLoopDirective::OMPExecutableDirective, OMPTargetParallelForDirective::OMPExecutableDirective, OMPTargetParallelForSimdDirective::OMPExecutableDirective, OMPTargetParallelGenericLoopDirective::OMPExecutableDirective, OMPTargetSimdDirective::OMPExecutableDirective, OMPTargetTeamsDistributeDirective::OMPExecutableDirective, OMPTargetTeamsDistributeParallelForDirective::OMPExecutableDirective, OMPTargetTeamsDistributeParallelForSimdDirective::OMPExecutableDirective, OMPTargetTeamsDistributeSimdDirective::OMPExecutableDirective, OMPTargetTeamsGenericLoopDirective::OMPExecutableDirective, OMPTaskLoopDirective::OMPExecutableDirective, OMPTaskLoopSimdDirective::OMPExecutableDirective, OMPTeamsDistributeDirective::OMPExecutableDirective, OMPTeamsDistributeParallelForDirective::OMPExecutableDirective, OMPTeamsDistributeParallelForSimdDirective::OMPExecutableDirective, OMPTeamsDistributeSimdDirective::OMPExecutableDirective, OMPTeamsGenericLoopDirective::OMPExecutableDirective, private_counters(), and updates().

Member Function Documentation

◆ classof()

bool OMPLoopDirective::classof ( const Stmt * T)
inlinestatic

Definition at line 1628 of file StmtOpenMP.h.

◆ counters() [1/2]

ArrayRef< Expr * > OMPLoopDirective::counters ( )
inline

◆ counters() [2/2]

ArrayRef< Expr * > OMPLoopDirective::counters ( ) const
inline

Definition at line 1582 of file StmtOpenMP.h.

References OMPLoopDirective().

◆ dependent_counters() [1/2]

ArrayRef< Expr * > OMPLoopDirective::dependent_counters ( )
inline

Definition at line 1610 of file StmtOpenMP.h.

Referenced by emitPreCond().

◆ dependent_counters() [2/2]

ArrayRef< Expr * > OMPLoopDirective::dependent_counters ( ) const
inline

Definition at line 1612 of file StmtOpenMP.h.

References OMPLoopDirective().

◆ dependent_inits() [1/2]

ArrayRef< Expr * > OMPLoopDirective::dependent_inits ( )
inline

Definition at line 1616 of file StmtOpenMP.h.

Referenced by emitPreCond().

◆ dependent_inits() [2/2]

ArrayRef< Expr * > OMPLoopDirective::dependent_inits ( ) const
inline

Definition at line 1618 of file StmtOpenMP.h.

References OMPLoopDirective().

◆ finals() [1/2]

ArrayRef< Expr * > OMPLoopDirective::finals ( )
inline

Definition at line 1604 of file StmtOpenMP.h.

Referenced by clang::CodeGen::CodeGenFunction::EmitOMPSimdFinal().

◆ finals() [2/2]

ArrayRef< Expr * > OMPLoopDirective::finals ( ) const
inline

Definition at line 1606 of file StmtOpenMP.h.

References OMPLoopDirective().

◆ finals_conditions() [1/2]

ArrayRef< Expr * > OMPLoopDirective::finals_conditions ( )
inline

Definition at line 1622 of file StmtOpenMP.h.

Referenced by clang::CodeGen::CodeGenFunction::EmitOMPLoopBody().

◆ finals_conditions() [2/2]

ArrayRef< Expr * > OMPLoopDirective::finals_conditions ( ) const
inline

Definition at line 1624 of file StmtOpenMP.h.

References OMPLoopDirective().

◆ getArraysOffset()

unsigned OMPLoopDirective::getArraysOffset ( OpenMPDirectiveKind Kind)
inlinestaticprotected

Offset to the start of children expression arrays.

Definition at line 1251 of file StmtOpenMP.h.

Referenced by numLoopChildren(), and setHelperExprs().

◆ getBody() [1/2]

Stmt * OMPLoopDirective::getBody ( )

Definition at line 277 of file StmtOpenMP.cpp.

References clang::Data.

Referenced by clang::CodeGen::CodeGenFunction::EmitOMPLoopBody(), and getBody().

◆ getBody() [2/2]

const Stmt * OMPLoopDirective::getBody ( ) const
inline

Definition at line 1576 of file StmtOpenMP.h.

References getBody(), and OMPLoopDirective().

◆ getCalcLastIteration()

◆ getCombinedCond()

Expr * OMPLoopDirective::getCombinedCond ( ) const
inline

◆ getCombinedDistCond()

Expr * OMPLoopDirective::getCombinedDistCond ( ) const
inline

◆ getCombinedEnsureUpperBound()

Expr * OMPLoopDirective::getCombinedEnsureUpperBound ( ) const
inline

◆ getCombinedInit()

Expr * OMPLoopDirective::getCombinedInit ( ) const
inline

◆ getCombinedLowerBoundVariable()

Expr * OMPLoopDirective::getCombinedLowerBoundVariable ( ) const
inline

◆ getCombinedNextLowerBound()

Expr * OMPLoopDirective::getCombinedNextLowerBound ( ) const
inline

Definition at line 1555 of file StmtOpenMP.h.

◆ getCombinedNextUpperBound()

Expr * OMPLoopDirective::getCombinedNextUpperBound ( ) const
inline

Definition at line 1560 of file StmtOpenMP.h.

◆ getCombinedParForInDistCond()

Expr * OMPLoopDirective::getCombinedParForInDistCond ( ) const
inline

Definition at line 1570 of file StmtOpenMP.h.

◆ getCombinedUpperBoundVariable()

Expr * OMPLoopDirective::getCombinedUpperBoundVariable ( ) const
inline

◆ getCond()

Expr * OMPLoopDirective::getCond ( ) const
inline

◆ getDistInc()

◆ getEnsureUpperBound()

◆ getInc()

◆ getInit()

Expr * OMPLoopDirective::getInit ( ) const
inline

◆ getIsLastIterVariable()

◆ getIterationVariable()

◆ getLastIteration()

◆ getLowerBoundVariable()

◆ getNextLowerBound()

Expr * OMPLoopDirective::getNextLowerBound ( ) const
inline

Definition at line 1486 of file StmtOpenMP.h.

◆ getNextUpperBound()

Expr * OMPLoopDirective::getNextUpperBound ( ) const
inline

Definition at line 1494 of file StmtOpenMP.h.

◆ getNumIterations()

◆ getPreCond()

◆ getPreInits() [1/2]

Stmt * OMPLoopDirective::getPreInits ( )
inline

Definition at line 1445 of file StmtOpenMP.h.

◆ getPreInits() [2/2]

const Stmt * OMPLoopDirective::getPreInits ( ) const
inline

Definition at line 1442 of file StmtOpenMP.h.

◆ getPrevEnsureUpperBound()

Expr * OMPLoopDirective::getPrevEnsureUpperBound ( ) const
inline

Definition at line 1525 of file StmtOpenMP.h.

Referenced by emitInnerParallelForWhenCombined().

◆ getPrevLowerBoundVariable()

Expr * OMPLoopDirective::getPrevLowerBoundVariable ( ) const
inline

Definition at line 1510 of file StmtOpenMP.h.

Referenced by emitDistributeParallelForInnerBounds().

◆ getPrevUpperBoundVariable()

Expr * OMPLoopDirective::getPrevUpperBoundVariable ( ) const
inline

Definition at line 1515 of file StmtOpenMP.h.

Referenced by emitDistributeParallelForInnerBounds().

◆ getStrideVariable()

◆ getUpperBoundVariable()

◆ inits() [1/2]

ArrayRef< Expr * > OMPLoopDirective::inits ( )
inline

Definition at line 1592 of file StmtOpenMP.h.

Referenced by emitPreCond().

◆ inits() [2/2]

ArrayRef< Expr * > OMPLoopDirective::inits ( ) const
inline

Definition at line 1594 of file StmtOpenMP.h.

References OMPLoopDirective().

◆ numLoopChildren()

unsigned OMPLoopDirective::numLoopChildren ( unsigned CollapsedNum,
OpenMPDirectiveKind Kind )
inlinestaticprotected

Children number.

Definition at line 1261 of file StmtOpenMP.h.

References getArraysOffset().

Referenced by OMPDistributeDirective::Create(), OMPDistributeParallelForDirective::Create(), OMPDistributeParallelForSimdDirective::Create(), OMPDistributeSimdDirective::Create(), OMPForDirective::Create(), OMPForSimdDirective::Create(), OMPGenericLoopDirective::Create(), OMPMaskedTaskLoopDirective::Create(), OMPMaskedTaskLoopSimdDirective::Create(), OMPMasterTaskLoopDirective::Create(), OMPMasterTaskLoopSimdDirective::Create(), OMPParallelForDirective::Create(), OMPParallelForSimdDirective::Create(), OMPParallelGenericLoopDirective::Create(), OMPParallelMaskedTaskLoopDirective::Create(), OMPParallelMaskedTaskLoopSimdDirective::Create(), OMPParallelMasterTaskLoopDirective::Create(), OMPParallelMasterTaskLoopSimdDirective::Create(), OMPSimdDirective::Create(), OMPTargetGenericLoopDirective::Create(), OMPTargetParallelForDirective::Create(), OMPTargetParallelForSimdDirective::Create(), OMPTargetParallelGenericLoopDirective::Create(), OMPTargetSimdDirective::Create(), OMPTargetTeamsDistributeDirective::Create(), OMPTargetTeamsDistributeParallelForDirective::Create(), OMPTargetTeamsDistributeParallelForSimdDirective::Create(), OMPTargetTeamsDistributeSimdDirective::Create(), OMPTargetTeamsGenericLoopDirective::Create(), OMPTaskLoopDirective::Create(), OMPTaskLoopSimdDirective::Create(), OMPTeamsDistributeDirective::Create(), OMPTeamsDistributeParallelForDirective::Create(), OMPTeamsDistributeParallelForSimdDirective::Create(), OMPTeamsDistributeSimdDirective::Create(), OMPTeamsGenericLoopDirective::Create(), OMPDistributeDirective::CreateEmpty(), OMPDistributeParallelForDirective::CreateEmpty(), OMPDistributeParallelForSimdDirective::CreateEmpty(), OMPDistributeSimdDirective::CreateEmpty(), OMPForDirective::CreateEmpty(), OMPForSimdDirective::CreateEmpty(), OMPGenericLoopDirective::CreateEmpty(), OMPMaskedTaskLoopDirective::CreateEmpty(), OMPMaskedTaskLoopSimdDirective::CreateEmpty(), OMPMasterTaskLoopDirective::CreateEmpty(), OMPMasterTaskLoopSimdDirective::CreateEmpty(), OMPParallelForDirective::CreateEmpty(), OMPParallelForSimdDirective::CreateEmpty(), OMPParallelGenericLoopDirective::CreateEmpty(), OMPParallelMaskedTaskLoopDirective::CreateEmpty(), OMPParallelMaskedTaskLoopSimdDirective::CreateEmpty(), OMPParallelMasterTaskLoopDirective::CreateEmpty(), OMPParallelMasterTaskLoopSimdDirective::CreateEmpty(), OMPSimdDirective::CreateEmpty(), OMPTargetGenericLoopDirective::CreateEmpty(), OMPTargetParallelForDirective::CreateEmpty(), OMPTargetParallelForSimdDirective::CreateEmpty(), OMPTargetParallelGenericLoopDirective::CreateEmpty(), OMPTargetSimdDirective::CreateEmpty(), OMPTargetTeamsDistributeDirective::CreateEmpty(), OMPTargetTeamsDistributeParallelForDirective::CreateEmpty(), OMPTargetTeamsDistributeParallelForSimdDirective::CreateEmpty(), OMPTargetTeamsDistributeSimdDirective::CreateEmpty(), OMPTargetTeamsGenericLoopDirective::CreateEmpty(), OMPTaskLoopDirective::CreateEmpty(), OMPTaskLoopSimdDirective::CreateEmpty(), OMPTeamsDistributeDirective::CreateEmpty(), OMPTeamsDistributeParallelForDirective::CreateEmpty(), OMPTeamsDistributeParallelForSimdDirective::CreateEmpty(), OMPTeamsDistributeSimdDirective::CreateEmpty(), OMPTeamsGenericLoopDirective::CreateEmpty(), OMPDistributeParallelForDirective::getTaskReductionRefExpr(), OMPForDirective::getTaskReductionRefExpr(), OMPParallelForDirective::getTaskReductionRefExpr(), OMPTargetParallelForDirective::getTaskReductionRefExpr(), OMPTargetTeamsDistributeParallelForDirective::getTaskReductionRefExpr(), and OMPTeamsDistributeParallelForDirective::getTaskReductionRefExpr().

◆ private_counters() [1/2]

ArrayRef< Expr * > OMPLoopDirective::private_counters ( )
inline

◆ private_counters() [2/2]

ArrayRef< Expr * > OMPLoopDirective::private_counters ( ) const
inline

Definition at line 1588 of file StmtOpenMP.h.

References OMPLoopDirective().

◆ setCalcLastIteration()

void OMPLoopDirective::setCalcLastIteration ( Expr * CLI)
inlineprotected

Definition at line 1275 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setCombinedCond()

void OMPLoopDirective::setCombinedCond ( Expr * CombCond)
inlineprotected

Definition at line 1389 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setCombinedDistCond()

void OMPLoopDirective::setCombinedDistCond ( Expr * CombDistCond)
inlineprotected

Definition at line 1404 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setCombinedEnsureUpperBound()

void OMPLoopDirective::setCombinedEnsureUpperBound ( Expr * CombEUB)
inlineprotected

Definition at line 1379 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setCombinedInit()

void OMPLoopDirective::setCombinedInit ( Expr * CombInit)
inlineprotected

Definition at line 1384 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setCombinedLowerBoundVariable()

void OMPLoopDirective::setCombinedLowerBoundVariable ( Expr * CombLB)
inlineprotected

Definition at line 1369 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setCombinedNextLowerBound()

void OMPLoopDirective::setCombinedNextLowerBound ( Expr * CombNLB)
inlineprotected

Definition at line 1394 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setCombinedNextUpperBound()

void OMPLoopDirective::setCombinedNextUpperBound ( Expr * CombNUB)
inlineprotected

Definition at line 1399 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setCombinedParForInDistCond()

void OMPLoopDirective::setCombinedParForInDistCond ( Expr * CombParForInDistCond)
inlineprotected

Definition at line 1409 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setCombinedUpperBoundVariable()

void OMPLoopDirective::setCombinedUpperBoundVariable ( Expr * CombUB)
inlineprotected

Definition at line 1374 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setCond()

void OMPLoopDirective::setCond ( Expr * Cond)
inlineprotected

Definition at line 1279 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setCounters()

void OMPLoopDirective::setCounters ( ArrayRef< Expr * > A)
protected

Definition at line 287 of file StmtOpenMP.cpp.

Referenced by setHelperExprs().

◆ setDependentCounters()

void OMPLoopDirective::setDependentCounters ( ArrayRef< Expr * > A)
protected

Definition at line 318 of file StmtOpenMP.cpp.

Referenced by setHelperExprs().

◆ setDependentInits()

void OMPLoopDirective::setDependentInits ( ArrayRef< Expr * > A)
protected

Definition at line 325 of file StmtOpenMP.cpp.

Referenced by setHelperExprs().

◆ setDistInc()

void OMPLoopDirective::setDistInc ( Expr * DistInc)
inlineprotected

Definition at line 1359 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setEnsureUpperBound()

void OMPLoopDirective::setEnsureUpperBound ( Expr * EUB)
inlineprotected

Definition at line 1317 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setFinals()

void OMPLoopDirective::setFinals ( ArrayRef< Expr * > A)
protected

Definition at line 312 of file StmtOpenMP.cpp.

References clang::getFinals().

Referenced by setHelperExprs().

◆ setFinalsConditions()

void OMPLoopDirective::setFinalsConditions ( ArrayRef< Expr * > A)
protected

Definition at line 331 of file StmtOpenMP.cpp.

Referenced by setHelperExprs().

◆ setHelperExprs()

◆ setInc()

void OMPLoopDirective::setInc ( Expr * Inc)
inlineprotected

Definition at line 1281 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setInit()

void OMPLoopDirective::setInit ( Expr * Init)
inlineprotected

Definition at line 1280 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setInits()

void OMPLoopDirective::setInits ( ArrayRef< Expr * > A)
protected

Definition at line 300 of file StmtOpenMP.cpp.

References clang::getInits().

Referenced by setHelperExprs().

◆ setIsLastIterVariable()

void OMPLoopDirective::setIsLastIterVariable ( Expr * IL)
inlineprotected

Definition at line 1285 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setIterationVariable()

void OMPLoopDirective::setIterationVariable ( Expr * IV)
inlineprotected

Definition at line 1269 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setLastIteration()

void OMPLoopDirective::setLastIteration ( Expr * LI)
inlineprotected

Definition at line 1272 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setLowerBoundVariable()

void OMPLoopDirective::setLowerBoundVariable ( Expr * LB)
inlineprotected

Definition at line 1293 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setNextLowerBound()

void OMPLoopDirective::setNextLowerBound ( Expr * NLB)
inlineprotected

Definition at line 1325 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setNextUpperBound()

void OMPLoopDirective::setNextUpperBound ( Expr * NUB)
inlineprotected

Definition at line 1333 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setNumIterations()

void OMPLoopDirective::setNumIterations ( Expr * NI)
inlineprotected

Definition at line 1341 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setPreCond()

void OMPLoopDirective::setPreCond ( Expr * PC)
inlineprotected

Definition at line 1278 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setPreInits()

void OMPLoopDirective::setPreInits ( Stmt * PreInits)
inlineprotected

Definition at line 1282 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setPrevEnsureUpperBound()

void OMPLoopDirective::setPrevEnsureUpperBound ( Expr * PrevEUB)
inlineprotected

Definition at line 1364 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setPrevLowerBoundVariable()

void OMPLoopDirective::setPrevLowerBoundVariable ( Expr * PrevLB)
inlineprotected

Definition at line 1349 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setPrevUpperBoundVariable()

void OMPLoopDirective::setPrevUpperBoundVariable ( Expr * PrevUB)
inlineprotected

Definition at line 1354 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setPrivateCounters()

void OMPLoopDirective::setPrivateCounters ( ArrayRef< Expr * > A)
protected

Definition at line 293 of file StmtOpenMP.cpp.

Referenced by setHelperExprs().

◆ setStrideVariable()

void OMPLoopDirective::setStrideVariable ( Expr * ST)
inlineprotected

Definition at line 1309 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ setUpdates()

void OMPLoopDirective::setUpdates ( ArrayRef< Expr * > A)
protected

Definition at line 306 of file StmtOpenMP.cpp.

References clang::getUpdates().

Referenced by setHelperExprs().

◆ setUpperBoundVariable()

void OMPLoopDirective::setUpperBoundVariable ( Expr * UB)
inlineprotected

Definition at line 1301 of file StmtOpenMP.h.

Referenced by setHelperExprs().

◆ updates() [1/2]

ArrayRef< Expr * > OMPLoopDirective::updates ( )
inline

Definition at line 1598 of file StmtOpenMP.h.

Referenced by clang::CodeGen::CodeGenFunction::EmitOMPLoopBody().

◆ updates() [2/2]

ArrayRef< Expr * > OMPLoopDirective::updates ( ) const
inline

Definition at line 1600 of file StmtOpenMP.h.

References OMPLoopDirective().

◆ ASTStmtReader

friend class ASTStmtReader
friend

Definition at line 1111 of file StmtOpenMP.h.

References ASTStmtReader.

Referenced by ASTStmtReader.


The documentation for this class was generated from the following files: