clang
3.9.0
|
This represents clauses with a list of expressions that are mappable. More...
#include <OpenMPClause.h>
Classes | |
class | const_component_lists_iterator |
Iterator that browse the components by lists. More... | |
Protected Member Functions | |
MutableArrayRef< ValueDecl * > | getUniqueDeclsRef () |
Get the unique declarations that are in the trailing objects of the class. More... | |
ArrayRef< ValueDecl * > | getUniqueDeclsRef () const |
Get the unique declarations that are in the trailing objects of the class. More... | |
void | setUniqueDecls (ArrayRef< ValueDecl * > UDs) |
Set the unique declarations that are in the trailing objects of the class. More... | |
MutableArrayRef< unsigned > | getDeclNumListsRef () |
Get the number of lists per declaration that are in the trailing objects of the class. More... | |
ArrayRef< unsigned > | getDeclNumListsRef () const |
Get the number of lists per declaration that are in the trailing objects of the class. More... | |
void | setDeclNumLists (ArrayRef< unsigned > DNLs) |
Set the number of lists per declaration that are in the trailing objects of the class. More... | |
MutableArrayRef< unsigned > | getComponentListSizesRef () |
Get the cumulative component lists sizes that are in the trailing objects of the class. More... | |
ArrayRef< unsigned > | getComponentListSizesRef () const |
Get the cumulative component lists sizes that are in the trailing objects of the class. More... | |
void | setComponentListSizes (ArrayRef< unsigned > CLSs) |
Set the cumulative component lists sizes that are in the trailing objects of the class. More... | |
MutableArrayRef < MappableComponent > | getComponentsRef () |
Get the components that are in the trailing objects of the class. More... | |
ArrayRef< MappableComponent > | getComponentsRef () const |
Get the components that are in the trailing objects of the class. More... | |
void | setComponents (ArrayRef< MappableComponent > Components, ArrayRef< unsigned > CLSs) |
Set the components that are in the trailing objects of the class. More... | |
void | setClauseInfo (ArrayRef< ValueDecl * > Declarations, MappableExprComponentListsRef ComponentLists) |
Fill the clause information from the list of declarations and associated component lists. More... | |
OMPMappableExprListClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, unsigned NumVars, unsigned NumUniqueDeclarations, unsigned NumComponentLists, unsigned NumComponents) | |
Build a clause for NumUniqueDeclarations declarations, NumComponentLists total component lists, and NumComponents total components. More... | |
Friends | |
class | OMPClauseReader |
Additional Inherited Members | |
![]() | |
static unsigned | getComponentsTotalNumber (MappableExprComponentListsRef ComponentLists) |
static unsigned | getUniqueDeclarationsTotalNumber (ArrayRef< ValueDecl * > Declarations) |
This represents clauses with a list of expressions that are mappable.
Examples of these clauses are 'map' in '#pragma omp target [enter|exit] [data]...' directives, and 'to' and 'from in '#pragma omp target update...' directives.
Definition at line 2845 of file OpenMPClause.h.
typedef ArrayRef<MappableComponent>::iterator OMPMappableExprListClause< T >::const_all_components_iterator |
Definition at line 3264 of file OpenMPClause.h.
typedef llvm::iterator_range<const_all_components_iterator> OMPMappableExprListClause< T >::const_all_components_range |
Definition at line 3266 of file OpenMPClause.h.
typedef ArrayRef<ValueDecl *>::iterator OMPMappableExprListClause< T >::const_all_decls_iterator |
Iterators to access all the declarations, number of lists, list sizes, and components.
Definition at line 3241 of file OpenMPClause.h.
typedef llvm::iterator_range<const_all_decls_iterator> OMPMappableExprListClause< T >::const_all_decls_range |
Definition at line 3242 of file OpenMPClause.h.
typedef ArrayRef<unsigned>::iterator OMPMappableExprListClause< T >::const_all_lists_sizes_iterator |
Definition at line 3256 of file OpenMPClause.h.
typedef llvm::iterator_range<const_all_lists_sizes_iterator> OMPMappableExprListClause< T >::const_all_lists_sizes_range |
Definition at line 3258 of file OpenMPClause.h.
typedef ArrayRef<unsigned>::iterator OMPMappableExprListClause< T >::const_all_num_lists_iterator |
Definition at line 3248 of file OpenMPClause.h.
typedef llvm::iterator_range<const_all_num_lists_iterator> OMPMappableExprListClause< T >::const_all_num_lists_range |
Definition at line 3250 of file OpenMPClause.h.
typedef llvm::iterator_range<const_component_lists_iterator> OMPMappableExprListClause< T >::const_component_lists_range |
Definition at line 3206 of file OpenMPClause.h.
|
inlineprotected |
Build a clause for NumUniqueDeclarations declarations, NumComponentLists total component lists, and NumComponents total components.
K | Kind of the clause. |
StartLoc | Starting location of the clause (the clause keyword). |
LParenLoc | Location of '('. |
EndLoc | Ending location of the clause. |
NumVars | Number of expressions listed in the clause. |
NumUniqueDeclarations | Number of unique base declarations in this clause. |
NumComponentLists | Number of component lists in this clause - one list for each expression in the clause. |
NumComponents | Total number of expression components in the clause. |
Definition at line 3053 of file OpenMPClause.h.
|
inline |
Definition at line 3267 of file OpenMPClause.h.
|
inline |
Definition at line 3243 of file OpenMPClause.h.
|
inline |
Definition at line 3259 of file OpenMPClause.h.
|
inline |
Definition at line 3251 of file OpenMPClause.h.
|
inline |
Definition at line 3220 of file OpenMPClause.h.
|
inline |
Iterators for all component lists.
Definition at line 3209 of file OpenMPClause.h.
|
inline |
Definition at line 3214 of file OpenMPClause.h.
|
inline |
Definition at line 3235 of file OpenMPClause.h.
|
inline |
Iterators for component lists associated with the provided declaration.
Definition at line 3227 of file OpenMPClause.h.
|
inline |
Definition at line 3232 of file OpenMPClause.h.
|
inlineprotected |
Get the cumulative component lists sizes that are in the trailing objects of the class.
They are appended after the number of lists.
Definition at line 2910 of file OpenMPClause.h.
|
inlineprotected |
Get the cumulative component lists sizes that are in the trailing objects of the class.
They are appended after the number of lists.
Definition at line 2919 of file OpenMPClause.h.
|
inlineprotected |
Get the components that are in the trailing objects of the class.
Definition at line 2935 of file OpenMPClause.h.
|
inlineprotected |
Get the components that are in the trailing objects of the class.
Definition at line 2943 of file OpenMPClause.h.
|
inlineprotected |
Get the number of lists per declaration that are in the trailing objects of the class.
Definition at line 2886 of file OpenMPClause.h.
|
inlineprotected |
Get the number of lists per declaration that are in the trailing objects of the class.
Definition at line 2894 of file OpenMPClause.h.
|
inline |
Return the number of lists derived from the clause expressions.
Definition at line 3065 of file OpenMPClause.h.
|
inline |
Return the total number of components in all lists derived from the clause.
Definition at line 3068 of file OpenMPClause.h.
|
inline |
Return the number of unique base declarations in this clause.
Definition at line 3063 of file OpenMPClause.h.
|
inlineprotected |
Get the unique declarations that are in the trailing objects of the class.
Definition at line 2861 of file OpenMPClause.h.
|
inlineprotected |
Get the unique declarations that are in the trailing objects of the class.
Definition at line 2869 of file OpenMPClause.h.
|
inlineprotected |
Fill the clause information from the list of declarations and associated component lists.
Definition at line 2964 of file OpenMPClause.h.
Referenced by OMPMapClause::Create(), OMPToClause::Create(), and OMPFromClause::Create().
|
inlineprotected |
Set the cumulative component lists sizes that are in the trailing objects of the class.
Definition at line 2928 of file OpenMPClause.h.
|
inlineprotected |
Set the components that are in the trailing objects of the class.
This requires the list sizes so that it can also fill the original expressions, which are the first component of each list.
Definition at line 2953 of file OpenMPClause.h.
|
inlineprotected |
Set the number of lists per declaration that are in the trailing objects of the class.
Definition at line 2902 of file OpenMPClause.h.
|
inlineprotected |
Set the unique declarations that are in the trailing objects of the class.
Definition at line 2878 of file OpenMPClause.h.
|
friend |
Definition at line 2847 of file OpenMPClause.h.