Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
rewrite_pragmas.cxx File Reference
#include "wn.h"
#include "stab.h"
#include "strtab.h"
#include "mtypes.h"
#include "targ_const.h"
#include "config_targ.h"
#include "wn_util.h"
#include "region_util.h"
#include <alloca.h>
#include "data_layout.h"
Include dependency graph for rewrite_pragmas.cxx:

Go to the source code of this file.

Functions

void Rewrite_Pragmas_On_Structs (WN *block_wn, WN *wn)
static void Rewrite_Structs_In_MPRegion (WN *wn, WN *parent_wn, INT count, WN **rewrite_pwn, ST **rewrite_st, TYPE_ID *rewrite_rtype, TYPE_ID *rewrite_desc)
static BOOL Tree_Equiv (WN *wn1, WN *wn2)
static BOOL Is_Mp_Region (WN *wn)
static BOOL Weird_Array_Element (WN *pwn)
static BOOL Array_Element_Then_Struct (WN *pwn)
static INT Find_Symbol (WN **rewrite_pwn, INT count, ST *st, WN_OFFSET ofst)
static INT Find_Reduction_Symbol (WN **rewrite_pwn, INT count, WN *array_wn, INT64 ofst)

Function Documentation

static INT Find_Reduction_Symbol ( WN **  rewrite_pwn,
INT  count,
WN array_wn,
INT64  ofst 
) [static]

Definition at line 564 of file rewrite_pragmas.cxx.

References OPR_XPRAGMA, Tree_Equiv(), WN_kid0(), WN_operator(), and WN_prefetch_flag().

Referenced by Rewrite_Structs_In_MPRegion().

Here is the call graph for this function:

static INT Find_Symbol ( WN **  rewrite_pwn,
INT  count,
ST st,
WN_OFFSET  ofst 
) [static]

Definition at line 512 of file rewrite_pragmas.cxx.

References NULL, OPR_PRAGMA, WN_operator(), WN_pragma_arg1(), and WN_st().

Referenced by Rewrite_Structs_In_MPRegion().

Here is the call graph for this function:

static BOOL Is_Mp_Region ( WN wn) [static]

Definition at line 65 of file rewrite_pragmas.cxx.

References FALSE.

Referenced by Rewrite_Pragmas_On_Structs().

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

Definition at line 532 of file rewrite_pragmas.cxx.

References FALSE, NULL, OPC_BLOCK, TRUE, WN_Equiv(), WN_first(), WN_kid(), WN_kid_count(), WN_next(), and WN_opcode().

Referenced by Find_Reduction_Symbol(), and Rewrite_Pragmas_On_Structs().

Here is the call graph for this function:

static BOOL Weird_Array_Element ( WN pwn) [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines