Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
xstats.h File Reference
#include "opcode.h"
#include "wn_core.h"
Include dependency graph for xstats.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define COMPUTE_OLIMIT(b, s)   (b + b + s)
#define COMPUTE_PU_OLIMIT

Functions

void Initialize_Stats (void)
void Initialize_PU_Stats (void)
void Print_PU_Stats (void)
void Print_Total_Stats (void)
void Count_WN_Node (WN *node, INT32 *bbs, INT32 *stmts)
void Count_WN_Operator (OPERATOR opr, TYPE_ID rtype, INT32 &bbs, INT32 &stmts, INT32 &calls)
void Count_WN_Opcode (OPCODE opcode, INT32 *bbs, INT32 *stmts)

Variables

UINT32 PU_Olimit
UINT32 Max_Src_Olimit
INT32 PU_WN_Cnt
INT32 PU_WN_BB_Cnt
INT32 PU_WN_Stmt_Cnt
INT32 PU_WN_Call_Cnt
INT32 PU_WN_Loop_Cnt
INT32 PU_BB_Cnt
INT32 PU_OP_Cnt
INT32 PU_Size
INT32 PU_TN_Cnt
INT32 Misaligned_Cnt
INT32 Temp_Var_Cnt
INT32 Spill_Var_Cnt

Define Documentation

#define COMPUTE_OLIMIT (   b,
  s 
)    (b + b + s)

Definition at line 68 of file xstats.h.

Value:

Definition at line 69 of file xstats.h.

Referenced by Adjust_Opt_Level().


Function Documentation

void Count_WN_Node ( WN node,
INT32 bbs,
INT32 stmts 
)

Definition at line 149 of file xstats.cxx.

References Count_WN_Operator(), OPC_GOTO, OPC_IO, OPC_IO_ITEM, PU_WN_Call_Cnt, WN_io_item(), WN_kid(), WN_kid0(), WN_kid_count(), WN_opcode(), WN_operator(), and WN_rtype().

Here is the call graph for this function:

void Count_WN_Opcode ( OPCODE  opcode,
INT32 bbs,
INT32 stmts 
) [inline]

Definition at line 105 of file xstats.h.

References Count_WN_Operator(), OPCODE_operator(), and OPCODE_rtype().

Referenced by fix_tree().

Here is the call graph for this function:

void Print_Total_Stats ( void  )

Definition at line 276 of file xstats.cxx.

References fprintf(), Get_Trace(), Misaligned_Cnt, PHASE_NAME, TFile, TINFO_STATS, TKIND_INFO, Total_BB_Cnt, Total_Code_Size, Total_OP_Cnt, Total_Spill_Var_Cnt, Total_Temp_Var_Cnt, Total_TN_Cnt, and Total_WN_Cnt.

Referenced by main().

Here is the call graph for this function:


Variable Documentation

Definition at line 67 of file xstats.cxx.

Referenced by Initialize_Stats(), and main().

Definition at line 86 of file xstats.cxx.

Referenced by Initialize_Stats(), and Print_Total_Stats().

Definition at line 76 of file xstats.cxx.

Referenced by Initialize_PU_Stats(), Initialize_Stats(), and Print_PU_Stats().

Definition at line 66 of file xstats.cxx.

Referenced by Adjust_Opt_Level().

Definition at line 78 of file xstats.cxx.

Referenced by Initialize_PU_Stats(), Initialize_Stats(), and Print_PU_Stats().

Definition at line 80 of file xstats.cxx.

Referenced by Initialize_PU_Stats(), Initialize_Stats(), and Print_PU_Stats().

Definition at line 82 of file xstats.cxx.

Referenced by Initialize_PU_Stats(), Initialize_Stats(), and Print_PU_Stats().

Definition at line 70 of file xstats.cxx.

Referenced by Initialize_PU_Stats(), Initialize_Stats(), and Print_PU_Stats().

Definition at line 75 of file xstats.cxx.

Referenced by Initialize_PU_Stats(), and Initialize_Stats().

Definition at line 89 of file xstats.cxx.

Referenced by Initialize_PU_Stats(), Initialize_Stats(), and Print_PU_Stats().

Definition at line 87 of file xstats.cxx.

Referenced by Initialize_PU_Stats(), Initialize_Stats(), and Print_PU_Stats().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines