Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include "defs.h"
#include "stab.h"
#include "wn.h"
#include "config_targ.h"
#include "wn_simp.h"
#include "wio.h"
#include "targ_const.h"
#include "const.h"
#include "strtab.h"
#include "config.h"
#include "wn_util.h"
#include "fb_whirl.h"
Go to the source code of this file.
Functions | |
static INT | WN_Symbol_Count (WN *wn, ST_IDX symbol, WN_OFFSET offset) |
static void | WN_Flip_Le_And_Ge (WN *wn) |
static BOOL | WN_Solve_For (WN *wn_top, ST_IDX symbol, WN_OFFSET offset) |
BOOL | WN_Upper_Bound_Standardize (WN *doloop, WN *ub, BOOL ok_to_fail) |
static void WN_Flip_Le_And_Ge | ( | WN * | wn | ) | [static] |
Definition at line 81 of file standardize.cxx.
References FmtAssert, OPCODE_desc(), OPCODE_operator(), OPCODE_rtype(), OPR_GE, OPR_GT, OPR_LE, OPR_LT, WN_opcode(), and WN_set_opcode().
Referenced by WN_Solve_For(), and WN_Upper_Bound_Standardize().
static BOOL WN_Solve_For | ( | WN * | wn_top, |
ST_IDX | symbol, | ||
WN_OFFSET | offset | ||
) | [static] |
Definition at line 106 of file standardize.cxx.
References FALSE, FmtAssert, INTRN_I4DIVCEIL, INTRN_I4DIVFLOOR, INTRN_I8DIVCEIL, INTRN_I8DIVFLOOR, INTRN_U4DIVCEIL, INTRN_U4DIVFLOOR, INTRN_U8DIVCEIL, INTRN_U8DIVFLOOR, Is_True, MTYPE_I4, MTYPE_I8, MTYPE_U4, MTYPE_U8, MTYPE_V, NULL, OPCODE_desc(), OPCODE_is_load(), OPCODE_operator(), OPCODE_rtype(), OPR_ADD, OPR_CVT, OPR_GE, OPR_GT, OPR_INTCONST, OPR_INTRINSIC_OP, OPR_LE, OPR_LT, OPR_MPY, OPR_NEG, OPR_SUB, TRUE, WN_const_val(), WN_CreateExp1(), WN_CreateExp2(), WN_Delete, WN_Flip_Le_And_Ge(), WN_intrinsic(), WN_kid0(), WN_kid1(), WN_kid_count(), WN_opcode(), WN_operator(), WN_rtype(), WN_set_opcode(), and WN_Symbol_Count().
Referenced by WN_Upper_Bound_Standardize().
static INT WN_Symbol_Count | ( | WN * | wn, |
ST_IDX | symbol, | ||
WN_OFFSET | offset | ||
) | [static] |
Definition at line 60 of file standardize.cxx.
References OPR_LDID, WN_kid(), WN_kid_count(), WN_offset(), WN_operator(), and WN_st_idx().
Referenced by WN_Solve_For().
BOOL WN_Upper_Bound_Standardize | ( | WN * | doloop, |
WN * | ub, | ||
BOOL | ok_to_fail | ||
) |
Definition at line 282 of file standardize.cxx.
References FALSE, FmtAssert, MTYPE_V, NULL, OPC_DO_LOOP, OPCODE_name(), OPCODE_operator(), OPR_GT, OPR_INTCONST, OPR_LE, OPR_LT, OPR_SUB, WN_CreateExp2(), WN_CreateIntconst(), WN_desc(), WN_end, WN_Flip_Le_And_Ge(), WN_index, WN_kid0(), WN_kid1(), WN_offset(), WN_opcode(), WN_operator(), WN_rtype(), WN_set_opcode(), WN_Simplify_Tree(), WN_Solve_For(), and WN_st_idx().