osprey/be/com/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/Subroutines

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_Be_Immediate ( OPERATOR  opr,
INT64  val,
TYPE_ID  dtype,
INT  whichkid,
ST stid_st 
)

BOOL Can_Do_Fast_Divide ( TYPE_ID  mtype,
INT64  val 
)

Definition at line 161 of file betarget.cxx.

References FALSE, Is_Power_Of_2(), and TRUE.

BOOL Can_Do_Fast_Multiply ( TYPE_ID  mtype,
INT64  val 
)

BOOL Can_Do_Fast_Remainder ( TYPE_ID  mtype,
INT64  val 
)

Definition at line 171 of file betarget.cxx.

References FALSE, Is_Power_Of_2(), and TRUE.

INT Divide_Limit ( BOOL  is_64bit  ) 

Definition at line 215 of file betarget.cxx.

References INT, Target, TARGET_ITANIUM, TARGET_ITANIUM2, and TARGET_opteron.

INT Multiply_Limit ( BOOL  is_64bit,
INT64  val 
)

Definition at line 194 of file betarget.cxx.

References INT, Target, TARGET_ITANIUM, TARGET_ITANIUM2, and TARGET_opteron.

BOOL OPCODE_Can_Be_Speculative ( OPCODE  opcode  ) 

TOP OPCODE_To_TOP ( OPCODE  opcode  ) 

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.

Referenced by CGTARG_Can_Be_Speculative().

TOP WHIRL_To_TOP ( WN wn  ) 

Definition at line 61 of file w2op.cxx.

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

Referenced by Expand_Expr(), and LNOTARGET_Whirl_To_Top().

BOOL WN_Can_Be_Speculative ( WN wn,
struct ALIAS_MANAGER alias 
)

BOOL WN_Expr_Can_Be_Speculative ( WN wn,
struct ALIAS_MANAGER alias 
)


Generated on Wed Apr 8 14:31:25 2009 for Open64 by  doxygen 1.5.6