Home
last modified time | relevance | path

Searched refs:rhs_const (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/
H A Dconstraint-manager.cc59 compare_constants (tree lhs_const, enum tree_code op, tree rhs_const) in compare_constants() argument
62 = fold_binary (op, boolean_type_node, lhs_const, rhs_const); in compare_constants()
224 range::eval_condition (enum tree_code op, tree rhs_const) const in eval_condition()
228 return compare_constants (single_element, op, rhs_const); in eval_condition()
233 if (below_lower_bound (rhs_const)) in eval_condition()
235 if (above_upper_bound (rhs_const)) in eval_condition()
245 if (above_upper_bound (rhs_const)) in eval_condition()
247 if (below_lower_bound (rhs_const)) in eval_condition()
256 if (below_lower_bound (rhs_const)) in eval_condition()
258 if (above_upper_bound (rhs_const)) in eval_condition()
[all …]
H A Dconstraint-manager.h66 tree rhs_const) const;
67 bool below_lower_bound (tree rhs_const) const;
68 bool above_upper_bound (tree rhs_const) const;
71 bool add_bound (enum tree_code op, tree rhs_const);
121 bounded_ranges (enum tree_code op, tree rhs_const);
133 tree rhs_const,
460 tree rhs_const) const;
H A Dsvalue.cc855 tree rhs_const = rhs->get_constant (); in eval_condition() local
858 gcc_assert (CONSTANT_CLASS_P (rhs_const)); in eval_condition()
861 if (types_compatible_p (TREE_TYPE (lhs_const), TREE_TYPE (rhs_const))) in eval_condition()
864 = fold_binary (op, boolean_type_node, lhs_const, rhs_const); in eval_condition()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/analyzer/
H A Dconstraint-manager.cc800 tree rhs_const = rhs_id.get_obj (*this).m_constant; in add_constraint_internal() local
830 && !rhs_const in add_constraint_internal()
862 && rhs_const) in add_constraint_internal()
866 bound (rhs_const, in add_constraint_internal()
1015 tree rhs_const = rhs_ec.get_obj (*this).get_any_constant (); in eval_condition() local
1016 if (lhs_const && rhs_const) in eval_condition()
1019 = fold_binary (op, boolean_type_node, lhs_const, rhs_const); in eval_condition()
H A Dregion-model.cc702 tree rhs_const = rhs->get_constant (); in eval_condition() local
705 gcc_assert (CONSTANT_CLASS_P (rhs_const)); in eval_condition()
708 if (types_compatible_p (TREE_TYPE (lhs_const), TREE_TYPE (rhs_const))) in eval_condition()
711 = fold_binary (op, boolean_type_node, lhs_const, rhs_const); in eval_condition()