#include "wn.h"


Go to the source code of this file.
Data Types | |
| type | pf_pointer |
Defines | |
| #define | GET_CONF_1L(flag) (((flag) >> 8) & 0xf) |
| #define | SET_CONF_1L(flag, x) flag=(((flag) & 0xfffff0ff) | (((x) & 0xf) << 8)) |
| #define | GET_CONF_2L(flag) (((flag) >> 12) & 0xf) |
| #define | SET_CONF_2L(flag, x) flag=(((flag) & 0xffff0fff) | (((x) & 0xf) << 12)) |
| #define | PF_PTR_wn_pref_1L(pp) ((pp)->wn_pref_1L) |
| #define | PF_PTR_wn_pref_2L(pp) ((pp)->wn_pref_2L) |
| #define | PF_PTR_distance_1L(pp) ((pp)->distance_1L) |
| #define | PF_PTR_distance_2L(pp) ((pp)->distance_2L) |
| #define | PF_PTR_lrnum_1L(pp) ((pp)->lrnum_1L) |
| #define | PF_PTR_lrnum_2L(pp) ((pp)->lrnum_2L) |
| #define | PF_PTR_flag(pp) ((pp)->flag) |
| #define | PF_PTR_conf_1L(pp) (GET_CONF_1L(PF_PTR_flag(pp))) |
| #define | PF_PTR_set_conf_1L(pp, x) (SET_CONF_1L(PF_PTR_flag(pp),x)) |
| #define | PF_PTR_conf_2L(pp) (GET_CONF_2L(PF_PTR_flag(pp))) |
| #define | PF_PTR_set_conf_2L(pp, x) (SET_CONF_2L(PF_PTR_flag(pp),x)) |
| #define | VISITED_BIT 0x1 |
| #define | VISIT_CM_BIT 0x2 |
| #define | VISIT_EM_BIT 0x4 |
| #define | AUTO_BIT 0x8 |
| #define | PF_PRUNED_BIT 0x10 |
| #define | VISITED(pp) (((pp)->flag) & VISITED_BIT) |
| #define | SET_VISITED(pp) ((pp)->flag |= VISITED_BIT) |
| #define | RESET_VISITED(pp) ((pp)->flag &= ~VISITED_BIT) |
| #define | VISITED_CM(pp) (((pp)->flag) & VISIT_CM_BIT) |
| #define | SET_VISITED_CM(pp) ((pp)->flag |= VISIT_CM_BIT) |
| #define | RESET_VISITED_CM(pp) ((pp)->flag &= ~VISIT_CM_BIT) |
| #define | VISITED_EM(pp) (((pp)->flag) & VISIT_EM_BIT) |
| #define | SET_VISITED_EM(pp) ((pp)->flag |= VISIT_EM_BIT) |
| #define | RESET_VISITED_EM(pp) ((pp)->flag &= ~VISIT_EM_BIT) |
| #define | AUTO(pp) (((pp)->flag) & AUTO_BIT) |
| #define | SET_AUTO(pp) ((pp)->flag |= AUTO_BIT) |
| #define | RESET_AUTO(pp) ((pp)->flag &= ~AUTO_BIT) |
| #define | PF_PRUNED(pp) (((pp)->flag) & PF_PRUNED_BIT) |
| #define | SET_PF_PRUNED(pp) ((pp)->flag |= PF_PRUNED_BIT) |
| #define | RESET_PF_PRUNED(pp) ((pp)->flag &= ~PF_PRUNED_BIT) |
Typedefs | |
| typedef struct pf_pointer | PF_POINTER |
| #define PF_PRUNED | ( | pp | ) | (((pp)->flag) & PF_PRUNED_BIT) |
| #define PF_PTR_distance_1L | ( | pp | ) | ((pp)->distance_1L) |
Definition at line 67 of file pf_cg.h.
Referenced by PF_LOOPNODE::Add_Ref(), Gen_Implicit_Prefetches(), PF_LG::Gen_Pref_Node(), and Map_Memop_To_Prefetch().
| #define PF_PTR_distance_2L | ( | pp | ) | ((pp)->distance_2L) |
Definition at line 68 of file pf_cg.h.
Referenced by PF_LOOPNODE::Add_Ref(), Gen_Implicit_Prefetches(), PF_LG::Gen_Pref_Node(), and Map_Memop_To_Prefetch().
| #define PF_PTR_flag | ( | pp | ) | ((pp)->flag) |
Definition at line 71 of file pf_cg.h.
Referenced by PF_LOOPNODE::Add_Ref(), PF_LG::Gen_Pref_Node(), and Map_Memop_To_Prefetch().
| #define PF_PTR_lrnum_1L | ( | pp | ) | ((pp)->lrnum_1L) |
Definition at line 69 of file pf_cg.h.
Referenced by PF_LOOPNODE::Add_Ref(), PF_LG::Gen_Pref_Node(), Map_Memop_To_Prefetch(), and Print_pf_pointer().
| #define PF_PTR_lrnum_2L | ( | pp | ) | ((pp)->lrnum_2L) |
Definition at line 70 of file pf_cg.h.
Referenced by PF_LOOPNODE::Add_Ref(), PF_LG::Gen_Pref_Node(), Map_Memop_To_Prefetch(), and Print_pf_pointer().
| #define PF_PTR_set_conf_1L | ( | pp, | |||
| x | ) | (SET_CONF_1L(PF_PTR_flag(pp),x)) |
Definition at line 74 of file pf_cg.h.
Referenced by PF_LOOPNODE::Add_Ref(), PF_LG::Gen_Pref_Node(), and Map_Memop_To_Prefetch().
| #define PF_PTR_set_conf_2L | ( | pp, | |||
| x | ) | (SET_CONF_2L(PF_PTR_flag(pp),x)) |
Definition at line 77 of file pf_cg.h.
Referenced by PF_LOOPNODE::Add_Ref(), PF_LG::Gen_Pref_Node(), and Map_Memop_To_Prefetch().
| #define PF_PTR_wn_pref_1L | ( | pp | ) | ((pp)->wn_pref_1L) |
Definition at line 65 of file pf_cg.h.
Referenced by PF_LOOPNODE::Add_Ref(), Cache_L1_Analysis(), Cache_L2_Analysis(), CG_DEP_Latency(), Gen_Implicit_Prefetches(), PF_LG::Gen_Pref_Node(), Map_Memop_To_Prefetch(), DCE::Mark_coderep_live(), DCE::Mark_statement_live(), Memop_Variant(), Print_pf_pointer(), OPT_STAB::Update_pf_list(), CODEMAP::Update_pref(), and WN_add_lno_info().
| #define PF_PTR_wn_pref_2L | ( | pp | ) | ((pp)->wn_pref_2L) |
Definition at line 66 of file pf_cg.h.
Referenced by PF_LOOPNODE::Add_Ref(), Cache_L2_Analysis(), CG_DEP_Latency(), Gen_Implicit_Prefetches(), PF_LG::Gen_Pref_Node(), Map_Memop_To_Prefetch(), DCE::Mark_coderep_live(), DCE::Mark_statement_live(), Memop_Variant(), Print_pf_pointer(), OPT_STAB::Update_pf_list(), CODEMAP::Update_pref(), and WN_add_lno_info().
| #define RESET_PF_PRUNED | ( | pp | ) | ((pp)->flag &= ~PF_PRUNED_BIT) |
| #define RESET_VISITED_CM | ( | pp | ) | ((pp)->flag &= ~VISIT_CM_BIT) |
| #define RESET_VISITED_EM | ( | pp | ) | ((pp)->flag &= ~VISIT_EM_BIT) |
| #define SET_AUTO | ( | pp | ) | ((pp)->flag |= AUTO_BIT) |
Definition at line 99 of file pf_cg.h.
Referenced by PF_LOOPNODE::Add_Ref(), and PF_LG::Gen_Pref_Node().
| #define SET_PF_PRUNED | ( | pp | ) | ((pp)->flag |= PF_PRUNED_BIT) |
| #define SET_VISITED_CM | ( | pp | ) | ((pp)->flag |= VISIT_CM_BIT) |
| #define SET_VISITED_EM | ( | pp | ) | ((pp)->flag |= VISIT_EM_BIT) |
| #define VISITED | ( | pp | ) | (((pp)->flag) & VISITED_BIT) |
| #define VISITED_CM | ( | pp | ) | (((pp)->flag) & VISIT_CM_BIT) |
| #define VISITED_EM | ( | pp | ) | (((pp)->flag) & VISIT_EM_BIT) |
| typedef struct pf_pointer PF_POINTER |
1.5.6