|
Peano
|


Public Member Functions | |
| __init__ (self, id, type=None) | |
| multidimensional_index (self, index_list, start_index=0, dimensions=[]) | |
| index (self, i) | |
| index (self, i, j) | |
| __add__ (self, rhs) | |
| __sub__ (self, rhs) | |
| __mul__ (self, rhs) | |
| __div__ (self, rhs) | |
| __neg__ (self) | |
| __gt__ (self, rhs) | |
| __eq__ (self, rhs) | |
| get_type (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.Expression | |
| __init__ (self) | |
| mlir_id (self, id=None) | |
| Public Member Functions inherited from exahype2.api.dslhype.SyntaxTree.Node | |
| __init__ (self) | |
| 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 = id | |
| type = type | |
Static Public Attributes | |
| variables = dict() | |
| 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] | |
Protected Attributes | |
| _value = Name.variables[rhs.id]) | |
| Protected Attributes inherited from exahype2.api.dslhype.SyntaxTree.Expression | |
| _mlir_id = None | |
| Protected Attributes inherited from exahype2.api.dslhype.SyntaxTree.Node | |
| _parent = None | |
| bool | _on_left = False |
| bool | _hoist = False |
| bool | _index_type = False |
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) | |
Definition at line 831 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Name.__init__ | ( | self, | |
| id, | |||
| type = None ) |
Definition at line 834 of file SyntaxTree.py.
References __init__().
Referenced by __init__().


| exahype2.api.dslhype.SyntaxTree.Name.__add__ | ( | self, | |
| rhs ) |
Definition at line 854 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Name.__div__ | ( | self, | |
| rhs ) |
Definition at line 863 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Name.__eq__ | ( | self, | |
| rhs ) |
Definition at line 874 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.Argument.id, exahype2.api.dslhype.SyntaxTree.FunctionDefinition.id, id, exahype2::ccz4::ahf::AHCommonHorizonCatalogueEntry.id, exahype2::ccz4::ahf::AHHorizonTarget.id, exahype2::ccz4::ahf::AHHorizonTargetResult.id, exahype2::ccz4::ahf::AHIndividualHorizonObservation.id, exahype2::ccz4::ahf::AHPhysicalBlackHole.id, and type.
| exahype2.api.dslhype.SyntaxTree.Name.__gt__ | ( | self, | |
| rhs ) |
Definition at line 869 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.Argument.id, exahype2.api.dslhype.SyntaxTree.FunctionDefinition.id, id, exahype2::ccz4::ahf::AHCommonHorizonCatalogueEntry.id, exahype2::ccz4::ahf::AHHorizonTarget.id, exahype2::ccz4::ahf::AHHorizonTargetResult.id, exahype2::ccz4::ahf::AHIndividualHorizonObservation.id, exahype2::ccz4::ahf::AHPhysicalBlackHole.id, and type.
| exahype2.api.dslhype.SyntaxTree.Name.__mul__ | ( | self, | |
| rhs ) |
Definition at line 860 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Name.__neg__ | ( | self | ) |
Definition at line 866 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Name.__sub__ | ( | self, | |
| rhs ) |
Definition at line 857 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Name.get_type | ( | self | ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Expression.
Definition at line 886 of file SyntaxTree.py.
References convert::data::Variable.type, and type.
Referenced by exahype2.api.dslhype2.Expressions.Variable.__add__(), exahype2.api.dslhype2.Expressions.Variable.__div__(), exahype2.api.dslhype2.Expressions.Variable.__mul__(), exahype2.api.dslhype2.Expressions.Variable.__neg__(), exahype2.api.dslhype2.Expressions.Variable.__sub__(), exahype2.api.dslhype2.Expressions.Variable.index_at(), and multidimensional_index().

| exahype2.api.dslhype.SyntaxTree.Name.index | ( | self, | |
| i ) |
Definition at line 848 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.Argument.id, exahype2.api.dslhype.SyntaxTree.FunctionDefinition.id, id, exahype2::ccz4::ahf::AHCommonHorizonCatalogueEntry.id, exahype2::ccz4::ahf::AHHorizonTarget.id, exahype2::ccz4::ahf::AHHorizonTargetResult.id, exahype2::ccz4::ahf::AHIndividualHorizonObservation.id, exahype2::ccz4::ahf::AHPhysicalBlackHole.id, and index().
Referenced by index(), and index().


| exahype2.api.dslhype.SyntaxTree.Name.index | ( | self, | |
| i, | |||
| j ) |
Definition at line 851 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.Argument.id, exahype2.api.dslhype.SyntaxTree.FunctionDefinition.id, id, exahype2::ccz4::ahf::AHCommonHorizonCatalogueEntry.id, exahype2::ccz4::ahf::AHHorizonTarget.id, exahype2::ccz4::ahf::AHHorizonTargetResult.id, exahype2::ccz4::ahf::AHIndividualHorizonObservation.id, exahype2::ccz4::ahf::AHPhysicalBlackHole.id, and index().

| exahype2.api.dslhype.SyntaxTree.Name.multidimensional_index | ( | self, | |
| index_list, | |||
| start_index = 0, | |||
| dimensions = [] ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Expression.
Definition at line 842 of file SyntaxTree.py.
References get_type(), exahype2.api.dslhype.SyntaxTree.Argument.id, exahype2.api.dslhype.SyntaxTree.FunctionDefinition.id, id, exahype2::ccz4::ahf::AHCommonHorizonCatalogueEntry.id, exahype2::ccz4::ahf::AHHorizonTarget.id, exahype2::ccz4::ahf::AHHorizonTargetResult.id, exahype2::ccz4::ahf::AHIndividualHorizonObservation.id, exahype2::ccz4::ahf::AHPhysicalBlackHole.id, multidimensional_index(), and type.
Referenced by multidimensional_index().


| exahype2.api.dslhype.SyntaxTree.Name.print_cpp | ( | self, | |
| indent_level = 0 ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 889 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.Argument.id, exahype2.api.dslhype.SyntaxTree.FunctionDefinition.id, id, exahype2::ccz4::ahf::AHCommonHorizonCatalogueEntry.id, exahype2::ccz4::ahf::AHHorizonTarget.id, exahype2::ccz4::ahf::AHHorizonTargetResult.id, exahype2::ccz4::ahf::AHIndividualHorizonObservation.id, and exahype2::ccz4::ahf::AHPhysicalBlackHole.id.
| exahype2.api.dslhype.SyntaxTree.Name.print_mlir | ( | self, | |
| indent_level = 0 ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 898 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.Argument.id, exahype2.api.dslhype.SyntaxTree.FunctionDefinition.id, id, exahype2::ccz4::ahf::AHCommonHorizonCatalogueEntry.id, exahype2::ccz4::ahf::AHHorizonTarget.id, exahype2::ccz4::ahf::AHHorizonTargetResult.id, exahype2::ccz4::ahf::AHIndividualHorizonObservation.id, and exahype2::ccz4::ahf::AHPhysicalBlackHole.id.
| exahype2.api.dslhype.SyntaxTree.Name.print_omp | ( | self, | |
| indent_level = 0 ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 892 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.Argument.id, exahype2.api.dslhype.SyntaxTree.FunctionDefinition.id, id, exahype2::ccz4::ahf::AHCommonHorizonCatalogueEntry.id, exahype2::ccz4::ahf::AHHorizonTarget.id, exahype2::ccz4::ahf::AHHorizonTargetResult.id, exahype2::ccz4::ahf::AHIndividualHorizonObservation.id, and exahype2::ccz4::ahf::AHPhysicalBlackHole.id.
| exahype2.api.dslhype.SyntaxTree.Name.print_sycl | ( | self, | |
| indent_level = 0 ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 895 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.Argument.id, exahype2.api.dslhype.SyntaxTree.FunctionDefinition.id, id, exahype2::ccz4::ahf::AHCommonHorizonCatalogueEntry.id, exahype2::ccz4::ahf::AHHorizonTarget.id, exahype2::ccz4::ahf::AHHorizonTargetResult.id, exahype2::ccz4::ahf::AHIndividualHorizonObservation.id, and exahype2::ccz4::ahf::AHPhysicalBlackHole.id.
| exahype2.api.dslhype.SyntaxTree.Name.print_tree | ( | self, | |
| indent_level = 0 ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 902 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.Argument.id, exahype2.api.dslhype.SyntaxTree.FunctionDefinition.id, id, exahype2::ccz4::ahf::AHCommonHorizonCatalogueEntry.id, exahype2::ccz4::ahf::AHHorizonTarget.id, exahype2::ccz4::ahf::AHHorizonTargetResult.id, exahype2::ccz4::ahf::AHIndividualHorizonObservation.id, and exahype2::ccz4::ahf::AHPhysicalBlackHole.id.
|
protected |
Definition at line 877 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.Integer.__add__(), exahype2.api.dslhype.SyntaxTree.Integer.__eq__(), exahype2.api.dslhype.SyntaxTree.Float.__float__(), exahype2.api.dslhype.SyntaxTree.Integer.__gt__(), exahype2.api.dslhype.SyntaxTree.Integer.__int__(), exahype2.api.dslhype.SyntaxTree.Integer.__lt__(), exahype2.api.dslhype.SyntaxTree.Integer.__neg__(), exahype2.api.dslhype.SyntaxTree.Boolean.__str__(), exahype2.api.dslhype.SyntaxTree.String.__str__(), exahype2.api.dslhype.SyntaxTree.Integer.__sub__(), exahype2.api.dslhype.SyntaxTree.Subscript.get_type(), exahype2.api.dslhype.SyntaxTree.VectorIndex.get_type(), exahype2.api.dslhype.SyntaxTree.Subscript.is_nested_subscript(), exahype2.api.dslhype.SyntaxTree.Boolean.print_cpp(), exahype2.api.dslhype.SyntaxTree.Float.print_cpp(), exahype2.api.dslhype.SyntaxTree.Integer.print_cpp(), exahype2.api.dslhype.SyntaxTree.String.print_cpp(), exahype2.api.dslhype.SyntaxTree.Boolean.print_mlir(), exahype2.api.dslhype.SyntaxTree.Float.print_mlir(), exahype2.api.dslhype.SyntaxTree.Integer.print_mlir(), exahype2.api.dslhype.SyntaxTree.String.print_mlir(), exahype2.api.dslhype.SyntaxTree.Subscript.print_mlir(), exahype2.api.dslhype.SyntaxTree.VectorIndex.print_mlir(), exahype2.api.dslhype.SyntaxTree.Boolean.print_omp(), exahype2.api.dslhype.SyntaxTree.Float.print_omp(), exahype2.api.dslhype.SyntaxTree.Integer.print_omp(), exahype2.api.dslhype.SyntaxTree.String.print_omp(), exahype2.api.dslhype.SyntaxTree.Boolean.print_sycl(), exahype2.api.dslhype.SyntaxTree.Float.print_sycl(), exahype2.api.dslhype.SyntaxTree.Integer.print_sycl(), exahype2.api.dslhype.SyntaxTree.String.print_sycl(), exahype2.api.dslhype.SyntaxTree.Boolean.print_tree(), exahype2.api.dslhype.SyntaxTree.Float.print_tree(), exahype2.api.dslhype.SyntaxTree.Integer.print_tree(), and exahype2.api.dslhype.SyntaxTree.String.print_tree().
| exahype2.api.dslhype.SyntaxTree.Name.id = id |
Definition at line 836 of file SyntaxTree.py.
Referenced by __eq__(), exahype2.api.dslhype2.Types.Name.__eq__(), __gt__(), exahype2.api.dslhype2.Types.Name.__hash__(), exahype2.api.dslhype2.Types.Name.__lt__(), index(), index(), multidimensional_index(), exahype2.api.dslhype.SyntaxTree.DataBlock.offset(), exahype2.api.dslhype.SyntaxTree.FaceDataBlock.offset(), exahype2.api.dslhype.SyntaxTree.DataBlock.print_cpp(), print_cpp(), exahype2.api.dslhype.SyntaxTree.DataBlock.print_mlir(), print_mlir(), exahype2.api.dslhype.SyntaxTree.DataBlock.print_omp(), print_omp(), exahype2.api.dslhype.SyntaxTree.DataBlock.print_sycl(), print_sycl(), exahype2.api.dslhype.SyntaxTree.DataBlock.print_tree(), and print_tree().
| exahype2.api.dslhype.SyntaxTree.Name.type = type |
Definition at line 837 of file SyntaxTree.py.
Referenced by __eq__(), __gt__(), get_type(), and multidimensional_index().
|
static |
Definition at line 832 of file SyntaxTree.py.