Peano
Loading...
Searching...
No Matches
OMPTargetPrinter.OMPTargetPrinter Class Reference
Inheritance diagram for OMPTargetPrinter.OMPTargetPrinter:
Collaboration diagram for OMPTargetPrinter.OMPTargetPrinter:

Public Member Functions

 __init__ (self, int spaces_per_tab)
str print_data_block_assignment (self, DataBlockAssignment data_block_assignment, int indent_level=0)
 print_data_block_construction_from_function_call (self, DataBlockConstructionFromFunctionCall data_block_construction_from_function_call, int indent_level=0)
str print_data_block_unary_max (self, DataBlockUnaryMax data_block_unary_max, 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)
Public Member Functions inherited from CPPPrinter.CPPPrinter
 __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)
 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_operation (self, DataBlockConstructionFromOperation data_block_construction_from_operation, 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)

Data Fields

int nested_level = 0

Detailed Description

Definition at line 5 of file OMPTargetPrinter.py.

Constructor & Destructor Documentation

◆ __init__()

OMPTargetPrinter.OMPTargetPrinter.__init__ ( self,
int spaces_per_tab )

Definition at line 6 of file OMPTargetPrinter.py.

Member Function Documentation

◆ print_data_block_assignment()

str OMPTargetPrinter.OMPTargetPrinter.print_data_block_assignment ( self,
DataBlockAssignment data_block_assignment,
int indent_level = 0 )

Reimplemented from CPPPrinter.CPPPrinter.

Definition at line 10 of file OMPTargetPrinter.py.

◆ print_data_block_construction_from_function_call()

OMPTargetPrinter.OMPTargetPrinter.print_data_block_construction_from_function_call ( self,
DataBlockConstructionFromFunctionCall data_block_construction_from_function_call,
int indent_level = 0 )

Reimplemented from CPPPrinter.CPPPrinter.

Definition at line 14 of file OMPTargetPrinter.py.

◆ print_data_block_unary_max()

str OMPTargetPrinter.OMPTargetPrinter.print_data_block_unary_max ( self,
DataBlockUnaryMax data_block_unary_max,
int indent_level = 0 )

Reimplemented from CPPPrinter.CPPPrinter.

Definition at line 20 of file OMPTargetPrinter.py.

◆ print_memory_allocation()

str OMPTargetPrinter.OMPTargetPrinter.print_memory_allocation ( self,
MemoryAllocation memory_allocation,
int indent_level = 0 )

Reimplemented from CPPPrinter.CPPPrinter.

Definition at line 30 of file OMPTargetPrinter.py.

◆ print_memory_deallocation()

str OMPTargetPrinter.OMPTargetPrinter.print_memory_deallocation ( self,
MemoryDeallocation memory_deallocation,
int indent_level = 0 )

Reimplemented from CPPPrinter.CPPPrinter.

Definition at line 42 of file OMPTargetPrinter.py.

Field Documentation

◆ nested_level

int OMPTargetPrinter.OMPTargetPrinter.nested_level = 0

Definition at line 8 of file OMPTargetPrinter.py.


The documentation for this class was generated from the following file: