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)

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 1102 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 1237 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, 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 1618 of file StmtOpenMP.h.

◆ counters() [1/2]

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

◆ counters() [2/2]

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

Definition at line 1572 of file StmtOpenMP.h.

References OMPLoopDirective().

◆ dependent_counters() [1/2]

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

Definition at line 1600 of file StmtOpenMP.h.

Referenced by emitPreCond().

◆ dependent_counters() [2/2]

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

Definition at line 1602 of file StmtOpenMP.h.

References OMPLoopDirective().

◆ dependent_inits() [1/2]

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

Definition at line 1606 of file StmtOpenMP.h.

Referenced by emitPreCond().

◆ dependent_inits() [2/2]

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

Definition at line 1608 of file StmtOpenMP.h.

References OMPLoopDirective().

◆ finals() [1/2]

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

Definition at line 1594 of file StmtOpenMP.h.

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

◆ finals() [2/2]

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

Definition at line 1596 of file StmtOpenMP.h.

References OMPLoopDirective().

◆ finals_conditions() [1/2]

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

Definition at line 1612 of file StmtOpenMP.h.

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

◆ finals_conditions() [2/2]

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

Definition at line 1614 of file StmtOpenMP.h.

References OMPLoopDirective().

◆ getArraysOffset()

unsigned OMPLoopDirective::getArraysOffset ( OpenMPDirectiveKind Kind)
inlinestaticprotected

Offset to the start of children expression arrays.

Definition at line 1243 of file StmtOpenMP.h.

Referenced by numLoopChildren().

◆ getBody() [1/2]

Stmt * OMPLoopDirective::getBody ( )

Definition at line 274 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 1566 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 1545 of file StmtOpenMP.h.

◆ getCombinedNextUpperBound()

Expr * OMPLoopDirective::getCombinedNextUpperBound ( ) const
inline

Definition at line 1550 of file StmtOpenMP.h.

◆ getCombinedParForInDistCond()

Expr * OMPLoopDirective::getCombinedParForInDistCond ( ) const
inline

Definition at line 1560 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 1476 of file StmtOpenMP.h.

◆ getNextUpperBound()

Expr * OMPLoopDirective::getNextUpperBound ( ) const
inline

Definition at line 1484 of file StmtOpenMP.h.

◆ getNumIterations()

◆ getPreCond()

◆ getPreInits() [1/2]

Stmt * OMPLoopDirective::getPreInits ( )
inline

Definition at line 1435 of file StmtOpenMP.h.

◆ getPreInits() [2/2]

const Stmt * OMPLoopDirective::getPreInits ( ) const
inline

Definition at line 1432 of file StmtOpenMP.h.

◆ getPrevEnsureUpperBound()

Expr * OMPLoopDirective::getPrevEnsureUpperBound ( ) const
inline

Definition at line 1515 of file StmtOpenMP.h.

Referenced by emitInnerParallelForWhenCombined().

◆ getPrevLowerBoundVariable()

Expr * OMPLoopDirective::getPrevLowerBoundVariable ( ) const
inline

Definition at line 1500 of file StmtOpenMP.h.

Referenced by emitDistributeParallelForInnerBounds().

◆ getPrevUpperBoundVariable()

Expr * OMPLoopDirective::getPrevUpperBoundVariable ( ) const
inline

Definition at line 1505 of file StmtOpenMP.h.

Referenced by emitDistributeParallelForInnerBounds().

◆ getStrideVariable()

◆ getUpperBoundVariable()

◆ inits() [1/2]

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

Definition at line 1582 of file StmtOpenMP.h.

Referenced by emitPreCond().

◆ inits() [2/2]

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

Definition at line 1584 of file StmtOpenMP.h.

References OMPLoopDirective().

◆ numLoopChildren()

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

Children number.

Definition at line 1253 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(), 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(), 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 1578 of file StmtOpenMP.h.

References OMPLoopDirective().

◆ setCalcLastIteration()

void OMPLoopDirective::setCalcLastIteration ( Expr * CLI)
inlineprotected

Definition at line 1267 of file StmtOpenMP.h.

◆ setCombinedCond()

void OMPLoopDirective::setCombinedCond ( Expr * CombCond)
inlineprotected

Definition at line 1381 of file StmtOpenMP.h.

◆ setCombinedDistCond()

void OMPLoopDirective::setCombinedDistCond ( Expr * CombDistCond)
inlineprotected

Definition at line 1396 of file StmtOpenMP.h.

◆ setCombinedEnsureUpperBound()

void OMPLoopDirective::setCombinedEnsureUpperBound ( Expr * CombEUB)
inlineprotected

Definition at line 1371 of file StmtOpenMP.h.

◆ setCombinedInit()

void OMPLoopDirective::setCombinedInit ( Expr * CombInit)
inlineprotected

Definition at line 1376 of file StmtOpenMP.h.

◆ setCombinedLowerBoundVariable()

void OMPLoopDirective::setCombinedLowerBoundVariable ( Expr * CombLB)
inlineprotected

Definition at line 1361 of file StmtOpenMP.h.

◆ setCombinedNextLowerBound()

void OMPLoopDirective::setCombinedNextLowerBound ( Expr * CombNLB)
inlineprotected

Definition at line 1386 of file StmtOpenMP.h.

◆ setCombinedNextUpperBound()

void OMPLoopDirective::setCombinedNextUpperBound ( Expr * CombNUB)
inlineprotected

Definition at line 1391 of file StmtOpenMP.h.

◆ setCombinedParForInDistCond()

void OMPLoopDirective::setCombinedParForInDistCond ( Expr * CombParForInDistCond)
inlineprotected

Definition at line 1401 of file StmtOpenMP.h.

◆ setCombinedUpperBoundVariable()

void OMPLoopDirective::setCombinedUpperBoundVariable ( Expr * CombUB)
inlineprotected

Definition at line 1366 of file StmtOpenMP.h.

◆ setCond()

void OMPLoopDirective::setCond ( Expr * Cond)
inlineprotected

Definition at line 1271 of file StmtOpenMP.h.

◆ setCounters()

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

Definition at line 284 of file StmtOpenMP.cpp.

◆ setDependentCounters()

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

Definition at line 315 of file StmtOpenMP.cpp.

◆ setDependentInits()

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

Definition at line 322 of file StmtOpenMP.cpp.

◆ setDistInc()

void OMPLoopDirective::setDistInc ( Expr * DistInc)
inlineprotected

Definition at line 1351 of file StmtOpenMP.h.

◆ setEnsureUpperBound()

void OMPLoopDirective::setEnsureUpperBound ( Expr * EUB)
inlineprotected

Definition at line 1309 of file StmtOpenMP.h.

◆ setFinals()

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

Definition at line 309 of file StmtOpenMP.cpp.

References clang::getFinals().

◆ setFinalsConditions()

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

Definition at line 328 of file StmtOpenMP.cpp.

◆ setInc()

void OMPLoopDirective::setInc ( Expr * Inc)
inlineprotected

Definition at line 1273 of file StmtOpenMP.h.

◆ setInit()

void OMPLoopDirective::setInit ( Expr * Init)
inlineprotected

Definition at line 1272 of file StmtOpenMP.h.

◆ setInits()

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

Definition at line 297 of file StmtOpenMP.cpp.

References clang::getInits().

◆ setIsLastIterVariable()

void OMPLoopDirective::setIsLastIterVariable ( Expr * IL)
inlineprotected

Definition at line 1277 of file StmtOpenMP.h.

◆ setIterationVariable()

void OMPLoopDirective::setIterationVariable ( Expr * IV)
inlineprotected

Definition at line 1261 of file StmtOpenMP.h.

◆ setLastIteration()

void OMPLoopDirective::setLastIteration ( Expr * LI)
inlineprotected

Definition at line 1264 of file StmtOpenMP.h.

◆ setLowerBoundVariable()

void OMPLoopDirective::setLowerBoundVariable ( Expr * LB)
inlineprotected

Definition at line 1285 of file StmtOpenMP.h.

◆ setNextLowerBound()

void OMPLoopDirective::setNextLowerBound ( Expr * NLB)
inlineprotected

Definition at line 1317 of file StmtOpenMP.h.

◆ setNextUpperBound()

void OMPLoopDirective::setNextUpperBound ( Expr * NUB)
inlineprotected

Definition at line 1325 of file StmtOpenMP.h.

◆ setNumIterations()

void OMPLoopDirective::setNumIterations ( Expr * NI)
inlineprotected

Definition at line 1333 of file StmtOpenMP.h.

◆ setPreCond()

void OMPLoopDirective::setPreCond ( Expr * PC)
inlineprotected

Definition at line 1270 of file StmtOpenMP.h.

◆ setPreInits()

void OMPLoopDirective::setPreInits ( Stmt * PreInits)
inlineprotected

Definition at line 1274 of file StmtOpenMP.h.

◆ setPrevEnsureUpperBound()

void OMPLoopDirective::setPrevEnsureUpperBound ( Expr * PrevEUB)
inlineprotected

Definition at line 1356 of file StmtOpenMP.h.

◆ setPrevLowerBoundVariable()

void OMPLoopDirective::setPrevLowerBoundVariable ( Expr * PrevLB)
inlineprotected

Definition at line 1341 of file StmtOpenMP.h.

◆ setPrevUpperBoundVariable()

void OMPLoopDirective::setPrevUpperBoundVariable ( Expr * PrevUB)
inlineprotected

Definition at line 1346 of file StmtOpenMP.h.

◆ setPrivateCounters()

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

Definition at line 290 of file StmtOpenMP.cpp.

◆ setStrideVariable()

void OMPLoopDirective::setStrideVariable ( Expr * ST)
inlineprotected

Definition at line 1301 of file StmtOpenMP.h.

◆ setUpdates()

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

Definition at line 303 of file StmtOpenMP.cpp.

References clang::getUpdates().

◆ setUpperBoundVariable()

void OMPLoopDirective::setUpperBoundVariable ( Expr * UB)
inlineprotected

Definition at line 1293 of file StmtOpenMP.h.

◆ updates() [1/2]

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

Definition at line 1588 of file StmtOpenMP.h.

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

◆ updates() [2/2]

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

Definition at line 1590 of file StmtOpenMP.h.

References OMPLoopDirective().

◆ ASTStmtReader

friend class ASTStmtReader
friend

Definition at line 1103 of file StmtOpenMP.h.

References ASTStmtReader.

Referenced by ASTStmtReader.


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