|
clang 22.0.0git
|
Helper type for the registration/assignment of constructs that need to 'know' about their parent constructs and hold a reference to them, such as Loop needing its parent construct. More...
#include "clang/Sema/SemaOpenACC.h"
Public Member Functions | |
| AssociatedStmtRAII (SemaOpenACC &, OpenACCDirectiveKind, SourceLocation, ArrayRef< const OpenACCClause * >, ArrayRef< OpenACCClause * >) | |
| void | SetCollapseInfoBeforeAssociatedStmt (ArrayRef< const OpenACCClause * > UnInstClauses, ArrayRef< OpenACCClause * > Clauses) |
| void | SetTileInfoBeforeAssociatedStmt (ArrayRef< const OpenACCClause * > UnInstClauses, ArrayRef< OpenACCClause * > Clauses) |
| ~AssociatedStmtRAII () | |
Helper type for the registration/assignment of constructs that need to 'know' about their parent constructs and hold a reference to them, such as Loop needing its parent construct.
Definition at line 1007 of file SemaOpenACC.h.
| SemaOpenACC::AssociatedStmtRAII::AssociatedStmtRAII | ( | SemaOpenACC & | S, |
| OpenACCDirectiveKind | DK, | ||
| SourceLocation | DirLoc, | ||
| ArrayRef< const OpenACCClause * > | UnInstClauses, | ||
| ArrayRef< OpenACCClause * > | Clauses ) |
Definition at line 108 of file SemaOpenACC.cpp.
References clang::Kernels, clang::KernelsLoop, clang::Loop, clang::SemaOpenACC::LoopGangClauseOnKernel, clang::SemaOpenACC::LoopVectorClauseLoc, clang::SemaOpenACC::LoopWithoutSeqInfo, clang::SemaOpenACC::LoopWorkerClauseLoc, clang::Parallel, clang::ParallelLoop, clang::SemaOpenACC::SemaOpenACC(), clang::Serial, clang::SerialLoop, SetCollapseInfoBeforeAssociatedStmt(), and SetTileInfoBeforeAssociatedStmt().
| SemaOpenACC::AssociatedStmtRAII::~AssociatedStmtRAII | ( | ) |
Definition at line 361 of file SemaOpenACC.cpp.
References clang::Data, clang::HostData, clang::Kernels, clang::KernelsLoop, clang::Loop, clang::Parallel, clang::ParallelLoop, clang::Serial, and clang::SerialLoop.
| void SemaOpenACC::AssociatedStmtRAII::SetCollapseInfoBeforeAssociatedStmt | ( | ArrayRef< const OpenACCClause * > | UnInstClauses, |
| ArrayRef< OpenACCClause * > | Clauses ) |
Definition at line 267 of file SemaOpenACC.cpp.
References clang::cast(), clang::OpenACCCollapseClause::getLoopCount(), and clang::nullptr.
Referenced by AssociatedStmtRAII().
| void SemaOpenACC::AssociatedStmtRAII::SetTileInfoBeforeAssociatedStmt | ( | ArrayRef< const OpenACCClause * > | UnInstClauses, |
| ArrayRef< OpenACCClause * > | Clauses ) |
Definition at line 328 of file SemaOpenACC.cpp.
References clang::cast(), and clang::OpenACCTileClause::getSizeExprs().
Referenced by AssociatedStmtRAII().