Defines | Typedefs | Enumerations | Functions

opt_alias_interface.h File Reference

#include "defs.h"
#include "mempool.h"
#include "wn.h"
Include dependency graph for opt_alias_interface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define opt_alias_interface_INCLUDED   "opt_alias_interface.h"

Typedefs

typedef UINT32 ALIAS_CONTEXT

Enumerations

enum  ALIAS_RESULT { NOT_ALIASED = 0, POSSIBLY_ALIASED = 1, SAME_LOCATION = 2 }
enum  READ_WRITE { NO_READ_NO_WRITE = 0, READ = 0x1, WRITE = 0x2, READ_AND_WRITE = 0x3 }

Functions

struct ALIAS_MANAGERCreate_Alias_Manager (MEM_POOL *)
void Delete_Alias_Manager (struct ALIAS_MANAGER *, MEM_POOL *)
void Create_Restricted_Map (MEM_POOL *)
void Copy_Restricted_Map (WN *, struct ALIAS_MANAGER *)
void Delete_Restricted_Map (void)
void Erase_Restricted_Mapping (WN *)
void Verify_Restricted_Map (const WN *const, const POINTS_TO *const)
BOOL Update_From_Restricted_Map (WN *const, POINTS_TO *const)
void Note_Invalid_Based_Symbol (const ST *)
struct ALIAS_RULEAlias_Rule (struct ALIAS_MANAGER *)
ALIAS_CONTEXT Get_Default_Alias_Context (struct ALIAS_MANAGER *)
void Set_Alias_Context (struct ALIAS_MANAGER *, ALIAS_CONTEXT)
void Reset_Alias_Context (struct ALIAS_MANAGER *)
void Assign_preg_alias_id (struct ALIAS_MANAGER *, WN *)
BOOL No_alias (const struct ALIAS_MANAGER *am, WN *wn)
BOOL Valid_alias (const struct ALIAS_MANAGER *am, WN *wn)
ALIAS_RESULT Aliased (const struct ALIAS_MANAGER *, WN *, WN *)
ALIAS_RESULT Overlapped_base (const struct ALIAS_MANAGER *, const WN *, const WN *)
ALIAS_RESULT Aliased_with_region (const struct ALIAS_MANAGER *, const WN *, const WN *, READ_WRITE)
ALIAS_RESULT Aliased_with_intr_op (const struct ALIAS_MANAGER *, const WN *, const WN *)
void Note_Invalid_IP_Alias_Class (ALIAS_MANAGER *, const WN *)
void Invalidate_Persistent_Alias_Info (ALIAS_MANAGER *, WN *)
BOOL Homing_Load (const struct ALIAS_MANAGER *, const WN *load_wn)
void Set_Homing_Load (struct ALIAS_MANAGER *, WN *load_wn)
void Reset_Homing_Load (struct ALIAS_MANAGER *, WN *load_wn)
BOOL Homing_Store (const struct ALIAS_MANAGER *, const WN *store_wn)
void Set_Homing_Store (struct ALIAS_MANAGER *, WN *store_wn)
void Reset_Homing_Store (struct ALIAS_MANAGER *, WN *store_wn)
void Copy_alias_info (const struct ALIAS_MANAGER *, WN *, WN *)
void Duplicate_alias_info (struct ALIAS_MANAGER *, WN *, WN *)
BOOL Verify_alias (struct ALIAS_MANAGER *, WN *)
void Assign_alias_id (struct ALIAS_MANAGER *, WN *)
void Create_alias (struct ALIAS_MANAGER *, WN *)
void Create_local_alias (struct ALIAS_MANAGER *, WN *)
void Create_global_alias (struct ALIAS_MANAGER *, ST *, WN *, WN *)
void Create_formal_alias (struct ALIAS_MANAGER *, ST *, WN *, WN *)
void Create_vector_alias (struct ALIAS_MANAGER *, WN *, WN *)
void Create_unique_pointer_alias (struct ALIAS_MANAGER *, ST *, WN *, WN *)
void Create_lda_array_alias (struct ALIAS_MANAGER *, WN *, WN *)
void Print_alias_info (char *, const struct ALIAS_MANAGER *, const WN *)
BOOL May_refer_to_alloca_mem (const struct ALIAS_MANAGER *, const WN *)
BOOL Safe_to_speculate (const struct ALIAS_MANAGER *, const WN *)
void Dump_alias_mgr (const struct ALIAS_MANAGER *, const WN *, FILE *fp)
void PU_adjust_addr_flags (ST *, WN *)

Define Documentation

#define opt_alias_interface_INCLUDED   "opt_alias_interface.h"

Definition at line 50 of file opt_alias_interface.h.


Typedef Documentation

Definition at line 326 of file opt_alias_interface.h.


Enumeration Type Documentation

Enumerator:
NOT_ALIASED 
POSSIBLY_ALIASED 
SAME_LOCATION 

Definition at line 312 of file opt_alias_interface.h.

enum READ_WRITE
Enumerator:
NO_READ_NO_WRITE 
READ 
WRITE 
READ_AND_WRITE 

Definition at line 319 of file opt_alias_interface.h.


Function Documentation

struct ALIAS_RULE* Alias_Rule ( struct ALIAS_MANAGER  )  [read]
ALIAS_RESULT Aliased ( const struct ALIAS_MANAGER ,
WN ,
WN  
)

Referenced by WB_BROWSER::Alias_Walk().

ALIAS_RESULT Aliased_with_intr_op ( const struct ALIAS_MANAGER ,
const WN ,
const WN  
)
ALIAS_RESULT Aliased_with_region ( const struct ALIAS_MANAGER ,
const WN ,
const WN ,
READ_WRITE   
)
void Assign_alias_id ( struct ALIAS_MANAGER ,
WN  
)
void Assign_preg_alias_id ( struct ALIAS_MANAGER ,
WN  
)
void Copy_alias_info ( const struct ALIAS_MANAGER ,
WN ,
WN  
)
void Copy_Restricted_Map ( WN ,
struct ALIAS_MANAGER  
)
void Create_alias ( struct ALIAS_MANAGER ,
WN  
)
struct ALIAS_MANAGER* Create_Alias_Manager ( MEM_POOL  )  [read]
void Create_formal_alias ( struct ALIAS_MANAGER ,
ST ,
WN ,
WN  
)
void Create_global_alias ( struct ALIAS_MANAGER ,
ST ,
WN ,
WN  
)
void Create_lda_array_alias ( struct ALIAS_MANAGER ,
WN ,
WN  
)
void Create_local_alias ( struct ALIAS_MANAGER ,
WN  
)
void Create_Restricted_Map ( MEM_POOL  ) 

Referenced by Preprocess_PU().

void Create_unique_pointer_alias ( struct ALIAS_MANAGER ,
ST ,
WN ,
WN  
)
void Create_vector_alias ( struct ALIAS_MANAGER ,
WN ,
WN  
)
void Delete_Alias_Manager ( struct ALIAS_MANAGER ,
MEM_POOL  
)
void Delete_Restricted_Map ( void   ) 

Referenced by Postprocess_PU().

void Dump_alias_mgr ( const struct ALIAS_MANAGER ,
const WN ,
FILE *  fp 
)
void Duplicate_alias_info ( struct ALIAS_MANAGER ,
WN ,
WN  
)
void Erase_Restricted_Mapping ( WN  ) 
ALIAS_CONTEXT Get_Default_Alias_Context ( struct ALIAS_MANAGER  ) 
BOOL Homing_Load ( const struct ALIAS_MANAGER ,
const WN load_wn 
)
BOOL Homing_Store ( const struct ALIAS_MANAGER ,
const WN store_wn 
)
void Invalidate_Persistent_Alias_Info ( ALIAS_MANAGER ,
WN  
)
BOOL May_refer_to_alloca_mem ( const struct ALIAS_MANAGER ,
const WN  
)
BOOL No_alias ( const struct ALIAS_MANAGER am,
WN wn 
)
void Note_Invalid_Based_Symbol ( const ST  ) 
void Note_Invalid_IP_Alias_Class ( ALIAS_MANAGER ,
const WN  
)
ALIAS_RESULT Overlapped_base ( const struct ALIAS_MANAGER ,
const WN ,
const WN  
)
void Print_alias_info ( char *  ,
const struct ALIAS_MANAGER ,
const WN  
)
void PU_adjust_addr_flags ( ST ,
WN  
)
void Reset_Alias_Context ( struct ALIAS_MANAGER  ) 
void Reset_Homing_Load ( struct ALIAS_MANAGER ,
WN load_wn 
)
void Reset_Homing_Store ( struct ALIAS_MANAGER ,
WN store_wn 
)
BOOL Safe_to_speculate ( const struct ALIAS_MANAGER ,
const WN  
)
void Set_Alias_Context ( struct ALIAS_MANAGER ,
ALIAS_CONTEXT   
)
void Set_Homing_Load ( struct ALIAS_MANAGER ,
WN load_wn 
)
void Set_Homing_Store ( struct ALIAS_MANAGER ,
WN store_wn 
)
BOOL Update_From_Restricted_Map ( WN const,
POINTS_TO const 
)
BOOL Valid_alias ( const struct ALIAS_MANAGER am,
WN wn 
)
BOOL Verify_alias ( struct ALIAS_MANAGER ,
WN  
)

Referenced by WOPT_Processing().

void Verify_Restricted_Map ( const WN const,
const POINTS_TO const 
)