Lines Matching refs:__t

2848 tree_check (tree __t, const char *__f, int __l, const char *__g, tree_code __c)
2850 if (TREE_CODE (__t) != __c)
2851 tree_check_failed (__t, __f, __l, __g, __c, 0);
2852 return __t;
2856 tree_not_check (tree __t, const char *__f, int __l, const char *__g,
2859 if (TREE_CODE (__t) == __c)
2860 tree_not_check_failed (__t, __f, __l, __g, __c, 0);
2861 return __t;
2865 tree_check2 (tree __t, const char *__f, int __l, const char *__g,
2868 if (TREE_CODE (__t) != __c1
2869 && TREE_CODE (__t) != __c2)
2870 tree_check_failed (__t, __f, __l, __g, __c1, __c2, 0);
2871 return __t;
2875 tree_not_check2 (tree __t, const char *__f, int __l, const char *__g,
2878 if (TREE_CODE (__t) == __c1
2879 || TREE_CODE (__t) == __c2)
2880 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, 0);
2881 return __t;
2885 tree_check3 (tree __t, const char *__f, int __l, const char *__g,
2888 if (TREE_CODE (__t) != __c1
2889 && TREE_CODE (__t) != __c2
2890 && TREE_CODE (__t) != __c3)
2891 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, 0);
2892 return __t;
2896 tree_not_check3 (tree __t, const char *__f, int __l, const char *__g,
2899 if (TREE_CODE (__t) == __c1
2900 || TREE_CODE (__t) == __c2
2901 || TREE_CODE (__t) == __c3)
2902 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, 0);
2903 return __t;
2907 tree_check4 (tree __t, const char *__f, int __l, const char *__g,
2911 if (TREE_CODE (__t) != __c1
2912 && TREE_CODE (__t) != __c2
2913 && TREE_CODE (__t) != __c3
2914 && TREE_CODE (__t) != __c4)
2915 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, 0);
2916 return __t;
2920 tree_not_check4 (tree __t, const char *__f, int __l, const char *__g,
2924 if (TREE_CODE (__t) == __c1
2925 || TREE_CODE (__t) == __c2
2926 || TREE_CODE (__t) == __c3
2927 || TREE_CODE (__t) == __c4)
2928 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, 0);
2929 return __t;
2933 tree_check5 (tree __t, const char *__f, int __l, const char *__g,
2937 if (TREE_CODE (__t) != __c1
2938 && TREE_CODE (__t) != __c2
2939 && TREE_CODE (__t) != __c3
2940 && TREE_CODE (__t) != __c4
2941 && TREE_CODE (__t) != __c5)
2942 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, 0);
2943 return __t;
2947 tree_not_check5 (tree __t, const char *__f, int __l, const char *__g,
2951 if (TREE_CODE (__t) == __c1
2952 || TREE_CODE (__t) == __c2
2953 || TREE_CODE (__t) == __c3
2954 || TREE_CODE (__t) == __c4
2955 || TREE_CODE (__t) == __c5)
2956 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, 0);
2957 return __t;
2961 contains_struct_check (tree __t, const enum tree_node_structure_enum __s,
2964 if (tree_contains_struct[TREE_CODE (__t)][__s] != 1)
2965 tree_contains_struct_check_failed (__t, __s, __f, __l, __g);
2966 return __t;
2970 tree_class_check (tree __t, const enum tree_code_class __class,
2973 if (TREE_CODE_CLASS (TREE_CODE (__t)) != __class)
2974 tree_class_check_failed (__t, __class, __f, __l, __g);
2975 return __t;
2979 tree_range_check (tree __t,
2983 if (TREE_CODE (__t) < __code1 || TREE_CODE (__t) > __code2)
2984 tree_range_check_failed (__t, __f, __l, __g, __code1, __code2);
2985 return __t;
2989 omp_clause_subcode_check (tree __t, enum omp_clause_code __code,
2992 if (TREE_CODE (__t) != OMP_CLAUSE)
2993 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
2994 if (__t->omp_clause.code != __code)
2995 omp_clause_check_failed (__t, __f, __l, __g, __code);
2996 return __t;
3000 omp_clause_range_check (tree __t,
3005 if (TREE_CODE (__t) != OMP_CLAUSE)
3006 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
3007 if ((int) __t->omp_clause.code < (int) __code1
3008 || (int) __t->omp_clause.code > (int) __code2)
3009 omp_clause_range_check_failed (__t, __f, __l, __g, __code1, __code2);
3010 return __t;
3016 expr_check (tree __t, const char *__f, int __l, const char *__g)
3018 char const __c = TREE_CODE_CLASS (TREE_CODE (__t));
3020 tree_class_check_failed (__t, tcc_expression, __f, __l, __g);
3021 return __t;
3027 non_type_check (tree __t, const char *__f, int __l, const char *__g)
3029 if (TYPE_P (__t))
3030 tree_not_class_check_failed (__t, tcc_type, __f, __l, __g);
3031 return __t;
3035 tree_int_cst_elt_check (const_tree __t, int __i,
3038 if (TREE_CODE (__t) != INTEGER_CST)
3039 tree_check_failed (__t, __f, __l, __g, INTEGER_CST, 0);
3040 if (__i < 0 || __i >= __t->base.u.int_length.extended)
3041 tree_int_cst_elt_check_failed (__i, __t->base.u.int_length.extended,
3043 return &CONST_CAST_TREE (__t)->int_cst.val[__i];
3047 tree_int_cst_elt_check (tree __t, int __i,
3050 if (TREE_CODE (__t) != INTEGER_CST)
3051 tree_check_failed (__t, __f, __l, __g, INTEGER_CST, 0);
3052 if (__i < 0 || __i >= __t->base.u.int_length.extended)
3053 tree_int_cst_elt_check_failed (__i, __t->base.u.int_length.extended,
3055 return &CONST_CAST_TREE (__t)->int_cst.val[__i];
3066 tree_vec_elt_check (tree __t, int __i,
3069 if (TREE_CODE (__t) != TREE_VEC)
3070 tree_check_failed (__t, __f, __l, __g, TREE_VEC, 0);
3071 if (__i < 0 || __i >= __t->base.u.length)
3072 tree_vec_elt_check_failed (__i, __t->base.u.length, __f, __l, __g);
3073 return &CONST_CAST_TREE (__t)->vec.a[__i];
3081 omp_clause_elt_check (tree __t, int __i,
3084 if (TREE_CODE (__t) != OMP_CLAUSE)
3085 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
3086 if (__i < 0 || __i >= omp_clause_num_ops [__t->omp_clause.code])
3087 omp_clause_operand_check_failed (__i, __t, __f, __l, __g);
3088 return &__t->omp_clause.ops[__i];
3094 any_integral_type_check (tree __t, const char *__f, int __l, const char *__g)
3096 if (!ANY_INTEGRAL_TYPE_P (__t))
3097 tree_check_failed (__t, __f, __l, __g, BOOLEAN_TYPE, ENUMERAL_TYPE,
3099 return __t;
3103 tree_check (const_tree __t, const char *__f, int __l, const char *__g,
3106 if (TREE_CODE (__t) != __c)
3107 tree_check_failed (__t, __f, __l, __g, __c, 0);
3108 return __t;
3112 tree_not_check (const_tree __t, const char *__f, int __l, const char *__g,
3115 if (TREE_CODE (__t) == __c)
3116 tree_not_check_failed (__t, __f, __l, __g, __c, 0);
3117 return __t;
3121 tree_check2 (const_tree __t, const char *__f, int __l, const char *__g,
3124 if (TREE_CODE (__t) != __c1
3125 && TREE_CODE (__t) != __c2)
3126 tree_check_failed (__t, __f, __l, __g, __c1, __c2, 0);
3127 return __t;
3131 tree_not_check2 (const_tree __t, const char *__f, int __l, const char *__g,
3134 if (TREE_CODE (__t) == __c1
3135 || TREE_CODE (__t) == __c2)
3136 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, 0);
3137 return __t;
3141 tree_check3 (const_tree __t, const char *__f, int __l, const char *__g,
3144 if (TREE_CODE (__t) != __c1
3145 && TREE_CODE (__t) != __c2
3146 && TREE_CODE (__t) != __c3)
3147 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, 0);
3148 return __t;
3152 tree_not_check3 (const_tree __t, const char *__f, int __l, const char *__g,
3155 if (TREE_CODE (__t) == __c1
3156 || TREE_CODE (__t) == __c2
3157 || TREE_CODE (__t) == __c3)
3158 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, 0);
3159 return __t;
3163 tree_check4 (const_tree __t, const char *__f, int __l, const char *__g,
3167 if (TREE_CODE (__t) != __c1
3168 && TREE_CODE (__t) != __c2
3169 && TREE_CODE (__t) != __c3
3170 && TREE_CODE (__t) != __c4)
3171 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, 0);
3172 return __t;
3176 tree_not_check4 (const_tree __t, const char *__f, int __l, const char *__g,
3180 if (TREE_CODE (__t) == __c1
3181 || TREE_CODE (__t) == __c2
3182 || TREE_CODE (__t) == __c3
3183 || TREE_CODE (__t) == __c4)
3184 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, 0);
3185 return __t;
3189 tree_check5 (const_tree __t, const char *__f, int __l, const char *__g,
3193 if (TREE_CODE (__t) != __c1
3194 && TREE_CODE (__t) != __c2
3195 && TREE_CODE (__t) != __c3
3196 && TREE_CODE (__t) != __c4
3197 && TREE_CODE (__t) != __c5)
3198 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, 0);
3199 return __t;
3203 tree_not_check5 (const_tree __t, const char *__f, int __l, const char *__g,
3207 if (TREE_CODE (__t) == __c1
3208 || TREE_CODE (__t) == __c2
3209 || TREE_CODE (__t) == __c3
3210 || TREE_CODE (__t) == __c4
3211 || TREE_CODE (__t) == __c5)
3212 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, 0);
3213 return __t;
3217 contains_struct_check (const_tree __t, const enum tree_node_structure_enum __s,
3220 if (tree_contains_struct[TREE_CODE (__t)][__s] != 1)
3221 tree_contains_struct_check_failed (__t, __s, __f, __l, __g);
3222 return __t;
3226 tree_class_check (const_tree __t, const enum tree_code_class __class,
3229 if (TREE_CODE_CLASS (TREE_CODE (__t)) != __class)
3230 tree_class_check_failed (__t, __class, __f, __l, __g);
3231 return __t;
3235 tree_range_check (const_tree __t,
3239 if (TREE_CODE (__t) < __code1 || TREE_CODE (__t) > __code2)
3240 tree_range_check_failed (__t, __f, __l, __g, __code1, __code2);
3241 return __t;
3245 omp_clause_subcode_check (const_tree __t, enum omp_clause_code __code,
3248 if (TREE_CODE (__t) != OMP_CLAUSE)
3249 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
3250 if (__t->omp_clause.code != __code)
3251 omp_clause_check_failed (__t, __f, __l, __g, __code);
3252 return __t;
3256 omp_clause_range_check (const_tree __t,
3261 if (TREE_CODE (__t) != OMP_CLAUSE)
3262 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
3263 if ((int) __t->omp_clause.code < (int) __code1
3264 || (int) __t->omp_clause.code > (int) __code2)
3265 omp_clause_range_check_failed (__t, __f, __l, __g, __code1, __code2);
3266 return __t;
3270 expr_check (const_tree __t, const char *__f, int __l, const char *__g)
3272 char const __c = TREE_CODE_CLASS (TREE_CODE (__t));
3274 tree_class_check_failed (__t, tcc_expression, __f, __l, __g);
3275 return __t;
3279 non_type_check (const_tree __t, const char *__f, int __l, const char *__g)
3281 if (TYPE_P (__t))
3282 tree_not_class_check_failed (__t, tcc_type, __f, __l, __g);
3283 return __t;
3292 tree_vec_elt_check (const_tree __t, int __i,
3295 if (TREE_CODE (__t) != TREE_VEC)
3296 tree_check_failed (__t, __f, __l, __g, TREE_VEC, 0);
3297 if (__i < 0 || __i >= __t->base.u.length)
3298 tree_vec_elt_check_failed (__i, __t->base.u.length, __f, __l, __g);
3299 return CONST_CAST (const_tree *, &__t->vec.a[__i]);
3300 //return &__t->vec.a[__i];
3308 omp_clause_elt_check (const_tree __t, int __i,
3311 if (TREE_CODE (__t) != OMP_CLAUSE)
3312 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
3313 if (__i < 0 || __i >= omp_clause_num_ops [__t->omp_clause.code])
3314 omp_clause_operand_check_failed (__i, __t, __f, __l, __g);
3315 return CONST_CAST (const_tree *, &__t->omp_clause.ops[__i]);
3319 any_integral_type_check (const_tree __t, const char *__f, int __l,
3322 if (!ANY_INTEGRAL_TYPE_P (__t))
3323 tree_check_failed (__t, __f, __l, __g, BOOLEAN_TYPE, ENUMERAL_TYPE,
3325 return __t;
3346 tree_operand_check (tree __t, int __i,
3349 const_tree __u = EXPR_CHECK (__t);
3356 tree_operand_check_code (tree __t, enum tree_code __code, int __i,
3359 if (TREE_CODE (__t) != __code)
3360 tree_check_failed (__t, __f, __l, __g, __code, 0);
3361 if (__i < 0 || __i >= TREE_OPERAND_LENGTH (__t))
3362 tree_operand_check_failed (__i, __t, __f, __l, __g);
3363 return &__t->exp.operands[__i];
3367 tree_operand_check (const_tree __t, int __i,
3370 const_tree __u = EXPR_CHECK (__t);
3377 tree_operand_check_code (const_tree __t, enum tree_code __code, int __i,
3380 if (TREE_CODE (__t) != __code)
3381 tree_check_failed (__t, __f, __l, __g, __code, 0);
3382 if (__i < 0 || __i >= TREE_OPERAND_LENGTH (__t))
3383 tree_operand_check_failed (__i, __t, __f, __l, __g);
3384 return CONST_CAST (const_tree *, &__t->exp.operands[__i]);