Skip to content

OmpSupport::omp_construct_enum

Synopsis

Declared in <SageIII/ompSupport.h>

enum omp_construct_enum;

Members

Name

e_unknown

e_parallel

e_for

e_for_simd

e_do

e_workshare

e_sections

e_section

e_single

e_master

e_critical

e_barrier

e_atomic

e_flush

e_target

e_target_declare

e_target_data

e_target_update

e_map

e_device

e_begin

e_end

e_threadprivate

e_parallel_for

e_parallel_for_simd

e_parallel_do

e_parallel_sections

e_parallel_workshare

e_task

e_taskwait

e_ordered_directive

e_end_critical

e_end_do

e_end_master

e_end_ordered

e_end_parallel_do

e_end_parallel_sections

e_end_parallel_workshare

e_end_parallel

e_end_sections

e_end_single

e_end_task

e_end_workshare

e_default

e_shared

e_private

e_firstprivate

e_lastprivate

e_copyin

e_copyprivate

e_proc_bind

e_if

e_num_threads

e_nowait

e_ordered_clause

e_reduction

e_schedule

e_collapse

e_untied

e_mergeable

e_final

e_priority

e_atomic_clause

e_inbranch

e_notinbranch

e_depend

e_default_none

e_default_shared

e_default_private

e_default_firstprivate

e_proc_bind_master

e_proc_bind_close

e_proc_bind_spread

e_atomic_read

e_atomic_write

e_atomic_update

e_atomic_capture

e_in_reduction_identifier_plus

e_in_reduction_identifier_mul

e_in_reduction_identifier_minus

e_in_reduction_identifier_bitand

e_in_reduction_identifier_bitor

e_in_reduction_identifier_bitxor

e_in_reduction_identifier_logand

e_in_reduction_identifier_logor

e_in_reduction_identifier_and

e_in_reduction_identifier_or

e_in_reduction_identifier_eqv

e_in_reduction_identifier_neqv

e_in_reduction_identifier_max

e_in_reduction_identifier_min

e_in_reduction_identifier_iand

e_in_reduction_identifier_ior

e_in_reduction_identifier_ieor

e_task_reduction_identifier_plus

e_task_reduction_identifier_mul

e_task_reduction_identifier_minus

e_task_reduction_identifier_bitand

e_task_reduction_identifier_bitor

e_task_reduction_identifier_bitxor

e_task_reduction_identifier_logand

e_task_reduction_identifier_logor

e_task_reduction_identifier_and

e_task_reduction_identifier_or

e_task_reduction_identifier_eqv

e_task_reduction_identifier_neqv

e_task_reduction_identifier_max

e_task_reduction_identifier_min

e_task_reduction_identifier_iand

e_task_reduction_identifier_ior

e_task_reduction_identifier_ieor

e_reduction_plus

e_reduction_mul

e_reduction_minus

e_reduction_bitand

e_reduction_bitor

e_reduction_bitxor

e_reduction_logand

e_reduction_logor

e_reduction_and

e_reduction_or

e_reduction_eqv

e_reduction_neqv

e_reduction_max

e_reduction_min

e_reduction_iand

e_reduction_ior

e_reduction_ieor

e_reduction_inscan

e_reduction_task

e_reduction_default

e_lastprivate_conditional

e_device_ancestor

e_device_device_num

e_linear_ref

e_linear_val

e_linear_uval

e_user_defined_parameter

e_schedule_none

e_schedule_static

e_schedule_dynamic

e_schedule_guided

e_schedule_auto

e_schedule_runtime

e_map_alloc

e_map_to

e_map_from

e_map_tofrom

e_dist_data

e_duplicate

e_block

e_cyclic

e_simd

e_declare_simd

e_safelen

e_simdlen

e_uniform

e_aligned

e_linear

e_depend_in

e_depend_out

e_depend_inout

e_depend_mutexinoutset

e_depend_depobj

e_omp_depend_modifier_iterator

e_allocate

e_allocate_default_mem_alloc

e_allocate_large_cap_mem_alloc

e_allocate_const_mem_alloc

e_allocate_high_bw_mem_alloc

e_allocate_low_lat_mem_alloc

e_allocate_cgroup_mem_alloc

e_allocate_pteam_mem_alloc

e_allocate_thread_mem_alloc

e_not_omp

Non-Member Functions

Name

Description

getDataSharingAttribute

Return the data sharing attribute type of a variable, specified as a symbol and an anchor node (Must be the inner most node associated with the variable reference, e.g. a SgVarRefExp, SgVariableDeclaration, etc) Possible returned values include: e_shared, e_private, e_firstprivate, e_lastprivate, e_reduction, e_threadprivate, e_copyin, and e_copyprivate.

getDataSharingAttribute

Return the OpenMP data sharing attribute type of a variable reference

isClause

Check if an OpenMP construct is a clause

isDependenceType

Check if an OpenMP construct is a dependence type for omp task depend

isDirective

Check if an OpenMP construct is a directive

isDirectiveWithBody

Check if an OpenMP directive has a structured body

isFortranBeginDirective

Check if the construct is a Fortran directive which can (optionally) have a corresponding END directive

isFortranEndDirective

Check if the construct is a Fortran END ... directive

isReductionOperator

Check if an OpenMP construct is a reduction operator

toString

Output omp_construct_enum to a string:

Created with MrDocs