Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
#define max | ( | a, | |
b | |||
) | ((a > b) ? a : b) |
Definition at line 1042 of file wn_core.h.
Referenced by IPO_CLONE::Copy_Node(), cwh_stab_altentry_TY(), grow_edge(), grow_vertex(), ISA_Create_Lit_Class(), ISA_Create_Lit_Range(), narcar_(), nargum_(), nartab_(), nchara_(), nretca_(), ntabca_(), ntabch_(), rretvr_(), tabarg_(), WN_Create(), WN_MAP_Add_Free_List(), WN_Size(), and WN_Size_and_StartAddress().
#define MAX_FIELD_ID 0x3ffe |
Intermediate Language Tree Nodes --------------------------------
Description:
This is the basic data structure that all phases of the compiler use to represent programs. It is used to represent expressions, leaves, statments (the side-effecting roots of expression trees commonly called "stats" in other compilers), and also units of hierarchical control flow such as do loops and if statements.
Reserved prefix:
WN for tree nodes
Exported types:
A tree node. Every tree node contains the following fields:
OPCODE opcode
What kind of tree node is this? All information common to nodes of a particular kind is derived from this. For example, we could tell we were looking at a 32 bit multiply by looking at its opcode. Because multiplies are known to have two operands, we know that this node has two operands.
mINT16 kid_count
For every node except OPR_BLOCK, this gives the number of kids of the node. For OPR_BLOCK, the value of this field is undefined. This field is zero for leaf nodes.
Depending on the type of the opcode field, one or more of the following fields is present:
For non-leaf expressions excluding OPR_BLOCK:
WN *kid(i)
Refers to the 'i'th kid
WN *kid0
Refers to the '0'th kid
WN *kid1
Refers to the first kid
WN *kid2
Refers to the second kid
WN *kid3
Refers to the third kid
For OPR_BLOCK:
WN *first
First element of the list of WNs or NULL if the list is empty
WN *last
Last element of the list of WNs or NULL if the list is empty
For all statements:
WN *next If a staement is a child of a OPR_BLOCK, this points to the next statement under the OPR_BLOCK. Otherwise, this is NULL.
WN *prev If a staement is a child of a OPR_BLOCK, this points to the previous statement under the OPR_BLOCK. Otherwise, this is NULL.
For all loads
WN_OFFSET load_offset
A constant offset. offset can also be used (instead of load_offset), but it might be less efficient.
For OPR_LDA
WN_OFFSET lda_offset
A constant offset. offset can also be used (instead of lda_offset), but it might be less efficient.
For all stores
WN_OFFSET store_offset
A constant offset. offset can also be used (instead of store_offset), but it might be less efficient.
For OPR_IDNAME
WN_OFFSET idname_offset
A constant offset. offset can also be used (instead of idname_offset), but it might be less efficient.
For OPR_LABEL, OPR_TRUEBR, OPR_FALSEBR, OPR_GOTO
INT32 label_number
For OPR_LABEL, OPC_PREFETCH, OPC_PREFETCHX OPR_INTRINSIC_CALL and OPR_INTRINSIC_OP
UINT32 flag
For OPR_INTRINSIC_CALL, OPR_INTRINSIC_OP, OPR_IO and OPR_IO_ITEM
INTRINSIC intrinsic
For OPR_INTCONST, OPR_PRAGMA
INT64 const_val
A constant offset.
For OPR_ILOAD, OPR_MLOAD, OPR_ILOADX, OPR_LDID, OPR_ICALL, OPR_ISTORE,OPR_MSTORE,OPR_ISTOREX,OPR_STID,OPR_TAS, OPR_IO_ITEM
struct ty *WN_ty(const WN *wn)
The high level type. This is a function To set the type enter WN_set_ty(WN *wn, TY *ty)
FOR OPR_ILOAD, OPR_ILOADX
struct ty *WN_load_addr_ty
For OPR_CVTL
INT16 cvtl_bits
The number of bits.
For OPR_LDID, OPR_LDA, OPR_IDNAME, OPR_STID, OPR_GOTO, OPR_ALTENOPRY, OPR_LABEL, OPR_FUNC_ENOPRY, OPR_CALL, OPR_CONST, OPR_PICCALL:
ST st
A symbol table index. For the load and store operators, this is the symbol being loaded or stored. For OPR_GOTO this is the name of the label if the label is user defined and null otherwise. For OPR_FUNC_ENTRY and OPR_CALL this is the name of the function. For OPR_CONST, this points to the value of the literal.
For OPR_COMP_GOTO:
INT32 num_entries
How many entries in the computed goto table. A region created after structured control flow is lowered will also need a branch table to keep track of all the possible exits.
For OPR_ARRAY
INT32 num_dim
How many dimensions are in this array.
WN_ESIZE element_size
How big (in bytes) is each element
For OPR_FUNC_ENTRY:
WN *next_func, *prev_func
The next and previous function in a list of functions
In addition to the above, synonyms are provided for the field names of various types of tree nodes. These provide convenient and self documenting names. Please add to this list as appropriate:
For OPR_FUNC_ENTRY:
ST entry_name The name of the entry
WN *formal(i) The 'i'-th formal parameter
INT16 num_formals The number of formal parameters
WN *func_pragmas List of pragmas for the function
WN *func_varrefs List of uplevel var refs for the function
WN *func_body The OPR_BLOCK that represents all the code in the body
WN *entry_first,entry_last The first and last statement in the OPR_BLOCK that represents all the code in the body. This is aliased to indirect through func_body
For OPR_[I]CALL:
WN *actual(i) The 'i'-th actual parameter
INT16 num_actuals The number of actual parameters
For OPR_DO_LOOP:
WN *index WN *start WN *end WN *step WN *do_body
For OPR_DO_WHILE:
For OPR_WHILE_DO:
For OPR_IF
For OPR_REGION:
WN *region_body UINT32 flag Regions use the call_flag to track compilation level info
For OPR_ARRAY
WN *array_index(i) The i'th indexing dimension (i starts at 0)
WN *array_dim(i) The i'th dimension size (i starts at 0)
WN *array_base The base of the array.
WN_OFFSET
This is a signed integer type used in the offset fields of various WNs mentioned above plus in OPC_PRAGMA.
Exported functions:
INT32 WN_Size( WN *wn )
Return the size in bytes of this wn structure
void *WN_StartAddress(WN *wn)
Return the starting address of wn This is not necessarily &wn as we grow wns backwards to minimize size
WN_Is_If_Guard(WN *if_wn) is the if statement a one-trip guard for a do loop WN_Set_If_Guard(WN *if_wn) the if statement is a one-trip guard for a do loop WN_Reset_If_Guard(WN *if_wn) the if statement is not a one-trip guard for a do loop
WN_Label_Is_Break(x) is the label the label for a break from a case statement WN_Set_Label_Is_Break(x) the label is the label for a break from a case statement WN_Reset_Label_Is_Break(x) the label is not the label for a break from a case statement
WN_Is_Volatile_Mem(const WN *wn) Is <wn> a reference to a volatile memory location?
Definition at line 376 of file wn_core.h.
Referenced by WN_set_field_id().
#define PF_GET_CONFIDENCE | ( | flag | ) | (((flag) >> 28) & 0xf) |
Definition at line 1599 of file wn_core.h.
Referenced by WN2C_prefetch(), and WN2F_prefetch().
#define PF_GET_MANUAL | ( | flag | ) | (((flag) >> 25) & 0x1) |
#define PF_GET_READ | ( | flag | ) | (((~(flag)) >> 24) & 0x1) |
Definition at line 1595 of file wn_core.h.
Referenced by Append_Prefetch_Attributes(), W2CF_TRANSLATOR::Prefetch_Attributes_To_String(), WN2C_prefetch(), and WN2F_prefetch().
#define PF_GET_STRIDE_1L | ( | flag | ) | ((flag) & 0xff) |
Definition at line 1597 of file wn_core.h.
Referenced by Append_Prefetch_Attributes(), W2CF_TRANSLATOR::Prefetch_Attributes_To_String(), WN2C_prefetch(), and WN2F_prefetch().
#define PF_GET_STRIDE_2L | ( | flag | ) | (((flag) >> 8) & 0xff) |
Definition at line 1598 of file wn_core.h.
Referenced by Append_Prefetch_Attributes(), W2CF_TRANSLATOR::Prefetch_Attributes_To_String(), WN2C_prefetch(), and WN2F_prefetch().
#define PF_GET_WRITE | ( | flag | ) | (((flag) >> 24) & 0x1) |
#define PF_SET_CONFIDENCE | ( | flag, | |
x | |||
) | flag = (((flag)&0x0fffffff) | ((x)&0xf)<<28) |
#define PF_SET_MANUAL | ( | flag | ) | flag |= 0x02000000 |
#define PF_SET_READ | ( | flag | ) | flag &= 0xfeffffff |
#define PF_SET_STRIDE_1L | ( | flag, | |
x | |||
) | flag = (((flag)&0xffffff00) | ((x)&0xff)) |
#define PF_SET_STRIDE_2L | ( | flag, | |
x | |||
) | flag = (((flag)&0xffff00ff) | ((x)&0xff)<<8) |
#define PF_SET_WRITE | ( | flag | ) | flag |= 0x01000000 |
#define PF_UNSET_MANUAL | ( | flag | ) | flag &= 0xfdffffff |
#define UNKNOWN_FIELD_ID 0x3fff |
Definition at line 377 of file wn_core.h.
Referenced by WN_set_field_id().
Definition at line 998 of file wn_core.h.
Referenced by Calc_Actual_Area(), DRA_Mangle_Call_Site(), DRA_Preprocess_Call_Site(), and Set_addr_saved_stmt().
#define WN_array_base | ( | x | ) | WN_kid((x),0) |
Definition at line 1024 of file wn_core.h.
Referenced by Array_Element_Then_Struct(), Get_Type_From_ArrayOp(), Rewrite_Pragmas_On_Structs(), and Weird_Array_Element().
#define WN_array_dim | ( | x, | |
i | |||
) | WN_kid((x),i+1) |
Definition at line 1023 of file wn_core.h.
Referenced by cwh_addr_adjust_array(), cwh_addr_insert_bounds_check(), get_base_and_offset(), WN2C_Normalize_Idx_To_Onedim(), and WN2F_Normalize_Idx_To_Onedim().
#define WN_array_index | ( | x, | |
i | |||
) | WN_kid((x),WN_num_dim(x)+i+1) |
Definition at line 1022 of file wn_core.h.
Referenced by get_base_and_offset(), WN2C_array(), WN2C_Normalize_Idx_To_Onedim(), WN2F_array(), WN2F_Array_Slots(), WN2F_arrsection(), WN2F_Arrsection_Slots(), WN2F_Get_Substring_Info(), and WN2F_Normalize_Idx_To_Onedim().
#define WN_asm_clobbers | ( | x | ) | (WN_kid0(x)) |
#define WN_ASM_CLOBBERS_CC 0x0004 |
#define WN_Asm_Clobbers_Cc | ( | x | ) | (WN_asm_flag(x) & WN_ASM_CLOBBERS_CC) |
Definition at line 1539 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_ASM_CLOBBERS_MEM 0x0002 |
#define WN_Asm_Clobbers_Mem | ( | x | ) | (WN_asm_flag(x) & WN_ASM_CLOBBERS_MEM) |
Definition at line 1536 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_asm_constraints | ( | x | ) | (WN_kid1(x)) |
#define WN_ASM_VOLATILE 0x0001 |
#define WN_Asm_Volatile | ( | x | ) | (WN_asm_flag(x) & WN_ASM_VOLATILE) |
Definition at line 1533 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_block_empty | ( | x | ) | (WN_first(x) == NULL) |
#define WN_block_nonempty | ( | x | ) | (WN_first(x) != NULL) |
#define WN_CALL_CONSERVATIVE |
(WN_CALL_NON_DATA_MOD | \ WN_CALL_NON_PARM_MOD | \ WN_CALL_PARM_MOD | \ WN_CALL_NON_DATA_REF | \ WN_CALL_NON_PARM_REF | \ WN_CALL_PARM_REF)
#define WN_CALL_DOES_MEM_ALLOC 0x200 /* malloc_like function */ |
#define WN_Call_Does_Mem_Alloc | ( | x | ) | (WN_call_flag(x) & WN_CALL_DOES_MEM_ALLOC) |
#define WN_CALL_DOES_MEM_FREE 0x400 /* free_like function */ |
#define WN_Call_Does_Mem_Free | ( | x | ) | (WN_call_flag(x) & WN_CALL_DOES_MEM_FREE) |
#define WN_CALL_DONT_INLINE 0x100 /* marked for IPA to not inline */ |
#define WN_Call_Dont_Inline | ( | x | ) | (WN_call_flag(x) & WN_CALL_DONT_INLINE) |
Definition at line 1505 of file wn_core.h.
Referenced by WN2C_Callsite_Directives(), and WN2F_Callsite_Directives().
#define WN_CALL_FORTRAN_POINTER_RULE |
#define WN_Call_Fortran_Pointer_Rule | ( | x | ) | (WN_call_flag(x) & WN_CALL_FORTRAN_POINTER_RULE) |
#define WN_CALL_INLINE 0x80 /* marked for IPA to attempt to inline */ |
#define WN_Call_Inline | ( | x | ) | (WN_call_flag(x) & WN_CALL_INLINE) |
Definition at line 1502 of file wn_core.h.
Referenced by WN2C_Callsite_Directives(), and WN2F_Callsite_Directives().
#define WN_CALL_NEVER_RETURN 0x01 /* call will never return */ |
#define WN_Call_Never_Return | ( | x | ) | (WN_call_flag(x) & WN_CALL_NEVER_RETURN) |
#define WN_Call_No_Side_Effect | ( | x | ) | ((WN_call_flag(x) & (WN_CALL_NON_DATA_MOD | WN_CALL_NON_PARM_MOD | WN_CALL_PARM_MOD)) == 0) |
#define WN_CALL_NON_DATA_MOD 0x02 /* modifies data not present in program */ |
#define WN_Call_Non_Data_Mod | ( | x | ) | (WN_call_flag(x) & WN_CALL_NON_DATA_MOD) |
#define WN_CALL_NON_DATA_REF 0x10 /* references data not present in program */ |
#define WN_Call_Non_Data_Ref | ( | x | ) | (WN_call_flag(x) & WN_CALL_NON_DATA_REF) |
#define WN_CALL_NON_PARM_MOD 0x04 /* modifies data whose address is not passed as parameter */ |
#define WN_Call_Non_Parm_Mod | ( | x | ) | (WN_call_flag(x) & WN_CALL_NON_PARM_MOD) |
#define WN_CALL_NON_PARM_REF 0x20 /* references data whose address is not passed as parameter */ |
#define WN_Call_Non_Parm_Ref | ( | x | ) | (WN_call_flag(x) & WN_CALL_NON_PARM_REF) |
#define WN_CALL_PARM_MOD 0x08 /* modifies data whose address is passed as parameter */ |
#define WN_Call_Parm_Mod | ( | x | ) | (WN_call_flag(x) & WN_CALL_PARM_MOD) |
#define WN_CALL_PARM_REF 0x40 /* references data whose address is passed as parameter */ |
#define WN_Call_Parm_Ref | ( | x | ) | (WN_call_flag(x) & WN_CALL_PARM_REF) |
#define WN_Call_Pure | ( | x | ) | ((WN_call_flag(x) & (WN_CALL_NON_DATA_MOD | WN_CALL_NON_PARM_MOD | WN_CALL_PARM_MOD | WN_CALL_NON_DATA_REF | WN_CALL_NON_PARM_REF)) == 0) |
#define WN_CALL_REPLACE_BY_JUMP 0x1000 /* replace call by jump in thunks */ |
#define WN_Call_Replace_By_Jump | ( | x | ) | (WN_call_flag(x) & WN_CALL_REPLACE_BY_JUMP) |
#define WN_CAST_WN_TO_STMT_WN | ( | x | ) | ((STMT_WN *)( (STMT_WN_BASE *)x - 1)) |
Definition at line 929 of file wn_core.h.
Referenced by WN_linenum(), WN_next(), WN_prev(), and WN_StartAddress().
Definition at line 1080 of file wn_core.h.
Referenced by WN_Can_Be_Speculative().
#define WN_Clear_Parm_By_Reference | ( | x | ) | (WN_parm_flag(x) &= ~WN_PARM_BY_REFERENCE) |
#define WN_Clear_Parm_By_Value | ( | x | ) | (WN_parm_flag(x) &= ~WN_PARM_BY_VALUE) |
#define WN_do_body | ( | x | ) | WN_kid((x),4) |
Definition at line 1005 of file wn_core.h.
Referenced by ANL_LOOP_CONSTRUCT::_Loop_Srcpos_Range(), Append_Nest_Clauses(), draw_stmt(), ir_put_stmt(), W2CF_TRANSLATOR::Nest_Clauses_To_String(), WN2C_do_loop(), WN2F_do_loop(), WN_CreateDO(), WN_TREE_put_stmt(), and ANL_LOOP_CONSTRUCT::Write().
#define WN_do_loop_info | ( | x | ) | (WN_kid_count(x)>5 ? WN_kid((x),5) : NULL) |
Definition at line 1006 of file wn_core.h.
Referenced by ir_put_stmt(), WN2C_do_loop(), WN2F_do_loop(), and WN_TREE_put_stmt().
Definition at line 1015 of file wn_core.h.
Referenced by draw_stmt(), ir_put_stmt(), WN2C_if(), WN2F_if(), WN_CreateIf(), and WN_TREE_put_stmt().
#define WN_else_is_empty | ( | x | ) | (WN_first(WN_else(x)) == NULL) |
Definition at line 1003 of file wn_core.h.
Referenced by cwh_io_analyse_io_item(), cwh_io_split_io_items(), draw_stmt(), fei_implied_do(), ir_put_stmt(), WN2C_do_loop(), WN2F_do_loop(), WN2F_implied_do(), WN_CreateDO(), WN_LOOP_UpperBound(), WN_TREE_put_stmt(), and WN_Upper_Bound_Standardize().
#define WN_entry_first | ( | x | ) | WN_first(WN_func_body(x)) |
Definition at line 996 of file wn_core.h.
Referenced by Get_Preamble_End().
#define WN_entry_last | ( | x | ) | WN_last(WN_func_body(x)) |
#define WN_entry_name | ( | x | ) | WN_st_idx(x) |
Definition at line 990 of file wn_core.h.
Referenced by Append_CallSite(), ANL_FUNC_ENTRY::Emit_Original_Construct(), fei_gen_func_entry(), PUinfo_init_pu(), WN2C_call(), WN2C_func_entry(), WN2F_Entry_Point(), WN2F_interface_blk(), WN2F_return(), WN2F_translate_purple_main(), and WN_CreateEntry().
#define WN_EQ_IS_LOGICAL 0x01 /*OPR_EQ or OPR_NE is logical opr */ |
#define WN_Eq_Is_Logical | ( | x | ) | (WN_eq_logical_flag(x) & WN_EQ_IS_LOGICAL) |
Definition at line 991 of file wn_core.h.
Referenced by Allocate_All_Formals(), Calc_Formal_Area(), DRA_EC_Array_Portion_Parms(), DRA_Mangle_Entry(), DRA_Preprocess_Entry(), Formal_Position(), WN2C_func_entry(), WN2C_translate_purple_main(), WN2F_Entry_Point(), WN2F_Get_Named_Param(), WN2F_interface_blk(), and WN2F_translate_purple_main().
#define WN_func_body | ( | x | ) | WN_kid((x),WN_kid_count(x)-1) |
Definition at line 995 of file wn_core.h.
Referenced by Allocate_All_Formals(), Backend_Processing(), Calc_Formal_Area(), DRA_Add_Clone(), DRA_EC_Array_Portion_Parms(), DRA_Insert_Pragmas(), DRA_Read_Pragmas(), ANL_FUNC_ENTRY::Emit_Original_Construct(), Fill_Align_Symbol(), Find_Insertion_Point(), Insert_Call(), MemCtr_Add_Local(), W2CF_TRANSLATOR::Stid_Lhs_To_String(), W2CF_TRANSLATOR::Transformed_Symname_To_String(), W2C_Outfile_Translate_Pu(), W2C_Translate_Purple_Main(), W2F_Outfile_Translate_Pu(), W2F_Translate_Purple_Main(), WN2C_func_entry(), WN2F_func_entry(), and WN_CreateEntry().
#define WN_func_pragmas | ( | x | ) | WN_kid((x),WN_kid_count(x)-3) |
Definition at line 993 of file wn_core.h.
Referenced by WN2F_func_entry(), and WN_CreateEntry().
#define WN_func_varrefs | ( | x | ) | WN_kid((x),WN_kid_count(x)-2) |
Definition at line 994 of file wn_core.h.
Referenced by WN_CreateEntry().
#define WN_has_map_id | ( | x | ) | (WN_map_id(x)!= -1) |
#define WN_has_sym | ( | x | ) | (OPERATOR_has_sym(WN_operator(x))) |
Definition at line 952 of file wn_core.h.
Referenced by TY_Of_Parameter(), W2F_Outfile_Translate_Pu(), WN2F_call(), WN2F_process_pragma(), and WN_st().
#define WN_IF_IS_GUARD 0x1 |
#define WN_IF_IS_MPVERSION 0x2 |
#define WN_if_test | ( | x | ) | WN_kid((x),0) |
Definition at line 1013 of file wn_core.h.
Referenced by draw_stmt(), ir_put_stmt(), WN2C_if(), WN2F_if(), WN_CreateIf(), and WN_TREE_put_stmt().
Definition at line 1001 of file wn_core.h.
Referenced by ANL_LOOP_CONSTRUCT::_Write_Loop_Header(), Append_Nest_Clauses(), cwh_io_analyse_io_item(), cwh_io_create_dope_from_item(), cwh_io_split_io_items(), draw_stmt(), fei_implied_do(), ir_put_stmt(), W2CF_TRANSLATOR::Nest_Clauses_To_String(), Whirl_Symbol_Type(), WN2F_do_loop(), WN2F_implied_do(), WN_CreateDO(), WN_LOOP_InductionVariable(), WN_TREE_put_stmt(), WN_Upper_Bound_Standardize(), and ANL_LOOP_CONSTRUCT::Write().
#define WN_IO_Library | ( | x | ) | ((IOLIB) WN_io_flag(x)) |
Definition at line 1376 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_Is_If_Guard | ( | x | ) | (WN_if_flag(x) & WN_IF_IS_GUARD) |
#define WN_Is_If_MpVersion | ( | x | ) | (WN_if_flag(x) & WN_IF_IS_MPVERSION) |
#define WN_LABEL_BREAK 0x1 |
#define WN_LABEL_HANDLER_BEGIN 0x2 |
#define WN_Label_Is_Break | ( | x | ) | (WN_label_flag(x) & WN_LABEL_BREAK) |
#define WN_Label_Is_Handler_Begin | ( | x | ) |
(WN_label_flag(x) & \ WN_LABEL_HANDLER_BEGIN)
#define WN_label_loop_info | ( | x | ) | (WN_kid_count(x)>0 ? WN_kid((x),0) : NULL) |
Definition at line 974 of file wn_core.h.
Referenced by ir_put_stmt(), and WN_TREE_put_stmt().
#define WN_loop_induction | ( | x | ) | (WN_kid_count(x)>0 ? WN_kid((x),0) : NULL) |
Definition at line 1027 of file wn_core.h.
Referenced by ir_put_stmt(), and WN_TREE_put_stmt().
#define WN_LOOP_INNERMOST 0x1 |
#define WN_Loop_Innermost | ( | x | ) | (WN_loop_flag(x) & WN_LOOP_INNERMOST) |
#define WN_LOOP_NZ_TRIP 0x10 |
#define WN_Loop_Nz_Trip | ( | x | ) | (WN_loop_flag(x) & WN_LOOP_NZ_TRIP) |
#define WN_LOOP_SYMB_TRIP 0x20 |
#define WN_Loop_Symb_Trip | ( | x | ) | (WN_loop_flag(x) & WN_LOOP_SYMB_TRIP) |
#define WN_loop_trip | ( | x | ) | (WN_kid_count(x)>1 ? WN_kid((x),1) : NULL) |
Definition at line 1030 of file wn_core.h.
Referenced by ir_put_stmt(), and WN_TREE_put_stmt().
#define WN_Loop_Unimportant | ( | x | ) |
#define WN_LOOP_UNIMPORTANT_MISC 0x8 |
#define WN_Loop_Unimportant_Misc | ( | x | ) | (WN_loop_flag(x) & WN_LOOP_UNIMPORTANT_MISC) |
#define WN_LOOP_WINDDOWN_CACHE 0x4 |
#define WN_Loop_Winddown_Cache | ( | x | ) | (WN_loop_flag(x) & WN_LOOP_WINDDOWN_CACHE) |
#define WN_LOOP_WINDDOWN_REG 0x2 |
#define WN_Loop_Winddown_Reg | ( | x | ) | (WN_loop_flag(x) & WN_LOOP_WINDDOWN_REG) |
#define WN_num_dim | ( | x | ) | (WN_kid_count(x)>>1) |
Definition at line 882 of file wn_core.h.
Referenced by cwh_addr_adjust_array(), cwh_addr_insert_bounds_check(), cwh_dope_from_expression(), get_base_and_offset(), ir_put_wn(), WN2C_array(), WN2C_Normalize_Idx_To_Onedim(), WN2F_array(), WN2F_array_bounds(), WN2F_Array_Slots(), WN2F_arrsection(), WN2F_arrsection_bounds(), WN2F_Arrsection_Slots(), WN2F_Normalize_Idx_To_Onedim(), WN_Create_Generic(), and WN_Equiv().
#define WN_num_formals | ( | x | ) | (WN_kid_count(x)-3) |
Definition at line 992 of file wn_core.h.
Referenced by Allocate_All_Formals(), Calc_Formal_Area(), DRA_EC_Array_Portion_Parms(), DRA_Mangle_All(), DRA_New_Clone_Sig(), Formal_Position(), WN2C_func_entry(), WN2C_translate_purple_main(), WN2F_Entry_Point(), WN2F_Get_Named_Param(), and WN2F_translate_purple_main().
#define WN_operator_is | ( | x, | |
y | |||
) | (WN_operator(x)==(y)) |
Definition at line 1077 of file wn_core.h.
Referenced by cwh_io_analyse_index_expr(), cwh_stk_get_num_inquire_items(), cwh_stk_pop_iostmt(), Substitute_1_For_Impdo_Index_Val(), WN_CreateIstorex(), WN_CreatePrefetchx(), WN_RotateIntconst(), and WN_Tas().
#define WN_PARM_BY_REFERENCE 0x01 |
Definition at line 1378 of file wn_core.h.
Referenced by cwh_intrin_wrap_ref_parm(), DRA_EC_Array_Portion_Parms(), Gen_Free_Cart(), Insert_Alloca(), ir_put_wn(), MemCtr_Add_Common(), MemCtr_Add_Global(), and MemCtr_Add_Local().
#define WN_Parm_By_Reference | ( | x | ) | (WN_parm_flag(x) & WN_PARM_BY_REFERENCE) |
#define WN_PARM_BY_VALUE 0x02 |
Definition at line 1379 of file wn_core.h.
Referenced by cwh_do_tranformational(), cwh_intrin_wrap_value_parm(), DRA_EC_Array_Portion_Parms(), Gen_Call_Array(), Gen_Malloc_Cart(), ir_put_wn(), MemCtr_Add_Common(), MemCtr_Add_Global(), MemCtr_Add_Local(), simple_intrinsic(), WN_Convert_Shared_To_Local(), WN_Create_PtrEq_Test(), WN_Create_Shared_Load(), WN_Create_Shared_Ptr_Arithmetic(), WN_Create_Shared_Ptr_Diff(), WN_Create_Shared_Store(), WN_Create_StoP_Cvt(), and WN_SetNull_Sptr().
#define WN_Parm_By_Value | ( | x | ) | (WN_parm_flag(x) & WN_PARM_BY_VALUE) |
Definition at line 1409 of file wn_core.h.
Referenced by WN2F_call().
#define WN_PARM_CHECK_CONTIG_FLAG 0x080000 |
Definition at line 1403 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_Parm_Check_Contig_Flag | ( | x | ) | (WN_parm_flag(x) & WN_PARM_CHECK_CONTIG_FLAG) |
#define WN_PARM_COPY_IN 0x2000 |
Definition at line 1397 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_Parm_Copy_In | ( | x | ) | (WN_parm_flag(x) & WN_PARM_COPY_IN) |
Definition at line 1435 of file wn_core.h.
Referenced by WN2F_parm().
#define WN_PARM_COPY_IN_COPY_OUT 0x4000 |
Definition at line 1398 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_Parm_Copy_In_Copy_out | ( | x | ) | (WN_parm_flag(x) & WN_PARM_BY_REFERENCE) |
#define WN_PARM_COPY_IN_MAKE_DV 0x010000 |
Definition at line 1400 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_Parm_Copy_In_Make_Dv | ( | x | ) | (WN_parm_flag(x) & WN_PARM_COPY_IN_MAKE_DV) |
#define WN_PARM_DUMMY 0x08 |
Definition at line 1382 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_Parm_Dummy | ( | x | ) | (WN_parm_flag(x) & WN_PARM_DUMMY) |
Definition at line 1416 of file wn_core.h.
Referenced by WN_num_actuals().
#define WN_parm_flag | ( | x | ) | WN_call_flag(x) |
#define WN_PARM_IN WN_PARM_BY_VALUE |
#define WN_Parm_In | ( | x | ) | (WN_parm_flag(x) & WN_PARM_IN) |
Definition at line 1412 of file wn_core.h.
Referenced by ANL_VARLIST::_Get_Lda_Access_Status().
#define WN_PARM_IS_KILLED |
0x80 /* the parameter is killed, for pass by reference */
Definition at line 1387 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_Parm_Is_Killed | ( | x | ) | (WN_parm_flag(x) & WN_PARM_IS_KILLED) |
#define WN_PARM_MAKE_DV 0x8000 |
Definition at line 1399 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_Parm_Make_Dv | ( | x | ) | (WN_parm_flag(x) & WN_PARM_MAKE_DV) |
#define WN_PARM_MAKE_NEW_DV 0x020000 |
Definition at line 1401 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_Parm_Make_New_Dv | ( | x | ) | (WN_parm_flag(x) & WN_PARM_MAKE_NEW_DV) |
#define WN_PARM_NOT_EXPOSED_USE 0x40 /* there is no exposed use */ |
Definition at line 1386 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_Parm_Not_Exposed_Use | ( | x | ) | (WN_parm_flag(x) & WN_PARM_NOT_EXPOSED_USE) |
#define WN_PARM_OUT 0x04 |
Definition at line 1381 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_Parm_Out | ( | x | ) | (WN_parm_flag(x) & WN_PARM_OUT) |
Definition at line 1414 of file wn_core.h.
Referenced by ANL_VARLIST::_Get_Lda_Access_Status().
#define WN_PARM_PASS_ADDRESS 0x0100 |
Definition at line 1393 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_Parm_Pass_Address | ( | x | ) | (WN_parm_flag(x) & WN_PARM_PASS_ADDRESS) |
#define WN_PARM_PASS_ADDRESS_FROM_DV 0x0200 |
Definition at line 1394 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_Parm_Pass_Address_From_Dv | ( | x | ) | (WN_parm_flag(x) & WN_PARM_PASS_ADDRESS_FROM_DV) |
#define WN_PARM_PASS_DV 0x0400 |
Definition at line 1395 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_Parm_Pass_Dv | ( | x | ) | (WN_parm_flag(x) & WN_PARM_PASS_DV) |
#define WN_PARM_PASS_DV_COPY 0x0800 |
Definition at line 1396 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_Parm_Pass_Dv_Copy | ( | x | ) | (WN_parm_flag(x) & WN_PARM_PASS_DV_COPY) |
#define WN_PARM_PASS_SECTION_ADDRESS 0x040000 |
Definition at line 1402 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_Parm_Pass_Section_Address | ( | x | ) | (WN_parm_flag(x) & WN_PARM_PASS_SECTION_ADDRESS) |
#define WN_PARM_PASSED_NOT_SAVED |
0x20 /* parm is passed to callee, however, the callee does not save the address of the parm */
Definition at line 1385 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_Parm_Passed_Not_Saved | ( | x | ) | (WN_parm_flag(x) & WN_PARM_PASSED_NOT_SAVED) |
Definition at line 1420 of file wn_core.h.
Referenced by Set_addr_saved_stmt().
#define WN_PARM_READ_ONLY |
0x10 /* parm is only referenced, not modified by the callee */
Definition at line 1384 of file wn_core.h.
Referenced by ir_put_wn().
#define WN_Parm_Read_Only | ( | x | ) | (WN_parm_flag(x) & WN_PARM_READ_ONLY) |
#define WN_pf_confidence | ( | wn | ) | (((WN_prefetch_flag(wn)) >> 28) & 0xf) |
#define WN_pf_manual | ( | wn | ) | (((WN_prefetch_flag(wn)) >> 25) & 0x1) |
#define WN_pf_read | ( | wn | ) | (((~(WN_prefetch_flag(wn))) >> 24) & 0x1) |
#define WN_pf_set_confidence | ( | wn, | |
x | |||
) | WN_prefetch_flag(wn) = (((WN_prefetch_flag(wn))&0x0fffffff) | ((x)&0xf)<<28) |
Definition at line 1621 of file wn_core.h.
Referenced by fei_prefetch_ref().
#define WN_pf_set_manual | ( | wn | ) | WN_prefetch_flag(wn) |= 0x02000000 |
Definition at line 1622 of file wn_core.h.
Referenced by fei_prefetch_ref().
#define WN_pf_set_read | ( | wn | ) | WN_prefetch_flag(wn) &= 0xfeffffff |
Definition at line 1617 of file wn_core.h.
Referenced by fei_prefetch_ref().
#define WN_pf_set_stride_1L | ( | wn, | |
x | |||
) | WN_prefetch_flag(wn) = (((WN_prefetch_flag(wn))&0xffffff00) | ((x)&0xff)) |
Definition at line 1619 of file wn_core.h.
Referenced by fei_prefetch_ref().
#define WN_pf_set_stride_2L | ( | wn, | |
x | |||
) | WN_prefetch_flag(wn) = (((WN_prefetch_flag(wn))&0xffff00ff) | ((x)&0xff)<<8) |
Definition at line 1620 of file wn_core.h.
Referenced by fei_prefetch_ref().
#define WN_pf_set_write | ( | wn | ) | WN_prefetch_flag(wn) |= 0x01000000 |
Definition at line 1618 of file wn_core.h.
Referenced by fei_prefetch_ref().
#define WN_pf_stride_1L | ( | wn | ) | ((WN_prefetch_flag(wn)) & 0xff) |
#define WN_pf_stride_2L | ( | wn | ) | (((WN_prefetch_flag(wn)) >> 8) & 0xff) |
#define WN_pf_unset_manual | ( | wn | ) | WN_prefetch_flag(wn) &= 0xfdffffff |
#define WN_pf_write | ( | wn | ) | (((WN_prefetch_flag(wn)) >> 24) & 0x1) |
#define WN_PRAGMA_COMPILER_GENERATED 0x01 |
#define WN_pragma_compiler_generated | ( | x | ) | ((WN_pragma_flags(x))&WN_PRAGMA_COMPILER_GENERATED) |
Definition at line 983 of file wn_core.h.
Referenced by W2CF_TRANSLATOR::_Skip_Ignored_Clauses(), ANL_REGION_CONSTRUCT::_userEndParallel(), ANL_LOOP_CONSTRUCT::_Write_Loop_Directive(), W2CF_TRANSLATOR::ClauseList_To_String(), ANL_FUNC_ENTRY::Get_Pragma_Srcpos_Range(), Rewrite_Pragmas_On_Structs(), WN2C_is_omp(), and WN2F_is_omp().
#define WN_PRAGMA_OMP 0x02 |
#define WN_pragma_omp | ( | x | ) | ((WN_pragma_flags(x)) & WN_PRAGMA_OMP) |
Definition at line 985 of file wn_core.h.
Referenced by ANL_LOOP_CONSTRUCT::_Write_Loop_Directive(), ANL_PRAGMA_CONSTRUCT::_Write_Pragma_Directives(), ANL_PRAGMA_CONSTRUCT::ANL_PRAGMA_CONSTRUCT(), ANL_REGION_CONSTRUCT::ANL_REGION_CONSTRUCT(), cwh_mp_region(), WN2C_is_omp(), and WN2F_is_omp().
#define WN_region_body | ( | x | ) | WN_kid((x),2) |
Definition at line 1020 of file wn_core.h.
Referenced by ANL_LOOP_CONSTRUCT::_Loop_Srcpos_Range(), Append_Nest_Clauses(), DRA_Read_Pragmas_In_Block(), ANL_FUNC_ENTRY::Emit_Nested_Original_Constructs(), Find_Alloca(), Get_Implicit_Locals(), Is_Grandparent_Region(), Is_Valid_Doacross(), W2CF_TRANSLATOR::Nest_Clauses_To_String(), Rewrite_Pragmas_On_Structs(), WN2C_process_pragma(), WN2C_region(), WN2F_process_pragma(), WN_CreateRegion(), and ANL_REGION_CONSTRUCT::Write().
#define WN_region_exits | ( | x | ) | WN_kid((x),0) |
Definition at line 1018 of file wn_core.h.
Referenced by WN_CreateRegion().
#define WN_region_is_EH | ( | x | ) | (WN_region_kind(x) & REGION_KIND_EH) |
Definition at line 973 of file wn_core.h.
Referenced by IPO_CLONE::Clone_Tree().
#define WN_region_pragmas | ( | x | ) | WN_kid((x),1) |
Definition at line 1019 of file wn_core.h.
Referenced by ANL_LOOP_CONSTRUCT::_Loop_Srcpos_Range(), ANL_REGION_CONSTRUCT::_Region_Srcpos_Range(), ANL_REGION_CONSTRUCT::_userEndParallel(), ANL_LOOP_CONSTRUCT::_Write_Loop_Directive(), ANL_REGION_CONSTRUCT::_Write_Region_Directive(), Accumulate_Expr_PUinfo(), Accumulate_Stmt_PUinfo(), Add_Pragma_To_MP_Regions(), ANL_LOOP_CONSTRUCT::ANL_LOOP_CONSTRUCT(), ANL_REGION_CONSTRUCT::ANL_REGION_CONSTRUCT(), Append_Nest_Clauses(), cwh_block_set_region_pragmas(), cwh_directive_pragma_to_region(), Get_Enclosing_Parallel_Region(), ANL_REGION_CONSTRUCT::Is_ProMpf_Region_Construct(), W2CF_TRANSLATOR::Nest_Clauses_To_String(), Prompf_Id_Type(), Rewrite_Pragmas_On_Structs(), WN2C_func_entry(), WN2C_Is_Loop_Region(), WN2C_Is_Parallel_Region(), WN2C_region(), WN2F_Is_Loop_Region(), WN2F_Is_Parallel_Region(), and WN_CreateRegion().
#define WN_Reset_Asm_Clobbers_Cc | ( | x | ) | (WN_asm_flag(x) &= ~WN_ASM_CLOBBERS_CC) |
#define WN_Reset_Asm_Clobbers_Mem | ( | x | ) | (WN_asm_flag(x) &= ~WN_ASM_CLOBBERS_MEM) |
#define WN_Reset_Asm_Volatile | ( | x | ) | (WN_asm_flag(x) &= ~WN_ASM_VOLATILE) |
#define WN_Reset_Call_Does_Mem_Alloc | ( | x | ) | (WN_call_flag(x) &= ~WN_CALL_DOES_MEM_ALLOC) |
#define WN_Reset_Call_Does_Mem_Free | ( | x | ) | (WN_call_flag(x) &= ~WN_CALL_DOES_MEM_FREE) |
#define WN_Reset_Call_Dont_Inline | ( | x | ) | (WN_call_flag(x) &= ~WN_CALL_DONT_INLINE) |
#define WN_Reset_Call_Fortran_Pointer_Rule | ( | x | ) | (WN_call_flag(x) &= ~WN_CALL_FORTRAN_POINTER_RULE) |
#define WN_Reset_Call_Inline | ( | x | ) | (WN_call_flag(x) &= ~WN_CALL_INLINE) |
#define WN_Reset_Call_Never_Return | ( | x | ) | (WN_call_flag(x) &= ~WN_CALL_NEVER_RETURN) |
#define WN_Reset_Call_Non_Data_Mod | ( | x | ) | (WN_call_flag(x) &= ~WN_CALL_NON_DATA_MOD) |
#define WN_Reset_Call_Non_Data_Ref | ( | x | ) | (WN_call_flag(x) &= ~WN_CALL_NON_DATA_REF) |
#define WN_Reset_Call_Non_Parm_Mod | ( | x | ) | (WN_call_flag(x) &= ~WN_CALL_NON_PARM_MOD) |
#define WN_Reset_Call_Non_Parm_Ref | ( | x | ) | (WN_call_flag(x) &= ~WN_CALL_NON_PARM_REF) |
#define WN_Reset_Call_Parm_Mod | ( | x | ) | (WN_call_flag(x) &= ~WN_CALL_PARM_MOD) |
#define WN_Reset_Call_Parm_Ref | ( | x | ) | (WN_call_flag(x) &= ~WN_CALL_PARM_REF) |
#define WN_Reset_Call_Replace_By_Jump | ( | x | ) | (WN_call_flag(x) &= ~WN_CALL_REPLACE_BY_JUMP) |
#define WN_Reset_Eq_Is_Logical | ( | x | ) | (WN_eq_logical_flag(x) &= WN_EQ_IS_LOGICAL) |
#define WN_Reset_If_Guard | ( | x | ) | (WN_if_flag(x) &= ~(WN_IF_IS_GUARD)) |
Definition at line 1298 of file wn_core.h.
Referenced by WN_CreateIf().
#define WN_Reset_If_MpVersion | ( | x | ) | (WN_if_flag(x) &= ~(WN_IF_IS_MPVERSION)) |
#define WN_Reset_Label_Is_Break | ( | x | ) | (WN_label_flag(x) &= ~(WN_LABEL_BREAK)) |
#define WN_Reset_Label_Is_Handler_Begin | ( | x | ) |
(WN_label_flag(x) &= \ ~(WN_LABEL_HANDLER_BEGIN))
#define WN_Reset_Loop_Innermost | ( | x | ) | (WN_loop_flag(x) &= ~WN_LOOP_INNERMOST) |
#define WN_Reset_Loop_Nz_Trip | ( | x | ) | (WN_loop_flag(x) &= ~WN_LOOP_NZ_TRIP) |
#define WN_Reset_Loop_Symb_Trip | ( | x | ) | (WN_loop_flag(x) &= ~WN_LOOP_SYMB_TRIP) |
#define WN_Reset_Loop_Unimportant_Misc | ( | x | ) | (WN_loop_flag(x) &= ~WN_LOOP_UNIMPORTANT_MISC) |
#define WN_Reset_Loop_Winddown_Cache | ( | x | ) | (WN_loop_flag(x) &= ~WN_LOOP_WINDDOWN_CACHE) |
#define WN_Reset_Loop_Winddown_Reg | ( | x | ) | (WN_loop_flag(x) &= ~WN_LOOP_WINDDOWN_REG) |
#define WN_reset_pragma_omp | ( | x | ) | ((WN_pragma_flags(x)) &= ~(WN_PRAGMA_OMP)) |
Definition at line 1081 of file wn_core.h.
Referenced by TY_Of_Parameter().
#define WN_Set_Asm_Clobbers_Cc | ( | x | ) | (WN_asm_flag(x) |= WN_ASM_CLOBBERS_CC) |
#define WN_Set_Asm_Clobbers_Mem | ( | x | ) | (WN_asm_flag(x) |= WN_ASM_CLOBBERS_MEM) |
#define WN_Set_Asm_Volatile | ( | x | ) | (WN_asm_flag(x) |= WN_ASM_VOLATILE) |
#define WN_Set_Call_Default_Flags | ( | x | ) | (WN_call_flag(x) |= WN_CALL_CONSERVATIVE) |
Definition at line 1523 of file wn_core.h.
Referenced by cwh_intrin_call(), cwh_stmt_call_helper(), and fei_stop().
#define WN_Set_Call_Does_Mem_Alloc | ( | x | ) | (WN_call_flag(x) |= WN_CALL_DOES_MEM_ALLOC) |
Definition at line 1509 of file wn_core.h.
Referenced by cwh_inline_allocate(), and fei_malloc().
#define WN_Set_Call_Does_Mem_Free | ( | x | ) | (WN_call_flag(x) |= WN_CALL_DOES_MEM_FREE) |
Definition at line 1512 of file wn_core.h.
Referenced by fei_allocate(), and fei_mfree().
#define WN_Set_Call_Dont_Inline | ( | x | ) | (WN_call_flag(x) |= WN_CALL_DONT_INLINE) |
Definition at line 1506 of file wn_core.h.
Referenced by cwh_stmt_call_helper().
#define WN_Set_Call_Fortran_Pointer_Rule | ( | x | ) | (WN_call_flag(x) |= WN_CALL_FORTRAN_POINTER_RULE) |
Definition at line 1515 of file wn_core.h.
Referenced by cwh_stmt_call_helper().
#define WN_Set_Call_Inline | ( | x | ) | (WN_call_flag(x) |= WN_CALL_INLINE) |
Definition at line 1503 of file wn_core.h.
Referenced by cwh_stmt_call_helper().
#define WN_Set_Call_Never_Return | ( | x | ) | (WN_call_flag(x) |= WN_CALL_NEVER_RETURN) |
Definition at line 1482 of file wn_core.h.
Referenced by cwh_stmt_call_helper(), and fei_stop().
#define WN_Set_Call_Non_Data_Mod | ( | x | ) | (WN_call_flag(x) |= WN_CALL_NON_DATA_MOD) |
Definition at line 1485 of file wn_core.h.
Referenced by cwh_inline_allocate().
#define WN_Set_Call_Non_Data_Ref | ( | x | ) | (WN_call_flag(x) |= WN_CALL_NON_DATA_REF) |
#define WN_Set_Call_Non_Parm_Mod | ( | x | ) | (WN_call_flag(x) |= WN_CALL_NON_PARM_MOD) |
#define WN_Set_Call_Non_Parm_Ref | ( | x | ) | (WN_call_flag(x) |= WN_CALL_NON_PARM_REF) |
#define WN_Set_Call_Parm_Mod | ( | x | ) | (WN_call_flag(x) |= WN_CALL_PARM_MOD) |
Definition at line 1497 of file wn_core.h.
Referenced by cwh_inline_allocate(), and fei_allocate().
#define WN_Set_Call_Parm_Ref | ( | x | ) | (WN_call_flag(x) |= WN_CALL_PARM_REF) |
Definition at line 1500 of file wn_core.h.
Referenced by cwh_inline_allocate(), fei_allocate(), and Set_Call_Side_Effects().
#define WN_Set_Call_Replace_By_Jump | ( | x | ) | (WN_call_flag(x) |= WN_CALL_REPLACE_BY_JUMP) |
#define WN_set_do_loop_info | ( | x, | |
li | |||
) | (WN_kid((x),5) = (li)) |
Definition at line 1008 of file wn_core.h.
Referenced by WN_CreateDO().
#define WN_Set_Eq_Is_Logical | ( | x | ) | (WN_eq_logical_flag(x) |= WN_EQ_IS_LOGICAL) |
Definition at line 1452 of file wn_core.h.
Referenced by fei_leqv(), and fei_lxor().
#define WN_Set_If_Guard | ( | x | ) | (WN_if_flag(x) |= WN_IF_IS_GUARD) |
#define WN_Set_If_MpVersion | ( | x | ) | (WN_if_flag(x) |= WN_IF_IS_MPVERSION) |
#define WN_Set_IO_Library | ( | x, | |
y | |||
) | (WN_io_flag(x) = (y)) |
Definition at line 1375 of file wn_core.h.
Referenced by WN_CreateIo().
#define WN_Set_Label_Is_Break | ( | x | ) | (WN_label_flag(x) |= WN_LABEL_BREAK) |
#define WN_Set_Label_Is_Handler_Begin | ( | x | ) |
(WN_label_flag(x) |= \ WN_LABEL_HANDLER_BEGIN)
#define WN_set_label_loop_info | ( | x, | |
li | |||
) | (WN_kid0(x) = (li)) |
Definition at line 976 of file wn_core.h.
Referenced by WN_CreateLabel().
#define WN_set_loop_induction | ( | x, | |
ind | |||
) | (WN_kid((x),0) = (ind)) |
Definition at line 1029 of file wn_core.h.
Referenced by WN_CreateLoopInfo().
#define WN_Set_Loop_Innermost | ( | x | ) | (WN_loop_flag(x) |= WN_LOOP_INNERMOST) |
#define WN_Set_Loop_Nz_Trip | ( | x | ) | (WN_loop_flag(x) |= WN_LOOP_NZ_TRIP) |
#define WN_Set_Loop_Symb_Trip | ( | x | ) | (WN_loop_flag(x) |= WN_LOOP_SYMB_TRIP) |
#define WN_set_loop_trip | ( | x, | |
trip | |||
) | (WN_kid((x),1) = (trip)) |
Definition at line 1032 of file wn_core.h.
Referenced by WN_CreateLoopInfo().
#define WN_Set_Loop_Unimportant_Misc | ( | x | ) | (WN_loop_flag(x) |= WN_LOOP_UNIMPORTANT_MISC) |
#define WN_Set_Loop_Winddown_Cache | ( | x | ) | (WN_loop_flag(x) |= WN_LOOP_WINDDOWN_CACHE) |
#define WN_Set_Loop_Winddown_Reg | ( | x | ) | (WN_loop_flag(x) |= WN_LOOP_WINDDOWN_REG) |
#define WN_Set_Parm_By_Reference | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_BY_REFERENCE) |
#define WN_Set_Parm_By_Value | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_BY_VALUE) |
#define WN_Set_Parm_Check_Contig_Flag | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_CHECK_CONTIG_FLAG) |
Definition at line 1448 of file wn_core.h.
Referenced by cwh_stmt_call_helper().
#define WN_Set_Parm_Copy_In | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_COPY_IN) |
Definition at line 1436 of file wn_core.h.
Referenced by cwh_stmt_call_helper().
#define WN_Set_Parm_Copy_In_Copy_out | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_COPY_IN_COPY_OUT) |
Definition at line 1438 of file wn_core.h.
Referenced by cwh_stmt_call_helper().
#define WN_Set_Parm_Copy_In_Make_Dv | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_COPY_IN_MAKE_DV) |
Definition at line 1442 of file wn_core.h.
Referenced by cwh_stmt_call_helper().
#define WN_Set_Parm_Dummy | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_DUMMY) |
Definition at line 1417 of file wn_core.h.
Referenced by fei_allocate().
#define WN_Set_Parm_In | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_IN) |
#define WN_Set_Parm_Is_Killed | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_IS_KILLED) |
#define WN_Set_Parm_Make_Dv | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_MAKE_DV) |
Definition at line 1440 of file wn_core.h.
Referenced by cwh_stmt_call_helper().
#define WN_Set_Parm_Make_New_Dv | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_MAKE_NEW_DV) |
Definition at line 1444 of file wn_core.h.
Referenced by cwh_stmt_call_helper().
#define WN_Set_Parm_Not_Exposed_Use | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_NOT_EXPOSED_USE) |
#define WN_Set_Parm_Out | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_OUT) |
#define WN_Set_Parm_Pass_Address | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_PASS_ADDRESS) |
Definition at line 1428 of file wn_core.h.
Referenced by cwh_stmt_call_helper().
#define WN_Set_Parm_Pass_Address_From_Dv | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_PASS_ADDRESS_FROM_DV) |
Definition at line 1430 of file wn_core.h.
Referenced by cwh_stmt_call_helper().
#define WN_Set_Parm_Pass_Dv | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_PASS_DV) |
Definition at line 1432 of file wn_core.h.
Referenced by cwh_stmt_call_helper().
#define WN_Set_Parm_Pass_Dv_Copy | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_PASS_DV_COPY) |
Definition at line 1434 of file wn_core.h.
Referenced by cwh_stmt_call_helper().
#define WN_Set_Parm_Pass_Section_Address | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_PASS_SECTION_ADDRESS) |
Definition at line 1446 of file wn_core.h.
Referenced by cwh_stmt_call_helper().
#define WN_Set_Parm_Passed_Not_Saved | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_PASSED_NOT_SAVED) |
#define WN_Set_Parm_Read_Only | ( | x | ) | (WN_parm_flag(x) |= WN_PARM_READ_ONLY) |
#define WN_set_pragma_compiler_generated | ( | x | ) | ((WN_pragma_flags(x))|=WN_PRAGMA_COMPILER_GENERATED) |
Definition at line 984 of file wn_core.h.
Referenced by Add_Pragma_To_MP_Regions(), and DRA_Insert_Pragmas().
#define WN_set_pragma_omp | ( | x | ) | ((WN_pragma_flags(x)) |= WN_PRAGMA_OMP) |
Definition at line 986 of file wn_core.h.
Referenced by cwh_directive_add_pragma_to_loop(), cwh_directive_pop_and_nowait(), cwh_mp_region(), cwh_stmt_add_pragma(), cwh_stmt_add_xpragma(), fei_barrier_open_mp(), fei_critical_open_mp(), fei_endcritical_open_mp(), fei_endordered_open_mp(), fei_flush_open_mp(), fei_ordered_open_mp(), and fei_task_var().
Definition at line 1002 of file wn_core.h.
Referenced by cwh_io_analyse_io_item(), cwh_io_split_io_items(), draw_stmt(), fei_implied_do(), ir_put_stmt(), WN2C_do_loop(), WN2F_do_loop(), WN2F_implied_do(), WN_CreateDO(), WN_LOOP_LowerBound(), and WN_TREE_put_stmt().
Definition at line 1004 of file wn_core.h.
Referenced by cwh_io_analyse_io_item(), cwh_io_split_io_items(), draw_stmt(), fei_implied_do(), ir_put_stmt(), WN2C_do_loop(), WN2F_do_loop(), WN2F_implied_do(), WN_CreateDO(), WN_LOOP_Increment(), and WN_TREE_put_stmt().
#define WN_switch_default | ( | x | ) | WN_kid((x),2) |
Definition at line 1037 of file wn_core.h.
Referenced by WN2C_switch(), and WN_CreateSwitch().
#define WN_switch_table | ( | x | ) | WN_kid((x),1) |
Definition at line 1036 of file wn_core.h.
Referenced by WN2C_switch(), and WN_CreateSwitch().
#define WN_switch_test | ( | x | ) | WN_kid((x),0) |
Definition at line 1035 of file wn_core.h.
Referenced by WN2C_switch(), and WN_CreateSwitch().
Definition at line 1014 of file wn_core.h.
Referenced by DRA_EC_Array_Portion_Parms(), draw_stmt(), ir_put_stmt(), WN2C_if(), WN2F_if(), WN_CreateIf(), and WN_TREE_put_stmt().
Definition at line 1082 of file wn_core.h.
Referenced by TY_Of_Expr().
#define WN_while_body | ( | x | ) | WN_kid((x),1) |
Definition at line 1011 of file wn_core.h.
Referenced by ANL_LOOP_CONSTRUCT::_Loop_Srcpos_Range(), W2CF_TRANSLATOR::Whileloop_Looks_Like_Forloop(), WN2C_do_while(), WN2C_while_do(), WN2F_do_while(), WN2F_while_do(), WN_CreateDoWhile(), WN_CreateWhileDo(), and ANL_LOOP_CONSTRUCT::Write().
#define WN_while_test | ( | x | ) | WN_kid((x),0) |
Definition at line 1010 of file wn_core.h.
Referenced by ANL_LOOP_CONSTRUCT::_Write_Loop_Header(), W2CF_TRANSLATOR::Whileloop_Looks_Like_Forloop(), WN2C_do_while(), WN2C_while_do(), WN2F_do_while(), WN2F_while_do(), WN_CreateDoWhile(), and WN_CreateWhileDo().
typedef enum REGION_KIND REGION_KIND |
enum REGION_KIND |
UINT32 WN_asm_flag | ( | const WN * | wn | ) | [inline] |
UINT32& WN_asm_flag | ( | WN * | wn | ) | [inline] |
char* WN_asm_input_constraint | ( | const WN * | wn | ) | [inline] |
Definition at line 969 of file wn_core.h.
References ST_name(), and WN_st().
Referenced by ir_put_wn().
UINT32 WN_asm_num_clobbers | ( | const WN * | wn | ) | [inline] |
Definition at line 781 of file wn_core.h.
References WN::asm_fields, and WN::u3.
UINT32& WN_asm_num_clobbers | ( | WN * | wn | ) | [inline] |
Definition at line 782 of file wn_core.h.
References WN::asm_fields, and WN::u3.
UINT32 WN_asm_num_inputs | ( | const WN * | wn | ) | [inline] |
Definition at line 777 of file wn_core.h.
References WN::asm_fields, and WN::u3.
UINT32& WN_asm_num_inputs | ( | WN * | wn | ) | [inline] |
Definition at line 778 of file wn_core.h.
References WN::asm_fields, and WN::u3.
UINT32 WN_asm_opnd_num | ( | const WN * | wn | ) | [inline] |
Definition at line 779 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by ir_put_wn(), and WN_CreateAsm_Input().
UINT32& WN_asm_opnd_num | ( | WN * | wn | ) | [inline] |
char* WN_asm_string | ( | const WN * | wn | ) | [inline] |
Definition at line 968 of file wn_core.h.
References ST_name(), and WN_st().
Referenced by ir_put_wn().
UINT WN_bit_offset | ( | const WN * | wn | ) | [inline] |
Definition at line 750 of file wn_core.h.
References WN::common, and WN::kid_count.
Referenced by ir_put_wn(), WN2C_compose_bits(), and WN2C_extract_bits().
UINT WN_bit_size | ( | const WN * | wn | ) | [inline] |
Definition at line 751 of file wn_core.h.
References WN::common, and WN::kid_count.
Referenced by Actual_data_size(), ir_put_wn(), WN2C_compose_bits(), and WN2C_extract_bits().
UINT32 WN_call_flag | ( | const WN * | wn | ) | [inline] |
Definition at line 689 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by ir_put_wn(), WN_flag(), and WN_set_flag().
UINT32& WN_call_flag | ( | WN * | wn | ) | [inline] |
INT64 WN_const_val | ( | const WN * | wn | ) | [inline] |
Definition at line 769 of file wn_core.h.
References WN::const_val, and WN::u3.
Referenced by W2CF_TRANSLATOR::_Rev_Clause_Exprs_To_String(), Actual_data_size(), Append_Clause_Expressions(), cleanUpPUInfo(), cwh_addr_do_bounds_check(), cwh_addr_nonc_recast(), cwh_dope_initialize(), cwh_io_null_address(), cwh_io_split_io_items(), cwh_io_split_io_statement(), cwh_reorder(), cwh_stab_const_ST(), cwh_stk_is_byte_STR(), cwh_stmt_insert_conformance_check(), cwh_stmt_select_case_char(), cwh_types_array_temp_TY(), cwh_types_mk_character_TY(), Exp_To_Linex_Array(), F90_Get_Dim(), fei_addr_con(), fei_allocate(), fei_array_dimen(), fei_assert(), fei_blocking_size(), fei_co_array_dimen(), fei_control_list(), fei_doloop(), fei_fcd(), fei_fission(), fei_fuse(), fei_new_select_case(), fei_prefetch_ref(), fei_redistribute(), fei_unroll(), WN_Verifier::Field_id_valid(), get_base_and_offset(), ir_put_wn(), Is_Constant_Tree(), TCON_from_stack(), WN2C_address_add(), WN2C_infix_op(), WN2C_intconst(), WN2C_is_pointer_diff(), WN2C_switch(), WN2F_array(), WN2F_arrsection(), WN2F_casegoto(), WN2F_eq(), WN2F_Expr_Plus_Literal(), LOC_INFO::WN2F_Find_And_Mark_Nested_Address(), WN2F_Get_DoLoop_Bound(), WN2F_Get_Next_LoopBoundOp(), WN2F_Initiate_OneInt(), WN2F_Initiate_ZeroInt(), WN2F_intconst(), WN2F_Intr_Funcall(), WN2F_intrinsic_call(), WN2F_io_unit(), WN2F_ios_cr(), WN2F_ne(), WN2F_src_triplet(), WN2F_String_Argument(), WN2F_Substring(), WN2F_Sum_Offsets(), WN2F_triplet(), WN_Can_Be_Speculative(), WN_Create_Generic(), WN_CreateCasegoto(), WN_CreateIntconst(), WN_CreateIstore(), WN_CreatePStid(), WN_CreatePstore(), WN_CreateStid(), WN_Equiv(), WN_Get_PtrAdd_Intconst(), WN_object_size(), WN_RotateIntconst(), WN_Solve_For(), and WN_Tree_Type().
INT64& WN_const_val | ( | WN * | wn | ) | [inline] |
Definition at line 770 of file wn_core.h.
References WN::const_val, and WN::u3.
void WN_Copy_u1u2 | ( | WN * | dst, |
const WN * | src | ||
) | [inline] |
Definition at line 798 of file wn_core.h.
References WN::u1u2.
Referenced by IPO_CLONE::Copy_Node(), and WN_CopyNode().
void WN_Copy_u3 | ( | WN * | dst, |
const WN * | src | ||
) | [inline] |
Definition at line 799 of file wn_core.h.
References WN::u3.
Referenced by IPO_CLONE::Copy_Node(), and WN_CopyNode().
INT16 WN_cvtl_bits | ( | const WN * | wn | ) | [inline] |
Definition at line 685 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by Actual_data_size(), ir_put_wn(), WN_Create_Generic(), WN_CreateCvtl(), WN_CreateIstore(), WN_CreatePStid(), WN_CreatePstore(), WN_CreateStid(), WN_Cvtl_Ty(), WN_Equiv(), WN_SimpCreateCvtl(), WN_Simplify_Rebuild_Expr_Tree(), and WN_Simplify_Tree().
INT16& WN_cvtl_bits | ( | WN * | wn | ) | [inline] |
Definition at line 753 of file wn_core.h.
References WN::common, and WN::desc.
Referenced by Actual_data_size(), WN_Verifier::Field_id_valid(), Fill_Align_Symbol(), Rewrite_Structs_In_MPRegion(), Whirl2Src_Translate_Istore_Str(), WN_Create_Shared_Load(), WN_Create_Shared_Store(), WN_object_size(), and WN_Upper_Bound_Standardize().
WN_ESIZE WN_element_size | ( | const WN * | wn | ) | [inline] |
Definition at line 739 of file wn_core.h.
References WN::element_size, and WN::u1u2.
Referenced by cwh_addr_adjust_array(), cwh_addr_array(), cwh_addr_array1(), cwh_addr_nonc_recast(), cwh_addr_substr_util(), cwh_addr_temp_section(), cwh_dope_from_expression(), cwh_io_conv_array_to_dope(), cwh_io_conv_arrsection_to_dope(), fei_nseq_subscr(), get_base_and_offset(), ir_put_wn(), WN2C_array(), WN2F_array(), WN2F_array_bounds(), WN2F_arrsection(), WN2F_arrsection_bounds(), WN_Create_Generic(), WN_Equiv(), and WN_Tree_Type().
WN_ESIZE& WN_element_size | ( | WN * | wn | ) | [inline] |
Definition at line 740 of file wn_core.h.
References WN::element_size, and WN::u1u2.
UINT32 WN_eq_logical_flag | ( | const WN * | wn | ) | [inline] |
UINT32& WN_eq_logical_flag | ( | WN * | wn | ) | [inline] |
INITO_IDX WN_ereg_supp | ( | const WN * | wn | ) | [inline] |
Definition at line 737 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by IPO_CLONE::Clone_Tree(), IPO_CLONE::Fix_INITO(), ir_put_wn(), Update_EHRegion_Inito_Used(), WN_CopyNode(), WN_CreateExcScopeBegin(), WN_CreateRegion(), and WN_Rename_Duplicate_Labels().
INITO_IDX& WN_ereg_supp | ( | WN * | wn | ) | [inline] |
UINT WN_field_id | ( | const WN * | wn | ) | [inline] |
Definition at line 748 of file wn_core.h.
References WN::common, and WN::kid_count.
Referenced by WN_Verifier::Field_id_valid(), field_type(), ir_put_wn(), Spill_And_Take_Address(), WN2C_Append_Assignment(), WN2C_compgoto(), WN2C_istore(), WN2C_lda(), WN2C_ldid(), WN2C_mload(), WN2C_mstore(), WN2C_stid(), WN2C_switch(), WN2F_strctfld(), WN_CopyNode(), WN_Create_Shared_Load(), WN_Create_Shared_Store(), WN_get_tld_type(), WN_object_ty(), WN_Simplify_Rebuild_Expr_Tree(), WN_Simplify_Tree(), and WN_Tree_Type().
Definition at line 773 of file wn_core.h.
References WN::block, and WN::u3.
Referenced by ANL_LOOP_CONSTRUCT::_Loop_Srcpos_Range(), ANL_REGION_CONSTRUCT::_Region_Srcpos_Range(), ANL_REGION_CONSTRUCT::_userEndParallel(), ANL_LOOP_CONSTRUCT::_Write_Loop_Directive(), ANL_REGION_CONSTRUCT::_Write_Region_Directive(), Add_Pragma_To_MP_Regions(), Allocate_All_Formals(), ANL_LOOP_CONSTRUCT::ANL_LOOP_CONSTRUCT(), ANL_REGION_CONSTRUCT::ANL_REGION_CONSTRUCT(), Append_Nest_Clauses(), Calc_Formal_Area(), IPO_CLONE::Clone_Tree(), Collect_Goodies(), cwh_stmt_conformance_checks_walk(), DRA_Collect_Commons(), DRA_EC_Array_Portion_Parms(), DRA_Read_Pragmas_In_Block(), draw_stmt(), ANL_FUNC_ENTRY::Emit_Nested_Original_Constructs(), ANL_FUNC_ENTRY::Emit_Original_Construct(), F90_Size_Walk(), Find_Alloca(), Find_Insertion_Point(), fix_tree(), Get_Enclosing_Parallel_Region(), Get_Implicit_Locals(), GetStSet(), GetTmpVarTransInfo(), Insert_Call(), IPA_WN_DELETE_Tree(), ir_b_write_tree(), ir_put_stmt(), Is_Grandparent_Region(), ANL_REGION_CONSTRUCT::Is_ProMpf_Region_Construct(), Is_Valid_Doacross(), Max_Arg_Area_Bytes(), MemCtr_Add_Local(), W2CF_TRANSLATOR::Nest_Clauses_To_String(), Node_Count(), Parentize(), Process_Fill_Align_Pragmas_Recursive(), process_wn(), Prompf_Assign_Ids_Traverse(), Prompf_Id_Type(), WN_Verifier::Proper_Block_Structure(), Recompute_addr_saved_stmt(), References_Some_Label(), REGION_search_block(), Remove_Skips(), Restore_Skips(), Rewrite_Pragmas_On_Structs(), Rewrite_Structs_In_MPRegion(), Set_addr_saved_stmt(), ST2F_func_header(), Tree_Equiv(), Update_EHRegion_Inito_Used(), Verify_addr_flags_stmt(), W2CF_Parentize(), WB_Parent_Search(), WN2C_block(), WN2C_comma(), WN2C_compgoto(), WN2C_func_entry(), WN2C_if(), WN2C_Is_Loop_Region(), WN2C_Is_Parallel_Region(), WN2C_rcomma(), WN2C_region(), WN2C_switch(), WN2F_block(), WN2F_compgoto(), WN2F_func_entry(), WN2F_if(), WN2F_Is_Loop_Region(), WN2F_Is_Parallel_Region(), WN2F_switch(), WN_block_element(), WN_COPY_Tree(), WN_COPY_Tree_With_Map(), WN_CreateBlock(), WN_DELETE_FromBlock(), WN_DELETE_Tree(), WN_EXTRACT_FromBlock(), WN_EXTRACT_ItemsFromBlock(), WN_INSERT_BlockAfter(), WN_INSERT_BlockBefore(), WN_Simplify_Tree(), WN_Verifier::WN_traverse_tree(), WN_TREE_put_stmt(), ANL_LOOP_CONSTRUCT::Write(), and ANL_REGION_CONSTRUCT::Write().
Definition at line 1162 of file wn_core.h.
References OPR_ASM_STMT, OPR_CALL, OPR_EQ, OPR_ICALL, OPR_IF, OPR_INTRINSIC_CALL, OPR_INTRINSIC_OP, OPR_IO, OPR_LOOP_INFO, OPR_NE, OPR_PARM, OPR_PICCALL, OPR_PREFETCH, OPR_PREFETCHX, OPR_REGION, WN_asm_flag(), WN_call_flag(), WN_eq_logical_flag(), WN_if_flag(), WN_io_flag(), WN_label_flag(), WN_loop_flag(), WN_operator(), and WN_prefetch_flag().
Referenced by ir_put_wn(), and WN_Equiv().
INT64 WN_Get_Linenum | ( | const WN * | wn | ) | [inline] |
Definition at line 1265 of file wn_core.h.
References OPCODE_has_next_prev(), WN_linenum(), and WN_opcode().
Referenced by cwh_stmt_insert_conformance_check(), DRA_Clone_Instantiate(), DRA_EC_Array_Portion_Parms(), DRA_Mangle_Call_Site(), DRA_New_Clone_Sig(), DRA_Read_Pragmas_In_Block(), Emit_To_PUinfo_Pragmas(), Fill_Align_Symbol(), Gen_Call_Array(), Gen_Free_Cart(), Gen_Malloc_Cart(), ir_put_stmt(), ir_put_wn(), New_DRA(), Put_Pragma_Start_With_Caveats(), WN2C_do_loop(), WN2C_do_while(), WN2C_func_entry(), WN2C_if(), WN2C_region(), WN2C_Translate_Comma_Sequence(), WN2C_translate_purple_main(), WN2C_Translate_Stmt_Sequence(), WN2C_while_do(), WN2F_agoto(), WN2F_call(), WN2F_compgoto(), WN2F_condbr(), WN2F_do_loop(), WN2F_do_while(), WN2F_func_entry(), WN2F_goto(), WN2F_if(), WN2F_intrinsic_call(), WN2F_label(), WN2F_OMP_or_PAR_Directive_Newline(), WN2F_pragma_list_end(), WN2F_process_pragma(), WN2F_return(), WN2F_return_val(), WN2F_translate_purple_main(), WN2F_unsupported(), WN2F_where(), WN2F_while_do(), WN_CreateRegion(), and WN_TREE_put_stmt().
WN_OFFSET WN_idname_offset | ( | const WN * | wn | ) | [inline] |
Definition at line 679 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by Append_Nest_Clauses(), cwh_io_split_io_items(), WN2F_do_loop(), WN_CreateIdname(), and wn_loop_get_st_ofst().
WN_OFFSET& WN_idname_offset | ( | WN * | wn | ) | [inline] |
UINT32 WN_if_flag | ( | const WN * | wn | ) | [inline] |
UINT32& WN_if_flag | ( | WN * | wn | ) | [inline] |
INTRINSIC WN_intrinsic | ( | const WN * | wn | ) | [inline] |
Definition at line 725 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by Append_CallSite(), Calc_Actual_Area(), Collect_Goodies(), cwh_io_analyse_io_item(), cwh_io_create_dope_from_item(), cwh_stk_is_byte_STR(), cwh_stmt_conformance_checks_walk(), F90_Size_Walk(), fei_stop(), Gen_Free_Cart(), Gen_Malloc_Cart(), Insert_Alloca(), ir_put_wn(), MemCtr_Add_Local(), WN2C_call(), WN2C_intrinsic_op(), WN2F_call(), WN2F_Intr_Funcall(), WN2F_intrinsic_call(), WN2F_intrinsic_op(), WN2F_String_Argument(), WN_Convert_Shared_To_Local(), WN_Create_Generic(), WN_Create_Intrinsic(), WN_Create_PtrEq_Test(), WN_Create_Shared_Load(), WN_Create_Shared_Ptr_Arithmetic(), WN_Create_Shared_Ptr_Diff(), WN_Create_Shared_Store(), WN_Create_StoP_Cvt(), WN_Equiv(), WN_SetNull_Sptr(), WN_Simplify_Rebuild_Expr_Tree(), WN_Simplify_Tree(), WN_Solve_For(), and WN_Tree_Type().
INTRINSIC& WN_intrinsic | ( | WN * | wn | ) | [inline] |
UINT32 WN_io_flag | ( | const WN * | wn | ) | [inline] |
UINT32& WN_io_flag | ( | WN * | wn | ) | [inline] |
IOITEM WN_io_item | ( | const WN * | wn | ) | [inline] |
Definition at line 729 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by ANL_VARLIST::_Get_Io_Item_Lda_Access_Status(), Count_WN_Node(), cwh_io_analyse_io_statement(), cwh_io_create_dopes(), cwh_io_ioitem(), cwh_io_split_io_items(), cwh_io_split_io_statement(), fei_IO_list(), WN2F_io(), WN2F_io_format(), WN2F_io_unit(), WN2F_ios_cr(), WN2F_ios_definefile(), WN_CreateIoItem0(), WN_CreateIoItem1(), WN_CreateIoItem2(), WN_CreateIoItem3(), and WN_CreateIoItemN().
IOITEM& WN_io_item | ( | WN * | wn | ) | [inline] |
IOSTATEMENT WN_io_statement | ( | const WN * | wn | ) | [inline] |
Definition at line 727 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by ANL_VARLIST::_Get_Io_Item_Lda_Access_Status(), cwh_io_split_io_statement(), WN2F_ios_definefile(), and WN_CreateIo().
IOSTATEMENT& WN_io_statement | ( | WN * | wn | ) | [inline] |
BOOL WN_Is_Volatile_Mem | ( | const WN * | wn | ) | [inline] |
Definition at line 1276 of file wn_core.h.
References DevAssert, FALSE, OPCODE_has_1ty(), OPCODE_has_2ty(), OPCODE_operator(), OPR_ISTORE, OPR_MSTORE, OPR_PSTORE, TY_is_volatile(), TY_pointed(), Ty_Table, WN_load_addr_ty(), WN_opcode(), and WN_ty().
Referenced by simp_cvt(), and WN_Can_Be_Speculative().
Definition at line 758 of file wn_core.h.
References WN::kids, and WN::u3.
Referenced by arrsection_to_array(), WN_Verifier::Call_children_are_PARM(), cleanUpPUInfo(), IPO_CLONE::Clone_Tree(), Collect_Goodies(), collectst(), Count_WN_Node(), cwh_addr_add_bound(), cwh_addr_array(), cwh_addr_array1(), cwh_addr_f90_pointer_reference_ls(), cwh_addr_nonc_recast(), cwh_addr_WN_ST(), cwh_directive_barrier_insert(), cwh_dope_from_expression(), cwh_expr_extract_arrayexp(), cwh_inline_allocate(), cwh_io_analyse_arr(), cwh_io_analyse_index_expr(), cwh_io_analyse_io_item(), cwh_io_analyse_io_statement(), cwh_io_conv_array_to_dope(), cwh_io_conv_arrsection_to_dope(), cwh_io_create_dope_from_item(), cwh_io_create_dopes(), cwh_io_no_desc(), cwh_io_search_implied_do_index(), cwh_io_split_io_items(), cwh_io_split_io_statement(), cwh_stk_pop_iostmt(), cwh_stmt_call_helper(), cwh_stmt_conformance_checks_walk(), cwh_stmt_init_pu(), cwh_types_array_temp_TY(), cwh_types_WN_TY(), DRA_Collect_Commons(), DRA_EC_Array_Portion_Parms(), DRA_Insert_Pragmas(), DRA_Mangle_Call_Site(), DRA_New_Clone_Sig(), DRA_Preprocess_Call_Site(), draw_expr(), draw_stmt(), F90_Size_Walk(), F90_Wrap_ARREXP(), fei_allocate(), fei_array_construct(), fei_close(), fei_control_list(), fei_entry_pt(), fei_gen_func_entry(), fei_implied_do(), fei_inquire(), fei_interface(), fei_iolength(), fei_namelist(), fei_noio_implied_do(), fei_nullify(), fei_open(), fei_use(), Find_Insertion_Point(), fix_tree(), Gen_Call_Array(), Get_Implicit_Locals(), GetStSet(), IPA_WN_DELETE_Tree(), ir_b_write_tree(), ir_put_expr(), ir_put_stmt(), Is_Exp_Linexable(), Max_Arg_Area_Bytes(), New_DRA(), Node_Count(), Parentize(), Process_Fill_Align_Pragmas_Recursive(), process_wn(), Prompf_Assign_Ids_Traverse(), Recompute_addr_saved_stmt(), References_Some_Label(), Rewrite_Pragmas_On_Structs(), Rewrite_Structs_In_MPRegion(), Set_addr_saved_expr(), Set_addr_saved_stmt(), ST2F_func_header(), Substitute_1_For_Impdo_Index_Val(), Tree_Equiv(), Update_EHRegion_Inito_Used(), Verify_addr_flags_stmt(), Verify_addr_saved_expr(), W2CF_Parentize(), WB_Parent_Search(), WN2C_call(), WN2C_compgoto(), WN2C_dealloca(), WN2C_intrinsic_op(), WN2C_istorex(), WN2C_madd(), WN2C_mstore(), WN2C_msub(), WN2C_nmadd(), WN2C_nmsub(), WN2C_select(), WN2F_Append_IO_CtrlList(), WN2F_Append_IO_List(), WN2F_ar_construct(), WN2F_Binary_Substr_Op(), WN2F_bnor(), WN2F_call(), WN2F_compgoto(), WN2F_dealloca(), WN2F_Get_DoLoop_Bound(), WN2F_Get_Next_LoopBoundOp(), WN2F_implied_do(), WN2F_interface_blk(), WN2F_Intr_Funcall(), WN2F_intrinsic_call(), WN2F_io(), WN2F_io_format(), WN2F_io_list(), WN2F_ios_cr(), WN2F_ios_decode(), WN2F_ios_definefile(), WN2F_ios_encode(), WN2F_ios_inqlength(), WN2F_ios_print(), WN2F_ios_read(), WN2F_ios_rewrite(), WN2F_ios_write(), WN2F_lshr(), WN2F_madd(), WN2F_msub(), WN2F_namelist_stmt(), WN2F_nmadd(), WN2F_nmsub(), WN2F_noio_implied_do(), WN2F_nullify_stmt(), WN2F_recip(), WN2F_return(), WN2F_rsqrt(), WN_COPY_Tree(), WN_COPY_Tree_With_Map(), WN_Create_Intrinsic(), WN_CreateAssert(), WN_CreateCompgoto(), WN_CreateExp3(), WN_CreateIoItem3(), WN_CreateIstorex(), WN_CreateMstore(), WN_CreateXgoto(), WN_DELETE_Tree(), WN_Expr_Can_Be_Speculative(), WN_has_side_effects(), WN_num_actuals(), WN_SimpCreateExp3(), WN_Simplify_Rebuild_Expr_Tree(), WN_Simplify_Tree(), WN_Symbol_Count(), WN_Verifier::WN_traverse_tree(), WN_TREE_put_stmt(), WN_WALK_SCFNext(), WN_WALK_StmtNext(), and WN_WALK_TreeNext().
Definition at line 760 of file wn_core.h.
References WN::kids, and WN::u3.
Referenced by W2CF_TRANSLATOR::_Get_Expr_Pointed_Ty(), ANL_VARLIST::_Get_Lda_Access_Status(), W2CF_TRANSLATOR::_Is_Ptr_Expr(), W2CF_TRANSLATOR::_Rev_Clause_Exprs_To_String(), ANL_PRAGMA_ATTRIBUTE::_Write_Distribution(), W2CF_TRANSLATOR::A_Pragma_Expr_To_String(), Accumulate_Expr_PUinfo(), Actual_data_size(), Append_Array_Segment(), Append_Clause_Expressions(), Append_Distribution(), Append_Pragma_Clauses(), Append_Prefetch_Attributes(), Append_ReturnSite(), Array_Element_Then_Struct(), arrsection_to_array(), cleanUpPUInfo(), Collect_Goodies(), Count_WN_Node(), cwh_addr_do_bounds_check(), cwh_addr_f90_pointer_reference(), cwh_addr_f90_pointer_reference_ls(), cwh_addr_find_address(), cwh_addr_find_section(), cwh_addr_nonc_recast(), cwh_addr_nonc_util(), cwh_addr_src_triplet(), cwh_addr_triplet(), cwh_addr_ubound_from_triplet(), cwh_addr_WN_ST(), cwh_addr_zero_based(), cwh_dope_from_expression(), cwh_expr_extract_arrayexp(), cwh_expr_restore_arrayexp(), cwh_io_analyse_arr(), cwh_io_analyse_index_expr(), cwh_io_analyse_io_item(), cwh_io_conv_array_to_dope(), cwh_io_conv_arrsection_to_dope(), cwh_io_create_dope_from_item(), cwh_io_no_desc(), cwh_io_split_io_items(), cwh_io_split_io_statement(), cwh_mp_region(), cwh_stk_is_byte_STR(), cwh_stmt_add_parallel_pragmas(), cwh_stmt_add_xpragma(), cwh_stmt_call_helper(), cwh_types_copyin_pragma(), cwh_types_WN_TY(), Does_Stmt_Store_From_Preg(), Exp_To_Linex_Array(), F90_Get_Dim(), F90_Size_Walk(), F90_Wrap_ARREXP(), fei_allocate(), fei_arg_addr(), fei_arith_goto(), fei_close(), fei_control_list(), fei_copyin_bound(), fei_descriptor(), fei_field_dot(), fei_inquire(), fei_iolength(), fei_new_select(), fei_open(), fei_redistribute(), fei_seq_subscr(), fei_stop(), fei_task_var(), fei_where(), Fill_Align_Symbol(), Find_Address_Base(), Find_Insertion_Point(), Find_Reduction_Symbol(), find_stmt(), Gen_Free_Cart(), Gen_Malloc_Cart(), get_base_and_offset(), Insert_Alloca(), ANL_VARLIST::Insert_Var_Refs(), Is_Constant_Tree(), Is_Exp_Linexable(), Machine_Type(), MemCtr_Add_Common(), MemCtr_Add_Global(), MemCtr_Add_Local(), W2CF_TRANSLATOR::Prefetch_Attributes_To_String(), Recompute_addr_saved_stmt(), Rewrite_Pragmas_On_Structs(), Rewrite_Structs_In_MPRegion(), Set_addr_saved_stmt(), Strip_TAS(), TAS_To_TOP(), True_Bound(), Var_Loaded_From(), Verify_addr_flags_stmt(), Weird_Array_Element(), WN2C_alloca(), WN2C_array(), WN2C_binaryop(), WN2C_bnor(), WN2C_call(), WN2C_comma(), WN2C_complex(), WN2C_cvt(), WN2C_cvtl(), WN2C_eval(), WN2C_extract_bits(), WN2C_Function_Call_Lhs(), WN2C_Function_Return_Value(), WN2C_iload(), WN2C_iloadx(), WN2C_imagpart(), WN2C_infix_op(), WN2C_is_pointer_diff(), WN2C_istore(), WN2C_istorex(), WN2C_lvalue_wn(), WN2C_madd(), WN2C_mload(), WN2C_mstore(), WN2C_msub(), WN2C_nmadd(), WN2C_nmsub(), WN2C_paren(), WN2C_parm(), WN2C_prefetch(), WN2C_process_pragma(), WN2C_rcomma(), WN2C_realpart(), WN2C_return_val(), WN2C_select(), WN2C_stid(), WN2C_tas(), WN2C_unaryop(), WN2F_agoto(), WN2F_alloca(), WN2F_array(), WN2F_Array_Slots(), WN2F_arrayexp(), WN2F_arrsection(), WN2F_ashr(), WN2F_binaryop(), WN2F_call(), WN2F_ceil(), WN2F_complex(), WN2F_cvt(), WN2F_cvtl(), WN2F_Denormalize_Array_Idx(), WN2F_eq(), WN2F_eval(), LOC_INFO::WN2F_Find_And_Mark_Nested_Address(), WN2F_Find_Base(), WN2F_floor(), WN2F_Function_Call_Lhs(), WN2F_Get_DoLoop_Bound(), WN2F_Get_DoLoop_StepSize(), WN2F_Get_Next_LoopBoundOp(), WN2F_Get_Substring_Info(), WN2F_iload(), WN2F_imagpart(), WN2F_Intr_Funcall(), WN2F_intrinsic_call(), WN2F_intrinsic_op(), WN2F_io_control(), WN2F_io_format(), WN2F_io_list(), WN2F_io_unit(), WN2F_ios_accept(), WN2F_ios_backspace(), WN2F_ios_cr(), WN2F_ios_decode(), WN2F_ios_definefile(), WN2F_ios_encode(), WN2F_ios_endfile(), WN2F_ios_inqlength(), WN2F_ios_print(), WN2F_ios_read(), WN2F_ios_rewind(), WN2F_ios_type(), WN2F_ios_unlock(), WN2F_istore(), WN2F_LoopBound_VarRef(), WN2F_mload(), WN2F_mstore(), WN2F_ne(), WN2F_noio_implied_do(), WN2F_nullify_stmt(), WN2F_Offset_Memref(), WN2F_OLD_Den_Arr_Idx(), WN2F_paren(), WN2F_parm(), WN2F_prefetch(), WN2F_process_pragma(), WN2F_pstid(), WN2F_pstore(), WN2F_realpart(), WN2F_recip(), WN2F_return(), WN2F_return_val(), WN2F_select(), WN2F_src_triplet(), WN2F_stid(), WN2F_strctfld(), WN2F_String_Argument(), WN2F_Sum_Offsets(), WN2F_switch(), WN2F_tas(), WN2F_tempvar_rhs(), WN2F_triplet(), WN2F_unaryop(), WN2F_where(), WN_Convert_Shared_To_Local(), WN_Create_PtrEq_Test(), WN_Create_Shared_Load(), WN_Create_Shared_Ptr_Arithmetic(), WN_Create_Shared_Ptr_Diff(), WN_Create_Shared_Store(), WN_Create_StoP_Cvt(), WN_CreateAffirm(), WN_CreateAgoto(), WN_CreateAlloca(), WN_CreateAsm_Input(), WN_CreateComma(), WN_CreateCompgoto(), WN_CreateEval(), WN_CreateExp1(), WN_CreateExp2(), WN_CreateExp3(), WN_CreateFalsebr(), WN_CreateIoItem1(), WN_CreateIoItem2(), WN_CreateIoItem3(), WN_CreateIstore(), WN_CreateIstorex(), WN_CreateMstore(), WN_CreatePrefetch(), WN_CreatePrefetchx(), WN_CreatePStid(), WN_CreatePstore(), WN_CreateRcomma(), WN_CreateReturn_Val(), WN_CreateStid(), WN_CreateTruebr(), WN_CreateXgoto(), WN_Get_PtrAdd_Intconst(), WN_get_tld_type(), WN_has_side_effects(), WN_intrinsic_return_ty(), WN_LOOP_Increment(), WN_LOOP_LowerBound(), WN_LOOP_UpperBound(), WN_set_st_addr_saved(), WN_SetNull_Sptr(), WN_SimpCreateCvtl(), WN_SimpCreateDeposit(), WN_SimpCreateExp1(), WN_SimpCreateExp2(), WN_SimpCreateExp3(), WN_SimpCreateExtract(), WN_Simplify_Rebuild_Expr_Tree(), WN_Simplify_Tree(), WN_Solve_For(), WN_Tree_Type(), and WN_Upper_Bound_Standardize().
Definition at line 762 of file wn_core.h.
References WN::kids, and WN::u3.
Referenced by W2CF_TRANSLATOR::_Get_Expr_Pointed_Ty(), ANL_VARLIST::_Get_Lda_Access_Status(), W2CF_TRANSLATOR::_Is_Ptr_Expr(), Actual_data_size(), arrsection_to_array(), Collect_Goodies(), cwh_addr_do_bounds_check(), cwh_addr_f90_pointer_reference_ls(), cwh_addr_find_section(), cwh_addr_nonc_util(), cwh_addr_src_triplet(), cwh_addr_triplet(), cwh_addr_ubound_from_triplet(), cwh_dope_from_expression(), cwh_io_analyse_index_expr(), cwh_io_conv_array_to_dope(), cwh_io_conv_arrsection_to_dope(), cwh_io_no_desc(), cwh_io_split_io_items(), ANL_FUNC_ENTRY::Emit_Nested_Original_Constructs(), Exp_To_Linex_Array(), F90_Size_Walk(), fei_allocate(), fei_arith_goto(), fei_close(), fei_inquire(), fei_iolength(), fei_open(), fei_stop(), fei_where(), WN_Verifier::Field_id_valid(), Find_Address_Base(), get_base_and_offset(), GetTmpVarTransInfo(), Is_Constant_Tree(), Is_Exp_Linexable(), MemCtr_Add_Common(), MemCtr_Add_Global(), MemCtr_Add_Local(), Rewrite_Structs_In_MPRegion(), Spill_Shared_Load(), Var_Stored_In(), Whirl2Src_Translate_Istore_Str(), WN2C_binaryop(), WN2C_bnor(), WN2C_comma(), WN2C_complex(), WN2C_compose_bits(), WN2C_Function_Call_Lhs(), WN2C_iloadx(), WN2C_infix_op(), WN2C_is_pointer_diff(), WN2C_istore(), WN2C_istorex(), WN2C_lvalue_wn(), WN2C_madd(), WN2C_mload(), WN2C_mstore(), WN2C_msub(), WN2C_nmadd(), WN2C_nmsub(), WN2C_prefetch(), WN2C_rcomma(), WN2C_select(), WN2F_array(), WN2F_ashr(), WN2F_binaryop(), WN2F_comma(), WN2F_complex(), WN2F_Denormalize_Array_Idx(), WN2F_eq(), LOC_INFO::WN2F_Find_And_Mark_Nested_Address(), WN2F_Find_Base(), WN2F_Function_Call_Lhs(), WN2F_Get_DoLoop_Bound(), WN2F_Get_DoLoop_StepSize(), WN2F_Get_Next_LoopBoundOp(), WN2F_Get_Substring_Info(), WN2F_intrinsic_call(), WN2F_intrinsic_op(), WN2F_io_control(), WN2F_io_format(), WN2F_io_list(), WN2F_ios_decode(), WN2F_ios_encode(), WN2F_ios_namelist(), WN2F_ios_read(), WN2F_istore(), WN2F_LoopBound_VarRef(), WN2F_mstore(), WN2F_ne(), WN2F_noio_implied_do(), WN2F_OLD_Den_Arr_Idx(), WN2F_prefetch(), WN2F_pstore(), WN2F_select(), WN2F_src_triplet(), WN2F_String_Argument(), WN2F_Sum_Offsets(), WN2F_switch(), WN2F_triplet(), WN2F_where(), WN_Can_Be_Speculative(), WN_Convert_Shared_To_Local(), WN_Create_PtrEq_Test(), WN_Create_Shared_Load(), WN_Create_Shared_Ptr_Arithmetic(), WN_Create_Shared_Ptr_Diff(), WN_Create_Shared_Store(), WN_CreateComma(), WN_CreateExp2(), WN_CreateExp3(), WN_CreateIoItem2(), WN_CreateIoItem3(), WN_CreateIstore(), WN_CreateIstorex(), WN_CreateMstore(), WN_CreatePrefetchx(), WN_CreatePStid(), WN_CreatePstore(), WN_CreateRcomma(), WN_CreateStid(), WN_Get_PtrAdd_Intconst(), WN_has_side_effects(), WN_LOOP_Increment(), WN_LOOP_UpperBound(), WN_object_size(), WN_set_st_addr_saved(), WN_SetNull_Sptr(), WN_SimpCreateDeposit(), WN_SimpCreateExp2(), WN_SimpCreateExp3(), WN_Simplify_Rebuild_Expr_Tree(), WN_Simplify_Tree(), WN_Solve_For(), WN_Tree_Type(), and WN_Upper_Bound_Standardize().
Definition at line 764 of file wn_core.h.
References WN::kids, and WN::u3.
Referenced by arrsection_to_array(), cwh_addr_nonc_recast(), cwh_addr_src_triplet(), cwh_addr_triplet(), cwh_addr_ubound_from_triplet(), cwh_dope_from_expression(), cwh_io_analyse_io_item(), cwh_io_split_io_items(), ANL_FUNC_ENTRY::Emit_Nested_Original_Constructs(), F90_Size_Walk(), fei_else(), fei_where(), WN_Verifier::Field_id_valid(), MemCtr_Add_Common(), MemCtr_Add_Global(), MemCtr_Add_Local(), WN2F_io_list(), WN2F_select(), WN2F_src_triplet(), WN2F_switch(), WN2F_triplet(), WN2F_where(), WN_Create_Shared_Load(), WN_Create_Shared_Ptr_Arithmetic(), WN_Create_Shared_Ptr_Diff(), WN_Create_Shared_Store(), WN_has_side_effects(), WN_object_size(), and WN_set_st_addr_saved().
Definition at line 766 of file wn_core.h.
References WN::kids, and WN::u3.
Referenced by MemCtr_Add_Common(), MemCtr_Add_Local(), WN_Create_Shared_Load(), WN_Create_Shared_Ptr_Arithmetic(), WN_Create_Shared_Ptr_Diff(), and WN_Create_Shared_Store().
INT WN_kid_count | ( | const WN * | wn | ) | [inline] |
Definition at line 746 of file wn_core.h.
References WN::common, WN::kid_count, OPERATOR_nkids(), and WN_operator().
Referenced by Allocate_All_Formals(), arrsection_to_array(), Calc_Formal_Area(), WN_Verifier::Call_children_are_PARM(), IPO_CLONE::Clone_Tree(), Collect_Goodies(), collectst(), IPO_CLONE::Copy_Node(), Count_WN_Node(), cwh_addr_add_bound(), cwh_addr_f90_pointer_reference_ls(), cwh_addr_nonc_recast(), cwh_addr_nonc_util(), cwh_dope_from_expression(), cwh_expr_extract_arrayexp(), cwh_io_analyse_arr(), cwh_io_analyse_io_item(), cwh_io_analyse_io_statement(), cwh_io_conv_array_to_dope(), cwh_io_conv_arrsection_to_dope(), cwh_io_create_dope_from_item(), cwh_io_create_dopes(), cwh_io_search_implied_do_index(), cwh_io_split_io_items(), cwh_io_split_io_statement(), cwh_stmt_conformance_checks_walk(), cwh_types_array_temp_TY(), DRA_Collect_Commons(), DRA_EC_Array_Portion_Parms(), DRA_Mangle_All(), draw_expr(), draw_stmt(), F90_Size_Walk(), fix_tree(), Get_Implicit_Locals(), IPA_WN_DELETE_Tree(), ir_b_write_tree(), ir_put_expr(), ir_put_stmt(), ir_put_wn(), Is_Exp_Linexable(), Max_Arg_Area_Bytes(), Node_Count(), Parentize(), Process_Fill_Align_Pragmas_Recursive(), process_wn(), Prompf_Assign_Ids_Traverse(), Recompute_addr_saved_stmt(), References_Some_Label(), Rewrite_Pragmas_On_Structs(), Rewrite_Structs_In_MPRegion(), Set_addr_saved_expr(), Set_addr_saved_stmt(), ST2F_func_header(), Substitute_1_For_Impdo_Index_Val(), Tree_Equiv(), Update_EHRegion_Inito_Used(), Verify_addr_flags_stmt(), Verify_addr_saved_expr(), W2CF_Parentize(), WB_Parent_Search(), WN2C_binaryop(), WN2C_call(), WN2C_dealloca(), WN2C_intrinsic_op(), WN2C_unaryop(), WN2F_Append_IO_List(), WN2F_ar_construct(), WN2F_ashr(), WN2F_binaryop(), WN2F_call(), WN2F_ceil(), WN2F_dealloca(), WN2F_Entry_Point(), WN2F_floor(), WN2F_Get_Named_Param(), WN2F_implied_do(), WN2F_interface_blk(), WN2F_Intr_Funcall(), WN2F_intrinsic_call(), WN2F_intrinsic_op(), WN2F_io(), WN2F_io_control(), WN2F_io_format(), WN2F_io_list(), WN2F_ios_accept(), WN2F_ios_backspace(), WN2F_ios_close(), WN2F_ios_cr(), WN2F_ios_decode(), WN2F_ios_definefile(), WN2F_ios_delete(), WN2F_ios_encode(), WN2F_ios_endfile(), WN2F_ios_find(), WN2F_ios_inqlength(), WN2F_ios_inquire(), WN2F_ios_namelist(), WN2F_ios_open(), WN2F_ios_print(), WN2F_ios_read(), WN2F_ios_rewind(), WN2F_ios_rewrite(), WN2F_ios_type(), WN2F_ios_unlock(), WN2F_ios_write(), WN2F_namelist_stmt(), WN2F_nullify_stmt(), WN2F_return(), WN2F_switch(), WN2F_unaryop(), WN_COPY_Tree(), WN_COPY_Tree_With_Map(), WN_CopyNode(), WN_DELETE_Tree(), WN_Equiv(), WN_Expr_Can_Be_Speculative(), WN_has_side_effects(), WN_num_actuals(), WN_Simplify_Rebuild_Expr_Tree(), WN_Simplify_Tree(), WN_Size(), WN_Size_and_StartAddress(), WN_Solve_For(), WN_Symbol_Count(), WN_Verifier::WN_traverse_tree(), WN_TREE_put_stmt(), WN_WALK_SCFNext(), WN_WALK_StmtNext(), and WN_WALK_TreeNext().
UINT32 WN_label_flag | ( | const WN * | wn | ) | [inline] |
Definition at line 771 of file wn_core.h.
References WN::label_flag_fields, and WN::u3.
Referenced by WN_CreateLabel(), WN_flag(), and WN_set_flag().
UINT32& WN_label_flag | ( | WN * | wn | ) | [inline] |
Definition at line 772 of file wn_core.h.
References WN::label_flag_fields, and WN::u3.
UINT32 WN_label_level | ( | const WN * | wn | ) | [inline] |
Definition at line 701 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by WN_CreateGotoOuterBlock().
UINT32& WN_label_level | ( | WN * | wn | ) | [inline] |
INT32 WN_label_number | ( | const WN * | wn | ) | [inline] |
Definition at line 687 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by cwh_io_split_io_items(), IPO_CLONE::Fix_ST(), ir_put_wn(), comp_same_label_no::operator()(), References_Some_Label(), WN2C_append_label_name(), WN2F_casegoto(), WN2F_compgoto(), WN2F_condbr(), WN2F_goto(), WN2F_io_control(), WN2F_label(), WN_Create_Generic(), WN_CreateCasegoto(), WN_CreateFalsebr(), WN_CreateGoto(), WN_CreateGotoOuterBlock(), WN_CreateLabel(), WN_CreateRegionExit(), WN_CreateTruebr(), WN_Equiv(), WN_LdaLabel(), WN_Rename_Duplicate_Labels(), and WN_Tree_Has_Duplicate_Labels().
INT32& WN_label_number | ( | WN * | wn | ) | [inline] |
Definition at line 775 of file wn_core.h.
References WN::block, and WN::u3.
Referenced by IPO_CLONE::Clone_Tree(), cwh_stmt_select_char(), ANL_FUNC_ENTRY::Emit_Nested_Original_Constructs(), ANL_FUNC_ENTRY::Emit_Original_Construct(), fei_new_select(), fix_tree(), ir_b_write_tree(), Is_Valid_Doacross(), WN_Verifier::Proper_Block_Structure(), Remove_Skips(), Restore_Skips(), WN2F_return(), WN_block_element(), WN_COPY_Tree(), WN_COPY_Tree_With_Map(), WN_CreateBlock(), WN_DELETE_FromBlock(), WN_EXTRACT_FromBlock(), WN_EXTRACT_ItemsFromBlock(), WN_INSERT_BlockAfter(), WN_INSERT_BlockBefore(), WN_Simplify_Tree(), WN_WALK_SCFNext(), WN_WALK_StmtNext(), WN_WALK_TreeNext(), ANL_LOOP_CONSTRUCT::Write(), and ANL_REGION_CONSTRUCT::Write().
INT32 WN_last_label | ( | const WN * | wn | ) | [inline] |
Definition at line 735 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by IPO_CLONE::Fix_ST(), ir_put_wn(), References_Some_Label(), WN_CreateCompgoto(), WN_CreateSwitch(), and WN_Rename_Duplicate_Labels().
INT32& WN_last_label | ( | WN * | wn | ) | [inline] |
WN_OFFSET WN_lda_offset | ( | const WN * | wn | ) | [inline] |
Definition at line 675 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by cwh_mp_region(), Get_Implicit_Locals(), Var_Loaded_From(), Var_Stored_In(), WN2C_lda(), LOC_INFO::WN2F_Find_And_Mark_Nested_Address(), WN2F_lda(), and WN2F_Offset_Memref().
WN_OFFSET& WN_lda_offset | ( | WN * | wn | ) | [inline] |
mUINT64 WN_linenum | ( | const WN * | wn | ) | [inline] |
Definition at line 936 of file wn_core.h.
References WN_CAST_WN_TO_STMT_WN.
Referenced by ANL_SRCPOS::ANL_SRCPOS(), IPO_CLONE::Copy_Node(), WN2C_dealloca(), WN2F_dealloca(), WN2F_io(), WN2F_io_control(), WN2F_istore(), WN2F_istorex(), WN2F_mstore(), WN2F_pstid(), WN2F_pstore(), WN2F_stid(), WN2F_where(), WN_CopyNode(), WN_Get_Linenum(), and WN_Set_Linenum().
mUINT64& WN_linenum | ( | WN * | wn | ) | [inline] |
Definition at line 937 of file wn_core.h.
References WN_CAST_WN_TO_STMT_WN.
TY_IDX WN_load_addr_ty | ( | const WN * | wn | ) | [inline] |
Definition at line 1134 of file wn_core.h.
References OPR_ILDBITS, OPR_ILOAD, WN::ty_fields, WN::u1u2, WN::u3, WN::uu, and WN_operator().
Referenced by cwh_addr_f90_pointer_reference(), ir_put_wn(), is_f90_pointer(), WN_Verifier::Load_addr_TY_is_not_NULL(), WN2C_iload(), WN2C_iloadx(), WN2F_iload(), WN2F_strctfld(), WN_Create_Shared_Load(), WN_Equiv(), WN_has_side_effects(), WN_Is_Volatile_Mem(), WN_Simplify_Rebuild_Expr_Tree(), WN_Simplify_Tree(), and WN_Tree_Type().
WN_OFFSET WN_load_offset | ( | const WN * | wn | ) | [inline] |
Definition at line 673 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by Accumulate_Expr_PUinfo(), cwh_io_conv_array_to_dope(), cwh_io_conv_arrsection_to_dope(), cwh_mp_region(), Does_Stmt_Store_From_Preg(), fei_assert(), Get_Implicit_Locals(), SIMPNODE_GetDefinition(), Var_Loaded_From(), WN2C_create_ref_param_lda(), WN2C_iload(), WN2C_iloadx(), WN2C_istorex(), WN2C_ldid(), WN2C_mload(), WN2C_mstore(), WN2F_iload(), WN2F_ldid(), WN2F_mload(), WN_CreateIlda(), WN_CreateIload(), WN_CreateIloadx(), WN_CreateLda(), WN_CreateLdid(), WN_CreateLdma(), WN_CreateMload(), wn_loop_get_st_ofst(), WN_Simplify_Rebuild_Expr_Tree(), WN_Simplify_Tree(), and WN_Tree_Type().
WN_OFFSET& WN_load_offset | ( | WN * | wn | ) | [inline] |
mUINT16 WN_loop_depth | ( | const WN * | wn | ) | [inline] |
Definition at line 705 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by ir_put_wn(), and WN_CreateLoopInfo().
mUINT16& WN_loop_depth | ( | WN * | wn | ) | [inline] |
UINT32 WN_loop_flag | ( | const WN * | wn | ) | [inline] |
Definition at line 733 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by WN_CreateLoopInfo(), WN_flag(), and WN_set_flag().
UINT32& WN_loop_flag | ( | WN * | wn | ) | [inline] |
mUINT16 WN_loop_trip_est | ( | const WN * | wn | ) | [inline] |
Definition at line 703 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by ir_put_wn(), and WN_CreateLoopInfo().
mUINT16& WN_loop_trip_est | ( | WN * | wn | ) | [inline] |
Definition at line 755 of file wn_core.h.
References WN::common, and WN::map_id.
Referenced by IPO_CLONE::Copy_Node(), fix_tree(), id_str(), IPA_WN_MAP32_Get(), IPA_WN_MAP64_Get(), IPA_WN_MAP_Get(), IPA_WN_Move_Maps_PU(), ir_put_wn(), WN2C_create_ref_param_lda(), WN2F_Initiate_OneInt(), WN2F_Initiate_ZeroInt(), WN_Create(), WN_MAP_Add_Free_List(), and WN_MAP_get_map_id().
Definition at line 756 of file wn_core.h.
References WN::common, and WN::map_id.
Definition at line 934 of file wn_core.h.
References next, and WN_CAST_WN_TO_STMT_WN.
Referenced by W2CF_TRANSLATOR::_Array_Segment_To_String(), W2CF_TRANSLATOR::_Clause_Exprs_To_String(), W2CF_TRANSLATOR::_Clause_Symbols_To_String(), ANL_PRAGMA_CONSTRUCT::_Find_Pragma_End_Stmt(), ANL_PRAGMA_CONSTRUCT::_Get_Max_Construct_Srcpos(), ANL_LOOP_CONSTRUCT::_Last_Loop_Stmt(), ANL_REGION_CONSTRUCT::_Last_Region_Stmt(), ANL_LOOP_CONSTRUCT::_Loop_Srcpos_Range(), ANL_REGION_CONSTRUCT::_Region_Srcpos_Range(), W2CF_TRANSLATOR::_Rev_Clause_Exprs_To_String(), W2CF_TRANSLATOR::_Skip_Ignored_Clauses(), ANL_REGION_CONSTRUCT::_userEndParallel(), ANL_PRAGMA_ATTRIBUTE::_Write_Distribution(), ANL_LOOP_CONSTRUCT::_Write_Loop_Directive(), ANL_PRAGMA_ATTRIBUTE::_Write_Pragma(), ANL_PRAGMA_ATTRIBUTE::_Write_Pragma_Arguments(), ANL_PRAGMA_CONSTRUCT::_Write_Pragma_Directives(), ANL_REGION_CONSTRUCT::_Write_Region_Directive(), Add_Pragma_To_MP_Regions(), Allocate_All_Formals(), Append_Array_Segment(), Append_Clause_Expressions(), Append_Clause_Symbols(), Append_Distribution(), Append_Nest_Clauses(), Append_Pragma_Clauses(), Append_Reduction_Clause(), Calc_Formal_Area(), W2CF_TRANSLATOR::ClauseList_To_String(), IPO_CLONE::Clone_Tree(), Collect_Goodies(), cwh_stmt_conformance_checks_walk(), Delete_Dist_Reshape_Pragmas(), DRA_Collect_Commons(), DRA_EC_Array_Portion_Parms(), DRA_Read_Pragmas_In_Block(), draw_stmt(), ANL_FUNC_ENTRY::Emit_Nested_Original_Constructs(), F90_Size_Walk(), Fill_Align_Symbol(), Find_Alloca(), Find_Insertion_Point(), find_stmt(), fix_tree(), Get_Implicit_Locals(), ANL_FUNC_ENTRY::Get_Pragma_Srcpos_Range(), Get_Preamble_End(), GetStSet(), GetTmpVarTransInfo(), Ignore_Synchronized_Construct(), Insert_Call(), IPA_WN_DELETE_Tree(), ir_b_write_tree(), ir_put_stmt(), Is_Grandparent_Region(), ANL_PRAGMA_ATTRIBUTE::Is_ProMpf_Pragma_Attribute(), Max_Arg_Area_Bytes(), MemCtr_Add_Local(), W2CF_TRANSLATOR::Nest_Clauses_To_String(), New_DRA(), ANL_PRAGMA_CONSTRUCT::Next_Stmt(), ANL_LOOP_CONSTRUCT::Next_Stmt(), ANL_REGION_CONSTRUCT::Next_Stmt(), ANL_PRAGMA_ATTRIBUTE::Next_Stmt(), Node_Count(), Parentize(), Preg_Is_In_Clause_List(), Process_Fill_Align_Pragmas_Recursive(), process_wn(), Prompf_Assign_Ids_Traverse(), WN_Verifier::Proper_Block_Structure(), Recompute_addr_saved_stmt(), References_Some_Label(), REGION_search_block(), Remove_Skips(), Restore_Skips(), Rewrite_Pragmas_On_Structs(), Rewrite_Structs_In_MPRegion(), Set_addr_saved_stmt(), Skip_Ignored_Clauses(), Skip_Pragma_Clauses(), ST2F_func_header(), WN_Verifier::STID_check_st_class(), Tree_Equiv(), Update_EHRegion_Inito_Used(), Verify_addr_flags_stmt(), W2CF_Parentize(), WB_Parent_Search(), WN2C_compgoto(), WN2C_pragma(), WN2C_pragma_list_begin(), WN2C_pragma_list_end(), WN2C_process_pragma(), WN2C_switch(), WN2C_Translate_Comma_Sequence(), WN2C_Translate_Stmt_Sequence(), WN2F_block(), WN2F_compgoto(), WN2F_pragma(), WN2F_pragma_list_begin(), WN2F_pragma_list_end(), WN2F_pragma_list_nowait(), WN2F_process_pragma(), WN2F_switch(), WN_block_element(), WN_COPY_Tree(), WN_COPY_Tree_With_Map(), WN_Create_Generic(), WN_DELETE_FromBlock(), WN_DELETE_Tree(), WN_EXTRACT_FromBlock(), WN_EXTRACT_ItemsFromBlock(), WN_get_tree(), WN_INSERT_BlockAfter(), WN_INSERT_BlockBefore(), WN_Simplify_Tree(), WN_Verifier::WN_traverse_tree(), ANL_PRAGMA_CONSTRUCT::Write(), ANL_LOOP_CONSTRUCT::Write(), and ANL_REGION_CONSTRUCT::Write().
Definition at line 935 of file wn_core.h.
References next, and WN_CAST_WN_TO_STMT_WN.
mINT16 WN_num_actuals | ( | const WN * | wn | ) | [inline] |
Definition at line 1552 of file wn_core.h.
References OPR_ICALL, OPR_PARM, OPR_PICCALL, WN_kid(), WN_kid_count(), WN_operator(), and WN_Parm_Dummy.
Referenced by Calc_Actual_Area(), and DRA_Mangle_Call_Site().
INT32 WN_num_entries | ( | const WN * | wn | ) | [inline] |
Definition at line 683 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by ir_put_wn(), WN_Create_Generic(), WN_CreateCompgoto(), WN_CreateSwitch(), WN_CreateXgoto(), and WN_Equiv().
INT32& WN_num_entries | ( | WN * | wn | ) | [inline] |
Definition at line 681 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by Add_Pragma_To_MP_Regions(), WN_Verifier::CALL_parent_LDID(), cwh_dope_from_expression(), Exp_To_Linex_Array(), IPO_CLONE::Fix_ST(), get_base_and_offset(), ir_put_wn(), Rewrite_Structs_In_MPRegion(), WN_Verifier::STID_check_st_class(), Whirl2Src_Translate_Istore_Str(), Whirl_Symbol_Type(), WN2C_prefetch(), WN2F_Get_DoLoop_Bound(), WN2F_Get_DoLoop_StepSize(), WN2F_LoopBound_VarRef(), WN2F_prefetch(), WN_Create_Generic(), WN_Create_Shared_Load(), WN_Create_Shared_Store(), WN_CreateAssert(), WN_CreateExcScopeBegin(), WN_CreateExcScopeEnd(), WN_CreatePrefetch(), WN_CreateTrap(), WN_Equiv(), WN_num_var_refs(), WN_Symbol_Count(), and WN_Upper_Bound_Standardize().
Definition at line 888 of file wn_core.h.
References WN::common, WN::desc, WN::rtype, and WN::wn_operator.
Referenced by Actual_result_type(), Add_Pragma_To_MP_Regions(), Allocate_All_Formals(), Append_CallSite(), Calc_Formal_Area(), WN_Verifier::Call_children_are_PARM(), WN_Verifier::CALL_parent_LDID(), IPO_CLONE::Clone_Tree(), Collect_Goodies(), Count_WN_Node(), cwh_addr_find_address(), cwh_addr_is_array(), cwh_addr_is_section(), cwh_addr_is_triplet(), cwh_addr_WN_ST(), cwh_block_append_given_block(), cwh_block_dump(), cwh_block_pop_block(), cwh_block_pop_region(), cwh_block_push_region(), cwh_io_analyse_expr(), cwh_io_ioitem(), cwh_stab_distrib_pragmas(), cwh_types_WN_TY(), Delete_Dist_Reshape_Pragmas(), Do_WOPT_and_CG_with_Regions(), DRA_Collect_Commons(), DRA_EC_Array_Portion_Parms(), DRA_Mangle_All(), DRA_Processing(), DRA_Read_Pragmas_In_Block(), draw_stmt(), draw_whirl_tree(), Error_Return_Func(), F90_Get_Dim(), fdump_tree(), fei_allocate(), fei_IO_list(), Find_Alloca(), IPO_CLONE::Fix_ST(), fix_tree(), Get_Implicit_Locals(), Get_Preamble_End(), id_str(), Initialize_Stack_Frame(), Insert_Call(), IPA_WN_Delete(), IPA_WN_DELETE_Tree(), IPA_WN_MAP32_Get(), IPA_WN_MAP32_Set(), IPA_WN_MAP64_Get(), IPA_WN_MAP64_Set(), IPA_WN_MAP_Get(), IPA_WN_MAP_Set(), IPA_WN_Move_Maps_PU(), ir_b_write_tree(), ir_put_expr(), ir_put_stmt(), ir_put_wn(), ir_sel(), Is_Grandparent_Region(), WN_Verifier::Is_WHIRL_tree(), WN_Verifier::LDA_ty_not_NULL(), Machine_Type(), Max_Arg_Area_Bytes(), New_DRA(), Node_Count(), comp_same_pragma::operator()(), comp_same_label_no::operator()(), RBI::Outside_Cur_Rgn(), WN_Verifier::Param_parent_is_Call(), Parentize(), Process_Fill_Align_Pragmas_Recursive(), process_wn(), Prompf_Assign_Ids_Traverse(), Prompf_Id_Type(), PUinfo_init_pu(), Rail(), Recompute_addr_saved_stmt(), REGION_search_block(), Remove_Skips(), Rewrite_Pragmas_On_Structs(), Rewrite_Structs_In_MPRegion(), Set_addr_saved_expr(), Set_addr_saved_stmt(), IPO_CLONE::Set_Entry_Point(), WN_Verifier::STID_check_st_class(), TAS_To_TOP(), Tree_Equiv(), Verify_addr_flags_stmt(), Verify_addr_saved_expr(), W2C_Outfile_Translate_Pu(), W2C_Push_PU(), W2C_Translate_Purple_Main(), W2CF_Parentize(), W2F_Outfile_Translate_Pu(), W2F_Push_PU(), W2F_Translate_Purple_Main(), WB_Parent_Search(), Whirl_Symbol_Type(), WHIRL_To_TOP(), WN2C_binaryop(), WN2C_call(), WN2C_compgoto(), WN2C_infix_op(), WN2C_intrinsic_op(), WN2C_switch(), WN2C_unaryop(), WN2F_altentry(), WN2F_ashr(), WN2F_binaryop(), WN2F_call(), WN2F_ceil(), WN2F_comment(), WN2F_Entry_Point(), WN2F_eq(), WN2F_floor(), WN2F_func_entry(), WN2F_Get_Named_Param(), WN2F_ne(), WN2F_String_Argument(), WN2F_translate(), WN2F_translate_purple_main(), WN2F_unaryop(), WN2F_unsupported(), WN_block_element(), WN_Can_Be_Speculative(), WN_COPY_Tree(), WN_COPY_Tree_With_Map(), WN_CopyNode(), WN_CreateComma(), WN_CreateCompgoto(), WN_CreateDO(), WN_CreateDoWhile(), WN_CreateEval(), WN_CreateExp1(), WN_CreateExp2(), WN_CreateExp3(), WN_CreateFalsebr(), WN_CreateIf(), WN_CreateIstore(), WN_CreateIstorex(), WN_CreateLabel(), WN_CreateMstore(), WN_CreateParm(), WN_CreatePStid(), WN_CreatePstore(), WN_CreateRcomma(), WN_CreateRegion(), WN_CreateStid(), WN_CreateSwitch(), WN_CreateTruebr(), WN_CreateWhileDo(), WN_CreateXgoto(), WN_DELETE_FromBlock(), WN_DELETE_Tree(), WN_Equiv(), WN_EXTRACT_FromBlock(), WN_EXTRACT_ItemsFromBlock(), WN_Flip_Le_And_Ge(), WN_Get_Linenum(), WN_GetComment(), WN_INSERT_BlockAfter(), WN_INSERT_BlockBefore(), WN_is_black_box(), WN_Is_Volatile_Mem(), wn_loop_get_st_ofst(), WN_LOOP_InductionVariable(), WN_LOOP_TripCount(), WN_LOOP_UpperBound(), WN_MAP_Add_Free_List(), WN_MAP_Set_ID(), WN_object_ty(), WN_Set_Linenum(), WN_Simplify_Rebuild_Expr_Tree(), WN_Simplify_Tree(), WN_Size(), WN_Size_and_StartAddress(), WN_Solve_For(), WN_StartAddress(), WN_Verifier::WN_traverse_tree(), WN_TREE_fdump_tree(), WN_TREE_put_expr(), WN_TREE_put_stmt(), WN_Tree_Type(), WN_Upper_Bound_Standardize(), WN_WALK_SCFIter(), WN_WALK_SCFNext(), WN_WALK_StmtIter(), and WN_WALK_StmtNext().
OPERATOR WN_operator | ( | const WN * | wn | ) | [inline] |
Definition at line 742 of file wn_core.h.
References WN::common, and WN::wn_operator.
Referenced by W2CF_TRANSLATOR::_Array_Segment_To_String(), W2CF_TRANSLATOR::_Clause_Exprs_To_String(), W2CF_TRANSLATOR::_Clause_Symbols_To_String(), ANL_PRAGMA_CONSTRUCT::_Find_Pragma_End_Stmt(), W2CF_TRANSLATOR::_Get_Expr_Pointed_Ty(), ANL_VARLIST::_Get_Io_Item_Lda_Access_Status(), ANL_VARLIST::_Get_Lda_Access_Status(), W2CF_TRANSLATOR::_Is_Ptr_Expr(), ANL_LOOP_CONSTRUCT::_Loop_Srcpos_Range(), W2CF_TRANSLATOR::_Rev_Clause_Exprs_To_String(), ANL_PRAGMA_ATTRIBUTE::_Write_Distribution(), ANL_PRAGMA_ATTRIBUTE::_Write_Pragma_Arguments(), ANL_PRAGMA_CONSTRUCT::_Write_Pragma_Directives(), Accumulate_Expr_PUinfo(), Actual_data_size(), ANL_LOOP_CONSTRUCT::ANL_LOOP_CONSTRUCT(), ANL_PRAGMA_ATTRIBUTE::ANL_PRAGMA_ATTRIBUTE(), ANL_PRAGMA_CONSTRUCT::ANL_PRAGMA_CONSTRUCT(), Append_Array_Segment(), Append_Clause_Expressions(), Append_Clause_Symbols(), Append_Distribution(), Append_Nest_Clauses(), Append_Pragma_Clauses(), Append_Reduction_Clause(), Array_Element_Then_Struct(), Backend_Processing(), Calc_Actual_Area(), WN_Verifier::CALL_parent_LDID(), Check_Actual_Stack_Size(), W2CF_TRANSLATOR::ClauseList_To_String(), cleanUpPUInfo(), IPO_CLONE::Clone_Tree(), Collect_Goodies(), IPO_CLONE::Copy_Node(), Count_WN_Node(), cwh_addr_f90_pointer_reference(), cwh_addr_f90_pointer_reference_ls(), cwh_block_add_to_enclosing_regions(), cwh_block_set_region_pragmas(), cwh_do_tranformational(), cwh_expr_binop(), cwh_io_null_address(), cwh_io_split_io_items(), cwh_mp_region(), cwh_reorder(), cwh_stk_is_byte_STR(), cwh_stmt_conformance_checks_walk(), cwh_stmt_insert_conformance_check(), DRA_Mangle_All(), DRA_Mangle_Call_Site(), DRA_Preprocess_Call_Site(), dV_view_whirl(), ANL_FUNC_ENTRY::Emit_Nested_Original_Constructs(), Emit_To_PUinfo_Pragmas(), Exp_To_Linex_Array(), F90_Get_Dim(), F90_Size_Walk(), F90_Wrap_ARREXP(), FB_valid_opr_branch(), FB_valid_opr_call(), FB_valid_opr_circuit(), FB_valid_opr_invoke(), FB_valid_opr_loop(), FB_valid_opr_switch(), fei_arith_goto(), fei_array_dimen(), fei_blocking_size(), fei_co_array_dimen(), fei_fission(), fei_fuse(), fei_new_select(), fei_redistribute(), fei_seq_subscr(), fei_store(), fei_unroll(), WN_Verifier::Field_id_valid(), Fill_Align_Symbol(), Find_Address_Base(), Find_Alloca(), Find_Insertion_Point(), Find_Reduction_Symbol(), find_stmt(), Find_Symbol(), IPO_CLONE::Fix_ST(), get_base_and_offset(), Get_Enclosing_Parallel_Region(), Get_Implicit_Locals(), ANL_FUNC_ENTRY::Get_Pragma_Srcpos_Range(), Get_surrounding_loop_count(), Get_Type_From_ArrayOp(), GetStSet(), GetTmpVarTransInfo(), Ignore_Synchronized_Construct(), ANL_VARLIST::Insert_Var_Refs(), ir_put_expr(), W2CF_TRANSLATOR::Is_A_Pragma_Clause(), Is_Constant_Tree(), ANL_LOOP_CONSTRUCT::Is_End_Of_Loop_Comment(), Is_Exp_Linexable(), is_f90_pointer(), Is_nested_within(), ANL_PRAGMA_ATTRIBUTE::Is_ProMpf_Pragma_Attribute(), ANL_PRAGMA_CONSTRUCT::Is_ProMpf_Pragma_Construct(), ANL_REGION_CONSTRUCT::Is_ProMpf_Region_Construct(), Is_Valid_Doacross(), Machine_Type(), MemCtr_Add_Local(), W2CF_TRANSLATOR::Nest_Clauses_To_String(), ANL_PRAGMA_ATTRIBUTE::Next_Stmt(), WN_Verifier::One_level_removed_node(), NUM_ST_REFS::operator()(), Preg_Is_In_Clause_List(), Process_Fill_Align_Pragmas_Recursive(), PUinfo_init_pu(), References_Some_Label(), ANL_LOOP_CONSTRUCT::Remove_Stmt_In_Block(), Rewrite_Pragmas_On_Structs(), Rewrite_Structs_In_MPRegion(), Set_addr_saved_stmt(), Skip_Pragma_Clauses(), Spill_And_Take_Address(), Spill_Shared_Load(), ST2F_func_header(), WN_Verifier::ST_is_not_NULL(), WN_Verifier::STID_check_st_class(), Strip_TAS(), True_Bound(), TY_Of_Expr(), Update_EHRegion_Inito_Used(), W2F_Outfile_Translate_Pu(), Weird_Array_Element(), W2CF_TRANSLATOR::Whileloop_Looks_Like_Forloop(), WN2C_address_add(), WN2C_altentry(), WN2C_Append_Assignment(), WN2C_array(), WN2C_block(), WN2C_bnor(), WN2C_call(), WN2C_comma(), WN2C_comment(), WN2C_compgoto(), WN2C_complex(), WN2C_compose_bits(), WN2C_condbr(), WN2C_const(), WN2C_cvt(), WN2C_cvtl(), WN2C_decr_indentation_for_stmt_body(), WN2C_do_loop(), WN2C_do_while(), WN2C_eval(), WN2C_extract_bits(), WN2C_func_entry(), WN2C_Function_Call_Lhs(), WN2C_Function_Return_Value(), WN2C_goto(), WN2C_if(), WN2C_iload(), WN2C_iloadx(), WN2C_imagpart(), WN2C_incr_indentation_for_stmt_body(), WN2C_infix_op(), WN2C_intconst(), WN2C_intrinsic_op(), WN2C_Is_Loop_Region(), WN2C_Is_Parallel_Region(), WN2C_is_pointer_diff(), WN2C_istore(), WN2C_istorex(), WN2C_label(), WN2C_lda(), WN2C_ldid(), WN2C_lvalue_wn(), WN2C_madd(), WN2C_mload(), WN2C_mstore(), WN2C_msub(), WN2C_nmadd(), WN2C_nmsub(), WN2C_paren(), WN2C_parm(), WN2C_pragma(), WN2C_pragma_list_begin(), WN2C_pragma_list_end(), WN2C_prefetch(), WN2C_process_pragma(), WN2C_rcomma(), WN2C_realpart(), WN2C_region(), WN2C_return(), WN2C_return_val(), WN2C_select(), WN2C_Skip_Stmt(), WN2C_stid(), WN2C_switch(), WN2C_tas(), WN2C_translate(), WN2C_translate_purple_main(), WN2C_Translate_Stmt_Sequence(), WN2C_unsupported(), WN2C_while_do(), WN2F_agoto(), WN2F_alloca(), WN2F_array(), WN2F_Array_Slots(), WN2F_arrsection(), WN2F_block(), WN2F_call(), WN2F_compgoto(), WN2F_condbr(), WN2F_dealloca(), WN2F_do_loop(), WN2F_do_while(), WN2F_eval(), LOC_INFO::WN2F_Find_And_Mark_Nested_Address(), WN2F_Find_Base(), WN2F_Function_Call_Lhs(), WN2F_Get_DoLoop_Bound(), WN2F_Get_DoLoop_StepSize(), WN2F_Get_Next_LoopBoundOp(), WN2F_goto(), WN2F_idname(), WN2F_if(), WN2F_iload(), WN2F_Infix_Op(), WN2F_interface_blk(), WN2F_intrinsic_call(), WN2F_Is_Address_Preg(), WN2F_Is_Loop_Region(), WN2F_Is_Parallel_Region(), WN2F_istore(), WN2F_label(), WN2F_LoopBound_VarRef(), WN2F_namelist_stmt(), WN2F_nullify_stmt(), WN2F_Offset_Memref(), WN2F_parm(), WN2F_pragma(), WN2F_pragma_list_begin(), WN2F_pragma_list_end(), WN2F_pragma_list_nowait(), WN2F_prefetch(), WN2F_process_pragma(), WN2F_recip(), WN2F_return(), WN2F_return_val(), WN2F_Skip_Stmt(), WN2F_src_triplet(), WN2F_String_Argument(), WN2F_Sum_Offsets(), WN2F_switch(), WN2F_while_do(), WN_Can_Be_Speculative(), WN_Convert_Shared_To_Local(), WN_Create_PtrEq_Test(), WN_Create_Shared_Load(), WN_Create_Shared_Ptr_Arithmetic(), WN_Create_Shared_Store(), WN_CreateIloadx(), WN_CreateIstore(), WN_CreatePStid(), WN_CreatePstore(), WN_CreateStid(), WN_flag(), WN_Has_Label(), WN_has_side_effects(), WN_INSERT_BlockAfter(), WN_INSERT_BlockBefore(), WN_kid_count(), WN_load_addr_ty(), wn_loop_get_st_ofst(), WN_LOOP_Increment(), WN_LOOP_LowerBound(), WN_num_actuals(), WN_object_size(), WN_object_ty(), WN_Rename_Duplicate_Labels(), WN_set_flag(), WN_set_kid_count(), WN_set_load_addr_ty(), WN_set_st_addr_saved(), WN_set_ty(), WN_SetNull_Sptr(), WN_Simplify_Rebuild_Expr_Tree(), WN_Simplify_Tree(), WN_Solve_For(), WN_Symbol_Count(), WN_Tree_Has_Duplicate_Labels(), WN_TREE_put_expr(), WN_ty(), WN_Type_Is_Shared_Ptr(), WN_Upper_Bound_Standardize(), WN_Verifier::WN_Verifier(), WN_WALK_SCFIter(), WN_WALK_SCFNext(), WN_WALK_StmtIter(), WN_WALK_StmtNext(), WN_WALK_TreeIter(), WN_WALK_TreeNext(), and ANL_PRAGMA_CONSTRUCT::Write().
Definition at line 709 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by W2CF_TRANSLATOR::_Array_Segment_To_String(), W2CF_TRANSLATOR::_Clause_Exprs_To_String(), W2CF_TRANSLATOR::_Clause_Symbols_To_String(), ANL_PRAGMA_CONSTRUCT::_End_Is_Part_Of_Construct(), ANL_PRAGMA_CONSTRUCT::_Find_Pragma_End_Stmt(), ANL_VARLIST::_Get_Lda_Access_Status(), ANL_LOOP_CONSTRUCT::_Loop_Srcpos_Range(), ANL_REGION_CONSTRUCT::_Region_Srcpos_Range(), W2CF_TRANSLATOR::_Rev_Clause_Exprs_To_String(), W2CF_TRANSLATOR::_Skip_Ignored_Clauses(), ANL_REGION_CONSTRUCT::_userEndParallel(), ANL_PRAGMA_ATTRIBUTE::_Write_Distribution(), ANL_LOOP_CONSTRUCT::_Write_Loop_Directive(), ANL_PRAGMA_ATTRIBUTE::_Write_Pragma_Arguments(), ANL_REGION_CONSTRUCT::_Write_Region_Directive(), Add_Pragma_To_MP_Regions(), ANL_LOOP_CONSTRUCT::ANL_LOOP_CONSTRUCT(), ANL_PRAGMA_ATTRIBUTE::ANL_PRAGMA_ATTRIBUTE(), ANL_PRAGMA_CONSTRUCT::ANL_PRAGMA_CONSTRUCT(), ANL_REGION_CONSTRUCT::ANL_REGION_CONSTRUCT(), Append_Array_Segment(), Append_Clause_Expressions(), Append_Clause_Symbols(), Append_Distribution(), Append_Nest_Clauses(), Append_Pragma_Clauses(), Append_Reduction_Clause(), WN_Verifier::Are_enclosed_pragmas(), Array_Element_Then_Struct(), W2CF_TRANSLATOR::ClauseList_To_String(), cwh_mp_region(), cwh_stab_distrib_pragmas(), Delete_Dist_Reshape_Pragmas(), DRA_Read_Pragmas_In_Block(), Emit_To_PUinfo_Pragmas(), FB_valid_opr_invoke(), Fill_Align_Symbol(), Find_Alloca(), Find_Insertion_Point(), IPO_CLONE::Fix_ST(), Get_Enclosing_Parallel_Region(), ANL_FUNC_ENTRY::Get_Pragma_Srcpos_Range(), Get_Preamble_End(), Ignore_Synchronized_Construct(), Insert_Call(), ANL_VARLIST::Insert_Var_Refs(), ir_put_wn(), W2CF_TRANSLATOR::Is_A_Pragma_Clause(), ANL_PRAGMA_ATTRIBUTE::Is_ProMpf_Pragma_Attribute(), ANL_PRAGMA_CONSTRUCT::Is_ProMpf_Pragma_Construct(), ANL_REGION_CONSTRUCT::Is_ProMpf_Region_Construct(), Max_Arg_Area_Bytes(), MemCtr_Add_Local(), W2CF_TRANSLATOR::Nest_Clauses_To_String(), New_DRA(), ANL_PRAGMA_ATTRIBUTE::Next_Stmt(), comp_same_pragma::operator()(), Preg_Is_In_Clause_List(), Process_Fill_Align_Pragmas_Recursive(), Prompf_Id_Type(), Put_Pragma_Start_With_Caveats(), Remove_Skips(), Rewrite_Pragmas_On_Structs(), Skip_Ignored_Clauses(), Skip_Pragma_Clauses(), W2F_Outfile_Translate_Pu(), Weird_Array_Element(), Whirl_Symbol_Type(), WN2C_Is_Loop_Region(), WN2C_Is_Parallel_Region(), WN2C_pragma(), WN2C_pragma_list_end(), WN2C_process_pragma(), WN2C_Skip_Stmt(), WN2F_Is_Loop_Region(), WN2F_Is_Parallel_Region(), WN2F_pragma(), WN2F_pragma_list_end(), WN2F_pragma_list_nowait(), WN2F_process_pragma(), WN2F_Skip_Stmt(), WN_CreatePragma(), and WN_CreateXpragma().
INT32 WN_pragma_arg1 | ( | const WN * | wn | ) | [inline] |
Definition at line 785 of file wn_core.h.
References WN::pragma, and WN::u3.
Referenced by ANL_PRAGMA_ATTRIBUTE::_Write_Pragma(), Append_A_Clause_Symbol(), W2CF_TRANSLATOR::ClauseList_To_String(), Find_Symbol(), IPO_CLONE::Fix_ST(), ir_put_wn(), Preg_Is_In_Clause_List(), Prompf_Id_Type(), Rewrite_Pragmas_On_Structs(), WN2C_process_pragma(), WN2F_process_pragma(), WN_CreatePragma(), and WN_pragma_asm_constraint().
INT32& WN_pragma_arg1 | ( | WN * | wn | ) | [inline] |
Definition at line 786 of file wn_core.h.
References WN::pragma, and WN::u3.
INT32 WN_pragma_arg2 | ( | const WN * | wn | ) | [inline] |
Definition at line 787 of file wn_core.h.
References WN::pragma, and WN::u3.
Referenced by ANL_PRAGMA_ATTRIBUTE::_Write_Pragma(), Append_Reduction_Clause(), cwh_stab_add_pragma(), DRA_Insert_Pragmas(), Fill_Align_Symbol(), ir_put_wn(), New_DRA(), Rewrite_Pragmas_On_Structs(), WN2C_process_pragma(), WN2F_process_pragma(), and WN_CreatePragma().
INT32& WN_pragma_arg2 | ( | WN * | wn | ) | [inline] |
Definition at line 788 of file wn_core.h.
References WN::pragma, and WN::u3.
INT64 WN_pragma_arg64 | ( | const WN * | wn | ) | [inline] |
Definition at line 783 of file wn_core.h.
References WN::pragma, and WN::u3.
Referenced by WN_CreateXpragma().
INT64& WN_pragma_arg64 | ( | WN * | wn | ) | [inline] |
Definition at line 784 of file wn_core.h.
References WN::pragma, and WN::u3.
char* WN_pragma_asm_constraint | ( | const WN * | wn | ) | [inline] |
Definition at line 712 of file wn_core.h.
References ST_name(), St_Table, and WN_pragma_arg1().
Referenced by ir_put_wn().
PREG_NUM WN_pragma_asm_copyout_preg | ( | const WN * | wn | ) | [inline] |
Definition at line 713 of file wn_core.h.
References WN::pragma, and WN::u3.
Referenced by ir_put_wn().
UINT32 WN_pragma_asm_opnd_num | ( | const WN * | wn | ) | [inline] |
Definition at line 715 of file wn_core.h.
References WN::pragma, and WN::u3.
Referenced by ir_put_wn().
mINT8 WN_pragma_distr_type | ( | const WN * | wn | ) | [inline] |
Definition at line 789 of file wn_core.h.
References WN::pragma, and WN::u3.
Referenced by ANL_PRAGMA_ATTRIBUTE::_Write_Distribution(), Append_Distribution(), DRA_Insert_Pragmas(), fei_descriptor(), fei_redistribute(), ir_put_wn(), New_DRA(), and ANL_PRAGMA_ATTRIBUTE::Next_Stmt().
mINT8& WN_pragma_distr_type | ( | WN * | wn | ) | [inline] |
Definition at line 790 of file wn_core.h.
References WN::pragma, and WN::u3.
mUINT16 WN_pragma_flags | ( | const WN * | wn | ) | [inline] |
Definition at line 707 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by ir_put_wn(), WN_CreatePragma(), and WN_CreateXpragma().
mUINT16& WN_pragma_flags | ( | WN * | wn | ) | [inline] |
mINT8 WN_pragma_index | ( | const WN * | wn | ) | [inline] |
Definition at line 791 of file wn_core.h.
References WN::pragma, and WN::u3.
Referenced by ANL_PRAGMA_ATTRIBUTE::_Write_Distribution(), Append_Distribution(), DRA_Insert_Pragmas(), fei_descriptor(), fei_redistribute(), ANL_FUNC_ENTRY::Get_Pragma_Srcpos_Range(), ir_put_wn(), ANL_PRAGMA_ATTRIBUTE::Is_ProMpf_Pragma_Attribute(), and ANL_PRAGMA_ATTRIBUTE::Next_Stmt().
mINT8& WN_pragma_index | ( | WN * | wn | ) | [inline] |
Definition at line 792 of file wn_core.h.
References WN::pragma, and WN::u3.
INT32 WN_pragma_preg | ( | const WN * | wn | ) | [inline] |
Definition at line 793 of file wn_core.h.
References WN::pragma, and WN::u3.
Referenced by ANL_PRAGMA_ATTRIBUTE::_Write_Distribution(), Append_Distribution(), fei_descriptor(), fei_redistribute(), and ir_put_wn().
INT32& WN_pragma_preg | ( | WN * | wn | ) | [inline] |
Definition at line 794 of file wn_core.h.
References WN::pragma, and WN::u3.
UINT32 WN_prefetch_flag | ( | const WN * | wn | ) | [inline] |
Definition at line 731 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by Append_Prefetch_Attributes(), Find_Reduction_Symbol(), W2CF_TRANSLATOR::Prefetch_Attributes_To_String(), Rewrite_Pragmas_On_Structs(), WN2C_prefetch(), WN2F_prefetch(), WN_flag(), and WN_set_flag().
UINT32& WN_prefetch_flag | ( | WN * | wn | ) | [inline] |
Definition at line 932 of file wn_core.h.
References WN_CAST_WN_TO_STMT_WN.
Referenced by ANL_LOOP_CONSTRUCT::_First_Loop_Stmt(), ANL_REGION_CONSTRUCT::_First_Region_Stmt(), ANL_LOOP_CONSTRUCT::_Loop_Srcpos_Range(), ANL_REGION_CONSTRUCT::_Region_Srcpos_Range(), W2CF_TRANSLATOR::_Rev_Clause_Exprs_To_String(), ANL_LOOP_CONSTRUCT::_Write_Loop_Header(), WN_Verifier::CALL_parent_LDID(), IPO_CLONE::Clone_Tree(), Fill_Align_Symbol(), fix_tree(), ir_b_write_tree(), MemCtr_Add_Local(), WN_Verifier::One_level_removed_node(), WN_Verifier::Proper_Block_Structure(), Remove_Skips(), Restore_Skips(), Rewrite_Pragmas_On_Structs(), W2CF_TRANSLATOR::Whileloop_Looks_Like_Forloop(), WN_block_element(), WN_COPY_Tree(), WN_COPY_Tree_With_Map(), WN_Create_Generic(), WN_DELETE_FromBlock(), WN_EXTRACT_FromBlock(), WN_EXTRACT_ItemsFromBlock(), WN_get_tree(), WN_INSERT_BlockAfter(), WN_INSERT_BlockBefore(), WN_Simplify_Tree(), WN_Size_and_StartAddress(), WN_WALK_SCFNext(), WN_WALK_StmtNext(), WN_WALK_TreeNext(), ANL_LOOP_CONSTRUCT::Write(), and ANL_REGION_CONSTRUCT::Write().
Definition at line 933 of file wn_core.h.
References WN_CAST_WN_TO_STMT_WN.
WN* WN_prev_free | ( | const STMT_WN * | stmt_wn | ) | [inline] |
Definition at line 938 of file wn_core.h.
References STMT_WN_BASE::prev.
Referenced by WN_FREE_LIST_Pop(), and WN_FREE_LIST_Push().
WN*& WN_prev_free | ( | STMT_WN * | stmt_wn | ) | [inline] |
Definition at line 939 of file wn_core.h.
References STMT_WN_BASE::prev.
WN& WN_real_fields | ( | STMT_WN * | stmt_wn | ) | [inline] |
Definition at line 940 of file wn_core.h.
References STMT_WN::wn.
Referenced by IPO_CLONE::Copy_Node(), and WN_Create().
mUINT32 WN_region_id | ( | const WN * | wn | ) | [inline] |
Definition at line 720 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by fix_tree(), and ir_put_wn().
REGION_KIND WN_region_kind | ( | const WN * | wn | ) | [inline] |
Definition at line 718 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by cwh_block_add_to_enclosing_regions(), and ir_put_wn().
Definition at line 744 of file wn_core.h.
References WN::common, and WN::rtype.
Referenced by Actual_data_size(), Calc_Actual_Area(), Count_WN_Node(), cwh_ceiling_floor(), cwh_expr_compare_bitwise(), cwh_expr_restore_arrayexp(), cwh_funny_fp_intrinsic(), cwh_get_highest_type(), cwh_intrin_wrap_value_parm(), cwh_stmt_append_truebr(), cwh_types_WN_TY(), Exp_To_Linex_Array(), F90_Wrap_ARREXP(), fei_arith_goto(), fei_bneg(), fei_count(), fei_exponent(), fei_exponentiate(), fei_fpclass(), fei_imag(), fei_isfinite(), fei_isnan(), fei_isunordered(), fei_logb(), fei_near(), fei_new_select(), fei_new_select_case(), fei_scalb(), fei_scale(), fei_set_exponent(), fei_sign_xfer(), Fill_Align_Symbol(), Rewrite_Structs_In_MPRegion(), simple_intrinsic(), simple_intrinsic_nt(), Spill_And_Take_Address(), ST2F_func_header(), Substitute_1_For_Impdo_Index_Val(), TAS_To_TOP(), TCON_from_stack(), TY_Of_Expr(), Types_Are_Compatible(), WN2C_compgoto(), WN2C_switch(), WN2F_ashr(), WN2F_Infix_Op(), WN_Can_Be_Speculative(), WN_Convert_Shared_To_Local(), WN_Create_PtrEq_Test(), WN_Create_Shared_Load(), WN_Create_Shared_Ptr_Arithmetic(), WN_Create_Shared_Store(), WN_Create_StoP_Cvt(), WN_CreateAgoto(), WN_CreateIload(), WN_CreateIstore(), WN_CreateMload(), WN_CreateMstore(), WN_CreatePrefetch(), WN_CreatePstore(), WN_Float_Type_Conversion(), WN_Int_Type_Conversion(), WN_LOOP_TripCount(), WN_object_size(), WN_RotateIntconst(), WN_Solve_For(), WN_Type_Conversion(), and WN_Upper_Bound_Standardize().
void WN_set_bit_offset_size | ( | WN * | wn, |
UINT | ofst, | ||
UINT | siz | ||
) | [inline] |
Definition at line 752 of file wn_core.h.
References WN::common, and WN::kid_count.
Referenced by WN_SimpCreateDeposit(), and WN_SimpCreateExtract().
void WN_set_desc | ( | WN * | wn, |
TYPE_ID | ty | ||
) | [inline] |
Definition at line 754 of file wn_core.h.
References WN::common, and WN::desc.
Referenced by IPA_WN_Delete(), WN_Create(), and WN_Create_Shared_Load().
void WN_set_field_id | ( | WN * | wn, |
UINT | n | ||
) | [inline] |
Definition at line 749 of file wn_core.h.
References WN::common, WN::kid_count, MAX_FIELD_ID, and UNKNOWN_FIELD_ID.
Referenced by fei_field_dot(), WN_CopyNode(), WN_Create_Shared_Load(), WN_CreateIload(), WN_CreateIstore(), WN_CreateLda(), WN_CreateLdid(), WN_CreateLdma(), WN_CreatePStid(), WN_CreatePstore(), and WN_CreateStid().
void WN_set_flag | ( | WN * | wn, |
UINT32 | flag | ||
) | [inline] |
Definition at line 1197 of file wn_core.h.
References OPR_CALL, OPR_EQ, OPR_ICALL, OPR_IF, OPR_INTRINSIC_CALL, OPR_INTRINSIC_OP, OPR_IO, OPR_LOOP_INFO, OPR_NE, OPR_PARM, OPR_PICCALL, OPR_PREFETCH, OPR_PREFETCHX, OPR_REGION, WN_call_flag(), WN_eq_logical_flag(), WN_if_flag(), WN_io_flag(), WN_label_flag(), WN_loop_flag(), WN_operator(), and WN_prefetch_flag().
Referenced by WN_Create_Generic(), WN_CreateParm(), WN_CreatePrefetch(), and WN_CreatePrefetchx().
void WN_set_kid_count | ( | WN * | wn, |
UINT | n | ||
) | [inline] |
Definition at line 747 of file wn_core.h.
References WN::common, WN::kid_count, OPERATOR_nkids(), and WN_operator().
Referenced by WN2C_create_ref_param_lda(), WN2F_Initiate_OneInt(), WN2F_Initiate_ZeroInt(), and WN_Create().
void WN_Set_Linenum | ( | WN * | wn, |
INT64 | ln | ||
) | [inline] |
Definition at line 1257 of file wn_core.h.
References Is_True, OPCODE_has_next_prev(), WN_linenum(), and WN_opcode().
Referenced by cwh_block_append_given_block(), cwh_block_insert_after(), cwh_directive_add_pragma_to_loop(), cwh_mp_region(), cwh_stmt_init_pu(), DRA_EC_Array_Portion_Parms(), fei_doloop(), fei_dowhile(), fei_if(), Gen_Call_Array(), Gen_Free_Cart(), Gen_Malloc_Cart(), and WN_CreateRegion().
void WN_set_load_addr_ty | ( | WN * | wn, |
TY_IDX | ty | ||
) | [inline] |
Definition at line 1146 of file wn_core.h.
References OPR_ILDBITS, OPR_ILOAD, WN::ty_fields, WN::u1u2, WN::u3, WN::uu, and WN_operator().
Referenced by fei_field_dot(), WN_Create_Generic(), WN_CreateIload(), and WN_CreateIloadx().
void WN_set_opcode | ( | WN * | wn, |
OPCODE | opc | ||
) | [inline] |
Definition at line 895 of file wn_core.h.
References WN::common, WN::desc, OPCODE_desc(), OPCODE_operator(), OPCODE_rtype(), WN::rtype, and WN::wn_operator.
Referenced by arrsection_to_array(), cwh_convert_to_ty(), cwh_do_tranformational(), cwh_dope_from_expression(), cwh_expr_restore_arrayexp(), fei_allocate(), fei_nseq_subscr(), fei_seq_subscr(), IPA_copy_PU(), simp_cvt(), WN2C_create_ref_param_lda(), WN2F_Initiate_OneInt(), WN2F_Initiate_ZeroInt(), WN_Flip_Le_And_Ge(), WN_Solve_For(), and WN_Upper_Bound_Standardize().
void WN_set_operator | ( | WN * | wn, |
OPERATOR | opr | ||
) | [inline] |
Definition at line 743 of file wn_core.h.
References WN::common, and WN::wn_operator.
Referenced by IPA_WN_Delete(), and WN_Create().
void WN_set_pragma_asm_copyout_preg | ( | WN * | wn, |
PREG_NUM | r | ||
) | [inline] |
Definition at line 714 of file wn_core.h.
References WN::pragma, and WN::u3.
Referenced by WN_CreatePragma().
void WN_set_pragma_asm_opnd_num | ( | WN * | wn, |
UINT32 | i | ||
) | [inline] |
Definition at line 716 of file wn_core.h.
References WN::pragma, and WN::u3.
Referenced by WN_CreatePragma().
void WN_set_region_id | ( | WN * | wn, |
mUINT32 | i | ||
) | [inline] |
Definition at line 721 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by WN_CreateRegion().
void WN_set_region_kind | ( | WN * | wn, |
REGION_KIND | k | ||
) | [inline] |
Definition at line 719 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by WN_CreateRegion().
void WN_set_rtype | ( | WN * | wn, |
TYPE_ID | ty | ||
) | [inline] |
Definition at line 745 of file wn_core.h.
References WN::common, and WN::rtype.
Referenced by IPA_WN_Delete(), WN_Create(), and WN_Create_Shared_Load().
Definition at line 1117 of file wn_core.h.
References OPR_IO_ITEM, OPR_LDA, OPR_LDBITS, OPR_LDID, OPR_PSTID, OPR_STBITS, OPR_STID, WN::ty_fields, WN::u1u2, WN::u3, WN::uu, and WN_operator().
Referenced by cwh_expr_compare(), cwh_expr_compare_bitwise(), cwh_expr_compare_logical(), cwh_expr_unop(), cwh_stmt_call_helper(), fei_field_dot(), fei_leqv(), fei_lneg(), fei_lxor(), SIMPNODE_SimplifyExp2_h(), WN2C_create_ref_param_lda(), WN2F_io_list(), WN_Create_Generic(), WN_Create_Shared_Load(), WN_CreateIlda(), WN_CreateIload(), WN_CreateIloadx(), WN_CreateIoItem0(), WN_CreateIoItem1(), WN_CreateIoItem2(), WN_CreateIoItem3(), WN_CreateIoItemN(), WN_CreateIstore(), WN_CreateIstorex(), WN_CreateLda(), WN_CreateLdid(), WN_CreateLdma(), WN_CreateMload(), WN_CreateMstore(), WN_CreateParm(), WN_CreatePStid(), WN_CreatePstore(), WN_CreateStid(), WN_Icall(), WN_LdaLabel(), and WN_Tas().
Definition at line 1246 of file wn_core.h.
References max, OPCODE_has_next_prev(), WN_kid_count(), and WN_opcode().
Referenced by IPA_WN_Delete().
Definition at line 956 of file wn_core.h.
References Is_True, NULL, ST_IDX_index(), St_Table, WN_has_sym, and WN_st_idx().
Referenced by W2CF_TRANSLATOR::_Array_Segment_To_String(), W2CF_TRANSLATOR::_Clause_Symbols_To_String(), ANL_PRAGMA_ATTRIBUTE::_Write_Distribution(), ANL_LOOP_CONSTRUCT::_Write_Loop_Header(), ANL_PRAGMA_ATTRIBUTE::_Write_Pragma(), ANL_PRAGMA_ATTRIBUTE::_Write_Pragma_Arguments(), ANL_PRAGMA_CONSTRUCT::_Write_Pragma_Directives(), Accumulate_Expr_PUinfo(), Add_Pragma_To_MP_Regions(), Allocate_All_Formals(), Append_A_Clause_Symbol(), Append_Distribution(), Append_Nest_Clauses(), Array_Element_Then_Struct(), Backend_Processing(), Calc_Formal_Area(), WN_Verifier::CALL_parent_LDID(), Check_Actual_Stack_Size(), cleanUpPUInfo(), IPO_CLONE::Clone_Tree(), cwh_addr_f90_pointer_reference(), cwh_addr_WN_ST(), cwh_dope_from_expression(), cwh_io_analyse_arr(), cwh_io_analyse_expr(), cwh_io_analyse_index_expr(), cwh_io_analyse_io_item(), cwh_io_conv_array_to_dope(), cwh_io_conv_arrsection_to_dope(), cwh_io_create_dope_from_item(), cwh_io_search_implied_do_index(), cwh_io_split_io_items(), cwh_mp_region(), cwh_stab_const_ST(), cwh_stmt_call_helper(), Delete_Dist_Reshape_Pragmas(), Does_Stmt_Store_From_Preg(), Does_Stmt_Store_Into_Preg(), DRA_Collect_Commons(), DRA_EC_Array_Portion_Parms(), DRA_Insert_Pragmas(), DRA_Mangle_All(), DRA_Mangle_Call_Site(), DRA_Mangle_Entry(), DRA_New_Clone_Sig(), DRA_Preprocess_Call_Site(), DRA_Preprocess_Entry(), DRA_Processing(), DRA_Read_Pragmas_In_Block(), Exp_To_Linex_Array(), fei_addr_con(), fei_as_ref(), fei_assert(), fei_doloop(), fei_end_ioblock(), fei_enddo(), fei_new_select_case(), fei_start_ioblock(), Find_Insertion_Point(), find_stmt(), Find_Symbol(), IPO_CLONE::Fix_ST(), Formal_Position(), get_base_and_offset(), IPO_CLONE::Get_Func_Name(), IPO_CLONE::Get_Func_ST(), Get_Implicit_Locals(), ANL_FUNC_ENTRY::Get_Pragma_Srcpos_Range(), GetStSet(), GetTmpVarTransInfo(), Initialize_Stack_Frame(), Insert_Call(), ANL_VARLIST::Insert_Var_Refs(), ir_put_wn(), ir_sel(), Is_Exp_Linexable(), is_f90_pointer(), WN_Verifier::Is_return_register_of_call(), Machine_Type(), Max_Arg_Area_Bytes(), MemCtr_Add_Local(), W2CF_TRANSLATOR::Nest_Clauses_To_String(), IPO_CLONE::New_Clone(), ANL_PRAGMA_ATTRIBUTE::Next_Stmt(), NUM_ST_REFS::operator()(), Post_LNO_Processing(), Preg_Is_In_Clause_List(), process_func(), Rewrite_Pragmas_On_Structs(), Rewrite_Structs_In_MPRegion(), Set_addr_saved_expr(), IPO_CLONE::Set_Entry_Point(), simp_cvt(), SIMPNODE_GetDefinition(), ST2F_func_header(), WN_Verifier::ST_is_not_NULL(), WN_Verifier::STID_check_st_class(), Substitute_1_For_Impdo_Index_Val(), Var_Loaded_From(), Var_Stored_In(), Verify_addr_saved_expr(), Weird_Array_Element(), W2CF_TRANSLATOR::Whileloop_Looks_Like_Forloop(), Whirl_Symbol_Type(), WN2C_altentry(), WN2C_const(), WN2C_func_entry(), WN2C_iload(), WN2C_iloadx(), WN2C_infix_op(), WN2C_istore(), WN2C_istorex(), WN2C_lda(), WN2C_ldid(), WN2C_process_pragma(), WN2C_stid(), WN2C_translate_purple_main(), WN2F_array(), WN2F_arrsection(), WN2F_call(), WN2F_casegoto(), WN2F_const(), WN2F_do_loop(), WN2F_Entry_Point(), WN2F_Expr_Plus_Literal(), WN2F_Get_DoLoop_Bound(), WN2F_Get_DoLoop_StepSize(), WN2F_Get_Named_Param(), WN2F_idname(), WN2F_implied_do(), WN2F_Infix_Op(), WN2F_interface_blk(), WN2F_io_control(), WN2F_io_format(), WN2F_io_list(), WN2F_Is_Address_Preg(), WN2F_lda(), WN2F_ldid(), WN2F_LoopBound_VarRef(), WN2F_namelist_stmt(), WN2F_Offset_Memref(), WN2F_process_pragma(), WN2F_pstid(), WN2F_stid(), WN2F_translate_purple_main(), WN_asm_input_constraint(), WN_asm_string(), WN_Can_Be_Speculative(), WN_Create_Shared_Store(), WN_GetComment(), Wn_Is_Intconst(), WN_num_var_refs(), WN_set_st_addr_saved(), WN_SetNull_Sptr(), WN_val(), and ANL_LOOP_CONSTRUCT::Write().
Definition at line 723 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by Collect_Goodies(), collectst(), cwh_inline_allocate(), cwh_stab_distrib_pragmas(), cwh_stmt_call_helper(), DRA_EC_Array_Portion_Parms(), DRA_Mangle_Call_Site(), DRA_Mangle_Entry(), fei_allocate(), fei_entry_pt(), fei_interface(), fei_namelist(), fei_use(), Fill_Align_Symbol(), Find_Address_Base(), Find_Alloca(), IPO_CLONE::Fix_ST(), Gen_Call_Array(), ir_put_wn(), MemCtr_Add_Common(), MemCtr_Add_Global(), MemCtr_Add_Local(), Rewrite_Pragmas_On_Structs(), Rewrite_Structs_In_MPRegion(), IPO_CLONE::Set_Entry_Point(), WN_Verifier::ST_is_not_NULL(), True_Bound(), WN2C_create_ref_param_lda(), WN2F_switch(), WN_Create_Generic(), WN_Create_Shared_Store(), WN_CreateAltentry(), WN_CreateAsm_Input(), WN_CreateAsm_Stmt(), WN_CreateComment(), WN_CreateConst(), WN_CreateIdname(), WN_CreateLda(), WN_CreateLdid(), WN_CreateLdma(), WN_CreatePragma(), WN_CreatePStid(), WN_CreateStid(), WN_CreateXgoto(), WN_CreateXpragma(), WN_Equiv(), WN_generic_call(), wn_loop_get_st_ofst(), WN_LOOP_Increment(), WN_LOOP_LowerBound(), WN_st(), WN_Symbol_Count(), and WN_Upper_Bound_Standardize().
void* WN_StartAddress | ( | WN * | wn | ) | [inline] |
Definition at line 1237 of file wn_core.h.
References OPCODE_has_next_prev(), WN_CAST_WN_TO_STMT_WN, and WN_opcode().
Referenced by IPA_copy_PU(), WN_FREE_LIST_Push(), and WN_write_tree().
WN_OFFSET WN_store_offset | ( | const WN * | wn | ) | [inline] |
Definition at line 677 of file wn_core.h.
References WN::u1u2, and WN::uu.
Referenced by Accumulate_Expr_PUinfo(), Does_Stmt_Store_Into_Preg(), Get_Implicit_Locals(), Var_Stored_In(), WN2C_Function_Call_Lhs(), WN2C_iload(), WN2C_istore(), WN2C_istorex(), WN2C_mstore(), WN2C_stid(), WN2F_Function_Call_Lhs(), WN2F_istore(), WN2F_mstore(), WN2F_pstid(), WN2F_pstore(), WN2F_stid(), WN_CreateIstore(), WN_CreateIstorex(), WN_CreateMstore(), WN_CreatePStid(), WN_CreatePstore(), WN_CreateStid(), wn_loop_get_st_ofst(), WN_LOOP_Increment(), and WN_LOOP_LowerBound().
WN_OFFSET& WN_store_offset | ( | WN * | wn | ) | [inline] |
Definition at line 1102 of file wn_core.h.
References OPR_IO_ITEM, OPR_LDA, OPR_LDBITS, OPR_LDID, OPR_PSTID, OPR_STBITS, OPR_STID, WN::ty_fields, WN::u1u2, WN::u3, WN::uu, and WN_operator().
Referenced by W2CF_TRANSLATOR::_Get_Expr_Pointed_Ty(), W2CF_TRANSLATOR::_Is_Ptr_Expr(), addr_gen_iload_for_strctfld(), Append_CallSite(), Check_Actual_Stack_Size(), cwh_io_split_io_items(), cwh_types_WN_TY(), WN_Verifier::Field_id_valid(), field_type(), Get_Type_From_ArrayOp(), ir_put_wn(), WN_Verifier::LDA_ty_not_NULL(), Max_Arg_Area_Bytes(), Rewrite_Structs_In_MPRegion(), Spill_And_Take_Address(), Spill_Shared_Load(), WN_Verifier::TY_is_not_NULL(), TY_Of_Expr(), Whirl2Src_Translate_Istore_Str(), WN2C_call(), WN2C_create_ref_param_lda(), WN2C_Function_Call_Lhs(), WN2C_iload(), WN2C_iloadx(), WN2C_istore(), WN2C_istorex(), WN2C_lda(), WN2C_ldid(), WN2C_mload(), WN2C_mstore(), WN2C_parm(), WN2C_stid(), WN2C_tas(), WN2F_array(), WN2F_arrsection(), WN2F_call(), LOC_INFO::WN2F_Find_And_Mark_Nested_Address(), WN2F_Funcall_Op(), WN2F_Function_Call_Lhs(), WN2F_iload(), WN2F_Infix_Op(), WN2F_io_list(), WN2F_Is_Address_Preg(), WN2F_istore(), WN2F_lda(), WN2F_ldid(), WN2F_mload(), WN2F_mstore(), WN2F_parm(), WN2F_pstid(), WN2F_pstore(), WN2F_stid(), WN_Convert_Shared_To_Local(), WN_Create_PtrEq_Test(), WN_Create_Shared_Load(), WN_Create_Shared_Ptr_Arithmetic(), WN_Create_Shared_Store(), WN_Equiv(), WN_has_side_effects(), WN_Is_Volatile_Mem(), WN_object_ty(), WN_SetNull_Sptr(), WN_Simplify_Rebuild_Expr_Tree(), WN_Simplify_Tree(), WN_Tree_Type(), and WN_Type_Is_Shared_Ptr().
Definition at line 1085 of file wn_core.h.
References ST_tcon_val(), and WN_st().
Referenced by Append_ST_String(), Const_Val(), W2F_Outfile_Translate_Pu(), WN2F_process_pragma(), and WN_val_type().