Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include <ipa_section.h>
Definition at line 1175 of file ipa_section.h.
enum CFG_NODE_INFO::_cfg_state [private] |
Definition at line 1217 of file ipa_section.h.
enum CFG_NODE_INFO::_cfg_type [private] |
Definition at line 1209 of file ipa_section.h.
CFG_NODE_INFO::CFG_NODE_INFO | ( | MEM_POOL * | m, |
INT16 | index | ||
) | [inline] |
Definition at line 1257 of file ipa_section.h.
References _cd_index, _state, _type, CFG_STATE_CLEAR, CFG_UNKNOWN, CXX_NEW, u1, u2, u3, u4, u5, and u6.
void CFG_NODE_INFO::Add_array_may_reduc | ( | mINT32 | id | ) |
Definition at line 2338 of file ipa_section.cxx.
References Get_array_reduc(), SCALAR_INFO::Get_id(), SCALAR_INFO::Init(), SCALAR_INFO::Set_array_may_reduc(), SCALAR_INFO::Set_id(), and val.
void CFG_NODE_INFO::Add_array_param | ( | PROJECTED_REGION * | p, |
mINT32 | sym_index, | ||
mINT32 | element_size, | ||
INT16 | callsite_id, | ||
INT16 | actual_id | ||
) |
Definition at line 2001 of file ipa_section.cxx.
References fprintf(), ARRAY_SUMMARY::Get_array_pool(), Get_param_array(), REGION_ARRAYS::Get_projected_region_array(), idx, REGION_ARRAYS::Init(), PROJECTED_REGION::Set_actual_id(), PROJECTED_REGION::Set_callsite_id(), PROJECTED_REGION::Set_is_passed(), REGION_ARRAYS::Set_is_passed(), Summary, TFile, and Trace_Sections.
void CFG_NODE_INFO::Add_array_reduc | ( | mINT32 | id | ) |
Definition at line 2309 of file ipa_section.cxx.
References Get_array_reduc(), SCALAR_INFO::Get_id(), SCALAR_INFO::Init(), SCALAR_INFO::Set_array_reduc(), SCALAR_INFO::Set_id(), and val.
void CFG_NODE_INFO::Add_def_array | ( | PROJECTED_REGION * | p, |
mINT32 | element_size, | ||
mINT32 | sym_index | ||
) |
Definition at line 1848 of file ipa_section.cxx.
References fprintf(), ARRAY_SUMMARY::Get_array_pool(), Get_def_array(), REGION_ARRAYS::Get_projected_region_array(), REGION_ARRAYS::Get_sym_id(), idx, REGION_ARRAYS::Init(), REGION_ARRAYS::Print(), REGION_ARRAYS::Set_is_def(), TFile, and Trace_Sections.
void CFG_NODE_INFO::Add_formal_array | ( | PROJECTED_REGION * | p, |
mINT32 | element_size, | ||
mINT32 | idx_symbol, | ||
mINT32 | idx_formal | ||
) |
Definition at line 2042 of file ipa_section.cxx.
References ARRAY_SUMMARY::Get_array_pool(), Get_formal_array(), REGION_ARRAYS::Get_projected_region_array(), idx, REGION_ARRAYS::Init(), PROJECTED_REGION::Set_is_formal(), REGION_ARRAYS::Set_is_formal(), and Summary.
void CFG_NODE_INFO::Add_may_def_array | ( | PROJECTED_REGION * | p, |
mINT32 | element_size, | ||
mINT32 | sym_index | ||
) |
Definition at line 1889 of file ipa_section.cxx.
References fprintf(), ARRAY_SUMMARY::Get_array_pool(), Get_def_array(), REGION_ARRAYS::Get_projected_region_array(), REGION_ARRAYS::Get_sym_id(), idx, REGION_ARRAYS::Init(), REGION_ARRAYS::Print(), REGION_ARRAYS::Set_is_def(), PROJECTED_REGION::Set_is_may_kill(), TFile, and Trace_Sections.
void CFG_NODE_INFO::Add_may_use_array | ( | PROJECTED_REGION * | p, |
mINT32 | element_size, | ||
mINT32 | sym_index | ||
) |
Definition at line 1966 of file ipa_section.cxx.
References ARRAY_SUMMARY::Get_array_pool(), REGION_ARRAYS::Get_projected_region_array(), REGION_ARRAYS::Get_sym_id(), Get_use_array(), idx, REGION_ARRAYS::Init(), PROJECTED_REGION::Set_is_may_use(), and REGION_ARRAYS::Set_is_use().
void CFG_NODE_INFO::Add_scalar_def | ( | mINT32 | id | ) |
Definition at line 2099 of file ipa_section.cxx.
References SCALAR_INFO::Get_id(), Get_scalar_def_array(), SCALAR_INFO::Init(), SCALAR_INFO::Set_id(), SCALAR_INFO::Set_kill(), and val.
void CFG_NODE_INFO::Add_scalar_may_def | ( | mINT32 | id | ) |
Definition at line 2127 of file ipa_section.cxx.
References SCALAR_INFO::Get_id(), Get_scalar_def_array(), SCALAR_INFO::Init(), SCALAR_INFO::Set_id(), SCALAR_INFO::Set_may_kill(), and val.
void CFG_NODE_INFO::Add_scalar_may_reduc | ( | mINT32 | id | ) |
Definition at line 2183 of file ipa_section.cxx.
References SCALAR_INFO::Get_id(), Get_scalar_def_array(), SCALAR_INFO::Init(), SCALAR_INFO::Set_id(), SCALAR_INFO::Set_may_reduc(), and val.
void CFG_NODE_INFO::Add_scalar_may_use | ( | mINT32 | id | ) |
Definition at line 2155 of file ipa_section.cxx.
References SCALAR_INFO::Get_id(), Get_scalar_def_array(), SCALAR_INFO::Init(), SCALAR_INFO::Set_id(), SCALAR_INFO::Set_may_use(), and val.
void CFG_NODE_INFO::Add_scalar_reduc | ( | mINT32 | id | ) |
Definition at line 2211 of file ipa_section.cxx.
References SCALAR_INFO::Get_id(), Get_scalar_reduc_array(), SCALAR_INFO::Init(), SCALAR_INFO::Set_id(), SCALAR_INFO::Set_reduc(), and val.
INT CFG_NODE_INFO::Add_scalar_ref_may_passed | ( | mINT32 | id, |
mINT16 | callsite_id | ||
) |
Definition at line 2278 of file ipa_section.cxx.
References SCALAR_INFO::Get_callsite_id(), SCALAR_INFO::Get_id(), Get_scalar_array(), SCALAR_INFO::Init(), SCALAR_INFO::Set_callsite_id(), SCALAR_INFO::Set_id(), SCALAR_INFO::Set_may_passed_ref(), and val.
INT CFG_NODE_INFO::Add_scalar_ref_passed | ( | mINT32 | id, |
mINT16 | callsite_id | ||
) |
Definition at line 2240 of file ipa_section.cxx.
References SCALAR_INFO::Get_callsite_id(), SCALAR_INFO::Get_id(), Get_scalar_array(), SCALAR_INFO::Init(), SCALAR_INFO::Is_kill(), SCALAR_INFO::Set_callsite_id(), SCALAR_INFO::Set_id(), SCALAR_INFO::Set_passed_ref(), and val.
void CFG_NODE_INFO::Add_scalar_use | ( | mINT32 | id | ) |
Definition at line 2064 of file ipa_section.cxx.
References SCALAR_INFO::Get_id(), Get_scalar_use_array(), SCALAR_INFO::Init(), SCALAR_INFO::Is_kill(), SCALAR_INFO::Is_may_kill(), SCALAR_INFO::Set_euse(), SCALAR_INFO::Set_id(), SCALAR_INFO::Set_use(), and val.
void CFG_NODE_INFO::Add_use_array | ( | PROJECTED_REGION * | p, |
mINT32 | element_size, | ||
mINT32 | sym_index | ||
) |
Definition at line 1932 of file ipa_section.cxx.
References ARRAY_SUMMARY::Get_array_pool(), REGION_ARRAYS::Get_projected_region_array(), REGION_ARRAYS::Get_sym_id(), Get_use_array(), idx, REGION_ARRAYS::Init(), and REGION_ARRAYS::Set_is_use().
INT_ARRAY* CFG_NODE_INFO::Get_array_reduc | ( | ) | const [inline] |
Definition at line 1320 of file ipa_section.h.
References u4.
Referenced by Add_array_may_reduc(), and Add_array_reduc().
INT CFG_NODE_INFO::Get_cd_index | ( | ) | const [inline] |
Definition at line 1255 of file ipa_section.h.
References _cd_index.
Referenced by Print_file(), and WB_Print().
ARRAY_OF_REGION_ARRAYS* CFG_NODE_INFO::Get_def_array | ( | ) | const [inline] |
Definition at line 1311 of file ipa_section.h.
References u1.
Referenced by Add_def_array(), Add_may_def_array(), and Print().
INT CFG_NODE_INFO::Get_def_count | ( | ) | const [inline] |
Definition at line 1333 of file ipa_section.h.
References _def_count.
Referenced by Print_file(), and WB_Print().
INT CFG_NODE_INFO::Get_def_index | ( | ) | const [inline] |
Definition at line 1334 of file ipa_section.h.
References u1.
Referenced by Print_file(), and WB_Print().
INT CFG_NODE_INFO::Get_else_index | ( | ) | [inline] |
Definition at line 1371 of file ipa_section.h.
References Fail_FmtAssertion(), Is_if(), and u5.
Referenced by Print_file(), and WB_Print().
ARRAY_OF_REGION_ARRAYS* CFG_NODE_INFO::Get_formal_array | ( | ) | const [inline] |
INT CFG_NODE_INFO::Get_formal_count | ( | ) | const [inline] |
Definition at line 1357 of file ipa_section.h.
References _formal_count.
Referenced by Print_file(), and WB_Print().
INT CFG_NODE_INFO::Get_formal_index | ( | ) | const [inline] |
Definition at line 1358 of file ipa_section.h.
References u6.
Referenced by Print_file(), and WB_Print().
INT CFG_NODE_INFO::Get_if_index | ( | ) | [inline] |
Definition at line 1388 of file ipa_section.h.
References Fail_FmtAssertion(), Is_else(), and u5.
Referenced by Print_file(), and WB_Print().
INT CFG_NODE_INFO::Get_loop_index | ( | ) | const [inline] |
Definition at line 1361 of file ipa_section.h.
References u5.
Referenced by Print_file(), and WB_Print().
LOOPINFO* CFG_NODE_INFO::Get_loopinfo | ( | ) | const [inline] |
Definition at line 1322 of file ipa_section.h.
References u5.
ARRAY_OF_REGION_ARRAYS* CFG_NODE_INFO::Get_param_array | ( | ) | const [inline] |
INT CFG_NODE_INFO::Get_param_count | ( | ) | const [inline] |
Definition at line 1345 of file ipa_section.h.
References _param_count.
Referenced by Print_file(), and WB_Print().
INT CFG_NODE_INFO::Get_param_index | ( | ) | const [inline] |
Definition at line 1346 of file ipa_section.h.
References u3.
Referenced by Print_file(), and WB_Print().
INT_ARRAY* CFG_NODE_INFO::Get_scalar_array | ( | ) | const [inline] |
Definition at line 1316 of file ipa_section.h.
References u4.
Referenced by Add_scalar_ref_may_passed(), and Add_scalar_ref_passed().
INT CFG_NODE_INFO::Get_scalar_count | ( | ) | const [inline] |
Definition at line 1351 of file ipa_section.h.
References _scalar_count.
Referenced by Print_file(), and WB_Print().
INT_ARRAY* CFG_NODE_INFO::Get_scalar_def_array | ( | ) | const [inline] |
Definition at line 1317 of file ipa_section.h.
References u4.
Referenced by Add_scalar_def(), Add_scalar_may_def(), Add_scalar_may_reduc(), Add_scalar_may_use(), and Print().
INT CFG_NODE_INFO::Get_scalar_index | ( | ) | const [inline] |
Definition at line 1352 of file ipa_section.h.
References u4.
Referenced by Print_file(), and WB_Print().
INT_ARRAY* CFG_NODE_INFO::Get_scalar_reduc_array | ( | ) | const [inline] |
INT_ARRAY* CFG_NODE_INFO::Get_scalar_use_array | ( | ) | const [inline] |
ARRAY_OF_REGION_ARRAYS* CFG_NODE_INFO::Get_use_array | ( | ) | const [inline] |
Definition at line 1312 of file ipa_section.h.
References u2.
Referenced by Add_may_use_array(), Add_use_array(), and Print().
INT CFG_NODE_INFO::Get_use_count | ( | ) | const [inline] |
Definition at line 1339 of file ipa_section.h.
References _use_count.
Referenced by Print_file(), and WB_Print().
INT CFG_NODE_INFO::Get_use_index | ( | ) | const [inline] |
Definition at line 1340 of file ipa_section.h.
References u2.
Referenced by Print_file(), and WB_Print().
BOOL CFG_NODE_INFO::Has_calls | ( | ) | const [inline] |
Definition at line 1251 of file ipa_section.h.
References _state, and CFG_HAS_CALLS.
Referenced by Print(), Print_file(), and WB_Print().
void CFG_NODE_INFO::Init | ( | MEM_POOL * | m | ) | [inline] |
Definition at line 1269 of file ipa_section.h.
References _cd_index, _state, _type, CFG_STATE_CLEAR, CFG_UNKNOWN, CXX_NEW, NULL, u1, u2, u3, u4, u5, and u6.
void CFG_NODE_INFO::Init_Out | ( | ) | [inline] |
Definition at line 1281 of file ipa_section.h.
References _type, and CFG_UNKNOWN.
BOOL CFG_NODE_INFO::Is_do_loop | ( | ) | const [inline] |
Definition at line 1240 of file ipa_section.h.
References _type, and CFG_DO_LOOP.
Referenced by Print_file(), and WB_Print().
BOOL CFG_NODE_INFO::Is_else | ( | ) | const [inline] |
Definition at line 1242 of file ipa_section.h.
References _type, and CFG_ELSE.
Referenced by Get_if_index(), Print_file(), Set_if_index(), and WB_Print().
BOOL CFG_NODE_INFO::Is_entry | ( | ) | const [inline] |
Definition at line 1241 of file ipa_section.h.
References _type, and CFG_ENTRY.
Referenced by Print_file(), and WB_Print().
BOOL CFG_NODE_INFO::Is_executed | ( | ) | const [inline] |
Definition at line 1252 of file ipa_section.h.
References _state, and CFG_IS_EXECUTED.
Referenced by Print_file().
BOOL CFG_NODE_INFO::Is_if | ( | ) | const [inline] |
Definition at line 1239 of file ipa_section.h.
Referenced by Get_else_index(), Print_file(), Set_else_index(), and WB_Print().
void CFG_NODE_INFO::Print | ( | FILE * | fp = stderr | ) |
Definition at line 855 of file ipa_section_print.cxx.
References defs, fprintf(), Get_def_array(), SCALAR_INFO::Get_id(), Get_scalar_def_array(), Get_use_array(), Has_calls(), IPA_Symbol, Summary, and Symbol_Name().
void CFG_NODE_INFO::Print_file | ( | FILE * | fp = stderr | ) |
Definition at line 208 of file ipa_section_print.cxx.
References fprintf(), Get_cd_index(), Get_def_count(), Get_def_index(), Get_else_index(), Get_formal_count(), Get_formal_index(), Get_if_index(), Get_loop_index(), Get_param_count(), Get_param_index(), Get_scalar_count(), Get_scalar_index(), Get_use_count(), Get_use_index(), Has_calls(), Is_do_loop(), Is_else(), Is_entry(), Is_executed(), and Is_if().
void CFG_NODE_INFO::Set_cd_index | ( | INT | index | ) | [inline] |
Definition at line 1254 of file ipa_section.h.
References _cd_index.
void CFG_NODE_INFO::Set_def_count | ( | INT | count | ) | [inline] |
Definition at line 1330 of file ipa_section.h.
References _def_count.
void CFG_NODE_INFO::Set_def_index | ( | INT | index | ) | [inline] |
Definition at line 1331 of file ipa_section.h.
References u1.
void CFG_NODE_INFO::Set_else_index | ( | INT | index | ) | [inline] |
Definition at line 1364 of file ipa_section.h.
References Fail_FmtAssertion(), Is_if(), and u5.
void CFG_NODE_INFO::Set_formal_count | ( | INT | count | ) | [inline] |
Definition at line 1354 of file ipa_section.h.
References _formal_count.
void CFG_NODE_INFO::Set_formal_index | ( | INT | index | ) | [inline] |
Definition at line 1355 of file ipa_section.h.
References u6.
void CFG_NODE_INFO::Set_has_calls | ( | ) | [inline] |
Definition at line 1248 of file ipa_section.h.
References _state, and CFG_HAS_CALLS.
void CFG_NODE_INFO::Set_if_index | ( | INT | index | ) | [inline] |
Definition at line 1380 of file ipa_section.h.
References Fail_FmtAssertion(), Is_else(), and u5.
void CFG_NODE_INFO::Set_is_executed | ( | ) | [inline] |
Definition at line 1249 of file ipa_section.h.
References _state, and CFG_IS_EXECUTED.
void CFG_NODE_INFO::Set_loop_index | ( | INT | index | ) | [inline] |
Definition at line 1360 of file ipa_section.h.
References u5.
void CFG_NODE_INFO::Set_loopinfo | ( | LOOPINFO * | l | ) | [inline] |
Definition at line 1323 of file ipa_section.h.
References u5.
void CFG_NODE_INFO::Set_param_count | ( | INT | count | ) | [inline] |
Definition at line 1342 of file ipa_section.h.
References _param_count.
void CFG_NODE_INFO::Set_param_index | ( | INT | index | ) | [inline] |
Definition at line 1343 of file ipa_section.h.
References u3.
void CFG_NODE_INFO::Set_scalar_count | ( | INT | count | ) | [inline] |
Definition at line 1348 of file ipa_section.h.
References _scalar_count.
void CFG_NODE_INFO::Set_scalar_index | ( | INT | index | ) | [inline] |
Definition at line 1349 of file ipa_section.h.
References u4.
void CFG_NODE_INFO::Set_type_do_loop | ( | ) | [inline] |
Definition at line 1235 of file ipa_section.h.
References _type, and CFG_DO_LOOP.
void CFG_NODE_INFO::Set_type_else | ( | ) | [inline] |
Definition at line 1237 of file ipa_section.h.
void CFG_NODE_INFO::Set_type_entry | ( | ) | [inline] |
Definition at line 1236 of file ipa_section.h.
void CFG_NODE_INFO::Set_type_if | ( | ) | [inline] |
Definition at line 1234 of file ipa_section.h.
void CFG_NODE_INFO::Set_use_count | ( | INT | count | ) | [inline] |
Definition at line 1336 of file ipa_section.h.
References _use_count.
void CFG_NODE_INFO::Set_use_index | ( | INT | index | ) | [inline] |
Definition at line 1337 of file ipa_section.h.
References u2.
void CFG_NODE_INFO::WB_Print | ( | FILE * | fp, |
INT | cfg_index | ||
) |
Definition at line 475 of file wb_summary.cxx.
References fprintf(), Get_cd_index(), Get_def_count(), Get_def_index(), Get_else_index(), Get_formal_count(), Get_formal_index(), Get_if_index(), Get_loop_index(), Get_param_count(), Get_param_index(), Get_scalar_count(), Get_scalar_index(), Get_use_count(), Get_use_index(), Has_calls(), Is_do_loop(), Is_else(), Is_entry(), and Is_if().
mINT32 CFG_NODE_INFO::_cd_index [private] |
Definition at line 1226 of file ipa_section.h.
Referenced by CFG_NODE_INFO(), Get_cd_index(), Init(), and Set_cd_index().
Definition at line 1179 of file ipa_section.h.
mINT16 CFG_NODE_INFO::_def_count [private] |
Definition at line 1203 of file ipa_section.h.
Referenced by Get_def_count(), and Set_def_count().
Definition at line 1180 of file ipa_section.h.
Definition at line 1199 of file ipa_section.h.
mINT16 CFG_NODE_INFO::_formal_count [private] |
Definition at line 1207 of file ipa_section.h.
Referenced by Get_formal_count(), and Set_formal_count().
Definition at line 1200 of file ipa_section.h.
Definition at line 1196 of file ipa_section.h.
Definition at line 1195 of file ipa_section.h.
Definition at line 1187 of file ipa_section.h.
mINT16 CFG_NODE_INFO::_param_count [private] |
Definition at line 1205 of file ipa_section.h.
Referenced by Get_param_count(), and Set_param_count().
Definition at line 1188 of file ipa_section.h.
mINT16 CFG_NODE_INFO::_scalar_count [private] |
Definition at line 1206 of file ipa_section.h.
Referenced by Get_scalar_count(), and Set_scalar_count().
Definition at line 1192 of file ipa_section.h.
Definition at line 1191 of file ipa_section.h.
enum CFG_NODE_INFO::_cfg_state CFG_NODE_INFO::_state [private] |
Referenced by CFG_NODE_INFO(), Has_calls(), Init(), Is_executed(), Set_has_calls(), and Set_is_executed().
enum CFG_NODE_INFO::_cfg_type CFG_NODE_INFO::_type [private] |
Referenced by CFG_NODE_INFO(), Init(), Init_Out(), Is_do_loop(), Is_else(), Is_entry(), Is_if(), Set_type_do_loop(), Set_type_else(), Set_type_entry(), and Set_type_if().
Definition at line 1183 of file ipa_section.h.
mINT16 CFG_NODE_INFO::_use_count [private] |
Definition at line 1204 of file ipa_section.h.
Referenced by Get_use_count(), and Set_use_count().
Definition at line 1184 of file ipa_section.h.
union { ... } CFG_NODE_INFO::u1 [private] |
Referenced by CFG_NODE_INFO(), Get_def_array(), Get_def_index(), Init(), and Set_def_index().
union { ... } CFG_NODE_INFO::u2 [private] |
Referenced by CFG_NODE_INFO(), Get_use_array(), Get_use_index(), Init(), and Set_use_index().
union { ... } CFG_NODE_INFO::u3 [private] |
Referenced by CFG_NODE_INFO(), Get_param_array(), Get_param_index(), Init(), and Set_param_index().
union { ... } CFG_NODE_INFO::u4 [private] |
union { ... } CFG_NODE_INFO::u5 [private] |
Referenced by CFG_NODE_INFO(), Get_else_index(), Get_if_index(), Get_loop_index(), Get_loopinfo(), Init(), Set_else_index(), Set_if_index(), Set_loop_index(), and Set_loopinfo().
union { ... } CFG_NODE_INFO::u6 [private] |
Referenced by CFG_NODE_INFO(), Get_formal_array(), Get_formal_index(), Init(), and Set_formal_index().