clang 20.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 799 of file SemaOpenACC.h.
SemaOpenACC::AssociatedStmtRAII::AssociatedStmtRAII | ( | SemaOpenACC & | S, |
OpenACCDirectiveKind | DK, | ||
SourceLocation | DirLoc, | ||
ArrayRef< const OpenACCClause * > | UnInstClauses, | ||
ArrayRef< OpenACCClause * > | Clauses | ||
) |
Definition at line 1915 of file SemaOpenACC.cpp.
References clang::SemaOpenACC::getActiveComputeConstructInfo(), clang::Kernels, clang::KernelsLoop, clang::Loop, clang::SemaOpenACC::LoopGangClauseOnKernel, clang::SemaOpenACC::LoopVectorClauseLoc, clang::SemaOpenACC::LoopWithoutSeqInfo, clang::SemaOpenACC::LoopWorkerClauseLoc, clang::Parallel, clang::ParallelLoop, clang::Serial, clang::SerialLoop, SetCollapseInfoBeforeAssociatedStmt(), and SetTileInfoBeforeAssociatedStmt().
SemaOpenACC::AssociatedStmtRAII::~AssociatedStmtRAII | ( | ) |
Definition at line 2100 of file SemaOpenACC.cpp.
References clang::Data, clang::HostData, clang::Kernels, clang::KernelsLoop, clang::Loop, clang::Parallel, clang::ParallelLoop, clang::SemaBase::SemaRef, clang::Serial, and clang::SerialLoop.
void SemaOpenACC::AssociatedStmtRAII::SetCollapseInfoBeforeAssociatedStmt | ( | ArrayRef< const OpenACCClause * > | UnInstClauses, |
ArrayRef< OpenACCClause * > | Clauses | ||
) |
Definition at line 2032 of file SemaOpenACC.cpp.
References clang::OpenACCCollapseClause::getLoopCount(), clang::Expr::isInstantiationDependent(), and clang::SemaBase::SemaRef.
Referenced by AssociatedStmtRAII().
void SemaOpenACC::AssociatedStmtRAII::SetTileInfoBeforeAssociatedStmt | ( | ArrayRef< const OpenACCClause * > | UnInstClauses, |
ArrayRef< OpenACCClause * > | Clauses | ||
) |
Definition at line 2079 of file SemaOpenACC.cpp.
References clang::OpenACCTileClause::getSizeExprs(), and clang::SemaBase::SemaRef.
Referenced by AssociatedStmtRAII().