osprey/be/cg/whirl2ops.h File Reference

#include "op_map.h"

Include dependency graph for whirl2ops.h:

Go to the source code of this file.

Defines

#define BB_has_globals   BB_local_flag1
#define Set_BB_has_globals   Set_BB_local_flag1
#define Reset_BB_has_globals   Reset_BB_local_flag1
#define STL_def_BB(st)   (struct bb *)STL_ltemp(st)
#define Set_STL_def_BB(st, v)   Set_STL_ltemp(st,v)

Functions/Subroutines

void Convert_WHIRL_To_OPs (WN *pu)
void Whirl2ops_Initialize (struct ALIAS_MANAGER *alias_mgr)
void Whirl2ops_Finalize (void)
TNGet_Complement_TN (TN *tn)
TNPREG_To_TN (ST *preg_st, PREG_NUM preg_num)
TNPREG_To_TN (TY_IDX preg_ty, PREG_NUM preg_num)
void PREG_To_TN_Clear (void)
PREG_NUM TN_To_PREG (TN *tn)
PREG_NUM TN_To_Assigned_PREG (TN *tn)
WNPreg_Is_Rematerializable (PREG_NUM preg, BOOL *gra_homeable)
WNGet_WN_From_Memory_OP (const OP *op)
void Set_Memory_OP_Predicate_Info (OP *memop, TN *pred_tn, UINT8 omega, BOOL inverted)
void Get_Memory_OP_Predicate_Info (OP *memop, TN **pred_tn, UINT8 *omega, BOOL *inverted)
void Copy_WN_For_Memory_OP (OP *dest, OP *src)
OPGet_OP_From_WN (WN *wn)
BOOL Prefetch_Kind_Enabled (WN *wn)
void TN_CORRESPOND_Free (void)
BBAdd_Label (LABEL_IDX)
void Expand_New_Call_To_OPs (WN *, OPERATOR, OPS *)

Variables

BOOL Compiling_Proper_REGION
TN ** PREG_To_TN_Array
TYPE_IDPREG_To_TN_Mtype
OP_MAP OP_to_WN_map
OP_MAP OP_Asm_Map


Define Documentation

#define BB_has_globals   BB_local_flag1

#define Reset_BB_has_globals   Reset_BB_local_flag1

Definition at line 52 of file whirl2ops.h.

Referenced by Localize_or_Replace_Dedicated_TNs(), Split_BB(), and Start_New_Basic_Block().

#define Set_BB_has_globals   Set_BB_local_flag1

#define Set_STL_def_BB ( st,
 )     Set_STL_ltemp(st,v)

Definition at line 56 of file whirl2ops.h.

#define STL_def_BB ( st   )     (struct bb *)STL_ltemp(st)

Definition at line 55 of file whirl2ops.h.


Function Documentation

BB* Add_Label ( LABEL_IDX   ) 

void Convert_WHIRL_To_OPs ( WN pu  ) 

void Copy_WN_For_Memory_OP ( OP dest,
OP src 
)

void Expand_New_Call_To_OPs ( WN ,
OPERATOR  ,
OPS  
)

TN* Get_Complement_TN ( TN tn  ) 

void Get_Memory_OP_Predicate_Info ( OP memop,
TN **  pred_tn,
UINT8 *  omega,
BOOL inverted 
)

Definition at line 527 of file whirl2ops.cxx.

References NULL, OP_MAP64_Get(), TNvec, and UINT64.

Referenced by under_same_cond_tn().

OP* Get_OP_From_WN ( WN wn  ) 

Definition at line 511 of file whirl2ops.cxx.

References WN_MAP_Get, and WN_to_OP_map.

WN* Get_WN_From_Memory_OP ( const OP op  )  [inline]

BOOL Prefetch_Kind_Enabled ( WN wn  ) 

WN* Preg_Is_Rematerializable ( PREG_NUM  preg,
BOOL gra_homeable 
)

TN* PREG_To_TN ( TY_IDX  preg_ty,
PREG_NUM  preg_num 
)

Definition at line 1160 of file whirl2ops.cxx.

References Add_TN_Pair(), BOOL, Build_Dedicated_TN(), Build_TN_Of_Mtype(), CGSPILL_Rematerialize_Constants, CGTARG_Preg_Register_And_Class(), Create_TN_Pair, CURRENT_SYMTAB, dedicated_seen, FALSE, First_Int_Preg_Return_Offset, FmtAssert, fprintf(), Get_Current_PU, Get_Preg_Num(), Get_TN_Pair(), Get_Trace(), GLOBAL_SYMTAB, GRA_non_home_hi, GRA_non_home_lo, Is_Int_Output_Preg(), Is_Predicate_REGISTER_CLASS(), Is_Target_32bit, Is_Target_64bit, Is_True, Last_Dedicated_Preg_Offset, Last_Int_Preg_Return_Offset, mtype, MTYPE_C4, MTYPE_F4, MTYPE_F8, MTYPE_I4, MTYPE_I8, MTYPE_U4, MTYPE_U8, NULL, OP_NEED_PAIR, Preg_Is_Rematerializable(), PREG_Table_Size(), PU_has_syscall_linkage(), REGISTER_Allocate_Stacked_Register(), REGISTER_machine_id, REGISTER_Unallocate_Stacked_Register(), Set_TN_home, Set_TN_is_gra_homeable, Set_TN_is_rematerializable, TFile, TN_is_dedicated, TN_is_float, TN_is_gra_homeable, TN_is_rematerializable, TN_MAP_Set(), TN_number, TN_register, TN_register_class, TN_size, TN_To_PREG_Map, TP_CGEXP, TRUE, TY_mtype, TY_size, and TYPE_ID.

Referenced by Build_Vote(), CGEMIT_Call(), CGEMIT_Function_Prototype(), CGTARG_TN_And_Name_For_Asm_Constraint(), CGTARG_TN_For_Asm_Operand(), Exp_Intrinsic_Call(), Exp_Ldst(), Exp_Simulated_Op(), Handle_ASM(), Handle_DIVPART(), Handle_DIVREM(), Handle_LDBITS(), Handle_LDID(), Handle_MAXPART(), Handle_MINMAX(), Handle_MINPART(), Handle_REMPART(), Handle_STBITS(), Handle_STID(), Live_Init(), and PREG_To_TN().

TN* PREG_To_TN ( ST preg_st,
PREG_NUM  preg_num 
)

Definition at line 1423 of file whirl2ops.cxx.

References PREG_To_TN(), and ST_type.

void PREG_To_TN_Clear ( void   ) 

void Set_Memory_OP_Predicate_Info ( OP memop,
TN pred_tn,
UINT8  omega,
BOOL  inverted 
)

Definition at line 517 of file whirl2ops.cxx.

References NULL, OP_MAP64_Create, OP_MAP64_Get(), OP_MAP64_Set(), TN_number, and UINT64.

void TN_CORRESPOND_Free ( void   ) 

Definition at line 2113 of file whirl2ops.cxx.

References Malloc_Mem_Pool, MEM_POOL_FREE, next, TN_CORRESPOND::next, NULL, and p.

Referenced by CG_Region_Initialize().

PREG_NUM TN_To_Assigned_PREG ( TN tn  ) 

PREG_NUM TN_To_PREG ( TN tn  ) 

void Whirl2ops_Finalize ( void   ) 

void Whirl2ops_Initialize ( struct ALIAS_MANAGER alias_mgr  ) 


Variable Documentation

Definition at line 184 of file whirl2ops.cxx.


Generated on Wed Apr 8 14:29:59 2009 for Open64 by  doxygen 1.5.6