osprey/kgccfe/wfe_omp_directives.cxx File Reference

#include "gnu_config.h"
#include "system.h"
#include "gnu/tree.h"
#include "wn.h"
#include "wfe_misc.h"
#include "wfe_stmt.h"
#include "omp_types.h"
#include "omp_directive.h"
#include "wfe_omp_directives.h"
#include "wfe_omp_check_stack.h"
#include "stdio.h"
#include "errors.h"
#include "const.h"
#include "erglob.h"

Include dependency graph for wfe_omp_directives.cxx:

Go to the source code of this file.

Functions/Subroutines

void WFE_Omp_Init (void)
WNWFE_region (REGION_KIND kind)
void WFE_omp_error (CHECK_STMT *cs, bool chkflag, char *msg)
void WFE_check_private (WN *wn_p, bool chkflag)
void WFE_check_firstprivate (WN *wn_fp, bool chkflag)
void WFE_check_lastprivate (WN *wn_lp, bool chkflag)
void WFE_check_reduction (WN *wn_r, bool chkflag)
void WFE_check_default (WN *wn_d, bool chkflag)
void WFE_check_parallel (WN *parallel_wn)
void WFE_expand_start_parallel (struct Parallel_clause_wn_type *parallel_clause_wn)
void WFE_expand_end_parallel ()
void WFE_check_for (WN *for_wn)
void WFE_expand_start_for (struct For_clause_wn_type *for_clause_wn)
void WFE_expand_end_for ()
void WFE_check_sections (WN *sections_wn)
void WFE_expand_start_sections (struct Sections_clause_wn_type *sections_clause_wn)
void WFE_expand_start_section ()
void WFE_check_section ()
void WFE_expand_end_section ()
void WFE_expand_end_sections ()
void WFE_check_single ()
void WFE_expand_start_single (struct Single_clause_wn_type *single_clause_wn)
void WFE_expand_end_single ()
void WFE_check_parallel_for (WN *parallel_for_wn)
void WFE_expand_start_parallel_for (struct Parallel_for_clause_wn_type *parallel_for_clause_wn)
void WFE_expand_end_parallel_for ()
void WFE_check_parallel_sections (WN *parallel_sections_wn)
void WFE_expand_start_parallel_sections (struct Parallel_sections_clause_wn_type *parallel_sections_clause_wn)
void WFE_expand_end_parallel_sections ()
void WFE_check_master ()
void WFE_expand_start_master ()
void WFE_expand_end_master ()
void WFE_check_critical (char *name)
void WFE_expand_start_critical (ST *region_phrase, char *critical_name)
void WFE_expand_end_critical ()
void WFE_expand_start_atomic ()
static BOOL Direct_Memory (WN *wn1)
static BOOL Equiv_Expression (WN *wn1, WN *wn2)
static BOOL Same_Location (WN *wn1, WN *wn2)
static WNFind_Same_Location (WN *loc, WN *wn, WN **parent, int *kidnum)
static void format_rhs_atomic_stmt (WN *wn)
void WFE_expand_end_atomic ()
void WFE_check_ordered ()
void WFE_expand_start_ordered ()
void WFE_expand_end_ordered ()
void WFE_check_barrier ()
void WFE_expand_barrier ()
void WFE_check_flush ()
void WFE_expand_flush (WN_list *flush_variables)
void WFE_check_threadprivate (ST_list *threadprivate_variables)
void WFE_expand_threadprivate (ST_list *threadprivate_variables)
void WFE_expand_start_do_loop (WN *index, WN *start, WN *end, WN *step, struct nesting *nest)
void WFE_expand_end_do_loop (struct nesting *nest)

Variables

BOOL Trace_Omp = FALSE


Function Documentation

static BOOL Direct_Memory ( WN wn1  )  [static]

Definition at line 2249 of file wfe_omp_directives.cxx.

References OPR_LDID, OPR_STID, and WN_operator().

static BOOL Equiv_Expression ( WN wn1,
WN wn2 
) [static]

Definition at line 2256 of file wfe_omp_directives.cxx.

References Equiv_Expression(), FALSE, INT, TRUE, WN_Equiv(), WN_kid(), and WN_kid_count().

static WN* Find_Same_Location ( WN loc,
WN wn,
WN **  parent,
int *  kidnum 
) [static]

static void format_rhs_atomic_stmt ( WN wn  )  [static]

static BOOL Same_Location ( WN wn1,
WN wn2 
) [static]

void WFE_check_barrier (  ) 

void WFE_check_critical ( char *  name  ) 

void WFE_check_default ( WN wn_d,
bool  chkflag 
)

Definition at line 156 of file wfe_omp_directives.cxx.

void WFE_check_firstprivate ( WN wn_fp,
bool  chkflag 
)

Definition at line 119 of file wfe_omp_directives.cxx.

References fprintf(), SCLASS_FORMAL_REF, and WN_st().

void WFE_check_flush (  ) 

void WFE_check_for ( WN for_wn  ) 

void WFE_check_lastprivate ( WN wn_lp,
bool  chkflag 
)

Definition at line 129 of file wfe_omp_directives.cxx.

References fprintf(), SCLASS_FORMAL_REF, ST_is_const_var, and WN_st().

void WFE_check_master (  ) 

void WFE_check_ordered (  ) 

void WFE_check_parallel ( WN parallel_wn  ) 

void WFE_check_parallel_for ( WN parallel_for_wn  ) 

void WFE_check_parallel_sections ( WN parallel_sections_wn  ) 

void WFE_check_private ( WN wn_p,
bool  chkflag 
)

Definition at line 102 of file wfe_omp_directives.cxx.

References fprintf(), SCLASS_FORMAL_REF, ST_is_const_var, and WN_st().

void WFE_check_reduction ( WN wn_r,
bool  chkflag 
)

Definition at line 147 of file wfe_omp_directives.cxx.

References fprintf(), ST_is_const_var, and WN_st().

void WFE_check_section (  ) 

void WFE_check_sections ( WN sections_wn  ) 

void WFE_check_single (  ) 

void WFE_check_threadprivate ( ST_list threadprivate_variables  ) 

void WFE_expand_barrier (  ) 

void WFE_expand_end_atomic (  ) 

void WFE_expand_end_critical (  ) 

void WFE_expand_end_do_loop ( struct nesting *  nest  ) 

Definition at line 2698 of file wfe_omp_directives.cxx.

References WFE_Stmt_Pop().

void WFE_expand_end_for (  ) 

void WFE_expand_end_master (  ) 

Definition at line 2127 of file wfe_omp_directives.cxx.

References WFE_CS_pop(), wfe_omp_master, and WFE_Stmt_Pop().

void WFE_expand_end_ordered (  ) 

void WFE_expand_end_parallel (  ) 

void WFE_expand_end_parallel_for (  ) 

void WFE_expand_end_parallel_sections (  ) 

void WFE_expand_end_section (  ) 

void WFE_expand_end_sections (  ) 

void WFE_expand_end_single (  ) 

void WFE_expand_flush ( WN_list flush_variables  ) 

void WFE_expand_start_atomic (  ) 

void WFE_expand_start_critical ( ST region_phrase,
char *  critical_name 
)

void WFE_expand_start_do_loop ( WN index,
WN start,
WN end,
WN step,
struct nesting *  nest 
)

void WFE_expand_start_for ( struct For_clause_wn_type for_clause_wn  ) 

void WFE_expand_start_master (  ) 

void WFE_expand_start_ordered (  ) 

void WFE_expand_start_parallel ( struct Parallel_clause_wn_type parallel_clause_wn  ) 

void WFE_expand_start_parallel_for ( struct Parallel_for_clause_wn_type parallel_for_clause_wn  ) 

Definition at line 1575 of file wfe_omp_directives.cxx.

References BOOL, clause_copyin, clause_firstprivate, clause_lastprivate, clause_ordered, clause_private, clause_reduction, clause_shared, Parallel_for_clause_wn_type::copyin_clause, cs, DECL_ST, Parallel_for_clause_wn_type::default_clause, dtor_call_stack, FALSE, File_info, FIRSTPRIVATE, Parallel_for_clause_wn_type::firstprivate_clause, FmtAssert, Get_Current_PU, Get_ST, Parallel_for_clause_wn_type::if_clause, Is_True, Parallel_for_clause_wn_type::lastprivate_clause, local_node_stack, ST_list::next, WN_list::next, no_default, NULL, Parallel_for_clause_wn_type::num_threads_clause, OPR_CALL, OPR_PRAGMA, Parallel_for_clause_wn_type::ordered_clause, PRIVATE, Parallel_for_clause_wn_type::private_clause, Parallel_for_clause_wn_type::reduction_clause, REGION_KIND_MP, Parallel_for_clause_wn_type::schedule_1_clause, Parallel_for_clause_wn_type::schedule_2_clause, Set_FILE_INFO_has_mp(), Set_PU_has_mp(), Set_PU_uplevel(), Parallel_for_clause_wn_type::shared_clause, SK_DYNAMIC, SK_GUIDED, SK_NONE, SK_RUNTIME, SK_STATIC, SRCPOS_filenum, SRCPOS_linenum, ST_list::st, TRUE, ST_list::var, WFE_CS_push(), WFE_CS_top(), WFE_handle_non_pods(), wfe_omp_parallel_for, WFE_region(), WFE_Set_Cflag(), WFE_Set_Prag(), WFE_Set_Region(), WFE_Stmt_Append(), WFE_Stmt_Pop(), WFE_Stmt_Top(), WN_list::wn, WN_CreatePragma, WN_CreateXpragma, WN_kid0(), WN_operator(), WN_PRAGMA_CHUNKSIZE, WN_PRAGMA_COPYIN, WN_PRAGMA_DEFAULT, WN_PRAGMA_FIRSTPRIVATE, WN_PRAGMA_IF, WN_PRAGMA_LASTLOCAL, WN_PRAGMA_LOCAL, WN_PRAGMA_MPSCHEDTYPE, WN_PRAGMA_NUMTHREADS, WN_PRAGMA_ORDERED, WN_PRAGMA_PARALLEL_DO, WN_PRAGMA_SCHEDTYPE_DYNAMIC, WN_PRAGMA_SCHEDTYPE_GSS, WN_PRAGMA_SCHEDTYPE_RUNTIME, WN_PRAGMA_SCHEDTYPE_SIMPLE, WN_PRAGMA_SHARED, WN_region_body, and WN_set_pragma_omp.

void WFE_expand_start_parallel_sections ( struct Parallel_sections_clause_wn_type parallel_sections_clause_wn  ) 

void WFE_expand_start_section (  ) 

void WFE_expand_start_sections ( struct Sections_clause_wn_type sections_clause_wn  ) 

void WFE_expand_start_single ( struct Single_clause_wn_type single_clause_wn  ) 

void WFE_expand_threadprivate ( ST_list threadprivate_variables  ) 

void WFE_omp_error ( CHECK_STMT cs,
bool  chkflag,
char *  msg 
)

void WFE_Omp_Init ( void   ) 

Definition at line 45 of file wfe_omp_directives.cxx.

References getenv(), strcmp(), Trace_Omp, TRUE, and WFE_CS_Init().

WN* WFE_region ( REGION_KIND  kind  ) 


Variable Documentation

BOOL Trace_Omp = FALSE

Definition at line 42 of file wfe_omp_directives.cxx.


Generated on Wed Apr 8 15:48:54 2009 for Open64 by  doxygen 1.5.6