|
Peano
|


Public Member Functions | |
| __init__ (self, int spaces_per_tab) | |
| str | print_name (self, Name name, int indent_level=0) |
| str | print_function_declaration (self, Function function, int indent_level=0) |
| str | print_function_definition (self, Function function, int indent_level=0) |
| str | print_function_declaration_with_timer (self, Function function, int indent_level=0) |
| str | print_function_definition_with_timer (self, Function function, int indent_level=0) |
| print_array_allocation (self, ArrayAllocation array_allocation, int indent_level=0) | |
| print_array_deallocation (self, ArrayDeallocation array_deallocation, int indent_level=0) | |
| str | print_memory_allocation (self, MemoryAllocation memory_allocation, int indent_level=0) |
| str | print_memory_deallocation (self, MemoryDeallocation memory_deallocation, int indent_level=0) |
| print_function_call (self, FunctionCall function_call, int indent_level=0) | |
| str | print_for (self, For for_loop, int indent_level=0) |
| str | print_construction (self, Construction construction, int indent_level=0) |
| str | print_assignment (self, Assignment assignment, int indent_level=0) |
| str | print_data_block_construction_from_element (self, DataBlockConstructionFromElement data_block_construction_from_element, int indent_level=0) |
| str | print_data_block_construction_from_external (self, DataBlockConstructionFromExternal data_block_construction_from_external, int indent_level=0) |
| print_data_block_construction_from_function_call (self, DataBlockConstructionFromFunctionCall data_block_construction_from_function_call, int indent_level=0) | |
| print_data_block_construction_from_operation (self, DataBlockConstructionFromOperation data_block_construction_from_operation, int indent_level=0) | |
| str | print_data_block_assignment (self, DataBlockAssignment data_block_assignment, int indent_level=0) |
| str | print_data_block_unary_max (self, DataBlockUnaryMax data_block_unary_max, int indent_level=0) |
| print_comment (self, Comment comment, int indent_level=0) | |
| str | print_variable (self, Variable variable, int indent_level=0) |
| Expression Prints. | |
| str | print_integer (self, Integer integer, int indent_level=0) |
| str | print_index (self, Index index, int indent_level=0) |
| str | print_float (self, Float float_val, int indent_level=0) |
| str | print_subscript (self, Subscript subscript, int indent_level=0) |
| str | print_element_binary_operation (self, ElementBinaryOperation element_binary_operation, int indent_level=0) |
| print_element_unary_operation (self, ElementUnaryOperation element_unary_operation, int indent_level=0) | |
| print_element_index (self, ElementIndex element_index, int indent_level=0) | |
| str | print_integer_type (self, TInteger integer_type, int indent_level=0) |
| Type Prints. | |
| str | print_index_type (self, TIndex index_type, int indent_level=0) |
| str | print_float_type (self, TFloat float_type, int indent_level=0) |
| print_vector_type (self, TVector vector_type, int indent_level=0) | |
| str | print_array_type (self, TArray array_type, int indent_level=0) |
| str | print_struct_type (self, TStruct struct_type, int indent_level=0) |
| str | print_function_type (self, TFunction function_type, int indent_level=0) |
Definition at line 5 of file CPPPrinter.py.
| CPPPrinter.CPPPrinter.__init__ | ( | self, | |
| int | spaces_per_tab ) |
Definition at line 6 of file CPPPrinter.py.
| CPPPrinter.CPPPrinter.print_array_allocation | ( | self, | |
| ArrayAllocation | array_allocation, | ||
| int | indent_level = 0 ) |
Definition at line 57 of file CPPPrinter.py.
| CPPPrinter.CPPPrinter.print_array_deallocation | ( | self, | |
| ArrayDeallocation | array_deallocation, | ||
| int | indent_level = 0 ) |
Definition at line 64 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_array_type | ( | self, | |
| TArray | array_type, | ||
| int | indent_level = 0 ) |
Definition at line 223 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_assignment | ( | self, | |
| Assignment | assignment, | ||
| int | indent_level = 0 ) |
Definition at line 111 of file CPPPrinter.py.
| CPPPrinter.CPPPrinter.print_comment | ( | self, | |
| Comment | comment, | ||
| int | indent_level = 0 ) |
Definition at line 142 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_construction | ( | self, | |
| Construction | construction, | ||
| int | indent_level = 0 ) |
Definition at line 104 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_data_block_assignment | ( | self, | |
| DataBlockAssignment | data_block_assignment, | ||
| int | indent_level = 0 ) |
Reimplemented in OMPTargetPrinter.OMPTargetPrinter.
Definition at line 136 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_data_block_construction_from_element | ( | self, | |
| DataBlockConstructionFromElement | data_block_construction_from_element, | ||
| int | indent_level = 0 ) |
Definition at line 117 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_data_block_construction_from_external | ( | self, | |
| DataBlockConstructionFromExternal | data_block_construction_from_external, | ||
| int | indent_level = 0 ) |
Definition at line 120 of file CPPPrinter.py.
References assert.
| CPPPrinter.CPPPrinter.print_data_block_construction_from_function_call | ( | self, | |
| DataBlockConstructionFromFunctionCall | data_block_construction_from_function_call, | ||
| int | indent_level = 0 ) |
Reimplemented in OMPTargetPrinter.OMPTargetPrinter.
Definition at line 128 of file CPPPrinter.py.
| CPPPrinter.CPPPrinter.print_data_block_construction_from_operation | ( | self, | |
| DataBlockConstructionFromOperation | data_block_construction_from_operation, | ||
| int | indent_level = 0 ) |
Definition at line 132 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_data_block_unary_max | ( | self, | |
| DataBlockUnaryMax | data_block_unary_max, | ||
| int | indent_level = 0 ) |
Reimplemented in OMPTargetPrinter.OMPTargetPrinter.
Definition at line 139 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_element_binary_operation | ( | self, | |
| ElementBinaryOperation | element_binary_operation, | ||
| int | indent_level = 0 ) |
Definition at line 184 of file CPPPrinter.py.
| CPPPrinter.CPPPrinter.print_element_index | ( | self, | |
| ElementIndex | element_index, | ||
| int | indent_level = 0 ) |
Definition at line 203 of file CPPPrinter.py.
| CPPPrinter.CPPPrinter.print_element_unary_operation | ( | self, | |
| ElementUnaryOperation | element_unary_operation, | ||
| int | indent_level = 0 ) |
Definition at line 200 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_float | ( | self, | |
| Float | float_val, | ||
| int | indent_level = 0 ) |
Definition at line 165 of file CPPPrinter.py.
References assert.
| str CPPPrinter.CPPPrinter.print_float_type | ( | self, | |
| TFloat | float_type, | ||
| int | indent_level = 0 ) |
Definition at line 217 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_for | ( | self, | |
| For | for_loop, | ||
| int | indent_level = 0 ) |
Definition at line 93 of file CPPPrinter.py.
Referenced by MLIRPrinter.MLIRPrinter.print_data_block_construction_from_function_call().

| CPPPrinter.CPPPrinter.print_function_call | ( | self, | |
| FunctionCall | function_call, | ||
| int | indent_level = 0 ) |
Definition at line 86 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_function_declaration | ( | self, | |
| Function | function, | ||
| int | indent_level = 0 ) |
Definition at line 12 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_function_declaration_with_timer | ( | self, | |
| Function | function, | ||
| int | indent_level = 0 ) |
Definition at line 33 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_function_definition | ( | self, | |
| Function | function, | ||
| int | indent_level = 0 ) |
Definition at line 21 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_function_definition_with_timer | ( | self, | |
| Function | function, | ||
| int | indent_level = 0 ) |
Definition at line 42 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_function_type | ( | self, | |
| TFunction | function_type, | ||
| int | indent_level = 0 ) |
Definition at line 233 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_index | ( | self, | |
| Index | index, | ||
| int | indent_level = 0 ) |
Definition at line 158 of file CPPPrinter.py.
References assert.
| str CPPPrinter.CPPPrinter.print_index_type | ( | self, | |
| TIndex | index_type, | ||
| int | indent_level = 0 ) |
Definition at line 214 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_integer | ( | self, | |
| Integer | integer, | ||
| int | indent_level = 0 ) |
Definition at line 151 of file CPPPrinter.py.
References assert.
| str CPPPrinter.CPPPrinter.print_integer_type | ( | self, | |
| TInteger | integer_type, | ||
| int | indent_level = 0 ) |
Type Prints.
Definition at line 211 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_memory_allocation | ( | self, | |
| MemoryAllocation | memory_allocation, | ||
| int | indent_level = 0 ) |
Reimplemented in OMPTargetPrinter.OMPTargetPrinter.
Definition at line 71 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_memory_deallocation | ( | self, | |
| MemoryDeallocation | memory_deallocation, | ||
| int | indent_level = 0 ) |
Reimplemented in OMPTargetPrinter.OMPTargetPrinter.
Definition at line 82 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_name | ( | self, | |
| Name | name, | ||
| int | indent_level = 0 ) |
Definition at line 9 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_struct_type | ( | self, | |
| TStruct | struct_type, | ||
| int | indent_level = 0 ) |
Definition at line 230 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_subscript | ( | self, | |
| Subscript | subscript, | ||
| int | indent_level = 0 ) |
Definition at line 172 of file CPPPrinter.py.
| str CPPPrinter.CPPPrinter.print_variable | ( | self, | |
| Variable | variable, | ||
| int | indent_level = 0 ) |
Expression Prints.
Definition at line 148 of file CPPPrinter.py.
| CPPPrinter.CPPPrinter.print_vector_type | ( | self, | |
| TVector | vector_type, | ||
| int | indent_level = 0 ) |
Definition at line 220 of file CPPPrinter.py.