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
99 if (chrec == NULL_TREE)
102 if (TREE_CODE (chrec) == INTEGER_CST)
117 || chrec == chrec_dont_know
136 if (left == chrec_dont_know
137 || right == chrec_dont_know)
146 if (POINTER_TYPE_P (TREE_TYPE (left)))
152 gcc_checking_assert (!POINTER_TYPE_P (TREE_TYPE (right))
160 return build3 (POLYNOMIAL_CHREC, TREE_TYPE (left),
169 if (chrec == NULL_TREE)
172 switch (TREE_CODE (chrec))
188 if (chrec == NULL_TREE)
191 switch (TREE_CODE (chrec))
193 case POLYNOMIAL_CHREC:
211 && TREE_CODE (chrec) == POLYNOMIAL_CHREC
213 CHREC_VARIABLE (chrec))
214 && (TREE_CODE (CHREC_RIGHT (chrec)) != POLYNOMIAL_CHREC
234 return TREE_TYPE (chrec);