Tensor Comprehensions
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lang::Comprehension Struct Reference

#include <tree_views.h>

Inheritance diagram for lang::Comprehension:
Collaboration diagram for lang::Comprehension:

Public Member Functions

 Comprehension (const TreeRef &tree)
 
Ident ident () const
 
ListView< Identindices () const
 
TreeRef assignment () const
 
TreeRef rhs () const
 
ListView< TreeRefwhereClauses () const
 
OptionView< Equivalentequivalent () const
 
ListView< IdentreductionVariables () const
 
- Public Member Functions inherited from lang::TreeView
 TreeView (const TreeRef &tree_)
 
TreeRef tree () const
 
const SourceRangerange () const
 
 operator TreeRef () const
 

Static Public Member Functions

static TreeRef create (const SourceRange &range, TreeRef ident, TreeRef indices, TreeRef assignment, TreeRef rhs, TreeRef range_constraints, TreeRef equivalent, TreeRef reduction_variables)
 

Additional Inherited Members

- Protected Member Functions inherited from lang::TreeView
TreeRef subtree (size_t i) const
 
- Protected Attributes inherited from lang::TreeView
TreeRef tree_
 

Constructor & Destructor Documentation

lang::Comprehension::Comprehension ( const TreeRef tree)
inlineexplicit

Member Function Documentation

TreeRef lang::Comprehension::assignment ( ) const
inline
static TreeRef lang::Comprehension::create ( const SourceRange range,
TreeRef  ident,
TreeRef  indices,
TreeRef  assignment,
TreeRef  rhs,
TreeRef  range_constraints,
TreeRef  equivalent,
TreeRef  reduction_variables 
)
inlinestatic
OptionView<Equivalent> lang::Comprehension::equivalent ( ) const
inline
Ident lang::Comprehension::ident ( ) const
inline
ListView<Ident> lang::Comprehension::indices ( ) const
inline
ListView<Ident> lang::Comprehension::reductionVariables ( ) const
inline
TreeRef lang::Comprehension::rhs ( ) const
inline
ListView<TreeRef> lang::Comprehension::whereClauses ( ) const
inline

The documentation for this struct was generated from the following file: