|
Peano
|


Public Member Functions | |
| __init__ (self, id, Type return_type, template=None, namespaces=[], stateless=False, top_level=False) | |
| top_level (self, top=None) | |
| add_statement (self, Statement statement) | |
| add_argument (self, Argument argument) | |
| print_declaration (self, indent_level=0) | |
| 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) | |
| print_definition_with_timer (self, indent_level=0) | |
| print_declaration_with_timer (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) | |
Data Fields | |
| id | |
Data Fields inherited from exahype2.api.dslhype.SyntaxTree.Node | |
| mlir_id_count | |
Protected Attributes | |
| _return_type | |
| _template | |
| _arguments | |
| _body | |
| _namespaces | |
| _top_level | |
Protected Attributes inherited from exahype2.api.dslhype.SyntaxTree.Node | |
| _parent | |
| _on_left | |
| _hoist | |
| _index_type | |
Static Protected Attributes | |
| bool | _stateless = False |
| list | _syclDataToCopy = [] |
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) | |
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 550 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.FunctionDefinition.__init__ | ( | self, | |
| id, | |||
| Type | return_type, | ||
template = None, |
|||
namespaces = [], |
|||
stateless = False, |
|||
top_level = False |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 554 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.FunctionDefinition.__init__().
Referenced by exahype2.api.dslhype.SyntaxTree.FunctionDefinition.__init__().


| exahype2.api.dslhype.SyntaxTree.FunctionDefinition.add_argument | ( | self, | |
| Argument | argument | ||
| ) |
Definition at line 575 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.FunctionDefinition._arguments, exahype2.api.dslhype.SyntaxTree.FunctionCall._arguments, and exahype2.api.dslhype.SyntaxTree.FunctionDefinition._top_level.
Referenced by sweargs.SWEArgumentParser.__init__().

| exahype2.api.dslhype.SyntaxTree.FunctionDefinition.add_statement | ( | self, | |
| Statement | statement | ||
| ) |
Definition at line 571 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.FunctionDefinition._body.
| exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_cpp | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 600 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.FunctionDefinition._arguments, exahype2.api.dslhype.SyntaxTree.FunctionCall._arguments, exahype2.api.dslhype.SyntaxTree.FunctionDefinition._body, and exahype2.api.dslhype.SyntaxTree.FunctionDefinition._template.
| exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_declaration | ( | self, | |
indent_level = 0 |
|||
| ) |
Definition at line 584 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.FunctionDefinition._arguments, exahype2.api.dslhype.SyntaxTree.FunctionCall._arguments, and exahype2.api.dslhype.SyntaxTree.FunctionDefinition._template.
| exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_declaration_with_timer | ( | self, | |
indent_level = 0 |
|||
| ) |
Definition at line 790 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.FunctionDefinition._arguments, exahype2.api.dslhype.SyntaxTree.FunctionCall._arguments, and exahype2.api.dslhype.SyntaxTree.FunctionDefinition._template.
| exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_definition_with_timer | ( | self, | |
indent_level = 0 |
|||
| ) |
Definition at line 764 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.FunctionDefinition._arguments, exahype2.api.dslhype.SyntaxTree.FunctionCall._arguments, exahype2.api.dslhype.SyntaxTree.FunctionDefinition._template, exahype2.api.dslhype.SyntaxTree.Argument.id, exahype2.api.dslhype.SyntaxTree.FunctionDefinition.id, exahype2.api.dslhype.SyntaxTree.Name.id, exahype2.api.dslhype.SyntaxTree.DataBlock.id, exahype2.api.dslhype.SyntaxTree.FunctionCall.id, exahype2::CellData< inType, outType >.id, exahype2::CopyCellDataGPU< inType, outType >.id, and tarch::la::DynamicMatrix.id().

| exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_mlir | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 668 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.FunctionDefinition._arguments, exahype2.api.dslhype.SyntaxTree.FunctionCall._arguments, exahype2.api.dslhype.SyntaxTree.FunctionDefinition._body, exahype2.api.dslhype.SyntaxTree.FunctionDefinition._return_type, exahype2.api.dslhype.SyntaxTree.FunctionDefinition._template, exahype2.api.dslhype.SyntaxTree.FunctionDefinition._top_level, and exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_mlir().
Referenced by exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_mlir().


| exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_omp | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 619 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.FunctionDefinition._arguments, exahype2.api.dslhype.SyntaxTree.FunctionCall._arguments, exahype2.api.dslhype.SyntaxTree.FunctionDefinition._body, and exahype2.api.dslhype.SyntaxTree.FunctionDefinition._template.
| exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_sycl | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 638 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.FunctionDefinition._arguments, exahype2.api.dslhype.SyntaxTree.FunctionCall._arguments, exahype2.api.dslhype.SyntaxTree.FunctionDefinition._body, and exahype2.api.dslhype.SyntaxTree.FunctionDefinition._template.
| exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_tree | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 756 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.FunctionDefinition._arguments, exahype2.api.dslhype.SyntaxTree.FunctionCall._arguments, and exahype2.api.dslhype.SyntaxTree.FunctionDefinition._body.
| exahype2.api.dslhype.SyntaxTree.FunctionDefinition.top_level | ( | self, | |
top = None |
|||
| ) |
Definition at line 566 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.FunctionDefinition._top_level.
|
protected |
Definition at line 560 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.FunctionDefinition.add_argument(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_cpp(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_declaration(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_declaration_with_timer(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_definition_with_timer(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_mlir(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_omp(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_sycl(), and exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_tree().
|
protected |
Definition at line 561 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.FunctionDefinition.add_statement(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_cpp(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_mlir(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_omp(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_sycl(), and exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_tree().
|
protected |
Definition at line 562 of file SyntaxTree.py.
|
protected |
Definition at line 557 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_mlir().
|
staticprotected |
Definition at line 551 of file SyntaxTree.py.
|
staticprotected |
Definition at line 552 of file SyntaxTree.py.
|
protected |
Definition at line 559 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_cpp(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_declaration(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_declaration_with_timer(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_definition_with_timer(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_mlir(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_omp(), and exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_sycl().
|
protected |
Definition at line 564 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.FunctionDefinition.add_argument(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_mlir(), and exahype2.api.dslhype.SyntaxTree.FunctionDefinition.top_level().
| exahype2.api.dslhype.SyntaxTree.FunctionDefinition.id |
Definition at line 556 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.Name.__eq__(), exahype2.api.dslhype.SyntaxTree.Name.__gt__(), exahype2.api.dslhype.SyntaxTree.Name.index(), exahype2.api.dslhype.SyntaxTree.Name.index(), exahype2.api.dslhype.SyntaxTree.Name.multidimensional_index(), exahype2.api.dslhype.SyntaxTree.DataBlock.offset(), exahype2.api.dslhype.SyntaxTree.FaceDataBlock.offset(), exahype2.api.dslhype.SyntaxTree.Argument.print_cpp(), exahype2.api.dslhype.SyntaxTree.Name.print_cpp(), exahype2.api.dslhype.SyntaxTree.DataBlock.print_cpp(), exahype2.api.dslhype.SyntaxTree.FunctionDefinition.print_definition_with_timer(), exahype2.api.dslhype.SyntaxTree.Name.print_mlir(), exahype2.api.dslhype.SyntaxTree.DataBlock.print_mlir(), exahype2.api.dslhype.SyntaxTree.Argument.print_omp(), exahype2.api.dslhype.SyntaxTree.Name.print_omp(), exahype2.api.dslhype.SyntaxTree.DataBlock.print_omp(), exahype2.api.dslhype.SyntaxTree.Argument.print_sycl(), exahype2.api.dslhype.SyntaxTree.Name.print_sycl(), exahype2.api.dslhype.SyntaxTree.DataBlock.print_sycl(), exahype2.api.dslhype.SyntaxTree.Name.print_tree(), and exahype2.api.dslhype.SyntaxTree.DataBlock.print_tree().