Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
prompf.cxx File Reference
#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"
Include dependency graph for prompf.cxx:

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

Define Documentation

#define PM_ASSERT (   a,
 
)    ((a) ? 0 : (fprintf b, fprintf(fp, "\n"), check_error_count++))

Definition at line 2452 of file prompf.cxx.

Definition at line 44 of file prompf.cxx.


Function Documentation

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().

Here is the call graph for this function:

static BOOL Is_Mark_Type ( PROMPF_TRANS_TYPE  ptt) [static]

Definition at line 2568 of file prompf.cxx.

References FALSE, and TRUE.

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:


Variable Documentation

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines