|
Peano
|


Public Member Functions | |
| __init__ (self, iteration_range, iteration_variable_name=None, use_scheduler=False) | |
| get_interval_size (self) | |
| get_iteration_variable (self) | |
| add_statement (self, statement) | |
| close_scope (self) | |
| print_cpp (self, indent_level=0) | |
| print_omp (self, indent_level=0) | |
| print_sycl (self, indent_level=0) | |
| print_mlir (self, indent_level=0) | |
| print_tree (self, indent_level=0) | |
Public Member Functions inherited from exahype2.api.dslhype.SyntaxTree.Node | |
| parent (self, parent=None) | |
| on_left (self, left=None) | |
| hoist (self, flag=None) | |
| get_mlir_id (cls) | |
| reset_mlir_ids (cls) | |
| create_memref_from_ptr (cls, ptr_id, target_type, indent_level=0, size_hint=None, target_var_name=None) | |
| create_memref_from_extracted_descriptor (cls, alloc_ptr_id, aligned_ptr_id, offset_id, sizes_0_id, sizes_1_id, strides_0_id, strides_1_id, target_type, struct_type, indent_level=0, target_var_name=None, is_2d=False) | |
Protected Attributes | |
| _iteration_range | |
| _statements | |
| _use_scheduler | |
| _iteration_variable | |
Protected Attributes inherited from exahype2.api.dslhype.SyntaxTree.Node | |
| _parent | |
| _on_left | |
| _hoist | |
| _index_type | |
Static Protected Attributes | |
| _inuse_iteration_variables = set() | |
| list | _iteration_variable_names = ['i', 'j', 'k', 'l', 'n', 'm', 'a', 'b', 'c', 'd'] |
Additional Inherited Members | |
Static Public Member Functions inherited from exahype2.api.dslhype.SyntaxTree.Node | |
| get_mlir_type (type_string) | |
| generate_pointer_to_2d_element (memref_mlir, row_index, col_index, is_nested, indent_level=0) | |
Data Fields inherited from exahype2.api.dslhype.SyntaxTree.Node | |
| mlir_id_count | |
Static Public Attributes inherited from exahype2.api.dslhype.SyntaxTree.Node | |
| output_format = None | |
| int | spaces_per_tab = 4 |
| bool | use_accelerator = False |
| bool | use_memory_manager = False |
| int | mlir_id_count = 0 |
| dict | type_map = {} |
| dict | struct_map = {} |
| context = Context() | |
| target_variable_name = None | |
| dict | mlir_symbol_table = {} |
| dict | mlir_memref_types = {} |
| str | descriptor2DType = "!llvm.struct<(ptr, ptr, i64, array<2 x i64>, array<2 x i64>)>" |
| str | descriptor1DType = "!llvm.struct<(ptr, ptr, i64, array<1 x i64>, array<1 x i64>)>" |
| list | patchTypes |
| target_type = field_info.split('|||')[0] | |
Definition at line 3230 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.For.__init__ | ( | self, | |
| iteration_range, | |||
iteration_variable_name = None, |
|||
use_scheduler = False |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Statement.
Definition at line 3234 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.For.__init__().
Referenced by exahype2.api.dslhype.SyntaxTree.For.__init__().


| exahype2.api.dslhype.SyntaxTree.For.add_statement | ( | self, | |
| statement | |||
| ) |
Definition at line 3257 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.If._statements, and exahype2.api.dslhype.SyntaxTree.For._statements.
| exahype2.api.dslhype.SyntaxTree.For.close_scope | ( | self | ) |
Definition at line 3260 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.For._iteration_variable.
| exahype2.api.dslhype.SyntaxTree.For.get_interval_size | ( | self | ) |
Definition at line 3251 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.DataBlock._iteration_range, exahype2.api.dslhype.SyntaxTree.FaceDataBlock._iteration_range, exahype2.api.dslhype.SyntaxTree.DataBlockIndex._iteration_range, exahype2.api.dslhype.SyntaxTree.DataBlockComparison._iteration_range, exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation._iteration_range, exahype2.api.dslhype.SyntaxTree.DataBlockUnaryOperation._iteration_range, and exahype2.api.dslhype.SyntaxTree.For._iteration_range.
| exahype2.api.dslhype.SyntaxTree.For.get_iteration_variable | ( | self | ) |
Definition at line 3254 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.For._iteration_variable.
| exahype2.api.dslhype.SyntaxTree.For.print_cpp | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 3263 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.If._statements, exahype2.api.dslhype.SyntaxTree.For._statements, and exahype2.api.dslhype.SyntaxTree.For._use_scheduler.
| exahype2.api.dslhype.SyntaxTree.For.print_mlir | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 3288 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.For.print_omp | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 3276 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.For.print_sycl | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 3282 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.For.print_tree | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 3387 of file SyntaxTree.py.
|
staticprotected |
Definition at line 3231 of file SyntaxTree.py.
|
protected |
Definition at line 3236 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.For.get_interval_size(), exahype2.api.dslhype.SyntaxTree.DataBlock.get_type(), exahype2.api.dslhype.SyntaxTree.DataBlockIndex.get_type(), exahype2.api.dslhype.SyntaxTree.DataBlockComparison.get_type(), exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation.get_type(), exahype2.api.dslhype.SyntaxTree.DataBlockUnaryOperation.get_type(), exahype2.api.dslhype.SyntaxTree.DataBlock.multidimensional_index(), exahype2.api.dslhype.SyntaxTree.DataBlock.offset(), and exahype2.api.dslhype.SyntaxTree.FaceDataBlock.offset().
|
protected |
Definition at line 3243 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.For.close_scope(), and exahype2.api.dslhype.SyntaxTree.For.get_iteration_variable().
|
staticprotected |
Definition at line 3232 of file SyntaxTree.py.
|
protected |
Definition at line 3237 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.If.add_statement(), exahype2.api.dslhype.SyntaxTree.For.add_statement(), exahype2.api.dslhype.SyntaxTree.If.print_cpp(), exahype2.api.dslhype.SyntaxTree.For.print_cpp(), exahype2.api.dslhype.SyntaxTree.If.print_mlir(), exahype2.api.dslhype.SyntaxTree.If.print_omp(), exahype2.api.dslhype.SyntaxTree.If.print_sycl(), and exahype2.api.dslhype.SyntaxTree.If.print_tree().
|
protected |
Definition at line 3238 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.For.print_cpp().