Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include "alloca.h"
#include "whirl2c_common.h"
#include "w2cf_parentize.h"
#include "pf_cg.h"
#include "region_util.h"
#include "PUinfo.h"
#include "wn2c.h"
#include "st2c.h"
#include "ty2c.h"
#include "tcon2c.h"
#include "wn2c_pragma.h"
Go to the source code of this file.
#define EMIT_ARG_NUMBERS1 | ( | tokens, | |
val1 | |||
) | Append_Arg_Numbers((tokens), (val1), -1) |
Definition at line 77 of file wn2c_pragma.cxx.
Referenced by Append_Array_Segment(), and WN2C_process_pragma().
#define EMIT_ARG_NUMBERS2 | ( | tokens, | |
val1, | |||
val2 | |||
) | Append_Arg_Numbers((tokens), (val1), (val2)) |
Definition at line 80 of file wn2c_pragma.cxx.
#define MAX_PRAGMAS_TO_SKIP 50 |
Definition at line 103 of file wn2c_pragma.cxx.
Referenced by Append_Distribution(), and WN2C_pragma().
#define PARENTHESIZE_ARG_NUMBERS1 | ( | tokens, | |
val1 | |||
) |
Append_Token_Special((tokens), '('); \ EMIT_ARG_NUMBERS1((tokens), (val1)); \ Append_Token_Special((tokens), ')')
Definition at line 83 of file wn2c_pragma.cxx.
Referenced by Append_Distribution(), and WN2C_process_pragma().
#define PARENTHESIZE_ARG_NUMBERS2 | ( | tokens, | |
val1, | |||
val2 | |||
) |
Append_Token_Special((tokens), '('); \ EMIT_ARG_NUMBERS2((tokens), (val1), (val2)); \ Append_Token_Special((tokens), ')')
Definition at line 88 of file wn2c_pragma.cxx.
Referenced by WN2C_process_pragma().
#define WN_max_nest_level | ( | wn | ) | WN_pragma_arg2(wn) |
Definition at line 74 of file wn2c_pragma.cxx.
Referenced by WN2C_process_pragma().
#define WN_mp_schedtype | ( | wn | ) | (WN_PRAGMA_SCHEDTYPE_KIND)WN_pragma_arg1(wn) |
Definition at line 75 of file wn2c_pragma.cxx.
Referenced by Append_Pragma_Clauses(), and WN2C_process_pragma().
#define WN_pragma_nest | ( | wn | ) | WN_pragma_arg1(wn) |
Definition at line 73 of file wn2c_pragma.cxx.
Referenced by WN2C_pragma_list_end(), and WN2C_process_pragma().
typedef struct Array_Distribution ARRAY_DISTRIBUTION |
typedef struct Local_Preg LOCAL_PREG |
static void Append_A_Clause_Symbol | ( | TOKEN_BUFFER | tokens, |
const WN * | clause, | ||
WN_OFFSET | ofst | ||
) | [static] |
Definition at line 722 of file wn2c_pragma.cxx.
References Append_And_Reclaim_Token_List(), CLASS_PREG, INIT_CONTEXT, New_Token_Buffer(), ST2C_Use_Preg(), ST_sym_class(), ST_type(), TY_mtype(), WN2C_stid_lhs(), WN_pragma_arg1(), and WN_st().
Referenced by Append_Array_Segment(), Append_Clause_Symbols(), Append_Reduction_Clause(), Emit_To_PUinfo_Pragmas(), and WN2C_process_pragma().
static void Append_Arg_Numbers | ( | TOKEN_BUFFER | tokens, |
INT32 | val1, | ||
INT32 | val2 | ||
) | [static] |
Definition at line 557 of file wn2c_pragma.cxx.
References Append_Token_Special(), Append_Token_String(), and Number_as_String().
static void Append_Array_Segment | ( | TOKEN_BUFFER | tokens, |
WN_PRAGMA_ID | id, | ||
const WN ** | next | ||
) | [static] |
Definition at line 890 of file wn2c_pragma.cxx.
References Append_A_Clause_Symbol(), Append_Token_Special(), EMIT_ARG_NUMBERS1, Is_True, NULL, OPR_XPRAGMA, WN2C_Append_Value_Reference(), WN_kid0(), WN_next(), WN_operator(), and WN_pragma().
Referenced by Append_Pragma_Clauses().
static void Append_Clause_Expressions | ( | TOKEN_BUFFER | tokens, |
WN_PRAGMA_ID | id, | ||
const WN ** | next, | ||
BOOL | reverse_order = FALSE |
||
) | [static] |
Definition at line 830 of file wn2c_pragma.cxx.
References Append_And_Reclaim_Token_List(), Append_Token_Special(), Is_True, New_Token_Buffer(), next, NULL, OPR_INTCONST, OPR_XPRAGMA, Prepend_Token_Special(), WN2C_Append_Value_Reference(), WN2C_Prepend_Value_Reference(), WN_const_val(), WN_kid0(), WN_next(), WN_operator(), WN_pragma(), and WN_PRAGMA_ONTO.
Referenced by Append_Pragma_Clauses(), and WN2C_process_pragma().
void Append_Clause_Newline | ( | TOKEN_BUFFER | tokens, |
CONTEXT | context | ||
) | [inline] |
Definition at line 205 of file wn2c_pragma.cxx.
References CONTEXT_omp, CONTEXT_srcpos, and WN2C_Append_Pragma_Newline().
Referenced by Append_Implicit_Locals(), Append_Nest_Clauses(), Append_Pragma_Clauses(), and WN2C_process_pragma().
static void Append_Clause_Symbols | ( | TOKEN_BUFFER | tokens, |
WN_PRAGMA_ID | id, | ||
const WN ** | next | ||
) | [static] |
Definition at line 752 of file wn2c_pragma.cxx.
References Append_A_Clause_Symbol(), Append_Token_Special(), Is_True, NULL, OPR_PRAGMA, WN_next(), WN_operator(), and WN_pragma().
Referenced by Append_Pragma_Clauses(), and WN2C_process_pragma().
static void Append_Distribution | ( | TOKEN_BUFFER | tokens, |
const WN ** | apragma, | ||
WN_PRAGMA_ID | id | ||
) | [static] |
Definition at line 643 of file wn2c_pragma.cxx.
References Append_Token_Special(), Append_Token_String(), Array_Distribution::base, CLASS_PREG, Array_Distribution::current_dimension, Array_Distribution::cyclic_expr, Array_Distribution::dimension_bound, DISTRIBUTE_BLOCK, DISTRIBUTE_CYCLIC_CONST, DISTRIBUTE_CYCLIC_EXPR, DISTRIBUTE_STAR, INIT_CONTEXT, Is_True, MAX_PRAGMAS_TO_SKIP, OPR_PRAGMA, OPR_STID, PARENTHESIZE_ARG_NUMBERS1, ST_sym_class(), wn, WN2C_translate(), WN_kid0(), WN_next(), WN_operator(), WN_pragma(), WN_pragma_distr_type(), WN_pragma_index(), WN_pragma_preg(), and WN_st().
Referenced by Emit_To_PUinfo_Pragmas(), and WN2C_process_pragma().
static void Append_Implicit_Locals | ( | TOKEN_BUFFER | tokens, |
WN_PRAGMA_ID | region_kind, | ||
const WN * | region_body, | ||
const WN * | region_clauses, | ||
CONTEXT | context | ||
) | [static] |
Definition at line 429 of file wn2c_pragma.cxx.
References Append_Clause_Newline(), Append_Token_Special(), Append_Token_String(), CONTEXT_omp, FREE, Get_Implicit_Locals(), NULL, ST2C_Use_Preg(), and ST_type().
Referenced by WN2C_process_pragma().
static void Append_MP_Schedtype | ( | TOKEN_BUFFER | tokens, |
WN_PRAGMA_SCHEDTYPE_KIND | kind | ||
) | [static] |
Definition at line 525 of file wn2c_pragma.cxx.
References Append_Token_String(), FALSE, Is_True, WN_PRAGMA_SCHEDTYPE_DYNAMIC, WN_PRAGMA_SCHEDTYPE_GSS, WN_PRAGMA_SCHEDTYPE_INTERLEAVE, WN_PRAGMA_SCHEDTYPE_PSEUDOLOWERED, WN_PRAGMA_SCHEDTYPE_RUNTIME, and WN_PRAGMA_SCHEDTYPE_SIMPLE.
Referenced by Append_Pragma_Clauses(), and WN2C_process_pragma().
static void Append_Nest_Clauses | ( | TOKEN_BUFFER | tokens, |
const WN * | nest_region, | ||
INT | nest_levels, | ||
CONTEXT | context | ||
) | [static] |
Definition at line 932 of file wn2c_pragma.cxx.
References Append_And_Reclaim_Token_List(), Append_Clause_Newline(), Append_Token_Special(), Append_Token_String(), CLASS_PREG, CONTEXT_reset, FALSE, Is_True, New_Token_Buffer(), NULL, OPR_DO_LOOP, OPR_REGION, ST2C_Use_Preg(), ST_sym_class(), ST_type(), TRUE, TY_mtype(), WN2C_stid_lhs(), WN_do_body, WN_first(), WN_idname_offset(), WN_index, WN_next(), WN_operator(), WN_pragma(), WN_PRAGMA_UNDEFINED, WN_region_body, WN_region_pragmas, and WN_st().
Referenced by WN2C_process_pragma().
static void Append_Pragma_Clauses | ( | TOKEN_BUFFER | tokens, |
const WN ** | clause_list, | ||
CONTEXT | context | ||
) | [static] |
Definition at line 1099 of file wn2c_pragma.cxx.
References Append_Array_Segment(), Append_Clause_Expressions(), Append_Clause_Newline(), Append_Clause_Symbols(), Append_MP_Schedtype(), Append_Reduction_Clause(), Append_Token_Special(), Append_Token_String(), CONTEXT_omp, FALSE, Is_True, next, NULL, OPR_XPRAGMA, Skip_Ignored_Clauses(), Skip_Pragma_Clauses(), WN2C_Append_Value_Reference(), WN2C_is_omp(), WN_kid0(), WN_mp_schedtype, WN_next(), WN_operator(), WN_pragma(), WN_PRAGMA_AFFINITY, WN_PRAGMA_CHUNKSIZE, WN_PRAGMA_DATA_AFFINITY, WN_PRAGMA_FIRSTPRIVATE, WN_PRAGMA_IF, WN_PRAGMA_LASTLOCAL, WN_PRAGMA_LASTTHREAD, WN_PRAGMA_LOCAL, WN_PRAGMA_MPNUM, WN_PRAGMA_MPSCHEDTYPE, WN_PRAGMA_NOWAIT, WN_PRAGMA_ONTO, WN_PRAGMA_ORDERED, WN_PRAGMA_REDUCTION, WN_PRAGMA_SHARED, WN_PRAGMA_SYNC_DOACROSS, and WN_PRAGMA_THREAD_AFFINITY.
Referenced by Emit_To_PUinfo_Pragmas(), and WN2C_process_pragma().
static void Append_Prefetch_Attributes | ( | TOKEN_BUFFER | tokens, |
const WN * | prefetch, | ||
INT32 | size | ||
) | [static] |
Definition at line 573 of file wn2c_pragma.cxx.
References Append_Token_Special(), Append_Token_String(), Concat2_Strings(), Number_as_String(), PF_GET_READ, PF_GET_STRIDE_1L, PF_GET_STRIDE_2L, WN2C_Append_Value_Reference(), WN_kid0(), and WN_prefetch_flag().
Referenced by WN2C_process_pragma().
static void Append_Reduction_Clause | ( | TOKEN_BUFFER | tokens, |
WN_PRAGMA_ID | id, | ||
const WN ** | next | ||
) | [static] |
Definition at line 786 of file wn2c_pragma.cxx.
References Append_A_Clause_Symbol(), Append_Reduction_Operator(), Append_Token_Special(), Append_Token_String(), Is_True, next, NULL, OPERATOR_UNKNOWN, OPR_PRAGMA, WN2C_is_omp(), WN_next(), WN_operator(), WN_pragma(), WN_pragma_arg2(), and WN_PRAGMA_REDUCTION.
Referenced by Append_Pragma_Clauses().
static void Append_Reduction_Operator | ( | TOKEN_BUFFER | tokens, |
OPERATOR | op | ||
) | [static] |
Definition at line 213 of file wn2c_pragma.cxx.
References Append_Token_Special(), Append_Token_String(), OPR_ADD, OPR_BAND, OPR_BIOR, OPR_BXOR, OPR_LAND, OPR_LIOR, OPR_MPY, and OPR_SUB.
Referenced by Append_Reduction_Clause().
static void Emit_To_PUinfo_Pragmas | ( | const WN ** | next, |
CONTEXT | context | ||
) | [static] |
Definition at line 1291 of file wn2c_pragma.cxx.
References Append_A_Clause_Symbol(), Append_Distribution(), Append_Pragma_Clauses(), Append_Token_String(), CONTEXT_srcpos, FALSE, Is_True, New_Token_Buffer(), OPR_PRAGMA, OPR_XPRAGMA, Prepend_And_Reclaim_Token_List(), PUinfo_pragmas, WN2C_Append_Pragma_Newline(), WN_operator(), WN_pragma(), WN_PRAGMA_DISTRIBUTE, and WN_PRAGMA_DISTRIBUTE_RESHAPE.
Referenced by WN2C_process_pragma().
static const WN* Get_Enclosing_Parallel_Region | ( | const WN * | construct | ) | [static] |
Definition at line 1331 of file wn2c_pragma.cxx.
References NULL, OPR_REGION, W2CF_Get_Parent(), WN_first(), WN_operator(), WN_pragma(), WN_PRAGMA_PARALLEL_BEGIN, and WN_region_pragmas.
Referenced by Ignore_Synchronized_Construct().
static void Get_Implicit_Locals | ( | WN_PRAGMA_ID | kind, |
const WN * | wn, | ||
const WN * | clauses, | ||
LOCAL_PREG ** | ptr_to_local_list, | ||
UINT * | next_local, | ||
UINT * | max_locals | ||
) | [static] |
Definition at line 298 of file wn2c_pragma.cxx.
References CLASS_PREG, FALSE, FREE, NULL, OPCODE_is_leaf(), OPR_BLOCK, OPR_LDA, OPR_LDID, OPR_REGION, OPR_STID, Local_Preg::preg_idx, Preg_Is_In_Clause_List(), Local_Preg::st, ST_sym_class(), TRUE, TYPE_ALLOC_N, WN_first(), WN_kid(), WN_kid_count(), WN_lda_offset(), WN_load_offset(), WN_next(), WN_opcode(), WN_operator(), WN_region_body, WN_st(), and WN_store_offset().
Referenced by Append_Implicit_Locals().
BOOL Ignore_Synchronized_Construct | ( | const WN * | construct_pragma, |
CONTEXT | context | ||
) |
Definition at line 2101 of file wn2c_pragma.cxx.
References FALSE, Get_Enclosing_Parallel_Region(), Is_True, NULL, OPR_PRAGMA, Run_w2fc_early, Skip_Pragma_Clauses(), WN_next(), WN_operator(), WN_pragma(), WN_PRAGMA_DOACROSS, and WN_PRAGMA_SYNC_DOACROSS.
Referenced by WN2C_Is_Loop_Region(), WN2C_Is_Parallel_Region(), WN2C_pragma_list_end(), WN2C_process_pragma(), WN2F_Is_Loop_Region(), WN2F_Is_Parallel_Region(), WN2F_pragma_list_end(), and WN2F_process_pragma().
static BOOL Preg_Is_In_Clause_List | ( | const WN * | clause_list, |
const ST * | preg_st, | ||
PREG_IDX | preg_idx | ||
) | [static] |
Definition at line 264 of file wn2c_pragma.cxx.
References FALSE, NULL, OPR_XPRAGMA, TRUE, WN_next(), WN_operator(), WN_pragma(), WN_pragma_arg1(), WN_PRAGMA_FIRSTPRIVATE, WN_PRAGMA_LASTLOCAL, WN_PRAGMA_LOCAL, WN_PRAGMA_REDUCTION, WN_PRAGMA_SHARED, and WN_st().
Referenced by Get_Implicit_Locals().
static void Skip_Ignored_Clauses | ( | const WN * | following_clauses, |
const WN ** | next_clause | ||
) | [static] |
Definition at line 1076 of file wn2c_pragma.cxx.
References FALSE, TRUE, WN_next(), WN_pragma(), WN_PRAGMA_DATA_AFFINITY, WN_PRAGMA_MPNUM, WN_PRAGMA_SYNC_DOACROSS, and WN_PRAGMA_THREAD_AFFINITY.
Referenced by Append_Pragma_Clauses().
static void Skip_Pragma_Clauses | ( | const WN ** | clause_list, |
CONTEXT | context | ||
) | [static] |
Definition at line 1024 of file wn2c_pragma.cxx.
References FALSE, NULL, OPR_PRAGMA, OPR_XPRAGMA, WN_next(), WN_operator(), WN_pragma(), WN_PRAGMA_AFFINITY, WN_PRAGMA_CHUNKSIZE, WN_PRAGMA_DATA_AFFINITY, WN_PRAGMA_FIRSTPRIVATE, WN_PRAGMA_IF, WN_PRAGMA_LASTLOCAL, WN_PRAGMA_LASTTHREAD, WN_PRAGMA_LOCAL, WN_PRAGMA_MPNUM, WN_PRAGMA_MPSCHEDTYPE, WN_PRAGMA_NOWAIT, WN_PRAGMA_ONTO, WN_PRAGMA_ORDERED, WN_PRAGMA_REDUCTION, WN_PRAGMA_SHARED, WN_PRAGMA_SYNC_DOACROSS, and WN_PRAGMA_THREAD_AFFINITY.
Referenced by Append_Pragma_Clauses(), Ignore_Synchronized_Construct(), and WN2C_process_pragma().
static void WN2C_Append_Pragma_Newline | ( | TOKEN_BUFFER | tokens, |
SRCPOS | srcpos | ||
) | [static] |
Definition at line 193 of file wn2c_pragma.cxx.
References Append_Token_String(), Current_Indentation(), Set_Current_Indentation(), and WN2C_Stmt_Newline().
Referenced by Append_Clause_Newline(), Emit_To_PUinfo_Pragmas(), and WN2C_process_pragma().
static void WN2C_Append_Prompf_Flag_Newline | ( | TOKEN_BUFFER | tokens | ) | [static] |
Definition at line 140 of file wn2c_pragma.cxx.
References Append_Indented_Newline(), Current_Indentation(), and Set_Current_Indentation().
Referenced by WN2C_End_Prompf_Construct(), and WN2C_Start_Prompf_Construct().
static void WN2C_Append_Value_Reference | ( | TOKEN_BUFFER | tokens, |
const WN * | expression, | ||
BOOL | prepend = FALSE |
||
) | [static] |
Definition at line 508 of file wn2c_pragma.cxx.
References FALSE, and WN2C_Value_Reference().
Referenced by Append_Array_Segment(), Append_Clause_Expressions(), Append_Pragma_Clauses(), Append_Prefetch_Attributes(), and WN2C_process_pragma().
static void WN2C_End_Prompf_Construct | ( | TOKEN_BUFFER | tokens, |
const WN * | pragma | ||
) | [static] |
Definition at line 164 of file wn2c_pragma.cxx.
References Append_Token_String(), Number_as_String(), W2C_Construct_Map, WN2C_Append_Prompf_Flag_Newline(), and WN_MAP32_Get.
Referenced by WN2C_pragma_list_end(), and WN2C_process_pragma().
BOOL WN2C_is_omp | ( | const WN * | pragma | ) | [inline] |
Definition at line 132 of file wn2c_pragma.cxx.
References W2C_Emit_Omp, WN_pragma_compiler_generated, and WN_pragma_omp.
Referenced by Append_Pragma_Clauses(), Append_Reduction_Clause(), WN2C_pragma_list_end(), and WN2C_process_pragma().
STATUS WN2C_pragma | ( | TOKEN_BUFFER | tokens, |
const WN * | wn, | ||
CONTEXT | context | ||
) |
Definition at line 1959 of file wn2c_pragma.cxx.
References Append_Indented_Newline(), Append_Token_String(), Set_Of_Pragmas_To_Skip::array, EMPTY_STATUS, Set_Of_Pragmas_To_Skip::end, Is_True, MAX_PRAGMAS_TO_SKIP, next, OPR_PRAGMA, OPR_XPRAGMA, Pragmas_To_Skip, W2C_Purple_Emission, wn, WN2C_Append_Purple_Funcinfo(), WN2C_process_pragma(), WN_next(), WN_operator(), WN_pragma(), and WN_PRAGMA_PREAMBLE_END.
STATUS WN2C_pragma_list_begin | ( | TOKEN_BUFFER | tokens, |
const WN * | first_pragma, | ||
CONTEXT | context | ||
) |
Definition at line 2004 of file wn2c_pragma.cxx.
References EMPTY_STATUS, NULL, OPR_PRAGMA, OPR_XPRAGMA, WN2C_process_pragma(), WN_next(), and WN_operator().
Referenced by WN2C_func_entry(), and WN2C_region().
STATUS WN2C_pragma_list_end | ( | TOKEN_BUFFER | tokens, |
const WN * | first_pragma, | ||
CONTEXT | context | ||
) |
Definition at line 2023 of file wn2c_pragma.cxx.
References Append_Token_Special(), CONTEXT_srcpos, Decrement_Indentation(), EMPTY_STATUS, Ignore_Synchronized_Construct(), Is_True, NULL, OPR_PRAGMA, OPR_XPRAGMA, WN2C_End_Prompf_Construct(), WN2C_is_omp(), WN2C_Stmt_Newline(), WN_next(), WN_operator(), WN_pragma(), WN_PRAGMA_DOACROSS, WN_pragma_nest, WN_PRAGMA_PARALLEL_BEGIN, WN_PRAGMA_PARALLEL_DO, WN_PRAGMA_PARALLEL_SECTIONS, WN_PRAGMA_PSECTION_BEGIN, and WN_PRAGMA_SINGLE_PROCESS_BEGIN.
Referenced by WN2C_func_entry(), and WN2C_region().
static void WN2C_Prepend_Value_Reference | ( | TOKEN_BUFFER | tokens, |
const WN * | expression, | ||
BOOL | prepend = FALSE |
||
) | [static] |
Definition at line 516 of file wn2c_pragma.cxx.
References TRUE, and WN2C_Value_Reference().
Referenced by Append_Clause_Expressions().
static void WN2C_process_pragma | ( | TOKEN_BUFFER | tokens, |
const WN ** | next, | ||
CONTEXT | context | ||
) | [static] |
Definition at line 1351 of file wn2c_pragma.cxx.
References Append_A_Clause_Symbol(), Append_Clause_Expressions(), Append_Clause_Newline(), Append_Clause_Symbols(), Append_Distribution(), Append_Implicit_Locals(), Append_MP_Schedtype(), Append_Nest_Clauses(), Append_Pragma_Clauses(), Append_Prefetch_Attributes(), Append_Token_Special(), Append_Token_String(), CONTEXT_omp, CONTEXT_set_omp, CONTEXT_srcpos, Decrement_Indentation(), EMIT_ARG_NUMBERS1, Emit_To_PUinfo_Pragmas(), Ignore_Synchronized_Construct(), Increment_Indentation(), Is_True, next, NULL, OPR_PRAGMA, OPR_PREFETCH, OPR_XPRAGMA, PARENTHESIZE_ARG_NUMBERS1, PARENTHESIZE_ARG_NUMBERS2, Skip_Pragma_Clauses(), ST2C_use_translate(), W2C_Prompf_Emission, W2CF_Get_Parent(), WN2C_Append_Pragma_Newline(), WN2C_Append_Value_Reference(), WN2C_End_Prompf_Construct(), WN2C_is_omp(), WN2C_Start_Prompf_Construct(), WN2C_Stmt_Newline(), WN_kid0(), WN_max_nest_level, WN_mp_schedtype, WN_next(), WN_operator(), WN_pragma(), WN_PRAGMA_AGGRESSIVE_INNER_LOOP_FISSION, WN_pragma_arg1(), WN_pragma_arg2(), WN_PRAGMA_ATOMIC, WN_PRAGMA_BARRIER, WN_PRAGMA_BLOCKABLE, WN_PRAGMA_BLOCKING_SIZE, WN_PRAGMA_CHUNKSIZE, WN_PRAGMA_COPYIN, WN_PRAGMA_CRITICAL_SECTION_BEGIN, WN_PRAGMA_CRITICAL_SECTION_END, WN_PRAGMA_DISTRIBUTE, WN_PRAGMA_DISTRIBUTE_RESHAPE, WN_PRAGMA_DOACROSS, WN_PRAGMA_DYNAMIC, WN_PRAGMA_ENTER_GATE, WN_PRAGMA_EXIT_GATE, WN_PRAGMA_FISSION, WN_PRAGMA_FISSIONABLE, WN_PRAGMA_FUSE, WN_PRAGMA_FUSEABLE, WN_PRAGMA_INDEPENDENT_BEGIN, WN_PRAGMA_INDEPENDENT_END, WN_PRAGMA_INLINE_DEPTH, WN_PRAGMA_INTERCHANGE, WN_PRAGMA_IVDEP, WN_PRAGMA_MASTER_BEGIN, WN_PRAGMA_MPSCHEDTYPE, WN_pragma_nest, WN_PRAGMA_NEXT_SCALAR, WN_PRAGMA_NO_BLOCKING, WN_PRAGMA_NO_FISSION, WN_PRAGMA_NO_FUSION, WN_PRAGMA_NO_INTERCHANGE, WN_PRAGMA_NORECURRENCE, WN_PRAGMA_NUMTHREADS, WN_PRAGMA_ORDERED_BEGIN, WN_PRAGMA_ORDERED_END, WN_PRAGMA_PAGE_PLACE, WN_PRAGMA_PARALLEL_BEGIN, WN_PRAGMA_PARALLEL_DO, WN_PRAGMA_PARALLEL_SECTIONS, WN_PRAGMA_PDO_BEGIN, WN_PRAGMA_PREFETCH, WN_PRAGMA_PREFETCH_MANUAL, WN_PRAGMA_PREFETCH_REF, WN_PRAGMA_PREFETCH_REF_DISABLE, WN_PRAGMA_PSECTION_BEGIN, WN_PRAGMA_REDISTRIBUTE, WN_PRAGMA_SECTION, WN_PRAGMA_SINGLE_PROCESS_BEGIN, WN_PRAGMA_UNROLL, WN_region_body, and WN_st().
Referenced by WN2C_pragma(), and WN2C_pragma_list_begin().
BOOL WN2C_Skip_Pragma_Stmt | ( | const WN * | wn | ) |
Definition at line 1934 of file wn2c_pragma.cxx.
References Set_Of_Pragmas_To_Skip::array, Set_Of_Pragmas_To_Skip::end, NULL, Pragmas_To_Skip, Set_Of_Pragmas_To_Skip::start, and wn.
Referenced by WN2C_Skip_Stmt().
static void WN2C_Start_Prompf_Construct | ( | TOKEN_BUFFER | tokens, |
const WN * | pragma | ||
) | [static] |
Definition at line 151 of file wn2c_pragma.cxx.
References Append_Token_String(), Number_as_String(), W2C_Construct_Map, WN2C_Append_Prompf_Flag_Newline(), and WN_MAP32_Get.
Referenced by WN2C_process_pragma().
static void WN2C_Stmt_Newline | ( | TOKEN_BUFFER | tokens, |
SRCPOS | srcpos | ||
) | [static] |
Definition at line 181 of file wn2c_pragma.cxx.
References Append_Indented_Newline(), Append_Srcpos_Directive(), Append_Srcpos_Map(), NULL, W2C_Emit_Linedirs, W2C_File, and W2C_LOC_FILE.
Referenced by WN2C_Append_Pragma_Newline(), WN2C_pragma_list_end(), and WN2C_process_pragma().
static void WN2C_Value_Reference | ( | TOKEN_BUFFER | tokens, |
const WN * | expression, | ||
BOOL | prepend | ||
) | [static] |
Definition at line 475 of file wn2c_pragma.cxx.
References Append_And_Reclaim_Token_List(), INIT_CONTEXT, New_Token_Buffer(), Prepend_And_Reclaim_Token_List(), TY_Is_Pointer(), TY_mtype(), TY_pointed(), WN2C_memref_lhs(), WN2C_translate(), and WN_Tree_Type().
Referenced by WN2C_Append_Value_Reference(), and WN2C_Prepend_Value_Reference().
struct Set_Of_Pragmas_To_Skip Pragmas_To_Skip [static] |
Referenced by WN2C_pragma(), and WN2C_Skip_Pragma_Stmt().
Definition at line 758 of file config.cxx.
Referenced by Ignore_Synchronized_Construct(), load_components(), Post_LNO_Processing(), Postprocess_PU(), Preprocess_PU(), and Process_Command_Line().
Definition at line 164 of file w2c_driver.cxx.
Referenced by W2C_Process_Command_Line(), and WN2C_is_omp().
const WN* WN2C_Prompf_Subsection = NULL [static] |
Definition at line 123 of file wn2c_pragma.cxx.