21 #ifndef GCC_TREE_CHREC_H
22 #define GCC_TREE_CHREC_H
38 return (chrec == chrec_dont_know
39 || chrec == chrec_known);
47 if (TREE_CODE (expr) == POLYNOMIAL_CHREC
95 if (chrec == NULL_TREE)
98 if (TREE_CODE (chrec) == INTEGER_CST)
142 gcc_assert (!POINTER_TYPE_P (TREE_TYPE (right)));
145 if (POINTER_TYPE_P (TREE_TYPE (left)))
148 gcc_assert (TREE_TYPE (left) == TREE_TYPE (right));
153 return build3 (POLYNOMIAL_CHREC, TREE_TYPE (left),
162 if (chrec == NULL_TREE)
165 switch (TREE_CODE (chrec))
181 if (chrec == NULL_TREE)
184 switch (TREE_CODE (chrec))
186 case POLYNOMIAL_CHREC:
204 && TREE_CODE (chrec) == POLYNOMIAL_CHREC
206 CHREC_VARIABLE (chrec))
207 && (TREE_CODE (CHREC_RIGHT (chrec)) != POLYNOMIAL_CHREC
227 return TREE_TYPE (chrec);