clang  3.9.0
Public Member Functions | Public Attributes | List of all members
clang::OMPLoopDirective::HelperExprs Struct Reference

The expressions built for the OpenMP loop CodeGen for the whole collapsed loop nest. More...

#include <StmtOpenMP.h>

Collaboration diagram for clang::OMPLoopDirective::HelperExprs:
[legend]

Public Member Functions

bool builtAll ()
 Check if all the expressions are built (does not check the worksharing ones). More...
 
void clear (unsigned Size)
 Initialize all the fields to null. More...
 

Public Attributes

ExprIterationVarRef
 Loop iteration variable. More...
 
ExprLastIteration
 Loop last iteration number. More...
 
ExprNumIterations
 Loop number of iterations. More...
 
ExprCalcLastIteration
 Calculation of last iteration. More...
 
ExprPreCond
 Loop pre-condition. More...
 
ExprCond
 Loop condition. More...
 
ExprInit
 Loop iteration variable init. More...
 
ExprInc
 Loop increment. More...
 
ExprIL
 IsLastIteration - local flag variable passed to runtime. More...
 
ExprLB
 LowerBound - local variable passed to runtime. More...
 
ExprUB
 UpperBound - local variable passed to runtime. More...
 
ExprST
 Stride - local variable passed to runtime. More...
 
ExprEUB
 EnsureUpperBound – expression LB = min(LB, NumIterations). More...
 
ExprNLB
 Update of LowerBound for statically sheduled 'omp for' loops. More...
 
ExprNUB
 Update of UpperBound for statically sheduled 'omp for' loops. More...
 
ExprPrevLB
 PreviousLowerBound - local variable passed to runtime in the enclosing schedule or null if that does not apply. More...
 
ExprPrevUB
 PreviousUpperBound - local variable passed to runtime in the enclosing schedule or null if that does not apply. More...
 
SmallVector< Expr *, 4 > Counters
 Counters Loop counters. More...
 
SmallVector< Expr *, 4 > PrivateCounters
 PrivateCounters Loop counters. More...
 
SmallVector< Expr *, 4 > Inits
 Expressions for loop counters inits for CodeGen. More...
 
SmallVector< Expr *, 4 > Updates
 Expressions for loop counters update for CodeGen. More...
 
SmallVector< Expr *, 4 > Finals
 Final loop counter values for GodeGen. More...
 
StmtPreInits
 Init statement for all captured expressions. More...
 

Detailed Description

The expressions built for the OpenMP loop CodeGen for the whole collapsed loop nest.

Definition at line 513 of file StmtOpenMP.h.

Member Function Documentation

bool clang::OMPLoopDirective::HelperExprs::builtAll ( )
inline
void clang::OMPLoopDirective::HelperExprs::clear ( unsigned  Size)
inline

Initialize all the fields to null.

Parameters
SizeNumber of elements in the counters/finals/updates arrays.

Definition at line 573 of file StmtOpenMP.h.

References CalcLastIteration, Cond, Counters, EUB, Finals, IL, Inc, Init, Inits, IterationVarRef, LastIteration, LB, NLB, NUB, NumIterations, PreCond, PreInits, PrevLB, PrevUB, PrivateCounters, ST, UB, and Updates.

Referenced by CheckOpenMPLoop().

Member Data Documentation

Expr* clang::OMPLoopDirective::HelperExprs::CalcLastIteration
Expr* clang::OMPLoopDirective::HelperExprs::Cond
SmallVector<Expr *, 4> clang::OMPLoopDirective::HelperExprs::Counters
Expr* clang::OMPLoopDirective::HelperExprs::EUB
SmallVector<Expr *, 4> clang::OMPLoopDirective::HelperExprs::Finals
Expr* clang::OMPLoopDirective::HelperExprs::IL
Expr* clang::OMPLoopDirective::HelperExprs::Inc
Expr* clang::OMPLoopDirective::HelperExprs::Init
SmallVector<Expr *, 4> clang::OMPLoopDirective::HelperExprs::Inits
Expr* clang::OMPLoopDirective::HelperExprs::IterationVarRef
Expr* clang::OMPLoopDirective::HelperExprs::LastIteration
Expr* clang::OMPLoopDirective::HelperExprs::LB
Expr* clang::OMPLoopDirective::HelperExprs::NLB
Expr* clang::OMPLoopDirective::HelperExprs::NUB
Expr* clang::OMPLoopDirective::HelperExprs::NumIterations
Expr* clang::OMPLoopDirective::HelperExprs::PreCond
Stmt* clang::OMPLoopDirective::HelperExprs::PreInits
Expr* clang::OMPLoopDirective::HelperExprs::PrevLB
Expr* clang::OMPLoopDirective::HelperExprs::PrevUB
SmallVector<Expr *, 4> clang::OMPLoopDirective::HelperExprs::PrivateCounters
Expr* clang::OMPLoopDirective::HelperExprs::ST
Expr* clang::OMPLoopDirective::HelperExprs::UB
SmallVector<Expr *, 4> clang::OMPLoopDirective::HelperExprs::Updates

The documentation for this struct was generated from the following file: