Lines Matching refs:preds

644 				      pred_chain_union *preds)  in convert_control_dep_chain_into_preds()  argument
653 preds->reserve (num_chains); in convert_control_dep_chain_into_preds()
766 preds->safe_push (t_chain); in convert_control_dep_chain_into_preds()
777 find_predicates (pred_chain_union *preds, in find_predicates() argument
804 = convert_control_dep_chain_into_preds (dep_chains, num_chains, preds); in find_predicates()
870 find_def_preds (pred_chain_union *preds, gphi *phi) in find_def_preds() argument
916 = convert_control_dep_chain_into_preds (dep_chains, num_chains, preds); in find_def_preds()
953 dump_predicates (gimple *usestmt, pred_chain_union preds, const char *msg) in dump_predicates() argument
961 size_t num_preds = preds.length (); in dump_predicates()
964 dump_pred_chain (preds[i]); in dump_predicates()
975 destroy_predicate_vecs (pred_chain_union *preds) in destroy_predicate_vecs() argument
979 size_t n = preds->length (); in destroy_predicate_vecs()
981 (*preds)[i].release (); in destroy_predicate_vecs()
982 preds->release (); in destroy_predicate_vecs()
1073 pred_chain_union preds, in find_matching_predicate_in_rest_chains() argument
1085 pred_chain one_chain = preds[i]; in find_matching_predicate_in_rest_chains()
1326 use_pred_not_overlap_with_undef_path_pred (pred_chain_union preds, in use_pred_not_overlap_with_undef_path_pred() argument
1339 size_t num_preds = preds.length (); in use_pred_not_overlap_with_undef_path_pred()
1345 the_pred_chain = preds[0]; in use_pred_not_overlap_with_undef_path_pred()
1382 && find_matching_predicate_in_rest_chains (the_pred, preds, in use_pred_not_overlap_with_undef_path_pred()
1546 is_included_in (pred_chain one_pred, pred_chain_union preds) in is_included_in() argument
1549 size_t n = preds.length (); in is_included_in()
1553 if (is_pred_chain_subset_of (one_pred, preds[i])) in is_included_in()
1689 simplify_preds_2 (pred_chain_union *preds) in simplify_preds_2() argument
1698 n = preds->length (); in simplify_preds_2()
1702 pred_chain *a_chain = &(*preds)[i]; in simplify_preds_2()
1718 b_chain = &(*preds)[j]; in simplify_preds_2()
1750 if ((*preds)[i].is_empty ()) in simplify_preds_2()
1752 s_preds.safe_push ((*preds)[i]); in simplify_preds_2()
1754 preds->release (); in simplify_preds_2()
1755 (*preds) = s_preds; in simplify_preds_2()
1768 simplify_preds_3 (pred_chain_union *preds) in simplify_preds_3() argument
1776 n = preds->length (); in simplify_preds_3()
1783 pred_chain *a_chain = &(*preds)[i]; in simplify_preds_3()
1799 b_chain = &(*preds)[j]; in simplify_preds_3()
1825 simplify_preds_4 (pred_chain_union *preds) in simplify_preds_4() argument
1832 n = preds->length (); in simplify_preds_4()
1836 pred_chain *a_chain = &(*preds)[i]; in simplify_preds_4()
1861 b_chain = &(*preds)[j]; in simplify_preds_4()
1887 if ((*preds)[i].is_empty ()) in simplify_preds_4()
1889 s_preds.safe_push ((*preds)[i]); in simplify_preds_4()
1892 preds->release (); in simplify_preds_4()
1893 (*preds) = s_preds; in simplify_preds_4()
1903 simplify_preds (pred_chain_union *preds, gimple *use_or_def, bool is_use) in simplify_preds() argument
1911 dump_predicates (use_or_def, *preds, is_use ? "[USE]:\n" : "[DEF]:\n"); in simplify_preds()
1914 for (i = 0; i < preds->length (); i++) in simplify_preds()
1915 simplify_pred (&(*preds)[i]); in simplify_preds()
1917 n = preds->length (); in simplify_preds()
1924 if (simplify_preds_2 (preds)) in simplify_preds()
1929 if (simplify_preds_3 (preds)) in simplify_preds()
1932 if (simplify_preds_4 (preds)) in simplify_preds()
2234 normalize_preds (pred_chain_union preds, gimple *use_or_def, bool is_use) in normalize_preds() argument
2237 size_t n = preds.length (); in normalize_preds()
2243 dump_predicates (use_or_def, preds, is_use ? "[USE]:\n" : "[DEF]:\n"); in normalize_preds()
2248 if (preds[i].length () != 1) in normalize_preds()
2249 normalize_one_pred_chain (&norm_preds, preds[i]); in normalize_preds()
2252 normalize_one_pred (&norm_preds, preds[i][0]); in normalize_preds()
2253 preds[i].release (); in normalize_preds()
2264 destroy_predicate_vecs (&preds); in normalize_preds()
2432 pred_chain_union preds = vNULL; in is_use_properly_guarded() local
2444 has_valid_preds = find_predicates (&preds, phi_bb, use_bb); in is_use_properly_guarded()
2448 destroy_predicate_vecs (&preds); in is_use_properly_guarded()
2454 = use_pred_not_overlap_with_undef_path_pred (preds, phi, uninit_opnds, in is_use_properly_guarded()
2462 preds); in is_use_properly_guarded()
2466 destroy_predicate_vecs (&preds); in is_use_properly_guarded()
2476 destroy_predicate_vecs (&preds); in is_use_properly_guarded()
2484 simplify_preds (&preds, use_stmt, true); in is_use_properly_guarded()
2485 preds = normalize_preds (preds, use_stmt, true); in is_use_properly_guarded()
2487 is_properly_guarded = is_superset_of (*def_preds, preds); in is_use_properly_guarded()
2489 destroy_predicate_vecs (&preds); in is_use_properly_guarded()