Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
ipl_lno_util.cxx File Reference
#include <elf.h>
#include <sys/types.h>
#include "wn_util.h"
#include "lwn_util.h"
#include "ipa_section.h"
#include "ipa_lno_file.h"
#include "ipl_lno_util.h"
#include "ipl_summarize.h"
#include "ipl_array_bread_write.h"
Include dependency graph for ipl_lno_util.cxx:

Go to the source code of this file.

Functions

TYPE_ID Machine_Type (WN *wn_argument)
INT32 Formal_Position (const ST *formal_st)
INT Node_Count (WN *wn_node, INT limit, BOOL symbol_only)
WNTrue_Bound (WN *wn_func, ST_IDX st_idx_exp)
static BOOL Is_Constant_Tree (WN *wn_exp, INT64 *const_value)
static BOOL Is_Exp_Linexable (WN *wn_exp, BOOL Is_LNO)
static void Exp_To_Linex_Array (WN *wn_exp, TERM_ARRAY *terms, MEM_POOL *mem_pool, BOOL Is_LNO, IPA_LNO_READ_FILE *IPA_LNO_File)
BOOL Exp_To_Linex (WN *wn_exp, LINEX *lx_exp, MEM_POOL *mem_pool, BOOL negate, BOOL Is_LNO, IPA_LNO_READ_FILE *IPA_LNO_File)
PROJECTED_REGIONProjected_Region_From_St (WN *wn_func, ST *st, MEM_POOL *mem_pool, BOOL Is_LNO, IPA_LNO_READ_FILE *IPA_LNO_File)
PROJECTED_REGIONProjected_Region_From_Access_Array (ACCESS_ARRAY *aa, MEM_POOL *mem_pool, IPA_LNO_READ_FILE *IPA_LNO_File)

Variables

SUMMARY * Summary
ARRAY_SUMMARY Array_Summary

Function Documentation

BOOL Exp_To_Linex ( WN wn_exp,
LINEX lx_exp,
MEM_POOL mem_pool,
BOOL  negate,
BOOL  Is_LNO,
IPA_LNO_READ_FILE IPA_LNO_File 
)

Definition at line 377 of file ipl_lno_util.cxx.

References Exp_To_Linex_Array(), FALSE, TERM::Get_coeff(), Is_Exp_Linexable(), TERM::Set_coeff(), LINEX::Set_term(), and TRUE.

Referenced by Projected_Region_From_St().

Here is the call graph for this function:

static BOOL Is_Constant_Tree ( WN wn_exp,
INT64 const_value 
) [static]

Definition at line 165 of file ipl_lno_util.cxx.

References FALSE, OPR_ADD, OPR_INTCONST, OPR_MPY, OPR_NEG, OPR_SUB, TRUE, WN_const_val(), WN_kid0(), WN_kid1(), and WN_operator().

Referenced by Exp_To_Linex_Array(), and Is_Exp_Linexable().

Here is the call graph for this function:

static BOOL Is_Exp_Linexable ( WN wn_exp,
BOOL  Is_LNO 
) [static]
TYPE_ID Machine_Type ( WN wn_argument)

Definition at line 54 of file ipl_lno_util.cxx.

References KIND_ARRAY, KIND_POINTER, MTYPE_UNKNOWN, OPCODE_has_sym(), OPR_PARM, ST_type(), TY_etype(), TY_kind(), TY_mtype(), TY_pointed(), WN_kid0(), WN_opcode(), WN_operator(), and WN_st().

Here is the call graph for this function:

INT Node_Count ( WN wn_node,
INT  limit,
BOOL  symbol_only 
)

Definition at line 108 of file ipl_lno_util.cxx.

References Node_Count(), NULL, OPC_BLOCK, OPCODE_has_sym(), wn, WN_first(), WN_kid(), WN_kid_count(), WN_next(), and WN_opcode().

Referenced by Node_Count().

Here is the call graph for this function:

PROJECTED_REGION* Projected_Region_From_Access_Array ( ACCESS_ARRAY *  aa,
MEM_POOL mem_pool,
IPA_LNO_READ_FILE IPA_LNO_File 
)

Definition at line 495 of file ipl_lno_util.cxx.

References CXX_NEW, FALSE, and NULL.

WN* True_Bound ( WN wn_func,
ST_IDX  st_idx_exp 
)

Definition at line 141 of file ipl_lno_util.cxx.

References NULL, OPR_STID, wn, wn_iter::wn, WN_kid0(), WN_operator(), WN_st_idx(), WN_WALK_TreeIter(), and WN_WALK_TreeNext().

Referenced by Projected_Region_From_St().

Here is the call graph for this function:


Variable Documentation

SUMMARY* Summary
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines