clang
3.7.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 > | 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 432 of file StmtOpenMP.h.
|
inline |
Check if all the expressions are built (does not check the worksharing ones).
Definition at line 474 of file StmtOpenMP.h.
References Cond, Inc, Init, IterationVarRef, LastIteration, NumIterations, and PreCond.
Referenced by clang::Sema::ActOnOpenMPForDirective(), clang::Sema::ActOnOpenMPForSimdDirective(), clang::Sema::ActOnOpenMPParallelForDirective(), and clang::Sema::ActOnOpenMPSimdDirective().
|
inline |
Initialize all the fields to null.
Size | Number of elements in the counters/finals/updates arrays. |
Definition at line 482 of file StmtOpenMP.h.
References CalcLastIteration, Cond, Counters, EUB, Finals, IL, Inc, Init, Inits, IterationVarRef, LastIteration, LB, NLB, NUB, PreCond, ST, UB, and Updates.
Referenced by CheckOpenMPLoop().
Expr* clang::OMPLoopDirective::HelperExprs::CalcLastIteration |
Calculation of last iteration.
Definition at line 440 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), and clang::OMPParallelForSimdDirective::Create().
Expr* clang::OMPLoopDirective::HelperExprs::Cond |
Loop condition.
Definition at line 444 of file StmtOpenMP.h.
Referenced by builtAll(), CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), and clang::OMPParallelForSimdDirective::Create().
SmallVector<Expr *, 4> clang::OMPLoopDirective::HelperExprs::Counters |
Counters Loop counters.
Definition at line 464 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), and clang::OMPParallelForSimdDirective::Create().
Expr* clang::OMPLoopDirective::HelperExprs::EUB |
EnsureUpperBound – expression LB = min(LB, NumIterations).
Definition at line 458 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), and clang::OMPParallelForSimdDirective::Create().
SmallVector<Expr *, 4> clang::OMPLoopDirective::HelperExprs::Finals |
Final loop counter values for GodeGen.
Definition at line 470 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), and clang::OMPParallelForSimdDirective::Create().
Expr* clang::OMPLoopDirective::HelperExprs::IL |
IsLastIteration - local flag variable passed to runtime.
Definition at line 450 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), and clang::OMPParallelForSimdDirective::Create().
Expr* clang::OMPLoopDirective::HelperExprs::Inc |
Loop increment.
Definition at line 448 of file StmtOpenMP.h.
Referenced by builtAll(), CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), and clang::OMPParallelForSimdDirective::Create().
Expr* clang::OMPLoopDirective::HelperExprs::Init |
Loop iteration variable init.
Definition at line 446 of file StmtOpenMP.h.
Referenced by builtAll(), CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), and clang::OMPParallelForSimdDirective::Create().
SmallVector<Expr *, 4> clang::OMPLoopDirective::HelperExprs::Inits |
Expressions for loop counters inits for CodeGen.
Definition at line 466 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), and clang::OMPParallelForSimdDirective::Create().
Expr* clang::OMPLoopDirective::HelperExprs::IterationVarRef |
Loop iteration variable.
Definition at line 434 of file StmtOpenMP.h.
Referenced by clang::Sema::ActOnOpenMPForSimdDirective(), clang::Sema::ActOnOpenMPParallelForSimdDirective(), clang::Sema::ActOnOpenMPSimdDirective(), builtAll(), CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), and clang::OMPParallelForSimdDirective::Create().
Expr* clang::OMPLoopDirective::HelperExprs::LastIteration |
Loop last iteration number.
Definition at line 436 of file StmtOpenMP.h.
Referenced by builtAll(), CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), and clang::OMPParallelForSimdDirective::Create().
Expr* clang::OMPLoopDirective::HelperExprs::LB |
LowerBound - local variable passed to runtime.
Definition at line 452 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), and clang::OMPParallelForSimdDirective::Create().
Expr* clang::OMPLoopDirective::HelperExprs::NLB |
Update of LowerBound for statically sheduled 'omp for' loops.
Definition at line 460 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), and clang::OMPParallelForSimdDirective::Create().
Expr* clang::OMPLoopDirective::HelperExprs::NUB |
Update of UpperBound for statically sheduled 'omp for' loops.
Definition at line 462 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), and clang::OMPParallelForSimdDirective::Create().
Expr* clang::OMPLoopDirective::HelperExprs::NumIterations |
Loop number of iterations.
Definition at line 438 of file StmtOpenMP.h.
Referenced by clang::Sema::ActOnOpenMPForSimdDirective(), clang::Sema::ActOnOpenMPParallelForSimdDirective(), clang::Sema::ActOnOpenMPSimdDirective(), builtAll(), and CheckOpenMPLoop().
Expr* clang::OMPLoopDirective::HelperExprs::PreCond |
Loop pre-condition.
Definition at line 442 of file StmtOpenMP.h.
Referenced by builtAll(), CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), and clang::OMPParallelForSimdDirective::Create().
Expr* clang::OMPLoopDirective::HelperExprs::ST |
Stride - local variable passed to runtime.
Definition at line 456 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), and clang::OMPParallelForSimdDirective::Create().
Expr* clang::OMPLoopDirective::HelperExprs::UB |
UpperBound - local variable passed to runtime.
Definition at line 454 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), and clang::OMPParallelForSimdDirective::Create().
SmallVector<Expr *, 4> clang::OMPLoopDirective::HelperExprs::Updates |
Expressions for loop counters update for CodeGen.
Definition at line 468 of file StmtOpenMP.h.
Referenced by CheckOpenMPLoop(), clear(), clang::OMPSimdDirective::Create(), clang::OMPForDirective::Create(), clang::OMPForSimdDirective::Create(), clang::OMPParallelForDirective::Create(), and clang::OMPParallelForSimdDirective::Create().