psyclone.psyir.nodes.atomic_mixin#

This module contains the implementation of the abstract AtomicMixin.

Classes#

class psyclone.psyir.nodes.atomic_mixin.AtomicDirectiveType(*values)[source]#

Enumeration of the available atomic operation types supported by OpenMP and OpenACC.

Inheritance

Inheritance diagram of AtomicDirectiveType
class psyclone.psyir.nodes.atomic_mixin.AtomicDirectiveMixin[source]#

A mixin class for directives implementing atomic behaviour.

Inheritance

Inheritance diagram of AtomicDirectiveMixin
classmethod is_valid_atomic_statement(stmt)[source]#

Check if a given statement is a valid atomic expression.

Parameters:

stmt (Node) – a node to be validated.

Return type:

bool

Returns:

whether a given statement is compliant with the classes atomic expressions.