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

Go to the source code of this file.

Functions

TOP OPCODE_To_TOP (OPCODE opcode)
TOP WHIRL_To_TOP (WN *wn)
BOOL Can_Do_Fast_Multiply (TYPE_ID mtype, INT64 val)
BOOL Can_Do_Fast_Divide (TYPE_ID mtype, INT64 val)
BOOL Can_Do_Fast_Remainder (TYPE_ID mtype, INT64 val)
INT Multiply_Limit (BOOL is_64bit, INT64 val)
INT Divide_Limit (BOOL is_64bit)
BOOL Can_Be_Immediate (OPERATOR opr, INT64 val, TYPE_ID dtype, INT whichkid, ST *stid_st)
BOOL TOP_Can_Be_Speculative (TOP opcode)
BOOL WN_Can_Be_Speculative (WN *wn, struct ALIAS_MANAGER *alias)
BOOL WN_Expr_Can_Be_Speculative (WN *wn, struct ALIAS_MANAGER *alias)
BOOL OPCODE_Can_Be_Speculative (OPCODE opcode)

Function Documentation

BOOL Can_Do_Fast_Divide ( TYPE_ID  mtype,
INT64  val 
)

Definition at line 153 of file betarget.cxx.

References FALSE, Is_Power_Of_2(), and TRUE.

Referenced by Can_Be_Immediate().

Here is the call graph for this function:

BOOL Can_Do_Fast_Multiply ( TYPE_ID  mtype,
INT64  val 
)

Definition at line 255 of file betarget.cxx.

References FALSE, OPT_Space, TRUE, and val.

Referenced by Can_Be_Immediate().

BOOL Can_Do_Fast_Remainder ( TYPE_ID  mtype,
INT64  val 
)

Definition at line 163 of file betarget.cxx.

References FALSE, Is_Power_Of_2(), and TRUE.

Referenced by Can_Be_Immediate().

Here is the call graph for this function:

INT Divide_Limit ( BOOL  is_64bit)

Definition at line 205 of file betarget.cxx.

References Target, and TARGET_ITANIUM.

INT Multiply_Limit ( BOOL  is_64bit,
INT64  val 
)

Definition at line 186 of file betarget.cxx.

References Target, and TARGET_ITANIUM.

TOP OPCODE_To_TOP ( OPCODE  opcode)

Definition at line 69 of file betarget.cxx.

References MTYPE_F4, MTYPE_F8, MTYPE_V, OPCODE_desc(), OPCODE_operator(), OPCODE_rtype(), OPR_ABS, OPR_BACKWARD_BARRIER, OPR_FORWARD_BARRIER, OPR_INTRINSIC_CALL, OPR_NEG, OPR_PAREN, OPR_PARM, and OPR_TRAP.

Referenced by WHIRL_To_TOP().

Here is the call graph for this function:

BOOL TOP_Can_Be_Speculative ( TOP  opcode)

Definition at line 81 of file w2op.cxx.

References DevWarn(), EAGER_ARITH, EAGER_DIVIDE, Eager_Level, EAGER_MEMORY, EAGER_NONE, EAGER_SAFE, FALSE, and TRUE.

Here is the call graph for this function:

TOP WHIRL_To_TOP ( WN wn)

Definition at line 61 of file w2op.cxx.

References OPCODE_operator(), OPCODE_To_TOP(), OPR_TAS, TAS_To_TOP(), top, and WN_opcode().

Here is the call graph for this function:

BOOL WN_Expr_Can_Be_Speculative ( WN wn,
struct ALIAS_MANAGER *  alias 
)

Definition at line 303 of file w2op.cxx.

References FALSE, WN_Can_Be_Speculative(), WN_Expr_Can_Be_Speculative(), WN_kid(), and WN_kid_count().

Referenced by WN_Expr_Can_Be_Speculative().

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines