|
Peano
|


Public Member Functions | |
| __init__ (self, operation, lhs, 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 | |
| mlir_id (self, id=None) | |
| multidimensional_index (self, index_list, start_index=0, dimensions=[]) | |
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) | |
Static Public Member Functions | |
| get_mlir_comparison_op (operation, op_type_class) | |
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) | |
Protected Attributes | |
| _operation | |
| _lhs | |
| _rhs | |
Protected Attributes inherited from exahype2.api.dslhype.SyntaxTree.Expression | |
| _mlir_id | |
Protected Attributes inherited from exahype2.api.dslhype.SyntaxTree.Node | |
| _parent | |
| _on_left | |
| _hoist | |
| _index_type | |
Additional Inherited Members | |
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 2087 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Comparison.__init__ | ( | self, | |
| operation, | |||
| lhs, | |||
| rhs | |||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Expression.
Definition at line 2088 of file SyntaxTree.py.
|
static |
Definition at line 2106 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Comparison.get_type | ( | self | ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Expression.
Definition at line 2093 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.Comparison._lhs, exahype2.api.dslhype.SyntaxTree.BinaryOperation._lhs, exahype2.api.dslhype.SyntaxTree.DataBlockComparison._lhs, exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation._lhs, exahype2.api.dslhype.SyntaxTree.Max._lhs, exahype2.api.dslhype.SyntaxTree.Assignment._lhs, exahype2.api.dslhype.SyntaxTree.DataBlockAssignment._lhs, and exahype2.api.dslhype.SyntaxTree.Comparison.get_type().
Referenced by exahype2.api.dslhype.SyntaxTree.Comparison.get_type().


| exahype2.api.dslhype.SyntaxTree.Comparison.print_cpp | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 2096 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Comparison.print_mlir | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 2127 of file SyntaxTree.py.
References exahype2.api.dslhype.SyntaxTree.Comparison._lhs, exahype2.api.dslhype.SyntaxTree.BinaryOperation._lhs, exahype2.api.dslhype.SyntaxTree.DataBlockComparison._lhs, exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation._lhs, exahype2.api.dslhype.SyntaxTree.Max._lhs, exahype2.api.dslhype.SyntaxTree.Assignment._lhs, exahype2.api.dslhype.SyntaxTree.DataBlockAssignment._lhs, exahype2.api.dslhype.SyntaxTree.Comparison._operation, exahype2.api.dslhype.SyntaxTree.BinaryOperation._operation, exahype2.api.dslhype.SyntaxTree.UnaryOperation._operation, exahype2.api.dslhype.SyntaxTree.DataBlockComparison._operation, exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation._operation, exahype2.api.dslhype.SyntaxTree.DataBlockUnaryOperation._operation, exahype2.api.dslhype.SyntaxTree.DataBlockConstructionFromOperation._operation, exahype2.api.dslhype.SyntaxTree.Comparison._rhs, exahype2.api.dslhype.SyntaxTree.BinaryOperation._rhs, exahype2.api.dslhype.SyntaxTree.DataBlockComparison._rhs, exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation._rhs, exahype2.api.dslhype.SyntaxTree.Max._rhs, exahype2.api.dslhype.SyntaxTree.Assignment._rhs, exahype2.api.dslhype.SyntaxTree.DataBlockAssignment._rhs, and exahype2.api.dslhype.SyntaxTree.Comparison.print_mlir().
Referenced by exahype2.api.dslhype.SyntaxTree.Comparison.print_mlir().


| exahype2.api.dslhype.SyntaxTree.Comparison.print_omp | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 2099 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Comparison.print_sycl | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 2102 of file SyntaxTree.py.
| exahype2.api.dslhype.SyntaxTree.Comparison.print_tree | ( | self, | |
indent_level = 0 |
|||
| ) |
Reimplemented from exahype2.api.dslhype.SyntaxTree.Node.
Definition at line 2150 of file SyntaxTree.py.
|
protected |
Definition at line 2090 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.BinaryOperation.get_mlir_op(), exahype2.api.dslhype.SyntaxTree.Comparison.get_type(), exahype2.api.dslhype.SyntaxTree.BinaryOperation.get_type(), exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation.get_type(), exahype2.api.dslhype.SyntaxTree.BinaryOperation.index(), exahype2.api.dslhype.SyntaxTree.DataBlockComparison.index(), exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation.index(), exahype2.api.dslhype.SyntaxTree.DataBlockMax.index(), exahype2.api.dslhype.SyntaxTree.BinaryOperation.multidimensional_index(), exahype2.api.dslhype.SyntaxTree.DataBlockComparison.multidimensional_index(), exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation.multidimensional_index(), exahype2.api.dslhype.SyntaxTree.DataBlockMax.multidimensional_index(), exahype2.api.dslhype.SyntaxTree.Comparison.print_mlir(), and exahype2.api.dslhype.SyntaxTree.BinaryOperation.print_mlir().
|
protected |
Definition at line 2089 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.UnaryOperation.__neg__(), exahype2.api.dslhype.SyntaxTree.BinaryOperation.get_mlir_op(), exahype2.api.dslhype.SyntaxTree.BinaryOperation.index(), exahype2.api.dslhype.SyntaxTree.DataBlockComparison.index(), exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation.index(), exahype2.api.dslhype.SyntaxTree.DataBlockUnaryOperation.index(), exahype2.api.dslhype.SyntaxTree.BinaryOperation.multidimensional_index(), exahype2.api.dslhype.SyntaxTree.DataBlockComparison.multidimensional_index(), exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation.multidimensional_index(), exahype2.api.dslhype.SyntaxTree.DataBlockUnaryOperation.multidimensional_index(), exahype2.api.dslhype.SyntaxTree.Comparison.print_mlir(), and exahype2.api.dslhype.SyntaxTree.UnaryOperation.print_mlir().
|
protected |
Definition at line 2091 of file SyntaxTree.py.
Referenced by exahype2.api.dslhype.SyntaxTree.BinaryOperation.get_mlir_op(), exahype2.api.dslhype.SyntaxTree.BinaryOperation.get_type(), exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation.get_type(), exahype2.api.dslhype.SyntaxTree.BinaryOperation.index(), exahype2.api.dslhype.SyntaxTree.DataBlockComparison.index(), exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation.index(), exahype2.api.dslhype.SyntaxTree.DataBlockMax.index(), exahype2.api.dslhype.SyntaxTree.BinaryOperation.multidimensional_index(), exahype2.api.dslhype.SyntaxTree.DataBlockComparison.multidimensional_index(), exahype2.api.dslhype.SyntaxTree.DataBlockBinaryOperation.multidimensional_index(), exahype2.api.dslhype.SyntaxTree.DataBlockMax.multidimensional_index(), exahype2.api.dslhype.SyntaxTree.Comparison.print_mlir(), and exahype2.api.dslhype.SyntaxTree.BinaryOperation.print_mlir().