|
clang
3.8.0
|
The expressions built for the OpenMP loop CodeGen for the whole collapsed loop nest. More...
#include <StmtOpenMP.h>
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 | |
| Expr * | IterationVarRef |
| Loop iteration variable. More... | |
| Expr * | LastIteration |
| Loop last iteration number. More... | |
| Expr * | NumIterations |
| Loop number of iterations. More... | |
| Expr * | CalcLastIteration |
| Calculation of last iteration. More... | |
| Expr * | PreCond |
| Loop pre-condition. More... | |
| Expr * | Cond |
| Loop condition. More... | |
| Expr * | Init |
| Loop iteration variable init. More... | |
| Expr * | Inc |
| Loop increment. More... | |
| Expr * | IL |
| IsLastIteration - local flag variable passed to runtime. More... | |
| Expr * | LB |
| LowerBound - local variable passed to runtime. More... | |
| Expr * | UB |
| UpperBound - local variable passed to runtime. More... | |
| Expr * | ST |
| Stride - local variable passed to runtime. More... | |
| Expr * | EUB |
| EnsureUpperBound – expression LB = min(LB, NumIterations). More... | |
| Expr * | NLB |
| Update of LowerBound for statically sheduled 'omp for' loops. More... | |
| Expr * | NUB |
| Update of UpperBound for statically sheduled 'omp for' loops. 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... | |
The expressions built for the OpenMP loop CodeGen for the whole collapsed loop nest.
Definition at line 484 of file StmtOpenMP.h.
|
inline |
Check if all the expressions are built (does not check the worksharing ones).
Definition at line 528 of file StmtOpenMP.h.
References Cond, Inc, Init, IterationVarRef, LastIteration, NumIterations, and PreCond.
Referenced by clang::Sema::ActOnOpenMPDistributeDirective(), clang::Sema::ActOnOpenMPForDirective(), clang::Sema::ActOnOpenMPForSimdDirective(), clang::Sema::ActOnOpenMPParallelForDirective(), clang::Sema::ActOnOpenMPSimdDirective(), clang::Sema::ActOnOpenMPTaskLoopDirective(), and clang::Sema::ActOnOpenMPTaskLoopSimdDirective().
|
inline |
Initialize all the fields to null.
| Size | Number of elements in the counters/finals/updates arrays. |
Definition at line 536 of file StmtOpenMP.h.
References CalcLastIteration, Cond, Counters, EUB, Finals, IL, Inc, Init, Inits, IterationVarRef, LastIteration, LB, NLB, NUB, PreCond, PrivateCounters, ST, UB, and Updates.
Referenced by CheckOpenMPLoop().
| Expr* clang::OMPLoopDirective::HelperExprs::CalcLastIteration |
Calculation of last iteration.
Definition at line 492 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
| Expr* clang::OMPLoopDirective::HelperExprs::Cond |
Loop condition.
Definition at line 496 of file StmtOpenMP.h.
Referenced by builtAll(), CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
| SmallVector<Expr *, 4> clang::OMPLoopDirective::HelperExprs::Counters |
Counters Loop counters.
Definition at line 516 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
| Expr* clang::OMPLoopDirective::HelperExprs::EUB |
EnsureUpperBound – expression LB = min(LB, NumIterations).
Definition at line 510 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
| SmallVector<Expr *, 4> clang::OMPLoopDirective::HelperExprs::Finals |
Final loop counter values for GodeGen.
Definition at line 524 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
| Expr* clang::OMPLoopDirective::HelperExprs::IL |
IsLastIteration - local flag variable passed to runtime.
Definition at line 502 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
| Expr* clang::OMPLoopDirective::HelperExprs::Inc |
Loop increment.
Definition at line 500 of file StmtOpenMP.h.
Referenced by builtAll(), CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
| Expr* clang::OMPLoopDirective::HelperExprs::Init |
Loop iteration variable init.
Definition at line 498 of file StmtOpenMP.h.
Referenced by builtAll(), CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
| SmallVector<Expr *, 4> clang::OMPLoopDirective::HelperExprs::Inits |
Expressions for loop counters inits for CodeGen.
Definition at line 520 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
| Expr* clang::OMPLoopDirective::HelperExprs::IterationVarRef |
Loop iteration variable.
Definition at line 486 of file StmtOpenMP.h.
Referenced by clang::Sema::ActOnOpenMPForDirective(), clang::Sema::ActOnOpenMPForSimdDirective(), clang::Sema::ActOnOpenMPParallelForDirective(), clang::Sema::ActOnOpenMPParallelForSimdDirective(), clang::Sema::ActOnOpenMPSimdDirective(), builtAll(), CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
| Expr* clang::OMPLoopDirective::HelperExprs::LastIteration |
Loop last iteration number.
Definition at line 488 of file StmtOpenMP.h.
Referenced by builtAll(), CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
| Expr* clang::OMPLoopDirective::HelperExprs::LB |
LowerBound - local variable passed to runtime.
Definition at line 504 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
| Expr* clang::OMPLoopDirective::HelperExprs::NLB |
Update of LowerBound for statically sheduled 'omp for' loops.
Definition at line 512 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
| Expr* clang::OMPLoopDirective::HelperExprs::NUB |
Update of UpperBound for statically sheduled 'omp for' loops.
Definition at line 514 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
| Expr* clang::OMPLoopDirective::HelperExprs::NumIterations |
Loop number of iterations.
Definition at line 490 of file StmtOpenMP.h.
Referenced by clang::Sema::ActOnOpenMPForDirective(), clang::Sema::ActOnOpenMPForSimdDirective(), clang::Sema::ActOnOpenMPParallelForDirective(), clang::Sema::ActOnOpenMPParallelForSimdDirective(), clang::Sema::ActOnOpenMPSimdDirective(), builtAll(), and CheckOpenMPLoop().
| Expr* clang::OMPLoopDirective::HelperExprs::PreCond |
Loop pre-condition.
Definition at line 494 of file StmtOpenMP.h.
Referenced by builtAll(), CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
| SmallVector<Expr *, 4> clang::OMPLoopDirective::HelperExprs::PrivateCounters |
PrivateCounters Loop counters.
Definition at line 518 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
| Expr* clang::OMPLoopDirective::HelperExprs::ST |
Stride - local variable passed to runtime.
Definition at line 508 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
| Expr* clang::OMPLoopDirective::HelperExprs::UB |
UpperBound - local variable passed to runtime.
Definition at line 506 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
| SmallVector<Expr *, 4> clang::OMPLoopDirective::HelperExprs::Updates |
Expressions for loop counters update for CodeGen.
Definition at line 522 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), clang::OMPParallelForSimdDirective::Create(), clang::OMPTaskLoopDirective::Create(), clang::OMPTaskLoopSimdDirective::Create(), and clang::OMPDistributeDirective::Create().
1.8.6