Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include <sys/types.h>
#include <elf.h>
#include <stdio.h>
#include "wn.h"
#include "stab.h"
#include "cxx_template.h"
#include "cxx_memory.h"
#include "anl_driver.h"
#include "prompf.h"
#include "ir_reader.h"
#include "targ_sim.h"
Go to the source code of this file.
Defines | |
#define | USE_STANDARD_TYPES |
#define | PM_ASSERT(a, b) ((a) ? 0 : (fprintf b, fprintf(fp, "\n"), check_error_count++)) |
Functions | |
static BOOL | Is_Grandparent_Region (WN *wn_node, WN *wn_region) |
PROMPF_ID_TYPE | Prompf_Id_Type (WN *wn_ref, WN *wn_region, BOOL *is_first) |
static const char * | Whirl_Symbol_Type (WN *wn) |
static BOOL | Is_Mark_Type (PROMPF_TRANS_TYPE ptt) |
static void | Prompf_Assign_Ids_Traverse (WN *wn_old, WN *wn_new, STACK< WN * > *old_stack, STACK< WN * > *new_stack, BOOL copy_ids, INT max_ids) |
void | Prompf_Assign_Ids (WN *wn_old, WN *wn_new, STACK< WN * > *old_stack, STACK< WN * > *new_stack, BOOL copy_ids, INT max_ids) |
Variables | |
PROMPF_INFO * | Prompf_Info = NULL |
MEM_POOL | PROMPF_pool |
FILE * | STDOUT = stdout |
PROMPF_CHAIN_TYPE | prompf_chain [] |
static INT | check_error_count = 0 |
Definition at line 2452 of file prompf.cxx.
#define USE_STANDARD_TYPES |
Definition at line 44 of file prompf.cxx.
static BOOL Is_Grandparent_Region | ( | WN * | wn_node, |
WN * | wn_region | ||
) | [static] |
Definition at line 885 of file prompf.cxx.
References FALSE, FmtAssert, NULL, OPC_REGION, TRUE, wn, WN_first(), WN_next(), WN_opcode(), and WN_region_body.
Referenced by Prompf_Id_Type().
static BOOL Is_Mark_Type | ( | PROMPF_TRANS_TYPE | ptt | ) | [static] |
Definition at line 2568 of file prompf.cxx.
void Prompf_Assign_Ids | ( | WN * | wn_old, |
WN * | wn_new, | ||
STACK< WN * > * | old_stack, | ||
STACK< WN * > * | new_stack, | ||
BOOL | copy_ids, | ||
INT | max_ids | ||
) |
Definition at line 2787 of file prompf.cxx.
References Prompf_Assign_Ids_Traverse().
static void Prompf_Assign_Ids_Traverse | ( | WN * | wn_old, |
WN * | wn_new, | ||
STACK< WN * > * | old_stack, | ||
STACK< WN * > * | new_stack, | ||
BOOL | copy_ids, | ||
INT | max_ids | ||
) | [static] |
Definition at line 2726 of file prompf.cxx.
References FmtAssert, New_Construct_Id(), NULL, OPC_BLOCK, OPCODE_is_scf(), Prompf_Id_Map, WN_first(), WN_kid(), WN_kid_count(), WN_MAP32_Get, WN_MAP32_Set, WN_next(), and WN_opcode().
Referenced by Prompf_Assign_Ids().
PROMPF_ID_TYPE Prompf_Id_Type | ( | WN * | wn_ref, |
WN * | wn_region, | ||
BOOL * | is_first | ||
) |
Definition at line 908 of file prompf.cxx.
References FALSE, Is_Grandparent_Region(), NULL, OPC_DO_LOOP, OPC_FUNC_ENTRY, OPC_PRAGMA, OPC_REGION, OPC_XPRAGMA, TRUE, WN_first(), WN_opcode(), WN_pragma(), WN_pragma_arg1(), WN_PRAGMA_ATOMIC, WN_PRAGMA_BARRIER, WN_PRAGMA_CRITICAL_SECTION_BEGIN, WN_PRAGMA_CRITICAL_SECTION_END, WN_PRAGMA_DOACROSS, WN_PRAGMA_MASTER_BEGIN, WN_PRAGMA_ORDERED_BEGIN, WN_PRAGMA_ORDERED_END, WN_PRAGMA_PARALLEL_BEGIN, WN_PRAGMA_PARALLEL_DO, WN_PRAGMA_PARALLEL_SECTIONS, WN_PRAGMA_PDO_BEGIN, WN_PRAGMA_PSECTION_BEGIN, WN_PRAGMA_SECTION, WN_PRAGMA_SINGLE_PROCESS_BEGIN, and WN_region_pragmas.
static const char* Whirl_Symbol_Type | ( | WN * | wn | ) | [static] |
Definition at line 1010 of file prompf.cxx.
References CLASS_PREG, Last_Dedicated_Preg_Offset, wn_pragma_desc::name, NULL, OPC_DO_LOOP, OPC_PRAGMA, OPC_XPRAGMA, OPCODE_has_sym(), OPCODE_name(), OPCODE_operator(), Preg_Name(), ST_class(), ST_name(), WN_index, WN_offset(), WN_opcode(), WN_pragma(), WN_pragmas, and WN_st().
INT check_error_count = 0 [static] |
Definition at line 2450 of file prompf.cxx.
PROMPF_CHAIN_TYPE prompf_chain[] |
Definition at line 81 of file prompf.cxx.
PROMPF_INFO* Prompf_Info = NULL |
Definition at line 71 of file prompf.cxx.
Referenced by Anl_Fini(), and Anl_Static_Analysis().
Definition at line 72 of file prompf.cxx.
Referenced by Anl_Fini(), and Anl_Static_Analysis().
FILE* STDOUT = stdout |
Definition at line 73 of file prompf.cxx.