149#define MARK_TS_BASE(C) \
150 (tree_contains_struct[C][TS_BASE] = true)
152#define MARK_TS_TYPED(C) \
154 tree_contains_struct[C][TS_TYPED] = true)
156#define MARK_TS_COMMON(C) \
157 (MARK_TS_TYPED (C), \
158 tree_contains_struct[C][TS_COMMON] = true)
160#define MARK_TS_TYPE_COMMON(C) \
161 (MARK_TS_COMMON (C), \
162 tree_contains_struct[C][TS_TYPE_COMMON] = true)
164#define MARK_TS_TYPE_WITH_LANG_SPECIFIC(C) \
165 (MARK_TS_TYPE_COMMON (C), \
166 tree_contains_struct[C][TS_TYPE_WITH_LANG_SPECIFIC] = true)
168#define MARK_TS_TYPE_NON_COMMON(C) \
169 (MARK_TS_TYPE_WITH_LANG_SPECIFIC (C), \
170 tree_contains_struct[C][TS_TYPE_NON_COMMON] = true) \
172#define MARK_TS_DECL_MINIMAL(C) \
173 (MARK_TS_COMMON (C), \
174 tree_contains_struct[C][TS_DECL_MINIMAL] = true)
176#define MARK_TS_DECL_COMMON(C) \
177 (MARK_TS_DECL_MINIMAL (C), \
178 tree_contains_struct[C][TS_DECL_COMMON] = true)
180#define MARK_TS_DECL_WRTL(C) \
181 (MARK_TS_DECL_COMMON (C), \
182 tree_contains_struct[C][TS_DECL_WRTL] = true)
184#define MARK_TS_DECL_WITH_VIS(C) \
185 (MARK_TS_DECL_WRTL (C), \
186 tree_contains_struct[C][TS_DECL_WITH_VIS] = true)
188#define MARK_TS_DECL_NON_COMMON(C) \
189 (MARK_TS_DECL_WITH_VIS (C), \
190 tree_contains_struct[C][TS_DECL_NON_COMMON] = true)
192#define MARK_TS_EXP(C) \
193 (MARK_TS_TYPED (C), \
194 tree_contains_struct[C][TS_EXP] = true)
198#define TREE_CODE_CLASS_STRING(CLASS)\
199 tree_code_class_strings[(int) (CLASS)]
201#if __cpp_inline_variables < 201606L
202#define TREE_CODE_CLASS(CODE) \
203 tree_code_type_tmpl <0>::tree_code_type[(int) (CODE)]
205#define TREE_CODE_CLASS(CODE) tree_code_type[(int) (CODE)]
210#define EXCEPTIONAL_CLASS_P(NODE)\
211 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_exceptional)
215#define CONSTANT_CLASS_P(NODE)\
216 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_constant)
221#define CONSTANT_CLASS_OR_WRAPPER_P(NODE)\
222 (CONSTANT_CLASS_P (tree_strip_any_location_wrapper (NODE)))
227 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_type)
232 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_declaration)
236 (TREE_CODE (NODE) == VAR_DECL)
240#define VAR_OR_FUNCTION_DECL_P(DECL)\
241 (TREE_CODE (DECL) == VAR_DECL || TREE_CODE (DECL) == FUNCTION_DECL)
246#define INDIRECT_REF_P(NODE)\
247 (TREE_CODE (NODE) == INDIRECT_REF)
251#define REFERENCE_CLASS_P(NODE)\
252 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_reference)
256#define COMPARISON_CLASS_P(NODE)\
257 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_comparison)
261#define UNARY_CLASS_P(NODE)\
262 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_unary)
266#define BINARY_CLASS_P(NODE)\
267 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_binary)
271#define STATEMENT_CLASS_P(NODE)\
272 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_statement)
277#define VL_EXP_CLASS_P(NODE)\
278 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_vl_exp)
282#define EXPRESSION_CLASS_P(NODE)\
283 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_expression)
287#define IS_TYPE_OR_DECL_P(NODE)\
288 (TYPE_P (NODE) || DECL_P (NODE))
293#define IS_EXPR_CODE_CLASS(CLASS)\
294 ((CLASS) >= tcc_reference && (CLASS) <= tcc_expression)
298#define EXPR_P(NODE) IS_EXPR_CODE_CLASS (TREE_CODE_CLASS (TREE_CODE (NODE)))
300#if __cpp_inline_variables < 201606L
301#define TREE_CODE_LENGTH(CODE) \
302 tree_code_length_tmpl <0>::tree_code_length[(int) (CODE)]
304#define TREE_CODE_LENGTH(CODE) tree_code_length[(int) (CODE)]
310#define CASE_FLT_FN(FN) case FN: case FN##F: case FN##L
311#define CASE_FLT_FN_FLOATN_NX(FN) \
312 case FN##F16: case FN##F32: case FN##F64: case FN##F128: \
313 case FN##F32X: case FN##F64X: case FN##F128X
314#define CASE_FLT_FN_REENT(FN) case FN##_R: case FN##F_R: case FN##L_R
315#define CASE_INT_FN(FN) case FN: case FN##L: case FN##LL: case FN##IMAX
317#define NULL_TREE (tree) NULL
324#define TREE_CODE(NODE) ((enum tree_code) (NODE)->base.code)
325#define TREE_SET_CODE(NODE, VALUE) ((NODE)->base.code = (VALUE))
329#if defined ENABLE_TREE_CHECKING && (GCC_VERSION >= 2007)
331#define TREE_CHECK(T, CODE) \
332(tree_check ((T), __FILE__, __LINE__, __FUNCTION__, (CODE)))
334#define TREE_NOT_CHECK(T, CODE) \
335(tree_not_check ((T), __FILE__, __LINE__, __FUNCTION__, (CODE)))
337#define TREE_CHECK2(T, CODE1, CODE2) \
338(tree_check2 ((T), __FILE__, __LINE__, __FUNCTION__, (CODE1), (CODE2)))
340#define TREE_NOT_CHECK2(T, CODE1, CODE2) \
341(tree_not_check2 ((T), __FILE__, __LINE__, __FUNCTION__, (CODE1), (CODE2)))
343#define TREE_CHECK3(T, CODE1, CODE2, CODE3) \
344(tree_check3 ((T), __FILE__, __LINE__, __FUNCTION__, (CODE1), (CODE2), (CODE3)))
346#define TREE_NOT_CHECK3(T, CODE1, CODE2, CODE3) \
347(tree_not_check3 ((T), __FILE__, __LINE__, __FUNCTION__, \
348 (CODE1), (CODE2), (CODE3)))
350#define TREE_CHECK4(T, CODE1, CODE2, CODE3, CODE4) \
351(tree_check4 ((T), __FILE__, __LINE__, __FUNCTION__, \
352 (CODE1), (CODE2), (CODE3), (CODE4)))
354#define TREE_NOT_CHECK4(T, CODE1, CODE2, CODE3, CODE4) \
355(tree_not_check4 ((T), __FILE__, __LINE__, __FUNCTION__, \
356 (CODE1), (CODE2), (CODE3), (CODE4)))
358#define TREE_CHECK5(T, CODE1, CODE2, CODE3, CODE4, CODE5) \
359(tree_check5 ((T), __FILE__, __LINE__, __FUNCTION__, \
360 (CODE1), (CODE2), (CODE3), (CODE4), (CODE5)))
362#define TREE_NOT_CHECK5(T, CODE1, CODE2, CODE3, CODE4, CODE5) \
363(tree_not_check5 ((T), __FILE__, __LINE__, __FUNCTION__, \
364 (CODE1), (CODE2), (CODE3), (CODE4), (CODE5)))
366#define TREE_CHECK6(T, CODE1, CODE2, CODE3, CODE4, CODE5, CODE6) \
367(tree_check6 ((T), __FILE__, __LINE__, __FUNCTION__, \
368 (CODE1), (CODE2), (CODE3), (CODE4), (CODE5), (CODE6)))
370#define TREE_NOT_CHECK6(T, CODE1, CODE2, CODE3, CODE4, CODE5, CODE6) \
371(tree_not_check6 ((T), __FILE__, __LINE__, __FUNCTION__, \
372 (CODE1), (CODE2), (CODE3), (CODE4), (CODE5), (CODE6)))
374#define CONTAINS_STRUCT_CHECK(T, STRUCT) \
375(contains_struct_check ((T), (STRUCT), __FILE__, __LINE__, __FUNCTION__))
377#define TREE_CLASS_CHECK(T, CLASS) \
378(tree_class_check ((T), (CLASS), __FILE__, __LINE__, __FUNCTION__))
380#define TREE_RANGE_CHECK(T, CODE1, CODE2) \
381(tree_range_check ((T), (CODE1), (CODE2), __FILE__, __LINE__, __FUNCTION__))
383#define OMP_CLAUSE_SUBCODE_CHECK(T, CODE) \
384(omp_clause_subcode_check ((T), (CODE), __FILE__, __LINE__, __FUNCTION__))
386#define OMP_CLAUSE_RANGE_CHECK(T, CODE1, CODE2) \
387(omp_clause_range_check ((T), (CODE1), (CODE2), \
388 __FILE__, __LINE__, __FUNCTION__))
391#define EXPR_CHECK(T) \
392(expr_check ((T), __FILE__, __LINE__, __FUNCTION__))
395#define NON_TYPE_CHECK(T) \
396(non_type_check ((T), __FILE__, __LINE__, __FUNCTION__))
399#define ANY_INTEGRAL_TYPE_CHECK(T) \
400(any_integral_type_check ((T), __FILE__, __LINE__, __FUNCTION__))
402#define TREE_INT_CST_ELT_CHECK(T, I) \
403(*tree_int_cst_elt_check ((T), (I), __FILE__, __LINE__, __FUNCTION__))
405#define TREE_VEC_ELT_CHECK(T, I) \
406(*(CONST_CAST2 (tree *, typeof (T)*, \
407 tree_vec_elt_check ((T), (I), __FILE__, __LINE__, __FUNCTION__))))
409#define OMP_CLAUSE_ELT_CHECK(T, I) \
410(*(omp_clause_elt_check ((T), (I), __FILE__, __LINE__, __FUNCTION__)))
413#define TREE_OPERAND_CHECK(T, I) \
414(*(CONST_CAST2 (tree*, typeof (T)*, \
415 tree_operand_check ((T), (I), __FILE__, __LINE__, __FUNCTION__))))
417#define TREE_OPERAND_CHECK_CODE(T, CODE, I) \
418(*(tree_operand_check_code ((T), (CODE), (I), \
419 __FILE__, __LINE__, __FUNCTION__)))
430#define TREE_CHAIN(NODE) \
431(CONTAINS_STRUCT_CHECK (NODE, TS_COMMON)->common.chain)
437#define TREE_TYPE(NODE) \
438(CONTAINS_STRUCT_CHECK (NODE, TS_TYPED)->typed.type)
440extern void tree_contains_struct_check_failed (
const_tree,
442 const char *,
int,
const char *)
445extern void tree_check_failed (
const_tree,
const char *,
int,
const char *,
447extern
void tree_not_check_failed (
const_tree, const
char *,
int, const
char *,
450 const
char *,
int, const
char *)
452extern
void tree_range_check_failed (
const_tree, const
char *,
int,
456extern
void tree_not_class_check_failed (
const_tree,
458 const
char *,
int, const
char *)
460extern
void tree_int_cst_elt_check_failed (
int,
int, const
char *,
463extern
void tree_vec_elt_check_failed (
int,
int, const
char *,
466extern
void phi_node_elt_check_failed (
int,
int, const
char *,
469extern
void tree_operand_check_failed (
int,
const_tree,
470 const
char *,
int, const
char *)
472extern
void omp_clause_check_failed (
const_tree, const
char *,
int,
475extern
void omp_clause_operand_check_failed (
int,
const_tree, const
char *,
478extern
void omp_clause_range_check_failed (
const_tree, const
char *,
int,
485#define CONTAINS_STRUCT_CHECK(T, ENUM) (T)
486#define TREE_CHECK(T, CODE) (T)
487#define TREE_NOT_CHECK(T, CODE) (T)
488#define TREE_CHECK2(T, CODE1, CODE2) (T)
489#define TREE_NOT_CHECK2(T, CODE1, CODE2) (T)
490#define TREE_CHECK3(T, CODE1, CODE2, CODE3) (T)
491#define TREE_NOT_CHECK3(T, CODE1, CODE2, CODE3) (T)
492#define TREE_CHECK4(T, CODE1, CODE2, CODE3, CODE4) (T)
493#define TREE_NOT_CHECK4(T, CODE1, CODE2, CODE3, CODE4) (T)
494#define TREE_CHECK5(T, CODE1, CODE2, CODE3, CODE4, CODE5) (T)
495#define TREE_NOT_CHECK5(T, CODE1, CODE2, CODE3, CODE4, CODE5) (T)
496#define TREE_CHECK6(T, CODE1, CODE2, CODE3, CODE4, CODE5, CODE6) (T)
497#define TREE_NOT_CHECK6(T, CODE1, CODE2, CODE3, CODE4, CODE5, CODE6) (T)
498#define TREE_CLASS_CHECK(T, CODE) (T)
499#define TREE_RANGE_CHECK(T, CODE1, CODE2) (T)
500#define EXPR_CHECK(T) (T)
501#define NON_TYPE_CHECK(T) (T)
502#define TREE_INT_CST_ELT_CHECK(T, I) ((T)->int_cst.val[I])
503#define TREE_VEC_ELT_CHECK(T, I) ((T)->vec.a[I])
504#define TREE_OPERAND_CHECK(T, I) ((T)->exp.operands[I])
505#define TREE_OPERAND_CHECK_CODE(T, CODE, I) ((T)->exp.operands[I])
506#define OMP_CLAUSE_ELT_CHECK(T, i) ((T)->omp_clause.ops[i])
507#define OMP_CLAUSE_RANGE_CHECK(T, CODE1, CODE2) (T)
508#define OMP_CLAUSE_SUBCODE_CHECK(T, CODE) (T)
509#define ANY_INTEGRAL_TYPE_CHECK(T) (T)
511#define TREE_CHAIN(NODE) ((NODE)->common.chain)
512#define TREE_TYPE(NODE) ((NODE)->typed.type)
516#define TREE_BLOCK(NODE) (tree_block (NODE))
517#define TREE_SET_BLOCK(T, B) (tree_set_block ((T), (B)))
519#include "tree-check.h"
521#define TYPE_CHECK(T) TREE_CLASS_CHECK (T, tcc_type)
522#define DECL_MINIMAL_CHECK(T) CONTAINS_STRUCT_CHECK (T, TS_DECL_MINIMAL)
523#define DECL_COMMON_CHECK(T) CONTAINS_STRUCT_CHECK (T, TS_DECL_COMMON)
524#define DECL_WRTL_CHECK(T) CONTAINS_STRUCT_CHECK (T, TS_DECL_WRTL)
525#define DECL_WITH_VIS_CHECK(T) CONTAINS_STRUCT_CHECK (T, TS_DECL_WITH_VIS)
526#define DECL_NON_COMMON_CHECK(T) CONTAINS_STRUCT_CHECK (T, TS_DECL_NON_COMMON)
527#define CST_CHECK(T) TREE_CLASS_CHECK (T, tcc_constant)
528#define STMT_CHECK(T) TREE_CLASS_CHECK (T, tcc_statement)
529#define VL_EXP_CHECK(T) TREE_CLASS_CHECK (T, tcc_vl_exp)
530#define FUNC_OR_METHOD_CHECK(T) TREE_CHECK2 (T, FUNCTION_TYPE, METHOD_TYPE)
531#define PTR_OR_REF_CHECK(T) TREE_CHECK2 (T, POINTER_TYPE, REFERENCE_TYPE)
533#define RECORD_OR_UNION_CHECK(T) \
534 TREE_CHECK3 (T, RECORD_TYPE, UNION_TYPE, QUAL_UNION_TYPE)
535#define NOT_RECORD_OR_UNION_CHECK(T) \
536 TREE_NOT_CHECK3 (T, RECORD_TYPE, UNION_TYPE, QUAL_UNION_TYPE)
537#define ARRAY_OR_INTEGER_TYPE_CHECK(T) \
538 TREE_CHECK2 (T, ARRAY_TYPE, INTEGER_TYPE)
540#define NUMERICAL_TYPE_CHECK(T) \
541 TREE_CHECK6 (T, INTEGER_TYPE, ENUMERAL_TYPE, BOOLEAN_TYPE, REAL_TYPE, \
542 FIXED_POINT_TYPE, BITINT_TYPE)
546#define TYPE_HASH(TYPE) (TYPE_UID (TYPE))
550#define TREE_HASH(NODE) ((size_t) (NODE) & 0777777)
553#define CONVERT_EXPR_CODE_P(CODE) \
554 ((CODE) == NOP_EXPR || (CODE) == CONVERT_EXPR)
557#define CONVERT_EXPR_P(EXP) CONVERT_EXPR_CODE_P (TREE_CODE (EXP))
561#define CASE_CONVERT \
569#define STRIP_NOPS(EXP) \
570 (EXP) = tree_strip_nop_conversions (CONST_CAST_TREE (EXP))
574#define STRIP_SIGN_NOPS(EXP) \
575 (EXP) = tree_strip_sign_nop_conversions (CONST_CAST_TREE (EXP))
579#define STRIP_TYPE_NOPS(EXP) \
580 while ((CONVERT_EXPR_P (EXP) \
581 || TREE_CODE (EXP) == NON_LVALUE_EXPR) \
582 && TREE_OPERAND (EXP, 0) != error_mark_node \
583 && (TREE_TYPE (EXP) \
584 == TREE_TYPE (TREE_OPERAND (EXP, 0)))) \
585 (EXP) = TREE_OPERAND (EXP, 0)
590#define STRIP_USELESS_TYPE_CONVERSION(EXP) \
591 (EXP) = tree_ssa_strip_useless_type_conversions (EXP)
596#define STRIP_ANY_LOCATION_WRAPPER(EXP) \
597 (EXP) = tree_strip_any_location_wrapper (CONST_CAST_TREE (EXP))
601#define VECTOR_TYPE_P(TYPE) (TREE_CODE (TYPE) == VECTOR_TYPE)
605#define VECTOR_BOOLEAN_TYPE_P(TYPE) \
606 (TREE_CODE (TYPE) == VECTOR_TYPE \
607 && TREE_CODE (TREE_TYPE (TYPE)) == BOOLEAN_TYPE)
613#define INTEGRAL_TYPE_P(TYPE) \
614 (TREE_CODE (TYPE) == ENUMERAL_TYPE \
615 || TREE_CODE (TYPE) == BOOLEAN_TYPE \
616 || TREE_CODE (TYPE) == INTEGER_TYPE \
617 || TREE_CODE (TYPE) == BITINT_TYPE)
622#define ANY_INTEGRAL_TYPE_P(TYPE) \
623 (INTEGRAL_TYPE_P (TYPE) \
624 || ((TREE_CODE (TYPE) == COMPLEX_TYPE \
625 || VECTOR_TYPE_P (TYPE)) \
626 && INTEGRAL_TYPE_P (TREE_TYPE (TYPE))))
630#define BITINT_TYPE_P(TYPE) (TREE_CODE (TYPE) == BITINT_TYPE)
634#define NON_SAT_FIXED_POINT_TYPE_P(TYPE) \
635 (TREE_CODE (TYPE) == FIXED_POINT_TYPE && !TYPE_SATURATING (TYPE))
639#define SAT_FIXED_POINT_TYPE_P(TYPE) \
640 (TREE_CODE (TYPE) == FIXED_POINT_TYPE && TYPE_SATURATING (TYPE))
644#define FIXED_POINT_TYPE_P(TYPE) (TREE_CODE (TYPE) == FIXED_POINT_TYPE)
648#define SCALAR_FLOAT_TYPE_P(TYPE) (TREE_CODE (TYPE) == REAL_TYPE)
652#define COMPLEX_FLOAT_TYPE_P(TYPE) \
653 (TREE_CODE (TYPE) == COMPLEX_TYPE \
654 && TREE_CODE (TREE_TYPE (TYPE)) == REAL_TYPE)
658#define VECTOR_INTEGER_TYPE_P(TYPE) \
659 (VECTOR_TYPE_P (TYPE) \
660 && TREE_CODE (TREE_TYPE (TYPE)) == INTEGER_TYPE)
665#define VECTOR_FLOAT_TYPE_P(TYPE) \
666 (VECTOR_TYPE_P (TYPE) \
667 && TREE_CODE (TREE_TYPE (TYPE)) == REAL_TYPE)
673#define FLOAT_TYPE_P(TYPE) \
674 (SCALAR_FLOAT_TYPE_P (TYPE) \
675 || ((TREE_CODE (TYPE) == COMPLEX_TYPE \
676 || VECTOR_TYPE_P (TYPE)) \
677 && SCALAR_FLOAT_TYPE_P (TREE_TYPE (TYPE))))
680#define DECIMAL_FLOAT_TYPE_P(TYPE) \
681 (SCALAR_FLOAT_TYPE_P (TYPE) \
682 && DECIMAL_FLOAT_MODE_P (TYPE_MODE (TYPE)))
685#define RECORD_OR_UNION_TYPE_P(TYPE) \
686 (TREE_CODE (TYPE) == RECORD_TYPE \
687 || TREE_CODE (TYPE) == UNION_TYPE \
688 || TREE_CODE (TYPE) == QUAL_UNION_TYPE)
693#define AGGREGATE_TYPE_P(TYPE) \
694 (TREE_CODE (TYPE) == ARRAY_TYPE || RECORD_OR_UNION_TYPE_P (TYPE))
700#define POINTER_TYPE_P(TYPE) \
701 (TREE_CODE (TYPE) == POINTER_TYPE || TREE_CODE (TYPE) == REFERENCE_TYPE)
704#define FUNCTION_POINTER_TYPE_P(TYPE) \
705 (POINTER_TYPE_P (TYPE) && TREE_CODE (TREE_TYPE (TYPE)) == FUNCTION_TYPE)
708#define COMPLETE_TYPE_P(NODE) (TYPE_SIZE (NODE) != NULL_TREE)
711#define VOID_TYPE_P(NODE) (TREE_CODE (NODE) == VOID_TYPE)
714#define COMPLETE_OR_VOID_TYPE_P(NODE) \
715 (COMPLETE_TYPE_P (NODE) || VOID_TYPE_P (NODE))
718#define COMPLETE_OR_UNBOUND_ARRAY_TYPE_P(NODE) \
719 (COMPLETE_TYPE_P (TREE_CODE (NODE) == ARRAY_TYPE ? TREE_TYPE (NODE) : (NODE)))
721#define FUNC_OR_METHOD_TYPE_P(NODE) \
722 (TREE_CODE (NODE) == FUNCTION_TYPE || TREE_CODE (NODE) == METHOD_TYPE)
724#define OPAQUE_TYPE_P(NODE) \
725 (TREE_CODE (NODE) == OPAQUE_TYPE)
744#define TREE_ADDRESSABLE(NODE) ((NODE)->base.addressable_flag)
749#define CALL_EXPR_TAILCALL(NODE) \
750 (CALL_EXPR_CHECK (NODE)->base.addressable_flag)
754#define CALL_EXPR_MUST_TAIL_CALL(NODE) \
755 (CALL_EXPR_CHECK (NODE)->base.static_flag)
759#define CASE_LOW_SEEN(NODE) \
760 (CASE_LABEL_EXPR_CHECK (NODE)->base.addressable_flag)
762#define PREDICT_EXPR_OUTCOME(NODE) \
763 ((enum prediction) (PREDICT_EXPR_CHECK (NODE)->base.addressable_flag))
764#define SET_PREDICT_EXPR_OUTCOME(NODE, OUTCOME) \
765 (PREDICT_EXPR_CHECK (NODE)->base.addressable_flag = (int) OUTCOME)
766#define PREDICT_EXPR_PREDICTOR(NODE) \
767 ((enum br_predictor)tree_to_shwi (TREE_OPERAND (PREDICT_EXPR_CHECK (NODE), 0)))
772#define TREE_STATIC(NODE) ((NODE)->base.static_flag)
775#define TREE_NO_TRAMPOLINE(NODE) (ADDR_EXPR_CHECK (NODE)->base.static_flag)
780#define CLEANUP_EH_ONLY(NODE) ((NODE)->base.static_flag)
784#define TRY_CATCH_IS_CLEANUP(NODE) \
785 (TRY_CATCH_EXPR_CHECK (NODE)->base.static_flag)
789#define CASE_HIGH_SEEN(NODE) \
790 (CASE_LABEL_EXPR_CHECK (NODE)->base.static_flag)
793#define ENUM_IS_SCOPED(NODE) (ENUMERAL_TYPE_CHECK (NODE)->base.static_flag)
796#define ENUM_IS_OPAQUE(NODE) (ENUMERAL_TYPE_CHECK (NODE)->base.private_flag)
803#define TREE_NO_WARNING(NODE) ((NODE)->base.nowarning_flag)
807#define TRANSLATION_UNIT_WARN_EMPTY_P(NODE) \
808 (TRANSLATION_UNIT_DECL_CHECK (NODE)->decl_common.decl_flag_0)
811#define TYPE_EMPTY_P(NODE) (TYPE_CHECK (NODE)->type_common.empty_flag)
814#define TYPE_ARTIFICIAL(NODE) (TYPE_CHECK (NODE)->base.nowarning_flag)
819#define TYPE_INDIVISIBLE_P(NODE) (TYPE_CHECK (NODE)->type_common.indivisible_p)
824#define TYPE_NO_NAMED_ARGS_STDARG_P(NODE) \
825 (FUNC_OR_METHOD_CHECK (NODE)->type_common.no_named_args_stdarg_p)
829#define TYPE_INCLUDES_FLEXARRAY(NODE) \
830 (RECORD_OR_UNION_CHECK (NODE)->type_common.no_named_args_stdarg_p)
834#define TREE_SYMBOL_REFERENCED(NODE) \
835 (IDENTIFIER_NODE_CHECK (NODE)->base.static_flag)
839#define TYPE_REF_CAN_ALIAS_ALL(NODE) \
840 (PTR_OR_REF_CHECK (NODE)->base.static_flag)
845#define TREE_OVERFLOW(NODE) (CST_CHECK (NODE)->base.public_flag)
849#define TREE_OVERFLOW_P(EXPR) \
850 (CONSTANT_CLASS_P (EXPR) && TREE_OVERFLOW (EXPR))
857#define TREE_PUBLIC(NODE) ((NODE)->base.public_flag)
861#define TYPE_CACHED_VALUES_P(NODE) (TYPE_CHECK (NODE)->base.public_flag)
865#define SAVE_EXPR_RESOLVED_P(NODE) \
866 (SAVE_EXPR_CHECK (NODE)->base.public_flag)
870#define CALL_EXPR_VA_ARG_PACK(NODE) \
871 (CALL_EXPR_CHECK (NODE)->base.public_flag)
878#define TREE_SIDE_EFFECTS(NODE) \
879 (NON_TYPE_CHECK (NODE)->base.side_effects_flag)
884#define FORCED_LABEL(NODE) (LABEL_DECL_CHECK (NODE)->base.side_effects_flag)
888#define FALLTHROUGH_LABEL_P(NODE) \
889 (LABEL_DECL_CHECK (NODE)->base.private_flag)
893#define SWITCH_BREAK_LABEL_P(NODE) \
894 (LABEL_DECL_CHECK (NODE)->base.protected_flag)
899#define UNUSED_LABEL_P(NODE) \
900 (LABEL_DECL_CHECK (NODE)->base.default_def_flag)
915#define TREE_THIS_VOLATILE(NODE) ((NODE)->base.volatile_flag)
926#define TREE_THIS_NOTRAP(NODE) \
927 (TREE_CHECK5 (NODE, INDIRECT_REF, MEM_REF, TARGET_MEM_REF, ARRAY_REF, \
928 ARRAY_RANGE_REF)->base.nothrow_flag)
934#define TREE_READONLY(NODE) (NON_TYPE_CHECK (NODE)->base.readonly_flag)
938#define TREE_CONSTANT(NODE) (NON_TYPE_CHECK (NODE)->base.constant_flag)
941#define TYPE_SIZES_GIMPLIFIED(NODE) \
942 (TYPE_CHECK (NODE)->base.constant_flag)
945#define DECL_UNSIGNED(NODE) \
946 (DECL_COMMON_CHECK (NODE)->base.u.bits.unsigned_flag)
949#define TYPE_UNSIGNED(NODE) (TYPE_CHECK (NODE)->base.u.bits.unsigned_flag)
952#define TYPE_SIGN(NODE) ((signop) TYPE_UNSIGNED (NODE))
956#define TYPE_OVERFLOW_WRAPS(TYPE) \
957 (POINTER_TYPE_P (TYPE) \
958 ? flag_wrapv_pointer \
959 : (ANY_INTEGRAL_TYPE_CHECK(TYPE)->base.u.bits.unsigned_flag \
970#define TYPE_OVERFLOW_UNDEFINED(TYPE) \
971 (POINTER_TYPE_P (TYPE) \
972 ? !flag_wrapv_pointer \
973 : (!ANY_INTEGRAL_TYPE_CHECK(TYPE)->base.u.bits.unsigned_flag \
974 && !flag_wrapv && !flag_trapv))
978#define TYPE_OVERFLOW_TRAPS(TYPE) \
979 (!ANY_INTEGRAL_TYPE_CHECK(TYPE)->base.u.bits.unsigned_flag && flag_trapv)
982#define TYPE_OVERFLOW_SANITIZED(TYPE) \
983 (INTEGRAL_TYPE_P (TYPE) \
984 && !TYPE_OVERFLOW_WRAPS (TYPE) \
985 && (flag_sanitize & SANITIZE_SI_OVERFLOW))
996#define TREE_ASM_WRITTEN(NODE) ((NODE)->base.asm_written_flag)
1003#define TREE_USED(NODE) ((NODE)->base.used_flag)
1009#define TREE_NOTHROW(NODE) ((NODE)->base.nothrow_flag)
1013#define CALL_EXPR_RETURN_SLOT_OPT(NODE) \
1014 (CALL_EXPR_CHECK (NODE)->base.private_flag)
1019#define DECL_BY_REFERENCE(NODE) \
1020 (TREE_CHECK3 (NODE, VAR_DECL, PARM_DECL, \
1021 RESULT_DECL)->decl_common.decl_by_reference_flag)
1025#define DECL_READ_P(NODE) \
1026 (TREE_CHECK2 (NODE, VAR_DECL, PARM_DECL)->decl_common.decl_read_flag)
1030#define DECL_NONSHAREABLE(NODE) \
1031 (TREE_CHECK2 (NODE, VAR_DECL, \
1032 RESULT_DECL)->decl_common.decl_nonshareable_flag)
1036#define DECL_HIDDEN_STRING_LENGTH(NODE) \
1037 (TREE_CHECK (NODE, PARM_DECL)->decl_common.decl_nonshareable_flag)
1042#define CALL_FROM_THUNK_P(NODE) (CALL_EXPR_CHECK (NODE)->base.protected_flag)
1048#define CALL_ALLOCA_FOR_VAR_P(NODE) \
1049 (CALL_EXPR_CHECK (NODE)->base.protected_flag)
1054#define CALL_FROM_NEW_OR_DELETE_P(NODE) \
1055 (CALL_EXPR_CHECK (NODE)->base.protected_flag)
1058#define TREE_PRIVATE(NODE) ((NODE)->base.private_flag)
1060#define TREE_PROTECTED(NODE) ((NODE)->base.protected_flag)
1063#define TYPE_REF_IS_RVALUE(NODE) \
1064 (REFERENCE_TYPE_CHECK (NODE)->base.private_flag)
1068#define TREE_DEPRECATED(NODE) \
1069 ((NODE)->base.deprecated_flag)
1073#define TREE_UNAVAILABLE(NODE) \
1074 ((NODE)->base.u.bits.unavailable_flag)
1078#define IDENTIFIER_ANON_P(NODE) \
1079 (IDENTIFIER_NODE_CHECK (NODE)->base.private_flag)
1083#define IDENTIFIER_TRANSPARENT_ALIAS(NODE) \
1084 (IDENTIFIER_NODE_CHECK (NODE)->base.deprecated_flag)
1089#define TYPE_REVERSE_STORAGE_ORDER(NODE) \
1090 (TREE_CHECK4 (NODE, RECORD_TYPE, UNION_TYPE, QUAL_UNION_TYPE, ARRAY_TYPE)->base.u.bits.saturating_flag)
1093#define TYPE_SATURATING(NODE) \
1094 (TREE_NOT_CHECK4 (NODE, RECORD_TYPE, UNION_TYPE, QUAL_UNION_TYPE, ARRAY_TYPE)->base.u.bits.saturating_flag)
1107#define REF_REVERSE_STORAGE_ORDER(NODE) \
1108 (TREE_CHECK2 (NODE, BIT_FIELD_REF, MEM_REF)->base.default_def_flag)
1112#define FUNC_ADDR_BY_DESCRIPTOR(NODE) \
1113 (TREE_CHECK (NODE, ADDR_EXPR)->base.default_def_flag)
1117#define CALL_EXPR_BY_DESCRIPTOR(NODE) \
1118 (TREE_CHECK (NODE, CALL_EXPR)->base.default_def_flag)
1121#define TREE_LANG_FLAG_0(NODE) \
1122 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_0)
1123#define TREE_LANG_FLAG_1(NODE) \
1124 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_1)
1125#define TREE_LANG_FLAG_2(NODE) \
1126 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_2)
1127#define TREE_LANG_FLAG_3(NODE) \
1128 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_3)
1129#define TREE_LANG_FLAG_4(NODE) \
1130 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_4)
1131#define TREE_LANG_FLAG_5(NODE) \
1132 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_5)
1133#define TREE_LANG_FLAG_6(NODE) \
1134 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_6)
1138#define TREE_INT_CST_NUNITS(NODE) \
1139 (INTEGER_CST_CHECK (NODE)->base.u.int_length.unextended)
1140#define TREE_INT_CST_EXT_NUNITS(NODE) \
1141 (INTEGER_CST_CHECK (NODE)->base.u.int_length.extended)
1142#define TREE_INT_CST_ELT(NODE, I) TREE_INT_CST_ELT_CHECK (NODE, I)
1143#define TREE_INT_CST_LOW(NODE) \
1144 ((unsigned HOST_WIDE_INT) TREE_INT_CST_ELT (NODE, 0))
1148#define POLY_INT_CST_P(NODE) \
1149 (NUM_POLY_INT_COEFFS > 1 && TREE_CODE (NODE) == POLY_INT_CST)
1152#define POLY_INT_CST_COEFF(NODE, I) \
1153 (POLY_INT_CST_CHECK (NODE)->poly_int_cst.coeffs[I])
1155#define TREE_REAL_CST_PTR(NODE) (&REAL_CST_CHECK (NODE)->real_cst.value)
1156#define TREE_REAL_CST(NODE) (*TREE_REAL_CST_PTR (NODE))
1158#define TREE_FIXED_CST_PTR(NODE) \
1159 (FIXED_CST_CHECK (NODE)->fixed_cst.fixed_cst_ptr)
1160#define TREE_FIXED_CST(NODE) (*TREE_FIXED_CST_PTR (NODE))
1164#define TREE_STRING_LENGTH(NODE) (STRING_CST_CHECK (NODE)->string.length)
1165#define TREE_STRING_POINTER(NODE) \
1166 ((const char *)(STRING_CST_CHECK (NODE)->string.str))
1169#define RAW_DATA_LENGTH(NODE) \
1170 (RAW_DATA_CST_CHECK (NODE)->raw_data_cst.length)
1171#define RAW_DATA_POINTER(NODE) \
1172 (RAW_DATA_CST_CHECK (NODE)->raw_data_cst.str)
1173#define RAW_DATA_OWNER(NODE) \
1174 (RAW_DATA_CST_CHECK (NODE)->raw_data_cst.owner)
1175#define RAW_DATA_UCHAR_ELT(NODE, I) \
1176 (((const unsigned char *) RAW_DATA_POINTER (NODE))[I])
1177#define RAW_DATA_SCHAR_ELT(NODE, I) \
1178 (((const signed char *) RAW_DATA_POINTER (NODE))[I])
1181#define TREE_REALPART(NODE) (COMPLEX_CST_CHECK (NODE)->complex.real)
1182#define TREE_IMAGPART(NODE) (COMPLEX_CST_CHECK (NODE)->complex.imag)
1185#define VECTOR_CST_NELTS(NODE) (TYPE_VECTOR_SUBPARTS (TREE_TYPE (NODE)))
1186#define VECTOR_CST_ELT(NODE,IDX) vector_cst_elt (NODE, IDX)
1188#define VECTOR_CST_LOG2_NPATTERNS(NODE) \
1189 (VECTOR_CST_CHECK (NODE)->base.u.vector_cst.log2_npatterns)
1190#define VECTOR_CST_NPATTERNS(NODE) \
1191 (1U << VECTOR_CST_LOG2_NPATTERNS (NODE))
1192#define VECTOR_CST_NELTS_PER_PATTERN(NODE) \
1193 (VECTOR_CST_CHECK (NODE)->base.u.vector_cst.nelts_per_pattern)
1194#define VECTOR_CST_DUPLICATE_P(NODE) \
1195 (VECTOR_CST_NELTS_PER_PATTERN (NODE) == 1)
1196#define VECTOR_CST_STEPPED_P(NODE) \
1197 (VECTOR_CST_NELTS_PER_PATTERN (NODE) == 3)
1198#define VECTOR_CST_ENCODED_ELTS(NODE) \
1199 (VECTOR_CST_CHECK (NODE)->vector.elts)
1200#define VECTOR_CST_ENCODED_ELT(NODE, ELT) \
1201 (VECTOR_CST_CHECK (NODE)->vector.elts[ELT])
1206#define IDENTIFIER_LENGTH(NODE) \
1207 (IDENTIFIER_NODE_CHECK (NODE)->identifier.id.len)
1208#define IDENTIFIER_POINTER(NODE) \
1209 ((const char *) IDENTIFIER_NODE_CHECK (NODE)->identifier.id.str)
1210#define IDENTIFIER_HASH_VALUE(NODE) \
1211 (IDENTIFIER_NODE_CHECK (NODE)->identifier.id.hash_value)
1216#define HT_IDENT_TO_GCC_IDENT(NODE) \
1217 ((tree) ((char *) (NODE) - sizeof (struct tree_common)))
1218#define GCC_IDENT_TO_HT_IDENT(NODE) (&((struct tree_identifier *) (NODE))->id)
1221#define TREE_PURPOSE(NODE) (TREE_LIST_CHECK (NODE)->list.purpose)
1222#define TREE_VALUE(NODE) (TREE_LIST_CHECK (NODE)->list.value)
1225#define TREE_VEC_LENGTH(NODE) (TREE_VEC_CHECK (NODE)->base.u.length)
1226#define TREE_VEC_BEGIN(NODE) (&TREE_VEC_CHECK (NODE)->vec.a[0])
1227#define TREE_VEC_END(NODE) \
1228 ((void) TREE_VEC_CHECK (NODE), &((NODE)->vec.a[(NODE)->base.u.length]))
1230#define TREE_VEC_ELT(NODE,I) TREE_VEC_ELT_CHECK (NODE, I)
1233#define CONSTRUCTOR_ELTS(NODE) (CONSTRUCTOR_CHECK (NODE)->constructor.elts)
1234#define CONSTRUCTOR_ELT(NODE,IDX) \
1235 (&(*CONSTRUCTOR_ELTS (NODE))[IDX])
1236#define CONSTRUCTOR_NELTS(NODE) \
1237 (vec_safe_length (CONSTRUCTOR_ELTS (NODE)))
1238#define CONSTRUCTOR_NO_CLEARING(NODE) \
1239 (CONSTRUCTOR_CHECK (NODE)->base.public_flag)
1241#define CONSTRUCTOR_ZERO_PADDING_BITS(NODE) \
1242 (CONSTRUCTOR_CHECK (NODE)->base.default_def_flag)
1247#define FOR_EACH_CONSTRUCTOR_VALUE(V, IX, VAL) \
1248 for (IX = 0; (IX >= vec_safe_length (V)) \
1250 : ((VAL = (*(V))[IX].value), \
1257#define FOR_EACH_CONSTRUCTOR_ELT(V, IX, INDEX, VAL) \
1258 for (IX = 0; (IX >= vec_safe_length (V)) \
1260 : (((void) (VAL = (*V)[IX].value)), \
1261 (INDEX = (*V)[IX].index), \
1266#define CONSTRUCTOR_APPEND_ELT(V, INDEX, VALUE) \
1268 constructor_elt _ce___ = {INDEX, VALUE}; \
1269 vec_safe_push ((V), _ce___); \
1274#define CONSTRUCTOR_BITFIELD_P(NODE) \
1275 (DECL_BIT_FIELD (FIELD_DECL_CHECK (NODE)) \
1276 && (DECL_MODE (NODE) != BLKmode \
1277 || TREE_CODE (TREE_TYPE (NODE)) == BITINT_TYPE))
1284#define TREE_CLOBBER_P(NODE) \
1285 (TREE_CODE (NODE) == CONSTRUCTOR && TREE_THIS_VOLATILE (NODE))
1288#define CLOBBER_KIND(NODE) \
1289 (CONSTRUCTOR_CHECK (NODE)->base.u.bits.address_space)
1294#define IS_EMPTY_STMT(NODE) (TREE_CODE (NODE) == NOP_EXPR \
1295 && VOID_TYPE_P (TREE_TYPE (NODE)) \
1296 && integer_zerop (TREE_OPERAND (NODE, 0)))
1299#define TREE_OPERAND_LENGTH(NODE) tree_operand_length (NODE)
1300#define TREE_OPERAND(NODE, I) TREE_OPERAND_CHECK (NODE, I)
1307#define VL_EXP_OPERAND_LENGTH(NODE) \
1308 ((int)TREE_INT_CST_LOW (VL_EXP_CHECK (NODE)->exp.operands[0]))
1311#define MAY_HAVE_DEBUG_MARKER_STMTS debug_nonbind_markers_p
1314#define MAY_HAVE_DEBUG_BIND_STMTS flag_var_tracking_assignments
1316#define MAY_HAVE_DEBUG_STMTS \
1317 (MAY_HAVE_DEBUG_MARKER_STMTS || MAY_HAVE_DEBUG_BIND_STMTS)
1320#define LOOP_EXPR_BODY(NODE) TREE_OPERAND_CHECK_CODE (NODE, LOOP_EXPR, 0)
1325#define EXPR_LOCATION(NODE) \
1326 (CAN_HAVE_LOCATION_P ((NODE)) ? (NODE)->exp.locus : UNKNOWN_LOCATION)
1327#define SET_EXPR_LOCATION(NODE, LOCUS) EXPR_CHECK ((NODE))->exp.locus = (LOCUS)
1328#define EXPR_HAS_LOCATION(NODE) (LOCATION_LOCUS (EXPR_LOCATION (NODE)) \
1329 != UNKNOWN_LOCATION)
1332#define EXPR_LOC_OR_LOC(NODE, LOCUS) (EXPR_HAS_LOCATION (NODE) \
1333 ? (NODE)->exp.locus : (LOCUS))
1334#define EXPR_FILENAME(NODE) LOCATION_FILE (EXPR_CHECK ((NODE))->exp.locus)
1335#define EXPR_LINENO(NODE) LOCATION_LINE (EXPR_CHECK (NODE)->exp.locus)
1337#define CAN_HAVE_RANGE_P(NODE) (CAN_HAVE_LOCATION_P (NODE))
1338#define EXPR_LOCATION_RANGE(NODE) (get_expr_source_range (EXPR_CHECK ((NODE))))
1340#define EXPR_HAS_RANGE(NODE) \
1341 (CAN_HAVE_RANGE_P (NODE) \
1342 ? EXPR_LOCATION_RANGE (NODE).m_start != UNKNOWN_LOCATION \
1347#define CAN_HAVE_LOCATION_P(NODE) ((NODE) && EXPR_P (NODE))
1358ATTRIBUTE_WARN_UNUSED_RESULT
1377#define TARGET_EXPR_SLOT(NODE) TREE_OPERAND_CHECK_CODE (NODE, TARGET_EXPR, 0)
1378#define TARGET_EXPR_INITIAL(NODE) TREE_OPERAND_CHECK_CODE (NODE, TARGET_EXPR, 1)
1379#define TARGET_EXPR_CLEANUP(NODE) TREE_OPERAND_CHECK_CODE (NODE, TARGET_EXPR, 2)
1382#define TARGET_EXPR_NO_ELIDE(NODE) (TARGET_EXPR_CHECK (NODE)->base.private_flag)
1386#define DECL_EXPR_DECL(NODE) TREE_OPERAND (DECL_EXPR_CHECK (NODE), 0)
1388#define EXIT_EXPR_COND(NODE) TREE_OPERAND (EXIT_EXPR_CHECK (NODE), 0)
1391#define COMPOUND_LITERAL_EXPR_DECL_EXPR(NODE) \
1392 TREE_OPERAND (COMPOUND_LITERAL_EXPR_CHECK (NODE), 0)
1393#define COMPOUND_LITERAL_EXPR_DECL(NODE) \
1394 DECL_EXPR_DECL (COMPOUND_LITERAL_EXPR_DECL_EXPR (NODE))
1397#define SWITCH_COND(NODE) TREE_OPERAND (SWITCH_EXPR_CHECK (NODE), 0)
1398#define SWITCH_BODY(NODE) TREE_OPERAND (SWITCH_EXPR_CHECK (NODE), 1)
1402#define SWITCH_ALL_CASES_P(NODE) (SWITCH_EXPR_CHECK (NODE)->base.private_flag)
1406#define CASE_LOW(NODE) TREE_OPERAND (CASE_LABEL_EXPR_CHECK (NODE), 0)
1407#define CASE_HIGH(NODE) TREE_OPERAND (CASE_LABEL_EXPR_CHECK (NODE), 1)
1408#define CASE_LABEL(NODE) TREE_OPERAND (CASE_LABEL_EXPR_CHECK (NODE), 2)
1409#define CASE_CHAIN(NODE) TREE_OPERAND (CASE_LABEL_EXPR_CHECK (NODE), 3)
1413#define TMR_BASE(NODE) (TREE_OPERAND (TARGET_MEM_REF_CHECK (NODE), 0))
1414#define TMR_OFFSET(NODE) (TREE_OPERAND (TARGET_MEM_REF_CHECK (NODE), 1))
1415#define TMR_INDEX(NODE) (TREE_OPERAND (TARGET_MEM_REF_CHECK (NODE), 2))
1416#define TMR_STEP(NODE) (TREE_OPERAND (TARGET_MEM_REF_CHECK (NODE), 3))
1417#define TMR_INDEX2(NODE) (TREE_OPERAND (TARGET_MEM_REF_CHECK (NODE), 4))
1419#define MR_DEPENDENCE_CLIQUE(NODE) \
1420 (TREE_CHECK2 (NODE, MEM_REF, TARGET_MEM_REF)->base.u.dependence_info.clique)
1421#define MR_DEPENDENCE_BASE(NODE) \
1422 (TREE_CHECK2 (NODE, MEM_REF, TARGET_MEM_REF)->base.u.dependence_info.base)
1425#define BIND_EXPR_VARS(NODE) (TREE_OPERAND (BIND_EXPR_CHECK (NODE), 0))
1426#define BIND_EXPR_BODY(NODE) (TREE_OPERAND (BIND_EXPR_CHECK (NODE), 1))
1427#define BIND_EXPR_BLOCK(NODE) (TREE_OPERAND (BIND_EXPR_CHECK (NODE), 2))
1431#define GOTO_DESTINATION(NODE) TREE_OPERAND (GOTO_EXPR_CHECK (NODE), 0)
1437#define ASM_STRING(NODE) TREE_OPERAND (ASM_EXPR_CHECK (NODE), 0)
1438#define ASM_OUTPUTS(NODE) TREE_OPERAND (ASM_EXPR_CHECK (NODE), 1)
1439#define ASM_INPUTS(NODE) TREE_OPERAND (ASM_EXPR_CHECK (NODE), 2)
1440#define ASM_CLOBBERS(NODE) TREE_OPERAND (ASM_EXPR_CHECK (NODE), 3)
1441#define ASM_LABELS(NODE) TREE_OPERAND (ASM_EXPR_CHECK (NODE), 4)
1445#define ASM_BASIC_P(NODE) (ASM_EXPR_CHECK (NODE)->base.static_flag)
1446#define ASM_VOLATILE_P(NODE) (ASM_EXPR_CHECK (NODE)->base.public_flag)
1449#define ASM_INLINE_P(NODE) (ASM_EXPR_CHECK (NODE)->base.protected_flag)
1452#define COND_EXPR_COND(NODE) (TREE_OPERAND (COND_EXPR_CHECK (NODE), 0))
1453#define COND_EXPR_THEN(NODE) (TREE_OPERAND (COND_EXPR_CHECK (NODE), 1))
1454#define COND_EXPR_ELSE(NODE) (TREE_OPERAND (COND_EXPR_CHECK (NODE), 2))
1457#define CHREC_LEFT(NODE) TREE_OPERAND (POLYNOMIAL_CHREC_CHECK (NODE), 0)
1458#define CHREC_RIGHT(NODE) TREE_OPERAND (POLYNOMIAL_CHREC_CHECK (NODE), 1)
1459#define CHREC_VARIABLE(NODE) POLYNOMIAL_CHREC_CHECK (NODE)->base.u.chrec_var
1461#define CHREC_NOWRAP(NODE) POLYNOMIAL_CHREC_CHECK (NODE)->base.nothrow_flag
1465#define LABEL_EXPR_LABEL(NODE) TREE_OPERAND (LABEL_EXPR_CHECK (NODE), 0)
1468#define CATCH_TYPES(NODE) TREE_OPERAND (CATCH_EXPR_CHECK (NODE), 0)
1469#define CATCH_BODY(NODE) TREE_OPERAND (CATCH_EXPR_CHECK (NODE), 1)
1472#define EH_FILTER_TYPES(NODE) TREE_OPERAND (EH_FILTER_EXPR_CHECK (NODE), 0)
1473#define EH_FILTER_FAILURE(NODE) TREE_OPERAND (EH_FILTER_EXPR_CHECK (NODE), 1)
1476#define OBJ_TYPE_REF_EXPR(NODE) TREE_OPERAND (OBJ_TYPE_REF_CHECK (NODE), 0)
1477#define OBJ_TYPE_REF_OBJECT(NODE) TREE_OPERAND (OBJ_TYPE_REF_CHECK (NODE), 1)
1478#define OBJ_TYPE_REF_TOKEN(NODE) TREE_OPERAND (OBJ_TYPE_REF_CHECK (NODE), 2)
1481#define CALL_EXPR_FN(NODE) TREE_OPERAND (CALL_EXPR_CHECK (NODE), 1)
1482#define CALL_EXPR_STATIC_CHAIN(NODE) TREE_OPERAND (CALL_EXPR_CHECK (NODE), 2)
1483#define CALL_EXPR_ARG(NODE, I) TREE_OPERAND (CALL_EXPR_CHECK (NODE), (I) + 3)
1484#define call_expr_nargs(NODE) (VL_EXP_OPERAND_LENGTH (NODE) - 3)
1485#define CALL_EXPR_IFN(NODE) (CALL_EXPR_CHECK (NODE)->base.u.ifn)
1493#define CALL_EXPR_ARGP(NODE) \
1494 (&(TREE_OPERAND (CALL_EXPR_CHECK (NODE), 0)) + 3)
1497#define TRANSACTION_EXPR_BODY(NODE) \
1498 TREE_OPERAND (TRANSACTION_EXPR_CHECK (NODE), 0)
1499#define TRANSACTION_EXPR_OUTER(NODE) \
1500 (TRANSACTION_EXPR_CHECK (NODE)->base.static_flag)
1501#define TRANSACTION_EXPR_RELAXED(NODE) \
1502 (TRANSACTION_EXPR_CHECK (NODE)->base.public_flag)
1508#define OMP_BODY(NODE) \
1509 TREE_OPERAND (TREE_RANGE_CHECK (NODE, OACC_PARALLEL, OMP_MASTER), 0)
1510#define OMP_CLAUSES(NODE) \
1511 TREE_OPERAND (TREE_RANGE_CHECK (NODE, OACC_PARALLEL, OMP_SCAN), 1)
1514#define OMP_STANDALONE_CLAUSES(NODE) \
1515 TREE_OPERAND (TREE_RANGE_CHECK (NODE, OACC_CACHE, OMP_TARGET_EXIT_DATA), 0)
1517#define OACC_DATA_BODY(NODE) \
1518 TREE_OPERAND (OACC_DATA_CHECK (NODE), 0)
1519#define OACC_DATA_CLAUSES(NODE) \
1520 TREE_OPERAND (OACC_DATA_CHECK (NODE), 1)
1522#define OACC_HOST_DATA_BODY(NODE) \
1523 TREE_OPERAND (OACC_HOST_DATA_CHECK (NODE), 0)
1524#define OACC_HOST_DATA_CLAUSES(NODE) \
1525 TREE_OPERAND (OACC_HOST_DATA_CHECK (NODE), 1)
1527#define OACC_CACHE_CLAUSES(NODE) \
1528 TREE_OPERAND (OACC_CACHE_CHECK (NODE), 0)
1530#define OACC_DECLARE_CLAUSES(NODE) \
1531 TREE_OPERAND (OACC_DECLARE_CHECK (NODE), 0)
1533#define OACC_ENTER_DATA_CLAUSES(NODE) \
1534 TREE_OPERAND (OACC_ENTER_DATA_CHECK (NODE), 0)
1536#define OACC_EXIT_DATA_CLAUSES(NODE) \
1537 TREE_OPERAND (OACC_EXIT_DATA_CHECK (NODE), 0)
1539#define OACC_UPDATE_CLAUSES(NODE) \
1540 TREE_OPERAND (OACC_UPDATE_CHECK (NODE), 0)
1542#define OMP_PARALLEL_BODY(NODE) TREE_OPERAND (OMP_PARALLEL_CHECK (NODE), 0)
1543#define OMP_PARALLEL_CLAUSES(NODE) TREE_OPERAND (OMP_PARALLEL_CHECK (NODE), 1)
1545#define OMP_TASK_BODY(NODE) TREE_OPERAND (OMP_TASK_CHECK (NODE), 0)
1546#define OMP_TASK_CLAUSES(NODE) TREE_OPERAND (OMP_TASK_CHECK (NODE), 1)
1548#define OMP_TASKREG_CHECK(NODE) TREE_RANGE_CHECK (NODE, OMP_PARALLEL, OMP_TASK)
1549#define OMP_TASKREG_BODY(NODE) TREE_OPERAND (OMP_TASKREG_CHECK (NODE), 0)
1550#define OMP_TASKREG_CLAUSES(NODE) TREE_OPERAND (OMP_TASKREG_CHECK (NODE), 1)
1552#define OMP_LOOPING_CHECK(NODE) TREE_RANGE_CHECK (NODE, OMP_FOR, OACC_LOOP)
1553#define OMP_FOR_BODY(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 0)
1554#define OMP_FOR_CLAUSES(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 1)
1555#define OMP_FOR_INIT(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 2)
1556#define OMP_FOR_COND(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 3)
1557#define OMP_FOR_INCR(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 4)
1558#define OMP_FOR_PRE_BODY(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 5)
1559#define OMP_FOR_ORIG_DECLS(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 6)
1561#define OMP_INTEROP_CLAUSES(NODE)\
1562 TREE_OPERAND (OMP_INTEROP_CHECK (NODE), 0)
1564#define OMP_LOOPXFORM_CHECK(NODE) TREE_RANGE_CHECK (NODE, OMP_TILE, OMP_UNROLL)
1565#define OMP_LOOPXFORM_LOWERED(NODE) \
1566 (OMP_LOOPXFORM_CHECK (NODE)->base.public_flag)
1568#define OMP_SECTIONS_BODY(NODE) TREE_OPERAND (OMP_SECTIONS_CHECK (NODE), 0)
1569#define OMP_SECTIONS_CLAUSES(NODE) TREE_OPERAND (OMP_SECTIONS_CHECK (NODE), 1)
1571#define OMP_SECTION_BODY(NODE) TREE_OPERAND (OMP_SECTION_CHECK (NODE), 0)
1573#define OMP_STRUCTURED_BLOCK_BODY(NODE) \
1574 TREE_OPERAND (OMP_STRUCTURED_BLOCK_CHECK (NODE), 0)
1576#define OMP_SINGLE_BODY(NODE) TREE_OPERAND (OMP_SINGLE_CHECK (NODE), 0)
1577#define OMP_SINGLE_CLAUSES(NODE) TREE_OPERAND (OMP_SINGLE_CHECK (NODE), 1)
1579#define OMP_SCOPE_BODY(NODE) TREE_OPERAND (OMP_SCOPE_CHECK (NODE), 0)
1580#define OMP_SCOPE_CLAUSES(NODE) TREE_OPERAND (OMP_SCOPE_CHECK (NODE), 1)
1582#define OMP_MASTER_BODY(NODE) TREE_OPERAND (OMP_MASTER_CHECK (NODE), 0)
1584#define OMP_MASKED_BODY(NODE) TREE_OPERAND (OMP_MASKED_CHECK (NODE), 0)
1585#define OMP_MASKED_CLAUSES(NODE) TREE_OPERAND (OMP_MASKED_CHECK (NODE), 1)
1587#define OMP_TASKGROUP_BODY(NODE) TREE_OPERAND (OMP_TASKGROUP_CHECK (NODE), 0)
1588#define OMP_TASKGROUP_CLAUSES(NODE) \
1589 TREE_OPERAND (OMP_TASKGROUP_CHECK (NODE), 1)
1591#define OMP_ORDERED_BODY(NODE) TREE_OPERAND (OMP_ORDERED_CHECK (NODE), 0)
1592#define OMP_ORDERED_CLAUSES(NODE) TREE_OPERAND (OMP_ORDERED_CHECK (NODE), 1)
1594#define OMP_CRITICAL_BODY(NODE) TREE_OPERAND (OMP_CRITICAL_CHECK (NODE), 0)
1595#define OMP_CRITICAL_CLAUSES(NODE) TREE_OPERAND (OMP_CRITICAL_CHECK (NODE), 1)
1596#define OMP_CRITICAL_NAME(NODE) TREE_OPERAND (OMP_CRITICAL_CHECK (NODE), 2)
1598#define OMP_TEAMS_BODY(NODE) TREE_OPERAND (OMP_TEAMS_CHECK (NODE), 0)
1599#define OMP_TEAMS_CLAUSES(NODE) TREE_OPERAND (OMP_TEAMS_CHECK (NODE), 1)
1601#define OMP_TARGET_DATA_BODY(NODE) \
1602 TREE_OPERAND (OMP_TARGET_DATA_CHECK (NODE), 0)
1603#define OMP_TARGET_DATA_CLAUSES(NODE)\
1604 TREE_OPERAND (OMP_TARGET_DATA_CHECK (NODE), 1)
1606#define OMP_TARGET_BODY(NODE) TREE_OPERAND (OMP_TARGET_CHECK (NODE), 0)
1607#define OMP_TARGET_CLAUSES(NODE) TREE_OPERAND (OMP_TARGET_CHECK (NODE), 1)
1609#define OMP_TARGET_UPDATE_CLAUSES(NODE)\
1610 TREE_OPERAND (OMP_TARGET_UPDATE_CHECK (NODE), 0)
1612#define OMP_TARGET_ENTER_DATA_CLAUSES(NODE)\
1613 TREE_OPERAND (OMP_TARGET_ENTER_DATA_CHECK (NODE), 0)
1615#define OMP_TARGET_EXIT_DATA_CLAUSES(NODE)\
1616 TREE_OPERAND (OMP_TARGET_EXIT_DATA_CHECK (NODE), 0)
1618#define OMP_METADIRECTIVE_VARIANTS(NODE) \
1619 TREE_OPERAND (OMP_METADIRECTIVE_CHECK (NODE), 0)
1621#define OMP_METADIRECTIVE_VARIANT_SELECTOR(v) \
1623#define OMP_METADIRECTIVE_VARIANT_DIRECTIVE(v) \
1624 TREE_PURPOSE (TREE_VALUE (v))
1625#define OMP_METADIRECTIVE_VARIANT_BODY(v) \
1626 TREE_VALUE (TREE_VALUE (v))
1628#define OMP_SCAN_BODY(NODE) TREE_OPERAND (OMP_SCAN_CHECK (NODE), 0)
1629#define OMP_SCAN_CLAUSES(NODE) TREE_OPERAND (OMP_SCAN_CHECK (NODE), 1)
1631#define OMP_DISPATCH_BODY(NODE) TREE_OPERAND (OMP_DISPATCH_CHECK (NODE), 0)
1632#define OMP_DISPATCH_CLAUSES(NODE) TREE_OPERAND (OMP_DISPATCH_CHECK (NODE), 1)
1634#define OMP_CLAUSE_SIZE(NODE) \
1635 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (OMP_CLAUSE_CHECK (NODE), \
1637 OMP_CLAUSE__CACHE_), 1)
1639#define OMP_CLAUSE_CHAIN(NODE) TREE_CHAIN (OMP_CLAUSE_CHECK (NODE))
1640#define OMP_CLAUSE_DECL(NODE) \
1641 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (OMP_CLAUSE_CHECK (NODE), \
1642 OMP_CLAUSE_PRIVATE, \
1643 OMP_CLAUSE__SCANTEMP_), 0)
1644#define OMP_CLAUSE_HAS_LOCATION(NODE) \
1645 (LOCATION_LOCUS ((OMP_CLAUSE_CHECK (NODE))->omp_clause.locus) \
1646 != UNKNOWN_LOCATION)
1647#define OMP_CLAUSE_LOCATION(NODE) (OMP_CLAUSE_CHECK (NODE))->omp_clause.locus
1651#define OMP_FOR_NON_RECTANGULAR(NODE) \
1652 (OMP_LOOPING_CHECK (NODE)->base.private_flag)
1656#define OMP_SECTION_LAST(NODE) \
1657 (OMP_SECTION_CHECK (NODE)->base.private_flag)
1661#define OMP_PARALLEL_COMBINED(NODE) \
1662 (OMP_PARALLEL_CHECK (NODE)->base.private_flag)
1666#define OMP_TEAMS_COMBINED(NODE) \
1667 (OMP_TEAMS_CHECK (NODE)->base.private_flag)
1671#define OMP_TARGET_COMBINED(NODE) \
1672 (OMP_TARGET_CHECK (NODE)->base.private_flag)
1676#define OMP_MASTER_COMBINED(NODE) \
1677 (OMP_MASTER_CHECK (NODE)->base.private_flag)
1681#define OMP_MASKED_COMBINED(NODE) \
1682 (OMP_MASKED_CHECK (NODE)->base.private_flag)
1685#define OMP_ATOMIC_MEMORY_ORDER(NODE) \
1686 (TREE_RANGE_CHECK (NODE, OMP_ATOMIC, \
1687 OMP_ATOMIC_CAPTURE_NEW)->base.u.omp_atomic_memory_order)
1690#define OMP_ATOMIC_WEAK(NODE) \
1691 (TREE_RANGE_CHECK (NODE, OMP_ATOMIC, \
1692 OMP_ATOMIC_CAPTURE_NEW)->base.public_flag)
1697#define OMP_CLAUSE_PRIVATE_DEBUG(NODE) \
1698 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_PRIVATE)->base.public_flag)
1702#define OMP_CLAUSE_PRIVATE_OUTER_REF(NODE) \
1703 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_PRIVATE))
1708#define OMP_CLAUSE_PRIVATE_TASKLOOP_IV(NODE) \
1709 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_PRIVATE))
1712#define OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT(NODE) \
1713 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_FIRSTPRIVATE)->base.public_flag)
1717#define OMP_CLAUSE_FIRSTPRIVATE_NO_REFERENCE(NODE) \
1718 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_FIRSTPRIVATE))
1722#define OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT_TARGET(NODE) \
1723 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_FIRSTPRIVATE))
1727#define OMP_CLAUSE_LASTPRIVATE_FIRSTPRIVATE(NODE) \
1728 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LASTPRIVATE)->base.public_flag)
1729#define OMP_CLAUSE_LASTPRIVATE_STMT(NODE) \
1730 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, \
1731 OMP_CLAUSE_LASTPRIVATE),\
1733#define OMP_CLAUSE_LASTPRIVATE_GIMPLE_SEQ(NODE) \
1734 (OMP_CLAUSE_CHECK (NODE))->omp_clause.gimple_reduction_init
1740#define OMP_CLAUSE_LASTPRIVATE_LOOP_IV(NODE) \
1741 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LASTPRIVATE))
1744#define OMP_CLAUSE_LASTPRIVATE_CONDITIONAL(NODE) \
1745 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LASTPRIVATE))
1750#define OMP_CLAUSE_SHARED_FIRSTPRIVATE(NODE) \
1751 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SHARED)->base.public_flag)
1755#define OMP_CLAUSE_SHARED_READONLY(NODE) \
1756 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SHARED))
1758#define OMP_CLAUSE_IF_MODIFIER(NODE) \
1759 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_IF)->omp_clause.subcode.if_modifier)
1761#define OMP_CLAUSE_FINAL_EXPR(NODE) \
1762 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_FINAL), 0)
1763#define OMP_CLAUSE_IF_EXPR(NODE) \
1764 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_IF), 0)
1765#define OMP_CLAUSE_SELF_EXPR(NODE) \
1766 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SELF), 0)
1767#define OMP_CLAUSE_NUM_THREADS_EXPR(NODE) \
1768 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_THREADS),0)
1769#define OMP_CLAUSE_SCHEDULE_CHUNK_EXPR(NODE) \
1770 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SCHEDULE), 0)
1771#define OMP_CLAUSE_NUM_TASKS_EXPR(NODE) \
1772 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_TASKS), 0)
1773#define OMP_CLAUSE_HINT_EXPR(NODE) \
1774 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_HINT), 0)
1775#define OMP_CLAUSE_FILTER_EXPR(NODE) \
1776 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_FILTER), 0)
1777#define OMP_CLAUSE_PARTIAL_EXPR(NODE) \
1778 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_PARTIAL), 0)
1779#define OMP_CLAUSE_SIZES_LIST(NODE) \
1780 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SIZES), 0)
1781#define OMP_CLAUSE_NOVARIANTS_EXPR(NODE) \
1782 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NOVARIANTS), 0)
1783#define OMP_CLAUSE_NOCONTEXT_EXPR(NODE) \
1784 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NOCONTEXT), 0)
1786#define OMP_CLAUSE_GRAINSIZE_EXPR(NODE) \
1787 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_GRAINSIZE),0)
1789#define OMP_CLAUSE_PRIORITY_EXPR(NODE) \
1790 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_PRIORITY),0)
1792#define OMP_CLAUSE_GRAINSIZE_STRICT(NODE) \
1793 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_GRAINSIZE))
1794#define OMP_CLAUSE_NUM_TASKS_STRICT(NODE) \
1795 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_TASKS))
1798#define OMP_CLAUSE_EXPR(NODE, CLAUSE) \
1799 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, CLAUSE), 0)
1800#define OMP_CLAUSE_GANG_EXPR(NODE) \
1801 OMP_CLAUSE_OPERAND ( \
1802 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_GANG), 0)
1803#define OMP_CLAUSE_GANG_STATIC_EXPR(NODE) \
1804 OMP_CLAUSE_OPERAND ( \
1805 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_GANG), 1)
1806#define OMP_CLAUSE_ASYNC_EXPR(NODE) \
1807 OMP_CLAUSE_OPERAND ( \
1808 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ASYNC), 0)
1809#define OMP_CLAUSE_WAIT_EXPR(NODE) \
1810 OMP_CLAUSE_OPERAND ( \
1811 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_WAIT), 0)
1812#define OMP_CLAUSE_VECTOR_EXPR(NODE) \
1813 OMP_CLAUSE_OPERAND ( \
1814 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_VECTOR), 0)
1815#define OMP_CLAUSE_WORKER_EXPR(NODE) \
1816 OMP_CLAUSE_OPERAND ( \
1817 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_WORKER), 0)
1818#define OMP_CLAUSE_NUM_GANGS_EXPR(NODE) \
1819 OMP_CLAUSE_OPERAND ( \
1820 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_GANGS), 0)
1821#define OMP_CLAUSE_NUM_WORKERS_EXPR(NODE) \
1822 OMP_CLAUSE_OPERAND ( \
1823 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_WORKERS), 0)
1824#define OMP_CLAUSE_VECTOR_LENGTH_EXPR(NODE) \
1825 OMP_CLAUSE_OPERAND ( \
1826 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_VECTOR_LENGTH), 0)
1828#define OMP_CLAUSE_DEPEND_KIND(NODE) \
1829 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DEPEND)->omp_clause.subcode.depend_kind)
1831#define OMP_CLAUSE_DOACROSS_KIND(NODE) \
1832 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DOACROSS)->omp_clause.subcode.doacross_kind)
1834#define OMP_CLAUSE_DOACROSS_SINK_NEGATIVE(NODE) \
1835 TREE_PUBLIC (TREE_LIST_CHECK (NODE))
1838#define OMP_CLAUSE_DOACROSS_DEPEND(NODE) \
1839 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DOACROSS))
1841#define OMP_CLAUSE_MAP_KIND(NODE) \
1842 ((enum gomp_map_kind) OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP)->omp_clause.subcode.map_kind)
1843#define OMP_CLAUSE_SET_MAP_KIND(NODE, MAP_KIND) \
1844 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP)->omp_clause.subcode.map_kind \
1845 = (unsigned int) (MAP_KIND))
1847#define OMP_CLAUSE_MOTION_PRESENT(NODE) \
1848 (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_FROM, OMP_CLAUSE_TO)->base.deprecated_flag)
1850#define OMP_CLAUSE_INIT_TARGET(NODE) \
1851 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_INIT)->base.public_flag)
1852#define OMP_CLAUSE_INIT_TARGETSYNC(NODE) \
1853 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_INIT)->base.deprecated_flag)
1854#define OMP_CLAUSE_INIT_PREFER_TYPE(NODE) \
1855 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (OMP_CLAUSE_CHECK (NODE), \
1857 OMP_CLAUSE_INIT), 1)
1862#define OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION(NODE) \
1863 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP)->base.public_flag)
1866#define OMP_CLAUSE_MAP_MAYBE_ZERO_LENGTH_ARRAY_SECTION(NODE) \
1867 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP))
1871#define OMP_CLAUSE_MAP_IN_REDUCTION(NODE) \
1872 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP))
1876#define OMP_CLAUSE_MAP_IMPLICIT(NODE) \
1877 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP)->base.default_def_flag)
1881#define OMP_CLAUSE_MAP_RUNTIME_IMPLICIT_P(NODE) \
1882 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP)->base.deprecated_flag)
1885#define OMP_CLAUSE_ATTACHMENT_MAPPING_ERASED(NODE) \
1886 TREE_STATIC (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP))
1889#define OMP_CLAUSE_RELEASE_DESCRIPTOR(NODE) \
1890 TREE_NOTHROW (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP))
1894#define OMP_CLAUSE_MAP_DECL_MAKE_ADDRESSABLE(NODE) \
1895 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP)->base.addressable_flag)
1898#define OMP_CLAUSE_MAP_READONLY(NODE) \
1899 TREE_READONLY (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP))
1902#define OMP_CLAUSE__CACHE__READONLY(NODE) \
1903 TREE_READONLY (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE__CACHE_))
1907#define OMP_CLAUSE_USE_DEVICE_PTR_IF_PRESENT(NODE) \
1908 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_USE_DEVICE_PTR)->base.public_flag)
1910#define OMP_CLAUSE_PROC_BIND_KIND(NODE) \
1911 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_PROC_BIND)->omp_clause.subcode.proc_bind_kind)
1913#define OMP_CLAUSE_DEVICE_TYPE_KIND(NODE) \
1914 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DEVICE_TYPE)->omp_clause.subcode.device_type_kind)
1916#define OMP_CLAUSE_INDIRECT_EXPR(NODE) \
1917 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_INDIRECT), 0)
1921#define OMP_CLAUSE_DEVICE_ANCESTOR(NODE) \
1922 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DEVICE)->base.public_flag)
1924#define OMP_CLAUSE_COLLAPSE_EXPR(NODE) \
1925 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_COLLAPSE), 0)
1926#define OMP_CLAUSE_COLLAPSE_ITERVAR(NODE) \
1927 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_COLLAPSE), 1)
1928#define OMP_CLAUSE_COLLAPSE_COUNT(NODE) \
1929 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_COLLAPSE), 2)
1931#define OMP_CLAUSE_ORDERED_EXPR(NODE) \
1932 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ORDERED), 0)
1936#define OMP_CLAUSE_ORDERED_DOACROSS(NODE) \
1937 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ORDERED)->base.public_flag)
1940#define OMP_CLAUSE_ORDER_UNCONSTRAINED(NODE) \
1941 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ORDER)->base.public_flag)
1943#define OMP_CLAUSE_ORDER_REPRODUCIBLE(NODE) \
1944 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ORDER))
1946#define OMP_CLAUSE_REDUCTION_CODE(NODE) \
1947 (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_REDUCTION, \
1948 OMP_CLAUSE_IN_REDUCTION)->omp_clause.subcode.reduction_code)
1949#define OMP_CLAUSE_REDUCTION_INIT(NODE) \
1950 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_REDUCTION, \
1951 OMP_CLAUSE_IN_REDUCTION), 1)
1952#define OMP_CLAUSE_REDUCTION_MERGE(NODE) \
1953 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_REDUCTION, \
1954 OMP_CLAUSE_IN_REDUCTION), 2)
1955#define OMP_CLAUSE_REDUCTION_GIMPLE_INIT(NODE) \
1956 (OMP_CLAUSE_CHECK (NODE))->omp_clause.gimple_reduction_init
1957#define OMP_CLAUSE_REDUCTION_GIMPLE_MERGE(NODE) \
1958 (OMP_CLAUSE_CHECK (NODE))->omp_clause.gimple_reduction_merge
1959#define OMP_CLAUSE_REDUCTION_PLACEHOLDER(NODE) \
1960 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_REDUCTION, \
1961 OMP_CLAUSE_IN_REDUCTION), 3)
1962#define OMP_CLAUSE_REDUCTION_DECL_PLACEHOLDER(NODE) \
1963 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_REDUCTION, \
1964 OMP_CLAUSE_IN_REDUCTION), 4)
1968#define OMP_CLAUSE_REDUCTION_OMP_ORIG_REF(NODE) \
1969 (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_REDUCTION, \
1970 OMP_CLAUSE_IN_REDUCTION)->base.public_flag)
1973#define OMP_CLAUSE_REDUCTION_TASK(NODE) \
1974 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_REDUCTION))
1977#define OMP_CLAUSE_REDUCTION_INSCAN(NODE) \
1978 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_REDUCTION))
1982#define OMP_CLAUSE_LINEAR_NO_COPYIN(NODE) \
1983 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR)->base.public_flag)
1987#define OMP_CLAUSE_LINEAR_NO_COPYOUT(NODE) \
1988 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR))
1991#define OMP_CLAUSE_LINEAR_VARIABLE_STRIDE(NODE) \
1992 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR))
1996#define OMP_CLAUSE_LINEAR_OLD_LINEAR_MODIFIER(NODE) \
1997 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR)->base.addressable_flag)
2001#define OMP_CLAUSE_LINEAR_ARRAY(NODE) \
2002 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR)->base.deprecated_flag)
2004#define OMP_CLAUSE_LINEAR_STEP(NODE) \
2005 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR), 1)
2007#define OMP_CLAUSE_LINEAR_STMT(NODE) \
2008 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR), 2)
2010#define OMP_CLAUSE_LINEAR_GIMPLE_SEQ(NODE) \
2011 (OMP_CLAUSE_CHECK (NODE))->omp_clause.gimple_reduction_init
2013#define OMP_CLAUSE_LINEAR_KIND(NODE) \
2014 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR)->omp_clause.subcode.linear_kind)
2016#define OMP_CLAUSE_ALIGNED_ALIGNMENT(NODE) \
2017 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ALIGNED), 1)
2019#define OMP_CLAUSE_ALLOCATE_ALLOCATOR(NODE) \
2020 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ALLOCATE), 1)
2022#define OMP_CLAUSE_ALLOCATE_ALIGN(NODE) \
2023 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ALLOCATE), 2)
2029#define OMP_CLAUSE_ALLOCATE_COMBINED(NODE) \
2030 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ALLOCATE)->base.public_flag)
2032#define OMP_CLAUSE_NUM_TEAMS_UPPER_EXPR(NODE) \
2033 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_TEAMS), 0)
2035#define OMP_CLAUSE_NUM_TEAMS_LOWER_EXPR(NODE) \
2036 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_TEAMS), 1)
2038#define OMP_CLAUSE_THREAD_LIMIT_EXPR(NODE) \
2039 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, \
2040 OMP_CLAUSE_THREAD_LIMIT), 0)
2042#define OMP_CLAUSE_DEVICE_ID(NODE) \
2043 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DEVICE), 0)
2045#define OMP_CLAUSE_DIST_SCHEDULE_CHUNK_EXPR(NODE) \
2046 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, \
2047 OMP_CLAUSE_DIST_SCHEDULE), 0)
2049#define OMP_CLAUSE_SAFELEN_EXPR(NODE) \
2050 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SAFELEN), 0)
2052#define OMP_CLAUSE_SIMDLEN_EXPR(NODE) \
2053 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SIMDLEN), 0)
2055#define OMP_CLAUSE__SIMDUID__DECL(NODE) \
2056 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE__SIMDUID_), 0)
2058#define OMP_CLAUSE_SCHEDULE_KIND(NODE) \
2059 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SCHEDULE)->omp_clause.subcode.schedule_kind)
2062#define OMP_CLAUSE_SCHEDULE_SIMD(NODE) \
2063 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SCHEDULE)->base.public_flag)
2065#define OMP_CLAUSE_DEFAULT_KIND(NODE) \
2066 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DEFAULT)->omp_clause.subcode.default_kind)
2068#define OMP_CLAUSE_DEFAULTMAP_KIND(NODE) \
2069 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DEFAULTMAP)->omp_clause.subcode.defaultmap_kind)
2070#define OMP_CLAUSE_DEFAULTMAP_CATEGORY(NODE) \
2071 ((enum omp_clause_defaultmap_kind) \
2072 (OMP_CLAUSE_DEFAULTMAP_KIND (NODE) & OMP_CLAUSE_DEFAULTMAP_CATEGORY_MASK))
2073#define OMP_CLAUSE_DEFAULTMAP_BEHAVIOR(NODE) \
2074 ((enum omp_clause_defaultmap_kind) \
2075 (OMP_CLAUSE_DEFAULTMAP_KIND (NODE) & OMP_CLAUSE_DEFAULTMAP_MASK))
2076#define OMP_CLAUSE_DEFAULTMAP_SET_KIND(NODE, BEHAVIOR, CATEGORY) \
2077 (OMP_CLAUSE_DEFAULTMAP_KIND (NODE) \
2078 = (enum omp_clause_defaultmap_kind) (CATEGORY | BEHAVIOR))
2080#define OMP_CLAUSE_BIND_KIND(NODE) \
2081 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_BIND)->omp_clause.subcode.bind_kind)
2084#define OMP_CLAUSE_ENTER_TO(NODE) \
2085 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ENTER)->base.public_flag)
2087#define OMP_CLAUSE_TILE_LIST(NODE) \
2088 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_TILE), 0)
2089#define OMP_CLAUSE_TILE_ITERVAR(NODE) \
2090 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_TILE), 1)
2091#define OMP_CLAUSE_TILE_COUNT(NODE) \
2092 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_TILE), 2)
2095#define OMP_CLAUSE__CONDTEMP__ITER(NODE) \
2096 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE__CONDTEMP_)->base.public_flag)
2100#define OMP_CLAUSE__SCANTEMP__ALLOC(NODE) \
2101 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE__SCANTEMP_)->base.public_flag)
2106#define OMP_CLAUSE__SCANTEMP__CONTROL(NODE) \
2107 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE__SCANTEMP_))
2110#define OMP_NEXT_VARIANT_INDEX(NODE) \
2111 TREE_OPERAND (OMP_NEXT_VARIANT_CHECK (NODE), 0)
2112#define OMP_NEXT_VARIANT_STATE(NODE) \
2113 TREE_OPERAND (OMP_NEXT_VARIANT_CHECK (NODE), 1)
2116#define OMP_TARGET_DEVICE_MATCHES_SELECTOR(NODE) \
2117 TREE_OPERAND (OMP_TARGET_DEVICE_MATCHES_CHECK (NODE), 0)
2118#define OMP_TARGET_DEVICE_MATCHES_PROPERTIES(NODE) \
2119 TREE_OPERAND (OMP_TARGET_DEVICE_MATCHES_CHECK (NODE), 1)
2125#define SSA_NAME_IS_VIRTUAL_OPERAND(NODE) \
2126 SSA_NAME_CHECK (NODE)->base.public_flag
2130#define SSA_NAME_IDENTIFIER(NODE) \
2131 (SSA_NAME_CHECK (NODE)->ssa_name.var != NULL_TREE \
2132 ? (TREE_CODE ((NODE)->ssa_name.var) == IDENTIFIER_NODE \
2133 ? (NODE)->ssa_name.var \
2134 : DECL_NAME ((NODE)->ssa_name.var)) \
2140#define SSA_NAME_VAR(NODE) \
2141 (SSA_NAME_CHECK (NODE)->ssa_name.var == NULL_TREE \
2142 || TREE_CODE ((NODE)->ssa_name.var) == IDENTIFIER_NODE \
2143 ? NULL_TREE : (NODE)->ssa_name.var)
2145#define SET_SSA_NAME_VAR_OR_IDENTIFIER(NODE,VAR) \
2148 tree var_ = (VAR); \
2149 SSA_NAME_CHECK (NODE)->ssa_name.var = var_; \
2150 SSA_NAME_IS_VIRTUAL_OPERAND (NODE) \
2152 && TREE_CODE (var_) == VAR_DECL \
2153 && VAR_DECL_IS_VIRTUAL_OPERAND (var_)); \
2158#define SSA_NAME_DEF_STMT(NODE) SSA_NAME_CHECK (NODE)->ssa_name.def_stmt
2162#define SSA_NAME_VERSION(NODE) SSA_NAME_CHECK (NODE)->base.u.version
2167#define SSA_NAME_OCCURS_IN_ABNORMAL_PHI(NODE) \
2168 SSA_NAME_CHECK (NODE)->base.asm_written_flag
2173#define SSA_NAME_IN_FREE_LIST(NODE) \
2174 SSA_NAME_CHECK (NODE)->base.nothrow_flag
2181#define SSA_NAME_IS_DEFAULT_DEF(NODE) \
2182 SSA_NAME_CHECK (NODE)->base.default_def_flag
2188#define SSA_NAME_POINTS_TO_READONLY_MEMORY(NODE) \
2189 SSA_NAME_CHECK (NODE)->base.deprecated_flag
2192#define SSA_NAME_PTR_INFO(N) \
2193 SSA_NAME_CHECK (N)->ssa_name.info.ptr_info
2196#define SSA_NAME_RANGE_INFO(N) \
2197 SSA_NAME_CHECK (N)->ssa_name.info.range_info
2200#define SSA_NAME_IMM_USE_NODE(NODE) SSA_NAME_CHECK (NODE)->ssa_name.imm_uses
2202#define OMP_CLAUSE_CODE(NODE) \
2203 (OMP_CLAUSE_CHECK (NODE))->omp_clause.code
2205#define OMP_CLAUSE_SET_CODE(NODE, CODE) \
2206 ((OMP_CLAUSE_CHECK (NODE))->omp_clause.code = (CODE))
2208#define OMP_CLAUSE_OPERAND(NODE, I) \
2209 OMP_CLAUSE_ELT_CHECK (NODE, I)
2213#define BLOCK_VARS(NODE) (BLOCK_CHECK (NODE)->block.vars)
2214#define BLOCK_NONLOCALIZED_VARS(NODE) \
2215 (BLOCK_CHECK (NODE)->block.nonlocalized_vars)
2216#define BLOCK_NUM_NONLOCALIZED_VARS(NODE) \
2217 vec_safe_length (BLOCK_NONLOCALIZED_VARS (NODE))
2218#define BLOCK_NONLOCALIZED_VAR(NODE,N) (*BLOCK_NONLOCALIZED_VARS (NODE))[N]
2220#define BLOCK_SUBBLOCKS(NODE) (BLOCK_CHECK (NODE)->block.subblocks)
2225#define BLOCK_SUPERCONTEXT(NODE) (BLOCK_CHECK (NODE)->block.supercontext)
2227#define BLOCK_CHAIN(NODE) (BLOCK_CHECK (NODE)->block.chain)
2232#define BLOCK_ABSTRACT_ORIGIN(NODE) (BLOCK_CHECK (NODE)->block.abstract_origin)
2233#define BLOCK_ORIGIN(NODE) \
2234 (BLOCK_ABSTRACT_ORIGIN(NODE) ? BLOCK_ABSTRACT_ORIGIN(NODE) : (NODE))
2235#define BLOCK_DIE(NODE) (BLOCK_CHECK (NODE)->block.die)
2238#define BLOCK_SAME_RANGE(NODE) (BLOCK_CHECK (NODE)->base.u.bits.nameless_flag)
2241#define BLOCK_IN_COLD_SECTION_P(NODE) \
2242 (BLOCK_CHECK (NODE)->base.u.bits.atomic_flag)
2247#define BLOCK_NUMBER(NODE) (BLOCK_CHECK (NODE)->block.block_num)
2271#define BLOCK_FRAGMENT_ORIGIN(NODE) (BLOCK_CHECK (NODE)->block.fragment_origin)
2272#define BLOCK_FRAGMENT_CHAIN(NODE) (BLOCK_CHECK (NODE)->block.fragment_chain)
2278#define BLOCK_SOURCE_LOCATION(NODE) (BLOCK_CHECK (NODE)->block.locus)
2283#define BLOCK_SOURCE_END_LOCATION(NODE) (BLOCK_CHECK (NODE)->block.end_locus)
2296#define TYPE_UID(NODE) (TYPE_CHECK (NODE)->type_common.uid)
2301#define TYPE_SIZE(NODE) (TYPE_CHECK (NODE)->type_common.size)
2303#define TYPE_SIZE_UNIT(NODE) (TYPE_CHECK (NODE)->type_common.size_unit)
2304#define TYPE_POINTER_TO(NODE) (TYPE_CHECK (NODE)->type_common.pointer_to)
2305#define TYPE_REFERENCE_TO(NODE) (TYPE_CHECK (NODE)->type_common.reference_to)
2306#define TYPE_PRECISION(NODE) \
2307 (TREE_NOT_CHECK (TYPE_CHECK (NODE), VECTOR_TYPE)->type_common.precision)
2308#define TYPE_PRECISION_RAW(NODE) (TYPE_CHECK (NODE)->type_common.precision)
2309#define TYPE_NAME(NODE) (TYPE_CHECK (NODE)->type_common.name)
2310#define TYPE_NEXT_VARIANT(NODE) (TYPE_CHECK (NODE)->type_common.next_variant)
2311#define TYPE_MAIN_VARIANT(NODE) (TYPE_CHECK (NODE)->type_common.main_variant)
2312#define TYPE_CONTEXT(NODE) (TYPE_CHECK (NODE)->type_common.context)
2314#define TYPE_MODE_RAW(NODE) (TYPE_CHECK (NODE)->type_common.mode)
2315#define TYPE_MODE(NODE) \
2316 (VECTOR_TYPE_P (TYPE_CHECK (NODE)) \
2317 ? vector_type_mode (NODE) : (NODE)->type_common.mode)
2318#define SCALAR_TYPE_MODE(NODE) \
2319 (as_a <scalar_mode> (TYPE_CHECK (NODE)->type_common.mode))
2320#define SCALAR_INT_TYPE_MODE(NODE) \
2321 (as_a <scalar_int_mode> (TYPE_CHECK (NODE)->type_common.mode))
2322#define SCALAR_FLOAT_TYPE_MODE(NODE) \
2323 (as_a <scalar_float_mode> (TYPE_CHECK (NODE)->type_common.mode))
2324#define SET_TYPE_MODE(NODE, MODE) \
2325 (TYPE_CHECK (NODE)->type_common.mode = (MODE))
2349#define TYPE_CANONICAL(NODE) (TYPE_CHECK (NODE)->type_common.canonical)
2356#define TYPE_STRUCTURAL_EQUALITY_P(NODE) (TYPE_CANONICAL (NODE) == NULL_TREE)
2359#define SET_TYPE_STRUCTURAL_EQUALITY(NODE) (TYPE_CANONICAL (NODE) = NULL_TREE)
2361#define TYPE_IBIT(NODE) (GET_MODE_IBIT (TYPE_MODE (NODE)))
2362#define TYPE_FBIT(NODE) (GET_MODE_FBIT (TYPE_MODE (NODE)))
2369#define TYPE_ALIAS_SET(NODE) (TYPE_CHECK (NODE)->type_common.alias_set)
2373#define TYPE_ALIAS_SET_KNOWN_P(NODE) \
2374 (TYPE_CHECK (NODE)->type_common.alias_set != -1)
2378#define TYPE_ATTRIBUTES(NODE) (TYPE_CHECK (NODE)->type_common.attributes)
2381#define TYPE_ALIGN_RAW(NODE) \
2382 (TYPE_CHECK (NODE)->type_common.align)
2387#define TYPE_ALIGN(NODE) \
2388 (TYPE_ALIGN_RAW (NODE) \
2389 ? ((unsigned)1) << (TYPE_ALIGN_RAW(NODE) - 1) : 0)
2392#define SET_TYPE_ALIGN(NODE, X) \
2393 (TYPE_CHECK (NODE)->type_common.align = ffs_hwi (X))
2397#define TYPE_USER_ALIGN(NODE) (TYPE_CHECK (NODE)->base.u.bits.user_align)
2400#define TYPE_ALIGN_UNIT(NODE) (TYPE_ALIGN (NODE) / BITS_PER_UNIT)
2404#define TYPE_WARN_IF_NOT_ALIGN_RAW(NODE) \
2405 (TYPE_CHECK (NODE)->type_common.warn_if_not_align)
2406#define TYPE_WARN_IF_NOT_ALIGN(NODE) \
2407 (TYPE_WARN_IF_NOT_ALIGN_RAW (NODE) \
2408 ? ((unsigned)1) << (TYPE_WARN_IF_NOT_ALIGN_RAW (NODE) - 1) : 0)
2411#define SET_TYPE_WARN_IF_NOT_ALIGN(NODE, X) \
2412 (TYPE_WARN_IF_NOT_ALIGN_RAW (NODE) = ffs_hwi (X))
2421#define TYPE_STUB_DECL(NODE) (TREE_CHAIN (TYPE_CHECK (NODE)))
2426#define TYPE_NO_FORCE_BLK(NODE) \
2427 (TYPE_CHECK (NODE)->type_common.no_force_blk_flag)
2430#define TYPE_VOLATILE(NODE) (TYPE_CHECK (NODE)->base.volatile_flag)
2433#define TYPE_ATOMIC(NODE) (TYPE_CHECK (NODE)->base.u.bits.atomic_flag)
2436#define TYPE_READONLY(NODE) (TYPE_CHECK (NODE)->base.readonly_flag)
2440#define TYPE_RESTRICT(NODE) (TYPE_CHECK (NODE)->type_common.restrict_flag)
2443#define TYPE_NAMELESS(NODE) (TYPE_CHECK (NODE)->base.u.bits.nameless_flag)
2446#define TYPE_ADDR_SPACE(NODE) (TYPE_CHECK (NODE)->base.u.bits.address_space)
2450#define ENCODE_QUAL_ADDR_SPACE(NUM) ((NUM & 0xFF) << 8)
2451#define DECODE_QUAL_ADDR_SPACE(X) (((X) >> 8) & 0xFF)
2454#define CLEAR_QUAL_ADDR_SPACE(X) ((X) & ~0xFF00)
2458#define KEEP_QUAL_ADDR_SPACE(X) ((X) & 0xFF00)
2461#define TYPE_QUALS(NODE) \
2462 ((int) ((TYPE_READONLY (NODE) * TYPE_QUAL_CONST) \
2463 | (TYPE_VOLATILE (NODE) * TYPE_QUAL_VOLATILE) \
2464 | (TYPE_ATOMIC (NODE) * TYPE_QUAL_ATOMIC) \
2465 | (TYPE_RESTRICT (NODE) * TYPE_QUAL_RESTRICT) \
2466 | (ENCODE_QUAL_ADDR_SPACE (TYPE_ADDR_SPACE (NODE)))))
2469#define TYPE_QUALS_NO_ADDR_SPACE(NODE) \
2470 ((int) ((TYPE_READONLY (NODE) * TYPE_QUAL_CONST) \
2471 | (TYPE_VOLATILE (NODE) * TYPE_QUAL_VOLATILE) \
2472 | (TYPE_ATOMIC (NODE) * TYPE_QUAL_ATOMIC) \
2473 | (TYPE_RESTRICT (NODE) * TYPE_QUAL_RESTRICT)))
2477#define TYPE_QUALS_NO_ADDR_SPACE_NO_ATOMIC(NODE) \
2478 ((int) ((TYPE_READONLY (NODE) * TYPE_QUAL_CONST) \
2479 | (TYPE_VOLATILE (NODE) * TYPE_QUAL_VOLATILE) \
2480 | (TYPE_RESTRICT (NODE) * TYPE_QUAL_RESTRICT)))
2483#define TYPE_LANG_FLAG_0(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_0)
2484#define TYPE_LANG_FLAG_1(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_1)
2485#define TYPE_LANG_FLAG_2(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_2)
2486#define TYPE_LANG_FLAG_3(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_3)
2487#define TYPE_LANG_FLAG_4(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_4)
2488#define TYPE_LANG_FLAG_5(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_5)
2489#define TYPE_LANG_FLAG_6(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_6)
2490#define TYPE_LANG_FLAG_7(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_7)
2494#define TREE_VISITED(NODE) ((NODE)->base.visited)
2499#define TYPE_STRING_FLAG(NODE) \
2500 (ARRAY_OR_INTEGER_TYPE_CHECK (NODE)->type_common.string_flag)
2505#define TYPE_CXX_ODR_P(NODE) \
2506 (RECORD_OR_UNION_CHECK (NODE)->type_common.string_flag)
2510#define TYPE_VECTOR_OPAQUE(NODE) \
2511 (VECTOR_TYPE_CHECK (NODE)->base.default_def_flag)
2515#define TYPE_NEEDS_CONSTRUCTING(NODE) \
2516 (TYPE_CHECK (NODE)->type_common.needs_constructing_flag)
2522#define TYPE_TRANSPARENT_AGGR(NODE) \
2523 (RECORD_OR_UNION_CHECK (NODE)->type_common.transparent_aggr_flag)
2528#define TYPE_NONALIASED_COMPONENT(NODE) \
2529 (ARRAY_TYPE_CHECK (NODE)->type_common.transparent_aggr_flag)
2540#define TYPE_TYPELESS_STORAGE(NODE) \
2541 (TREE_CHECK4 (NODE, RECORD_TYPE, UNION_TYPE, QUAL_UNION_TYPE, \
2542 ARRAY_TYPE)->type_common.typeless_storage)
2546#define TYPE_PACKED(NODE) (TYPE_CHECK (NODE)->base.u.bits.packed_flag)
2551#define TYPE_CONTAINS_PLACEHOLDER_INTERNAL(NODE) \
2552 (TYPE_CHECK (NODE)->type_common.contains_placeholder_bits)
2555#define TYPE_FINAL_P(NODE) \
2556 (RECORD_OR_UNION_CHECK (NODE)->base.default_def_flag)
2567#define TYPE_SYMTAB_ADDRESS(NODE) \
2568 (TYPE_CHECK (NODE)->type_common.symtab.address)
2572#define TYPE_SYMTAB_DIE(NODE) \
2573 (TYPE_CHECK (NODE)->type_common.symtab.die)
2579#define TYPE_SYMTAB_IS_ADDRESS (0)
2580#define TYPE_SYMTAB_IS_DIE (1)
2582#define TYPE_LANG_SPECIFIC(NODE) \
2583 (TYPE_CHECK (NODE)->type_with_lang_specific.lang_specific)
2585#define TYPE_VALUES(NODE) (ENUMERAL_TYPE_CHECK (NODE)->type_non_common.values)
2586#define TYPE_DOMAIN(NODE) (ARRAY_TYPE_CHECK (NODE)->type_non_common.values)
2587#define TYPE_FIELDS(NODE) \
2588 (RECORD_OR_UNION_CHECK (NODE)->type_non_common.values)
2589#define TYPE_CACHED_VALUES(NODE) (TYPE_CHECK (NODE)->type_non_common.values)
2590#define TYPE_ARG_TYPES(NODE) \
2591 (FUNC_OR_METHOD_CHECK (NODE)->type_non_common.values)
2592#define TYPE_VALUES_RAW(NODE) (TYPE_CHECK (NODE)->type_non_common.values)
2594#define TYPE_MIN_VALUE(NODE) \
2595 (NUMERICAL_TYPE_CHECK (NODE)->type_non_common.minval)
2596#define TYPE_NEXT_PTR_TO(NODE) \
2597 (POINTER_TYPE_CHECK (NODE)->type_non_common.minval)
2598#define TYPE_NEXT_REF_TO(NODE) \
2599 (REFERENCE_TYPE_CHECK (NODE)->type_non_common.minval)
2600#define TYPE_VFIELD(NODE) \
2601 (RECORD_OR_UNION_CHECK (NODE)->type_non_common.minval)
2602#define TYPE_MIN_VALUE_RAW(NODE) (TYPE_CHECK (NODE)->type_non_common.minval)
2604#define TYPE_MAX_VALUE(NODE) \
2605 (NUMERICAL_TYPE_CHECK (NODE)->type_non_common.maxval)
2606#define TYPE_METHOD_BASETYPE(NODE) \
2607 (FUNC_OR_METHOD_CHECK (NODE)->type_non_common.maxval)
2608#define TYPE_OFFSET_BASETYPE(NODE) \
2609 (OFFSET_TYPE_CHECK (NODE)->type_non_common.maxval)
2613#define TYPE_ARRAY_MAX_SIZE(ARRAY_TYPE) \
2614 (ARRAY_TYPE_CHECK (ARRAY_TYPE)->type_non_common.maxval)
2615#define TYPE_MAX_VALUE_RAW(NODE) (TYPE_CHECK (NODE)->type_non_common.maxval)
2618#define TYPE_BINFO(NODE) (RECORD_OR_UNION_CHECK (NODE)->type_non_common.maxval)
2621#define TYPE_LANG_SLOT_1(NODE) \
2622 (TYPE_CHECK (NODE)->type_non_common.lang_1)
2642#define BINFO_VIRTUAL_P(NODE) (TREE_BINFO_CHECK (NODE)->base.static_flag)
2645#define BINFO_FLAG_0(NODE) TREE_LANG_FLAG_0 (TREE_BINFO_CHECK (NODE))
2646#define BINFO_FLAG_1(NODE) TREE_LANG_FLAG_1 (TREE_BINFO_CHECK (NODE))
2647#define BINFO_FLAG_2(NODE) TREE_LANG_FLAG_2 (TREE_BINFO_CHECK (NODE))
2648#define BINFO_FLAG_3(NODE) TREE_LANG_FLAG_3 (TREE_BINFO_CHECK (NODE))
2649#define BINFO_FLAG_4(NODE) TREE_LANG_FLAG_4 (TREE_BINFO_CHECK (NODE))
2650#define BINFO_FLAG_5(NODE) TREE_LANG_FLAG_5 (TREE_BINFO_CHECK (NODE))
2651#define BINFO_FLAG_6(NODE) TREE_LANG_FLAG_6 (TREE_BINFO_CHECK (NODE))
2654#define BINFO_TYPE(NODE) TREE_TYPE (TREE_BINFO_CHECK (NODE))
2662#define BINFO_OFFSET(NODE) (TREE_BINFO_CHECK (NODE)->binfo.offset)
2663#define BINFO_OFFSET_ZEROP(NODE) (integer_zerop (BINFO_OFFSET (NODE)))
2669#define BINFO_VTABLE(NODE) (TREE_BINFO_CHECK (NODE)->binfo.vtable)
2674#define BINFO_VIRTUALS(NODE) (TREE_BINFO_CHECK (NODE)->binfo.virtuals)
2682#define BINFO_BASE_BINFOS(NODE) (&TREE_BINFO_CHECK (NODE)->binfo.base_binfos)
2685#define BINFO_N_BASE_BINFOS(NODE) (BINFO_BASE_BINFOS (NODE)->length ())
2688#define BINFO_BASE_BINFO(NODE,N) \
2689 ((*BINFO_BASE_BINFOS (NODE))[(N)])
2690#define BINFO_BASE_ITERATE(NODE,N,B) \
2691 (BINFO_BASE_BINFOS (NODE)->iterate ((N), &(B)))
2692#define BINFO_BASE_APPEND(NODE,T) \
2693 (BINFO_BASE_BINFOS (NODE)->quick_push ((T)))
2700#define BINFO_VPTR_FIELD(NODE) (TREE_BINFO_CHECK (NODE)->binfo.vptr_field)
2705#define BINFO_BASE_ACCESSES(NODE) \
2706 (TREE_BINFO_CHECK (NODE)->binfo.base_accesses)
2708#define BINFO_BASE_ACCESS(NODE,N) \
2709 (*BINFO_BASE_ACCESSES (NODE))[(N)]
2710#define BINFO_BASE_ACCESS_APPEND(NODE,T) \
2711 BINFO_BASE_ACCESSES (NODE)->quick_push ((T))
2715#define BINFO_SUBVTT_INDEX(NODE) (TREE_BINFO_CHECK (NODE)->binfo.vtt_subvtt)
2719#define BINFO_VPTR_INDEX(NODE) (TREE_BINFO_CHECK (NODE)->binfo.vtt_vptr)
2725#define BINFO_INHERITANCE_CHAIN(NODE) \
2726 (TREE_BINFO_CHECK (NODE)->binfo.inheritance)
2733#define SSA_VAR_P(DECL) \
2734 (TREE_CODE (DECL) == VAR_DECL \
2735 || TREE_CODE (DECL) == PARM_DECL \
2736 || TREE_CODE (DECL) == RESULT_DECL \
2737 || TREE_CODE (DECL) == SSA_NAME)
2740#define DECL_CHAIN(NODE) (TREE_CHAIN (DECL_MINIMAL_CHECK (NODE)))
2744#define DECL_NAME(NODE) (DECL_MINIMAL_CHECK (NODE)->decl_minimal.name)
2747#define TYPE_IDENTIFIER(NODE) \
2748 (TYPE_NAME (NODE) && DECL_P (TYPE_NAME (NODE)) \
2749 ? DECL_NAME (TYPE_NAME (NODE)) : TYPE_NAME (NODE))
2752#define DECL_UID(NODE) (DECL_MINIMAL_CHECK (NODE)->decl_minimal.uid)
2756#define DEBUG_TEMP_UID(NODE) (-DECL_UID (TREE_CHECK ((NODE), DEBUG_EXPR_DECL)))
2760#define DECL_PT_UID(NODE) \
2761 (DECL_COMMON_CHECK (NODE)->decl_common.pt_uid == -1u \
2762 ? (NODE)->decl_minimal.uid : (NODE)->decl_common.pt_uid)
2764#define SET_DECL_PT_UID(NODE, UID) \
2765 (DECL_COMMON_CHECK (NODE)->decl_common.pt_uid = (UID))
2768#define DECL_PT_UID_SET_P(NODE) \
2769 (DECL_COMMON_CHECK (NODE)->decl_common.pt_uid != -1u)
2775#define DECL_SOURCE_LOCATION(NODE) \
2776 (DECL_MINIMAL_CHECK (NODE)->decl_minimal.locus)
2777#define DECL_SOURCE_FILE(NODE) LOCATION_FILE (DECL_SOURCE_LOCATION (NODE))
2778#define DECL_SOURCE_LINE(NODE) LOCATION_LINE (DECL_SOURCE_LOCATION (NODE))
2779#define DECL_SOURCE_COLUMN(NODE) LOCATION_COLUMN (DECL_SOURCE_LOCATION (NODE))
2784#define DECL_IS_UNDECLARED_BUILTIN(DECL) \
2785 (DECL_SOURCE_LOCATION (DECL) <= BUILTINS_LOCATION)
2796#define DECL_CONTEXT(NODE) (DECL_MINIMAL_CHECK (NODE)->decl_minimal.context)
2797#define DECL_FIELD_CONTEXT(NODE) \
2798 (FIELD_DECL_CHECK (NODE)->decl_minimal.context)
2801#define DECL_NAMELESS(NODE) (DECL_MINIMAL_CHECK (NODE)->base.u.bits.nameless_flag)
2809#define DECL_ABSTRACT_ORIGIN(NODE) \
2810 (DECL_COMMON_CHECK (NODE)->decl_common.abstract_origin)
2814#define DECL_ORIGIN(NODE) \
2815 (DECL_ABSTRACT_ORIGIN (NODE) ? DECL_ABSTRACT_ORIGIN (NODE) : (NODE))
2821#define DECL_FROM_INLINE(NODE) \
2822 (DECL_ABSTRACT_ORIGIN (NODE) != NULL_TREE \
2823 && DECL_ABSTRACT_ORIGIN (NODE) != (NODE))
2826#define DECL_ATTRIBUTES(NODE) \
2827 (DECL_COMMON_CHECK (NODE)->decl_common.attributes)
2839#define DECL_INITIAL(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.initial)
2845#define DECL_SIZE(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.size)
2847#define DECL_SIZE_UNIT(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.size_unit)
2848#define DECL_ALIGN_RAW(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.align)
2852#define DECL_ALIGN(NODE) \
2853 (DECL_ALIGN_RAW (NODE) \
2854 ? ((unsigned)1) << (DECL_ALIGN_RAW (NODE) - 1) : 0)
2856#define SET_DECL_ALIGN(NODE, X) \
2857 (DECL_ALIGN_RAW (NODE) = ffs_hwi (X))
2861#define DECL_WARN_IF_NOT_ALIGN_RAW(NODE) \
2862 (DECL_COMMON_CHECK (NODE)->decl_common.warn_if_not_align)
2863#define DECL_WARN_IF_NOT_ALIGN(NODE) \
2864 (DECL_WARN_IF_NOT_ALIGN_RAW (NODE) \
2865 ? ((unsigned)1) << (DECL_WARN_IF_NOT_ALIGN_RAW (NODE) - 1) : 0)
2868#define SET_DECL_WARN_IF_NOT_ALIGN(NODE, X) \
2869 (DECL_WARN_IF_NOT_ALIGN_RAW (NODE) = ffs_hwi (X))
2872#define DECL_ALIGN_UNIT(NODE) (DECL_ALIGN (NODE) / BITS_PER_UNIT)
2875#define DECL_USER_ALIGN(NODE) \
2876 (DECL_COMMON_CHECK (NODE)->base.u.bits.user_align)
2880#define DECL_MODE(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.mode)
2881#define SET_DECL_MODE(NODE, MODE) \
2882 (DECL_COMMON_CHECK (NODE)->decl_common.mode = (MODE))
2888#define DECL_UNCHECKED_FUNCTION_CODE(NODE) \
2889 (FUNCTION_DECL_CHECK (NODE)->function_decl.function_code)
2892#define ALLOCA_FUNCTION_CODE_P(FCODE) \
2893 ((FCODE) == BUILT_IN_ALLOCA \
2894 || (FCODE) == BUILT_IN_ALLOCA_WITH_ALIGN \
2895 || (FCODE) == BUILT_IN_ALLOCA_WITH_ALIGN_AND_MAX)
2898#define CASE_BUILT_IN_ALLOCA \
2899 case BUILT_IN_ALLOCA: \
2900 case BUILT_IN_ALLOCA_WITH_ALIGN: \
2901 case BUILT_IN_ALLOCA_WITH_ALIGN_AND_MAX
2903#define DECL_FUNCTION_PERSONALITY(NODE) \
2904 (FUNCTION_DECL_CHECK (NODE)->function_decl.personality)
2910#define DECL_IGNORED_P(NODE) \
2911 (DECL_COMMON_CHECK (NODE)->decl_common.ignored_flag)
2919#define DECL_ABSTRACT_P(NODE) \
2920 (DECL_COMMON_CHECK (NODE)->decl_common.abstract_flag)
2923#define DECL_LANG_SPECIFIC(NODE) \
2924 (DECL_COMMON_CHECK (NODE)->decl_common.lang_specific)
2933#define DECL_EXTERNAL(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.decl_flag_1)
2942#define DECL_NONLOCAL(NODE) \
2943 (DECL_COMMON_CHECK (NODE)->decl_common.nonlocal_flag)
2948#define DECL_VIRTUAL_P(NODE) \
2949 (DECL_COMMON_CHECK (NODE)->decl_common.virtual_flag)
2952#define DECL_ARTIFICIAL(NODE) \
2953 (DECL_COMMON_CHECK (NODE)->decl_common.artificial_flag)
2956#define DECL_LANG_FLAG_0(NODE) \
2957 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_0)
2958#define DECL_LANG_FLAG_1(NODE) \
2959 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_1)
2960#define DECL_LANG_FLAG_2(NODE) \
2961 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_2)
2962#define DECL_LANG_FLAG_3(NODE) \
2963 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_3)
2964#define DECL_LANG_FLAG_4(NODE) \
2965 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_4)
2966#define DECL_LANG_FLAG_5(NODE) \
2967 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_5)
2968#define DECL_LANG_FLAG_6(NODE) \
2969 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_6)
2970#define DECL_LANG_FLAG_7(NODE) \
2971 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_7)
2972#define DECL_LANG_FLAG_8(NODE) \
2973 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_8)
2976#define SCOPE_FILE_SCOPE_P(EXP) \
2977 (! (EXP) || TREE_CODE (EXP) == TRANSLATION_UNIT_DECL)
2979#define DECL_FILE_SCOPE_P(EXP) SCOPE_FILE_SCOPE_P (DECL_CONTEXT (EXP))
2981#define TYPE_FILE_SCOPE_P(EXP) SCOPE_FILE_SCOPE_P (TYPE_CONTEXT (EXP))
2985#define DECL_PRESERVE_P(DECL) \
2986 DECL_COMMON_CHECK (DECL)->decl_common.preserve_flag
2991#define DECL_NOINIT_P(DECL) \
2993 && (lookup_attribute ("noinit", DECL_ATTRIBUTES (DECL)) != NULL_TREE))
2998#define DECL_PERSISTENT_P(DECL) \
3000 && (lookup_attribute ("persistent", DECL_ATTRIBUTES (DECL)) != NULL_TREE))
3007#define DECL_NOT_GIMPLE_REG_P(DECL) \
3008 DECL_COMMON_CHECK (DECL)->decl_common.not_gimple_reg_flag
3016#define DECL_HAS_VALUE_EXPR_P(NODE) \
3017 (TREE_CHECK3 (NODE, VAR_DECL, PARM_DECL, RESULT_DECL) \
3018 ->decl_common.decl_flag_2)
3019#define DECL_VALUE_EXPR(NODE) \
3020 (decl_value_expr_lookup (DECL_WRTL_CHECK (NODE)))
3021#define SET_DECL_VALUE_EXPR(NODE, VAL) \
3022 (decl_value_expr_insert (DECL_WRTL_CHECK (NODE), VAL))
3027#define DECL_RTL(NODE) \
3028 (DECL_WRTL_CHECK (NODE)->decl_with_rtl.rtl \
3029 ? (NODE)->decl_with_rtl.rtl \
3030 : (make_decl_rtl (NODE), (NODE)->decl_with_rtl.rtl))
3033#define SET_DECL_RTL(NODE, RTL) set_decl_rtl (NODE, RTL)
3036#define HAS_RTL_P(NODE) (CODE_CONTAINS_STRUCT (TREE_CODE (NODE), TS_DECL_WRTL))
3039#define DECL_RTL_SET_P(NODE) \
3040 (HAS_RTL_P (NODE) && DECL_WRTL_CHECK (NODE)->decl_with_rtl.rtl != NULL)
3044#define COPY_DECL_RTL(SRC_DECL, DST_DECL) \
3045 (DECL_WRTL_CHECK (DST_DECL)->decl_with_rtl.rtl \
3046 = DECL_WRTL_CHECK (SRC_DECL)->decl_with_rtl.rtl)
3049#define DECL_RTL_IF_SET(NODE) (DECL_RTL_SET_P (NODE) ? DECL_RTL (NODE) : NULL)
3051#if (GCC_VERSION >= 2007)
3052#define DECL_RTL_KNOWN_SET(decl) __extension__ \
3053({ tree const __d = (decl); \
3054 gcc_checking_assert (DECL_RTL_SET_P (__d)); \
3057 &*DECL_RTL_IF_SET (__d); })
3059#define DECL_RTL_KNOWN_SET(decl) (&*DECL_RTL_IF_SET (decl))
3063#define DECL_REGISTER(NODE) (DECL_WRTL_CHECK (NODE)->decl_common.decl_flag_0)
3068#define DECL_FIELD_OFFSET(NODE) (FIELD_DECL_CHECK (NODE)->field_decl.offset)
3074#define DECL_FIELD_BIT_OFFSET(NODE) \
3075 (FIELD_DECL_CHECK (NODE)->field_decl.bit_offset)
3080#define DECL_BIT_FIELD_TYPE(NODE) \
3081 (FIELD_DECL_CHECK (NODE)->field_decl.bit_field_type)
3085#define DECL_BIT_FIELD_REPRESENTATIVE(NODE) \
3086 (FIELD_DECL_CHECK (NODE)->field_decl.qualifier)
3090#define DECL_QUALIFIER(NODE) (FIELD_DECL_CHECK (NODE)->field_decl.qualifier)
3096#define DECL_OFFSET_ALIGN(NODE) \
3097 (HOST_WIDE_INT_1U << FIELD_DECL_CHECK (NODE)->decl_common.off_align)
3100#define SET_DECL_OFFSET_ALIGN(NODE, X) \
3101 (FIELD_DECL_CHECK (NODE)->decl_common.off_align = ffs_hwi (X) - 1)
3106#define DECL_FCONTEXT(NODE) (FIELD_DECL_CHECK (NODE)->field_decl.fcontext)
3109#define DECL_PACKED(NODE) (FIELD_DECL_CHECK (NODE)->base.u.bits.packed_flag)
3113#define DECL_BIT_FIELD(NODE) (FIELD_DECL_CHECK (NODE)->decl_common.decl_flag_1)
3119#define DECL_FIELD_ABI_IGNORED(NODE) \
3120 (!DECL_BIT_FIELD (NODE) && (NODE)->decl_common.decl_flag_0)
3121#define SET_DECL_FIELD_ABI_IGNORED(NODE, VAL) \
3123 gcc_checking_assert (!DECL_BIT_FIELD (NODE)); \
3124 FIELD_DECL_CHECK (NODE)->decl_common.decl_flag_0 = (VAL); \
3132#define DECL_FIELD_CXX_ZERO_WIDTH_BIT_FIELD(NODE) \
3133 (DECL_BIT_FIELD (NODE) && (NODE)->decl_common.decl_flag_0)
3134#define SET_DECL_FIELD_CXX_ZERO_WIDTH_BIT_FIELD(NODE, VAL) \
3136 gcc_checking_assert (DECL_BIT_FIELD (NODE)); \
3137 FIELD_DECL_CHECK (NODE)->decl_common.decl_flag_0 = (VAL); \
3155#define DECL_NONADDRESSABLE_P(NODE) \
3156 (FIELD_DECL_CHECK (NODE)->decl_common.decl_flag_2)
3159#define DECL_PADDING_P(NODE) \
3160 (FIELD_DECL_CHECK (NODE)->decl_common.decl_flag_3)
3165#define DECL_NOT_FLEXARRAY(NODE) \
3166 (FIELD_DECL_CHECK (NODE)->decl_common.decl_not_flexarray)
3171#define LABEL_DECL_UID(NODE) \
3172 (LABEL_DECL_CHECK (NODE)->label_decl.label_decl_uid)
3176#define EH_LANDING_PAD_NR(NODE) \
3177 (LABEL_DECL_CHECK (NODE)->label_decl.eh_landing_pad_nr)
3181#define DECL_ARG_TYPE(NODE) (PARM_DECL_CHECK (NODE)->decl_common.initial)
3185#define DECL_INCOMING_RTL(NODE) \
3186 (PARM_DECL_CHECK (NODE)->parm_decl.incoming_rtl)
3190#define DECL_IN_SYSTEM_HEADER(NODE) \
3191 (in_system_header_at (DECL_SOURCE_LOCATION (NODE)))
3195#define DECL_DEFER_OUTPUT(NODE) \
3196 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.defer_output)
3200#define DECL_IN_TEXT_SECTION(NODE) \
3201 (VAR_DECL_CHECK (NODE)->decl_with_vis.in_text_section)
3205#define DECL_IN_CONSTANT_POOL(NODE) \
3206 (VAR_DECL_CHECK (NODE)->decl_with_vis.in_constant_pool)
3211#define DECL_COMMON(NODE) \
3212 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.common_flag)
3216#define DECL_HARD_REGISTER(NODE) \
3217 (VAR_DECL_CHECK (NODE)->decl_with_vis.hard_register)
3220#define DECL_WEAK(NODE) (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.weak_flag)
3223#define DECL_DLLIMPORT_P(NODE) \
3224 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.dllimport_flag)
3235#define DECL_COMDAT(NODE) \
3236 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.comdat_flag)
3238#define DECL_COMDAT_GROUP(NODE) \
3239 decl_comdat_group (NODE)
3243#define DECL_ONE_ONLY(NODE) (DECL_COMDAT_GROUP (NODE) != NULL_TREE \
3244 && (TREE_PUBLIC (NODE) || DECL_EXTERNAL (NODE)))
3253#define DECL_ASSEMBLER_NAME(NODE) decl_assembler_name (NODE)
3256#define DECL_ASSEMBLER_NAME_RAW(NODE) \
3257 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.assembler_name)
3261#define HAS_DECL_ASSEMBLER_NAME_P(NODE) \
3262 (CODE_CONTAINS_STRUCT (TREE_CODE (NODE), TS_DECL_WITH_VIS))
3267#define DECL_ASSEMBLER_NAME_SET_P(NODE) \
3268 (DECL_ASSEMBLER_NAME_RAW (NODE) != NULL_TREE)
3271#define SET_DECL_ASSEMBLER_NAME(NODE, NAME) \
3272 overwrite_decl_assembler_name (NODE, NAME)
3285#define COPY_DECL_ASSEMBLER_NAME(SRC_DECL, DST_DECL) \
3286 SET_DECL_ASSEMBLER_NAME (DST_DECL, DECL_ASSEMBLER_NAME_RAW (SRC_DECL))
3290#define DECL_SECTION_NAME(NODE) decl_section_name (NODE)
3294#define DECL_SEEN_IN_BIND_EXPR_P(NODE) \
3295 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.seen_in_bind_expr)
3298#define DECL_VISIBILITY(NODE) \
3299 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.visibility)
3303#define DECL_VISIBILITY_SPECIFIED(NODE) \
3304 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.visibility_specified)
3308#define DECL_TLS_MODEL(NODE) decl_tls_model (NODE)
3312#define DECL_THREAD_LOCAL_P(NODE) \
3313 ((TREE_STATIC (NODE) || DECL_EXTERNAL (NODE)) && decl_tls_model (NODE) >= TLS_MODEL_REAL)
3318#define DECL_HAS_INIT_PRIORITY_P(NODE) \
3319 (VAR_DECL_CHECK (NODE)->decl_with_vis.init_priority_p)
3325#define DECL_HAS_DEBUG_EXPR_P(NODE) \
3326 (VAR_DECL_CHECK (NODE)->decl_common.debug_expr_is_from)
3327#define DECL_DEBUG_EXPR(NODE) \
3328 (decl_debug_expr_lookup (VAR_DECL_CHECK (NODE)))
3330#define SET_DECL_DEBUG_EXPR(NODE, VAL) \
3331 (decl_debug_expr_insert (VAR_DECL_CHECK (NODE), VAL))
3340#define DECL_INIT_PRIORITY(NODE) \
3341 (decl_init_priority_lookup (NODE))
3343#define SET_DECL_INIT_PRIORITY(NODE, VAL) \
3344 (decl_init_priority_insert (NODE, VAL))
3347#define DECL_FINI_PRIORITY(NODE) \
3348 (decl_fini_priority_lookup (NODE))
3350#define SET_DECL_FINI_PRIORITY(NODE, VAL) \
3351 (decl_fini_priority_insert (NODE, VAL))
3355#define DEFAULT_INIT_PRIORITY 65535
3358#define MAX_INIT_PRIORITY 65535
3362#define MAX_RESERVED_INIT_PRIORITY 100
3365#define VAR_DECL_IS_VIRTUAL_OPERAND(NODE) \
3366 (VAR_DECL_CHECK (NODE)->base.u.bits.saturating_flag)
3369#define DECL_NONLOCAL_FRAME(NODE) \
3370 (VAR_DECL_CHECK (NODE)->base.default_def_flag)
3373#define DECL_NONALIASED(NODE) \
3374 (VAR_DECL_CHECK (NODE)->base.nothrow_flag)
3379#define DECL_MERGEABLE(NODE) \
3380 (VAR_DECL_CHECK (NODE)->decl_common.decl_flag_3)
3384#define DECL_RESULT_FLD(NODE) \
3385 (DECL_NON_COMMON_CHECK (NODE)->decl_non_common.result)
3394#define DECL_VINDEX(NODE) \
3395 (FUNCTION_DECL_CHECK (NODE)->function_decl.vindex)
3398#define DECL_RESULT(NODE) (FUNCTION_DECL_CHECK (NODE)->decl_non_common.result)
3401#define DECL_UNINLINABLE(NODE) \
3402 (FUNCTION_DECL_CHECK (NODE)->function_decl.uninlinable)
3406#define DECL_SAVED_TREE(NODE) \
3407 (FUNCTION_DECL_CHECK (NODE)->function_decl.saved_tree)
3412#define DECL_IS_MALLOC(NODE) \
3413 (FUNCTION_DECL_CHECK (NODE)->function_decl.malloc_flag)
3416#define FUNCTION_DECL_DECL_TYPE(NODE) \
3417 (NODE->function_decl.decl_type)
3437#define DECL_IS_REPLACEABLE_OPERATOR(NODE)\
3438 (FUNCTION_DECL_CHECK (NODE)->function_decl.replaceable_operator)
3443#define DECL_IS_OPERATOR_NEW_P(NODE) \
3444 (FUNCTION_DECL_DECL_TYPE (FUNCTION_DECL_CHECK (NODE)) \
3445 == function_decl_type::OPERATOR_NEW)
3447#define DECL_IS_REPLACEABLE_OPERATOR_NEW_P(NODE) \
3448 (DECL_IS_OPERATOR_NEW_P (NODE) && DECL_IS_REPLACEABLE_OPERATOR (NODE))
3450#define DECL_SET_IS_OPERATOR_NEW(NODE, VAL) \
3451 set_function_decl_type (FUNCTION_DECL_CHECK (NODE), \
3452 function_decl_type::OPERATOR_NEW, VAL)
3456#define DECL_IS_OPERATOR_DELETE_P(NODE) \
3457 (FUNCTION_DECL_DECL_TYPE (FUNCTION_DECL_CHECK (NODE)) \
3458 == function_decl_type::OPERATOR_DELETE)
3460#define DECL_SET_IS_OPERATOR_DELETE(NODE, VAL) \
3461 set_function_decl_type (FUNCTION_DECL_CHECK (NODE), \
3462 function_decl_type::OPERATOR_DELETE, VAL)
3466#define DECL_IS_RETURNS_TWICE(NODE) \
3467 (FUNCTION_DECL_CHECK (NODE)->function_decl.returns_twice_flag)
3474#define DECL_PURE_P(NODE) (FUNCTION_DECL_CHECK (NODE)->function_decl.pure_flag)
3482#define DECL_LOOPING_CONST_OR_PURE_P(NODE) \
3483 (FUNCTION_DECL_CHECK (NODE)->function_decl.looping_const_or_pure_flag)
3488#define DECL_IS_NOVOPS(NODE) \
3489 (FUNCTION_DECL_CHECK (NODE)->function_decl.novops_flag)
3493#define DECL_STATIC_CONSTRUCTOR(NODE) \
3494 (FUNCTION_DECL_CHECK (NODE)->function_decl.static_ctor_flag)
3496#define DECL_STATIC_DESTRUCTOR(NODE) \
3497(FUNCTION_DECL_CHECK (NODE)->function_decl.static_dtor_flag)
3501#define DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT(NODE) \
3502 (FUNCTION_DECL_CHECK (NODE)->function_decl.no_instrument_function_entry_exit)
3506#define DECL_NO_LIMIT_STACK(NODE) \
3507 (FUNCTION_DECL_CHECK (NODE)->function_decl.no_limit_stack)
3510#define DECL_STATIC_CHAIN(NODE) \
3511 (FUNCTION_DECL_CHECK (NODE)->decl_with_vis.regdecl_flag)
3516#define DECL_POSSIBLY_INLINED(DECL) \
3517 FUNCTION_DECL_CHECK (DECL)->function_decl.possibly_inlined
3522#define DECL_DECLARED_INLINE_P(NODE) \
3523 (FUNCTION_DECL_CHECK (NODE)->function_decl.declared_inline_flag)
3527#define DECL_NO_INLINE_WARNING_P(NODE) \
3528 (FUNCTION_DECL_CHECK (NODE)->function_decl.no_inline_warning_flag)
3531#define BUILTIN_TM_LOAD_STORE_P(FN) \
3532 ((FN) >= BUILT_IN_TM_STORE_1 && (FN) <= BUILT_IN_TM_LOAD_RFW_LDOUBLE)
3535#define BUILTIN_TM_LOAD_P(FN) \
3536 ((FN) >= BUILT_IN_TM_LOAD_1 && (FN) <= BUILT_IN_TM_LOAD_RFW_LDOUBLE)
3539#define BUILTIN_TM_STORE_P(FN) \
3540 ((FN) >= BUILT_IN_TM_STORE_1 && (FN) <= BUILT_IN_TM_STORE_WAW_LDOUBLE)
3542#define CASE_BUILT_IN_TM_LOAD(FN) \
3543 case BUILT_IN_TM_LOAD_##FN: \
3544 case BUILT_IN_TM_LOAD_RAR_##FN: \
3545 case BUILT_IN_TM_LOAD_RAW_##FN: \
3546 case BUILT_IN_TM_LOAD_RFW_##FN
3548#define CASE_BUILT_IN_TM_STORE(FN) \
3549 case BUILT_IN_TM_STORE_##FN: \
3550 case BUILT_IN_TM_STORE_WAR_##FN: \
3551 case BUILT_IN_TM_STORE_WAW_##FN
3557#define DECL_DISREGARD_INLINE_LIMITS(NODE) \
3558 (FUNCTION_DECL_CHECK (NODE)->function_decl.disregard_inline_limits)
3564#define DECL_HAS_DEBUG_ARGS_P(NODE) \
3565 (FUNCTION_DECL_CHECK (NODE)->function_decl.has_debug_args_flag)
3569#define DECL_STRUCT_FUNCTION(NODE) \
3570 (FUNCTION_DECL_CHECK (NODE)->function_decl.f)
3573#define DECL_BUILT_IN_CLASS(NODE) \
3574 ((built_in_class) FUNCTION_DECL_CHECK (NODE)->function_decl.built_in_class)
3577#define DECL_ARGUMENTS(NODE) \
3578 (FUNCTION_DECL_CHECK (NODE)->function_decl.arguments)
3582#define DECL_FUNCTION_SPECIFIC_TARGET(NODE) \
3583 (FUNCTION_DECL_CHECK (NODE)->function_decl.function_specific_target)
3587#define DECL_FUNCTION_SPECIFIC_OPTIMIZATION(NODE) \
3588 (FUNCTION_DECL_CHECK (NODE)->function_decl.function_specific_optimization)
3593#define DECL_FUNCTION_VERSIONED(NODE)\
3594 (FUNCTION_DECL_CHECK (NODE)->function_decl.versioned_function)
3600#define DECL_CXX_CONSTRUCTOR_P(NODE)\
3601 (FUNCTION_DECL_CHECK (NODE)->decl_with_vis.cxx_constructor)
3605#define DECL_CXX_DESTRUCTOR_P(NODE)\
3606 (FUNCTION_DECL_CHECK (NODE)->decl_with_vis.cxx_destructor)
3609#define DECL_LAMBDA_FUNCTION_P(NODE) \
3610 (FUNCTION_DECL_DECL_TYPE (FUNCTION_DECL_CHECK (NODE)) \
3611 == function_decl_type::LAMBDA_FUNCTION)
3613#define DECL_SET_LAMBDA_FUNCTION(NODE, VAL) \
3614 set_function_decl_type (FUNCTION_DECL_CHECK (NODE), \
3615 function_decl_type::LAMBDA_FUNCTION, VAL)
3619#define DECL_FINAL_P(NODE)\
3620 (FUNCTION_DECL_CHECK (NODE)->decl_with_vis.final)
3623#define TRANSLATION_UNIT_LANGUAGE(NODE) \
3624 (TRANSLATION_UNIT_DECL_CHECK (NODE)->translation_unit_decl.language)
3629#define DECL_ORIGINAL_TYPE(NODE) \
3630 (TYPE_DECL_CHECK (NODE)->decl_non_common.result)
3635#define TYPE_DECL_SUPPRESS_DEBUG(NODE) \
3636 (TYPE_DECL_CHECK (NODE)->decl_common.decl_flag_1)
3640#define IMPORTED_DECL_ASSOCIATED_DECL(NODE) \
3641(DECL_INITIAL (IMPORTED_DECL_CHECK (NODE)))
3645#define NAMELIST_DECL_ASSOCIATED_DECL(NODE) \
3646 (DECL_INITIAL (NODE))
3654#define STATEMENT_LIST_HEAD(NODE) \
3655 (STATEMENT_LIST_CHECK (NODE)->stmt_list.head)
3656#define STATEMENT_LIST_TAIL(NODE) \
3657 (STATEMENT_LIST_CHECK (NODE)->stmt_list.tail)
3659#define TREE_OPTIMIZATION(NODE) \
3660 (OPTIMIZATION_NODE_CHECK (NODE)->optimization.opts)
3662#define TREE_OPTIMIZATION_OPTABS(NODE) \
3663 (OPTIMIZATION_NODE_CHECK (NODE)->optimization.optabs)
3665#define TREE_OPTIMIZATION_BASE_OPTABS(NODE) \
3666 (OPTIMIZATION_NODE_CHECK (NODE)->optimization.base_optabs)
3671 struct gcc_options *opts_set);
3673#define TREE_TARGET_OPTION(NODE) \
3674 (TARGET_OPTION_NODE_CHECK (NODE)->target_option.opts)
3676#define TREE_TARGET_GLOBALS(NODE) \
3677 (TARGET_OPTION_NODE_CHECK (NODE)->target_option.globals)
3682 struct gcc_options *opts_set);
3686#if defined ENABLE_TREE_CHECKING && (GCC_VERSION >= 2007)
3689tree_check (
tree __t,
const char *__f,
int __l,
const char *__g,
tree_code __c)
3692 tree_check_failed (__t, __f, __l, __g, __c, 0);
3697tree_not_check (
tree __t,
const char *__f,
int __l,
const char *__g,
3701 tree_not_check_failed (__t, __f, __l, __g, __c, 0);
3706tree_check2 (
tree __t,
const char *__f,
int __l,
const char *__g,
3711 tree_check_failed (__t, __f, __l, __g, __c1, __c2, 0);
3716tree_not_check2 (
tree __t,
const char *__f,
int __l,
const char *__g,
3721 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, 0);
3726tree_check3 (
tree __t,
const char *__f,
int __l,
const char *__g,
3732 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, 0);
3737tree_not_check3 (
tree __t,
const char *__f,
int __l,
const char *__g,
3743 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, 0);
3748tree_check4 (
tree __t,
const char *__f,
int __l,
const char *__g,
3756 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, 0);
3761tree_not_check4 (
tree __t,
const char *__f,
int __l,
const char *__g,
3769 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, 0);
3774tree_check5 (
tree __t,
const char *__f,
int __l,
const char *__g,
3783 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, 0);
3788tree_not_check5 (
tree __t,
const char *__f,
int __l,
const char *__g,
3797 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, 0);
3802tree_check6 (
tree __t,
const char *__f,
int __l,
const char *__g,
3812 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, __c6,
3818tree_not_check6 (
tree __t,
const char *__f,
int __l,
const char *__g,
3828 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5,
3835 const char *__f,
int __l,
const char *__g)
3838 tree_contains_struct_check_failed (__t, __s, __f, __l, __g);
3844 const char *__f,
int __l,
const char *__g)
3847 tree_class_check_failed (__t, __class, __f, __l, __g);
3852tree_range_check (
tree __t,
3854 const char *__f,
int __l,
const char *__g)
3857 tree_range_check_failed (__t, __f, __l, __g, __code1, __code2);
3863 const char *__f,
int __l,
const char *__g)
3866 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
3867 if (__t->omp_clause.code != __code)
3868 omp_clause_check_failed (__t, __f, __l, __g, __code);
3873omp_clause_range_check (
tree __t,
3876 const char *__f,
int __l,
const char *__g)
3879 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
3880 if ((
int) __t->omp_clause.code < (
int) __code1
3881 || (
int) __t->omp_clause.code > (
int) __code2)
3882 omp_clause_range_check_failed (__t, __f, __l, __g, __code1, __code2);
3889expr_check (
tree __t,
const char *__f,
int __l,
const char *__g)
3900non_type_check (
tree __t,
const char *__f,
int __l,
const char *__g)
3903 tree_not_class_check_failed (__t,
tcc_type, __f, __l, __g);
3907inline const HOST_WIDE_INT *
3908tree_int_cst_elt_check (
const_tree __t,
int __i,
3909 const char *__f,
int __l,
const char *__g)
3912 tree_check_failed (__t, __f, __l, __g, INTEGER_CST, 0);
3913 if (__i < 0 || __i >= __t->base.u.int_length.extended)
3914 tree_int_cst_elt_check_failed (__i, __t->base.u.int_length.extended,
3919inline HOST_WIDE_INT *
3920tree_int_cst_elt_check (
tree __t,
int __i,
3921 const char *__f,
int __l,
const char *__g)
3924 tree_check_failed (__t, __f, __l, __g, INTEGER_CST, 0);
3925 if (__i < 0 || __i >= __t->base.u.int_length.extended)
3926 tree_int_cst_elt_check_failed (__i, __t->base.u.int_length.extended,
3933# if GCC_VERSION >= 4006
3934#pragma GCC diagnostic push
3935#pragma GCC diagnostic ignored "-Wstrict-overflow"
3939tree_vec_elt_check (
tree __t,
int __i,
3940 const char *__f,
int __l,
const char *__g)
3943 tree_check_failed (__t, __f, __l, __g, TREE_VEC, 0);
3944 if (__i < 0 || __i >= __t->base.u.length)
3945 tree_vec_elt_check_failed (__i, __t->base.u.length, __f, __l, __g);
3949# if GCC_VERSION >= 4006
3950#pragma GCC diagnostic pop
3954omp_clause_elt_check (
tree __t,
int __i,
3955 const char *__f,
int __l,
const char *__g)
3958 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
3960 omp_clause_operand_check_failed (__i, __t, __f, __l, __g);
3961 return &__t->omp_clause.ops[__i];
3967any_integral_type_check (
tree __t,
const char *__f,
int __l,
const char *__g)
3970 tree_check_failed (__t, __f, __l, __g, BOOLEAN_TYPE, ENUMERAL_TYPE,
3971 INTEGER_TYPE, BITINT_TYPE, 0);
3976tree_check (
const_tree __t,
const char *__f,
int __l,
const char *__g,
3980 tree_check_failed (__t, __f, __l, __g, __c, 0);
3985tree_not_check (
const_tree __t,
const char *__f,
int __l,
const char *__g,
3989 tree_not_check_failed (__t, __f, __l, __g, __c, 0);
3994tree_check2 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
3999 tree_check_failed (__t, __f, __l, __g, __c1, __c2, 0);
4004tree_not_check2 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4009 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, 0);
4014tree_check3 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4020 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, 0);
4025tree_not_check3 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4031 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, 0);
4036tree_check4 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4044 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, 0);
4049tree_not_check4 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4057 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, 0);
4062tree_check5 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4071 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, 0);
4076tree_not_check5 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4085 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, 0);
4090tree_check6 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4100 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, __c6,
4106tree_not_check6 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4116 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5,
4123 const char *__f,
int __l,
const char *__g)
4126 tree_contains_struct_check_failed (__t, __s, __f, __l, __g);
4132 const char *__f,
int __l,
const char *__g)
4135 tree_class_check_failed (__t, __class, __f, __l, __g);
4142 const char *__f,
int __l,
const char *__g)
4145 tree_range_check_failed (__t, __f, __l, __g, __code1, __code2);
4151 const char *__f,
int __l,
const char *__g)
4154 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
4155 if (__t->omp_clause.code != __code)
4156 omp_clause_check_failed (__t, __f, __l, __g, __code);
4164 const char *__f,
int __l,
const char *__g)
4167 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
4168 if ((
int) __t->omp_clause.code < (
int) __code1
4169 || (
int) __t->omp_clause.code > (
int) __code2)
4170 omp_clause_range_check_failed (__t, __f, __l, __g, __code1, __code2);
4175expr_check (
const_tree __t,
const char *__f,
int __l,
const char *__g)
4184non_type_check (
const_tree __t,
const char *__f,
int __l,
const char *__g)
4187 tree_not_class_check_failed (__t,
tcc_type, __f, __l, __g);
4191# if GCC_VERSION >= 4006
4192#pragma GCC diagnostic push
4193#pragma GCC diagnostic ignored "-Wstrict-overflow"
4198 const char *__f,
int __l,
const char *__g)
4201 tree_check_failed (__t, __f, __l, __g, TREE_VEC, 0);
4202 if (__i < 0 || __i >= __t->base.u.length)
4203 tree_vec_elt_check_failed (__i, __t->base.u.length, __f, __l, __g);
4208# if GCC_VERSION >= 4006
4209#pragma GCC diagnostic pop
4213omp_clause_elt_check (
const_tree __t,
int __i,
4214 const char *__f,
int __l,
const char *__g)
4217 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
4219 omp_clause_operand_check_failed (__i, __t, __f, __l, __g);
4224any_integral_type_check (
const_tree __t,
const char *__f,
int __l,
4228 tree_check_failed (__t, __f, __l, __g, BOOLEAN_TYPE, ENUMERAL_TYPE,
4229 INTEGER_TYPE, BITINT_TYPE, 0);
4247#if defined ENABLE_TREE_CHECKING && (GCC_VERSION >= 2007)
4251tree_operand_check (
tree __t,
int __i,
4252 const char *__f,
int __l,
const char *__g)
4256 tree_operand_check_failed (__i, __u, __f, __l, __g);
4261tree_operand_check_code (
tree __t,
enum tree_code __code,
int __i,
4262 const char *__f,
int __l,
const char *__g)
4265 tree_check_failed (__t, __f, __l, __g, __code, 0);
4267 tree_operand_check_failed (__i, __t, __f, __l, __g);
4268 return &__t->exp.operands[__i];
4273 const char *__f,
int __l,
const char *__g)
4277 tree_operand_check_failed (__i, __u, __f, __l, __g);
4283 const char *__f,
int __l,
const char *__g)
4286 tree_check_failed (__t, __f, __l, __g, __code, 0);
4288 tree_operand_check_failed (__i, __t, __f, __l, __g);
4314 unsigned int precision = VECTOR_TYPE_CHECK (node)->type_common.precision;
4321 if (precision & 0x100)
4336 unsigned HOST_WIDE_INT coeff0 = subparts.
coeffs[0];
4356 unsigned HOST_WIDE_INT coeff1 = subparts.
coeffs[1];
4357 gcc_assert (coeff1 == 0 || coeff1 == coeff0);
4358 VECTOR_TYPE_CHECK (node)->type_common.precision
4359 = index + (coeff1 != 0 ? 0x100 : 0);
4362 VECTOR_TYPE_CHECK (node)->type_common.precision = index;
4371 unsigned HOST_WIDE_INT coeff0 = subparts.
coeffs[0];
4376 unsigned HOST_WIDE_INT coeff1 = subparts.
coeffs[1];
4377 if (coeff1 != 0 && coeff1 != coeff0)
4388 const tree_function_decl &fndecl = FUNCTION_DECL_CHECK (
decl)->function_decl;
4399 const tree_function_decl &fndecl = FUNCTION_DECL_CHECK (
decl)->function_decl;
4401 return fndecl.function_code;
4410 const tree_function_decl &fndecl = FUNCTION_DECL_CHECK (
decl)->function_decl;
4412 return fndecl.function_code;
4421 tree_function_decl &fndecl = FUNCTION_DECL_CHECK (
decl)->function_decl;
4422 fndecl.built_in_class = fclass;
4423 fndecl.function_code = fcode;
4431 tree_function_decl &newfndecl = FUNCTION_DECL_CHECK (newdecl)->function_decl;
4432 const tree_function_decl &oldfndecl
4433 = FUNCTION_DECL_CHECK (olddecl)->function_decl;
4434 newfndecl.built_in_class = oldfndecl.built_in_class;
4435 newfndecl.function_code = oldfndecl.function_code;
4442#define EXPR_LOCATION_WRAPPER_P(NODE) \
4443 (TREE_CHECK2(NODE, NON_LVALUE_EXPR, VIEW_CONVERT_EXPR)->base.public_flag)
4477#define error_mark_node global_trees[TI_ERROR_MARK]
4479#define intQI_type_node global_trees[TI_INTQI_TYPE]
4480#define intHI_type_node global_trees[TI_INTHI_TYPE]
4481#define intSI_type_node global_trees[TI_INTSI_TYPE]
4482#define intDI_type_node global_trees[TI_INTDI_TYPE]
4483#define intTI_type_node global_trees[TI_INTTI_TYPE]
4485#define unsigned_intQI_type_node global_trees[TI_UINTQI_TYPE]
4486#define unsigned_intHI_type_node global_trees[TI_UINTHI_TYPE]
4487#define unsigned_intSI_type_node global_trees[TI_UINTSI_TYPE]
4488#define unsigned_intDI_type_node global_trees[TI_UINTDI_TYPE]
4489#define unsigned_intTI_type_node global_trees[TI_UINTTI_TYPE]
4491#define atomicQI_type_node global_trees[TI_ATOMICQI_TYPE]
4492#define atomicHI_type_node global_trees[TI_ATOMICHI_TYPE]
4493#define atomicSI_type_node global_trees[TI_ATOMICSI_TYPE]
4494#define atomicDI_type_node global_trees[TI_ATOMICDI_TYPE]
4495#define atomicTI_type_node global_trees[TI_ATOMICTI_TYPE]
4497#define uint16_type_node global_trees[TI_UINT16_TYPE]
4498#define uint32_type_node global_trees[TI_UINT32_TYPE]
4499#define uint64_type_node global_trees[TI_UINT64_TYPE]
4500#define uint128_type_node global_trees[TI_UINT128_TYPE]
4502#define void_node global_trees[TI_VOID]
4504#define integer_zero_node global_trees[TI_INTEGER_ZERO]
4505#define integer_one_node global_trees[TI_INTEGER_ONE]
4506#define integer_minus_one_node global_trees[TI_INTEGER_MINUS_ONE]
4507#define size_zero_node global_trees[TI_SIZE_ZERO]
4508#define size_one_node global_trees[TI_SIZE_ONE]
4509#define bitsize_zero_node global_trees[TI_BITSIZE_ZERO]
4510#define bitsize_one_node global_trees[TI_BITSIZE_ONE]
4511#define bitsize_unit_node global_trees[TI_BITSIZE_UNIT]
4514#define access_public_node global_trees[TI_PUBLIC]
4515#define access_protected_node global_trees[TI_PROTECTED]
4516#define access_private_node global_trees[TI_PRIVATE]
4518#define null_pointer_node global_trees[TI_NULL_POINTER]
4520#define float_type_node global_trees[TI_FLOAT_TYPE]
4521#define double_type_node global_trees[TI_DOUBLE_TYPE]
4522#define long_double_type_node global_trees[TI_LONG_DOUBLE_TYPE]
4523#define bfloat16_type_node global_trees[TI_BFLOAT16_TYPE]
4526#define FLOATN_TYPE_NODE(IDX) global_trees[TI_FLOATN_TYPE_FIRST + (IDX)]
4527#define FLOATN_NX_TYPE_NODE(IDX) global_trees[TI_FLOATN_NX_TYPE_FIRST + (IDX)]
4528#define FLOATNX_TYPE_NODE(IDX) global_trees[TI_FLOATNX_TYPE_FIRST + (IDX)]
4533#define float16_type_node global_trees[TI_FLOAT16_TYPE]
4534#define float32_type_node global_trees[TI_FLOAT32_TYPE]
4535#define float64_type_node global_trees[TI_FLOAT64_TYPE]
4536#define float128_type_node global_trees[TI_FLOAT128_TYPE]
4537#define float32x_type_node global_trees[TI_FLOAT32X_TYPE]
4538#define float64x_type_node global_trees[TI_FLOAT64X_TYPE]
4539#define float128x_type_node global_trees[TI_FLOAT128X_TYPE]
4543#define float128t_type_node global_trees[TI_FLOAT128T_TYPE]
4545#define float_ptr_type_node global_trees[TI_FLOAT_PTR_TYPE]
4546#define double_ptr_type_node global_trees[TI_DOUBLE_PTR_TYPE]
4547#define long_double_ptr_type_node global_trees[TI_LONG_DOUBLE_PTR_TYPE]
4548#define integer_ptr_type_node global_trees[TI_INTEGER_PTR_TYPE]
4550#define complex_integer_type_node global_trees[TI_COMPLEX_INTEGER_TYPE]
4551#define complex_float_type_node global_trees[TI_COMPLEX_FLOAT_TYPE]
4552#define complex_double_type_node global_trees[TI_COMPLEX_DOUBLE_TYPE]
4553#define complex_long_double_type_node global_trees[TI_COMPLEX_LONG_DOUBLE_TYPE]
4555#define COMPLEX_FLOATN_NX_TYPE_NODE(IDX) global_trees[TI_COMPLEX_FLOATN_NX_TYPE_FIRST + (IDX)]
4557#define void_type_node global_trees[TI_VOID_TYPE]
4559#define ptr_type_node global_trees[TI_PTR_TYPE]
4561#define const_ptr_type_node global_trees[TI_CONST_PTR_TYPE]
4563#define size_type_node global_trees[TI_SIZE_TYPE]
4564#define pid_type_node global_trees[TI_PID_TYPE]
4565#define ptrdiff_type_node global_trees[TI_PTRDIFF_TYPE]
4566#define va_list_type_node global_trees[TI_VA_LIST_TYPE]
4567#define va_list_gpr_counter_field global_trees[TI_VA_LIST_GPR_COUNTER_FIELD]
4568#define va_list_fpr_counter_field global_trees[TI_VA_LIST_FPR_COUNTER_FIELD]
4570#define fileptr_type_node global_trees[TI_FILEPTR_TYPE]
4572#define const_tm_ptr_type_node global_trees[TI_CONST_TM_PTR_TYPE]
4574#define fenv_t_ptr_type_node global_trees[TI_FENV_T_PTR_TYPE]
4575#define const_fenv_t_ptr_type_node global_trees[TI_CONST_FENV_T_PTR_TYPE]
4577#define fexcept_t_ptr_type_node global_trees[TI_FEXCEPT_T_PTR_TYPE]
4578#define const_fexcept_t_ptr_type_node global_trees[TI_CONST_FEXCEPT_T_PTR_TYPE]
4579#define pointer_sized_int_node global_trees[TI_POINTER_SIZED_TYPE]
4581#define boolean_type_node global_trees[TI_BOOLEAN_TYPE]
4582#define boolean_false_node global_trees[TI_BOOLEAN_FALSE]
4583#define boolean_true_node global_trees[TI_BOOLEAN_TRUE]
4586#define dfloat32_type_node global_trees[TI_DFLOAT32_TYPE]
4587#define dfloat64_type_node global_trees[TI_DFLOAT64_TYPE]
4588#define dfloat128_type_node global_trees[TI_DFLOAT128_TYPE]
4589#define dfloat64x_type_node global_trees[TI_DFLOAT64X_TYPE]
4592#define sat_short_fract_type_node global_trees[TI_SAT_SFRACT_TYPE]
4593#define sat_fract_type_node global_trees[TI_SAT_FRACT_TYPE]
4594#define sat_long_fract_type_node global_trees[TI_SAT_LFRACT_TYPE]
4595#define sat_long_long_fract_type_node global_trees[TI_SAT_LLFRACT_TYPE]
4596#define sat_unsigned_short_fract_type_node \
4597 global_trees[TI_SAT_USFRACT_TYPE]
4598#define sat_unsigned_fract_type_node global_trees[TI_SAT_UFRACT_TYPE]
4599#define sat_unsigned_long_fract_type_node \
4600 global_trees[TI_SAT_ULFRACT_TYPE]
4601#define sat_unsigned_long_long_fract_type_node \
4602 global_trees[TI_SAT_ULLFRACT_TYPE]
4603#define short_fract_type_node global_trees[TI_SFRACT_TYPE]
4604#define fract_type_node global_trees[TI_FRACT_TYPE]
4605#define long_fract_type_node global_trees[TI_LFRACT_TYPE]
4606#define long_long_fract_type_node global_trees[TI_LLFRACT_TYPE]
4607#define unsigned_short_fract_type_node global_trees[TI_USFRACT_TYPE]
4608#define unsigned_fract_type_node global_trees[TI_UFRACT_TYPE]
4609#define unsigned_long_fract_type_node global_trees[TI_ULFRACT_TYPE]
4610#define unsigned_long_long_fract_type_node \
4611 global_trees[TI_ULLFRACT_TYPE]
4612#define sat_short_accum_type_node global_trees[TI_SAT_SACCUM_TYPE]
4613#define sat_accum_type_node global_trees[TI_SAT_ACCUM_TYPE]
4614#define sat_long_accum_type_node global_trees[TI_SAT_LACCUM_TYPE]
4615#define sat_long_long_accum_type_node global_trees[TI_SAT_LLACCUM_TYPE]
4616#define sat_unsigned_short_accum_type_node \
4617 global_trees[TI_SAT_USACCUM_TYPE]
4618#define sat_unsigned_accum_type_node global_trees[TI_SAT_UACCUM_TYPE]
4619#define sat_unsigned_long_accum_type_node \
4620 global_trees[TI_SAT_ULACCUM_TYPE]
4621#define sat_unsigned_long_long_accum_type_node \
4622 global_trees[TI_SAT_ULLACCUM_TYPE]
4623#define short_accum_type_node global_trees[TI_SACCUM_TYPE]
4624#define accum_type_node global_trees[TI_ACCUM_TYPE]
4625#define long_accum_type_node global_trees[TI_LACCUM_TYPE]
4626#define long_long_accum_type_node global_trees[TI_LLACCUM_TYPE]
4627#define unsigned_short_accum_type_node global_trees[TI_USACCUM_TYPE]
4628#define unsigned_accum_type_node global_trees[TI_UACCUM_TYPE]
4629#define unsigned_long_accum_type_node global_trees[TI_ULACCUM_TYPE]
4630#define unsigned_long_long_accum_type_node \
4631 global_trees[TI_ULLACCUM_TYPE]
4632#define qq_type_node global_trees[TI_QQ_TYPE]
4633#define hq_type_node global_trees[TI_HQ_TYPE]
4634#define sq_type_node global_trees[TI_SQ_TYPE]
4635#define dq_type_node global_trees[TI_DQ_TYPE]
4636#define tq_type_node global_trees[TI_TQ_TYPE]
4637#define uqq_type_node global_trees[TI_UQQ_TYPE]
4638#define uhq_type_node global_trees[TI_UHQ_TYPE]
4639#define usq_type_node global_trees[TI_USQ_TYPE]
4640#define udq_type_node global_trees[TI_UDQ_TYPE]
4641#define utq_type_node global_trees[TI_UTQ_TYPE]
4642#define sat_qq_type_node global_trees[TI_SAT_QQ_TYPE]
4643#define sat_hq_type_node global_trees[TI_SAT_HQ_TYPE]
4644#define sat_sq_type_node global_trees[TI_SAT_SQ_TYPE]
4645#define sat_dq_type_node global_trees[TI_SAT_DQ_TYPE]
4646#define sat_tq_type_node global_trees[TI_SAT_TQ_TYPE]
4647#define sat_uqq_type_node global_trees[TI_SAT_UQQ_TYPE]
4648#define sat_uhq_type_node global_trees[TI_SAT_UHQ_TYPE]
4649#define sat_usq_type_node global_trees[TI_SAT_USQ_TYPE]
4650#define sat_udq_type_node global_trees[TI_SAT_UDQ_TYPE]
4651#define sat_utq_type_node global_trees[TI_SAT_UTQ_TYPE]
4652#define ha_type_node global_trees[TI_HA_TYPE]
4653#define sa_type_node global_trees[TI_SA_TYPE]
4654#define da_type_node global_trees[TI_DA_TYPE]
4655#define ta_type_node global_trees[TI_TA_TYPE]
4656#define uha_type_node global_trees[TI_UHA_TYPE]
4657#define usa_type_node global_trees[TI_USA_TYPE]
4658#define uda_type_node global_trees[TI_UDA_TYPE]
4659#define uta_type_node global_trees[TI_UTA_TYPE]
4660#define sat_ha_type_node global_trees[TI_SAT_HA_TYPE]
4661#define sat_sa_type_node global_trees[TI_SAT_SA_TYPE]
4662#define sat_da_type_node global_trees[TI_SAT_DA_TYPE]
4663#define sat_ta_type_node global_trees[TI_SAT_TA_TYPE]
4664#define sat_uha_type_node global_trees[TI_SAT_UHA_TYPE]
4665#define sat_usa_type_node global_trees[TI_SAT_USA_TYPE]
4666#define sat_uda_type_node global_trees[TI_SAT_UDA_TYPE]
4667#define sat_uta_type_node global_trees[TI_SAT_UTA_TYPE]
4674#define void_list_node global_trees[TI_VOID_LIST_NODE]
4676#define main_identifier_node global_trees[TI_MAIN_IDENTIFIER]
4677#define MAIN_NAME_P(NODE) \
4678 (IDENTIFIER_NODE_CHECK (NODE) == main_identifier_node)
4682#define optimization_default_node global_trees[TI_OPTIMIZATION_DEFAULT]
4683#define optimization_current_node global_trees[TI_OPTIMIZATION_CURRENT]
4686#define target_option_default_node global_trees[TI_TARGET_OPTION_DEFAULT]
4687#define target_option_current_node global_trees[TI_TARGET_OPTION_CURRENT]
4691#define current_target_pragma global_trees[TI_CURRENT_TARGET_PRAGMA]
4692#define current_optimize_pragma global_trees[TI_CURRENT_OPTIMIZE_PRAGMA]
4695#define chrec_not_analyzed_yet NULL_TREE
4696#define chrec_dont_know global_trees[TI_CHREC_DONT_KNOW]
4697#define chrec_known global_trees[TI_CHREC_KNOWN]
4699#define char_type_node integer_types[itk_char]
4700#define signed_char_type_node integer_types[itk_signed_char]
4701#define unsigned_char_type_node integer_types[itk_unsigned_char]
4702#define short_integer_type_node integer_types[itk_short]
4703#define short_unsigned_type_node integer_types[itk_unsigned_short]
4704#define integer_type_node integer_types[itk_int]
4705#define unsigned_type_node integer_types[itk_unsigned_int]
4706#define long_integer_type_node integer_types[itk_long]
4707#define long_unsigned_type_node integer_types[itk_unsigned_long]
4708#define long_long_integer_type_node integer_types[itk_long_long]
4709#define long_long_unsigned_type_node integer_types[itk_unsigned_long_long]
4923#define build_call_array(T1,T2,N,T3)\
4924 build_call_array_loc (UNKNOWN_LOCATION, T1, T2, N, T3)
4975#define build_function_type_vec(RET, V) \
4976 build_function_type_array (RET, vec_safe_length (V), vec_safe_address (V))
4977#define build_varargs_function_type_vec(RET, V) \
4978 build_varargs_function_type_array (RET, vec_safe_length (V), \
4979 vec_safe_address (V))
5002 ATTRIBUTE_NONNULL (1) ATTRIBUTE_PURE;
5004 ATTRIBUTE_NONNULL (1) ATTRIBUTE_PURE;
5006 ATTRIBUTE_NONNULL (1) ATTRIBUTE_PURE;
5008 ATTRIBUTE_NONNULL (1) ATTRIBUTE_PURE;
5009#if !defined ENABLE_TREE_CHECKING && (GCC_VERSION >= 4003)
5010extern inline __attribute__ ((__gnu_inline__)) HOST_WIDE_INT
5017extern inline __attribute__ ((__gnu_inline__))
unsigned HOST_WIDE_INT
5023#if NUM_POLY_INT_COEFFS == 1
5024extern inline __attribute__ ((__gnu_inline__))
poly_int64
5031extern inline __attribute__ ((__gnu_inline__))
poly_uint64
5148#define build_type_variant(TYPE, CONST_P, VOLATILE_P) \
5149 build_qualified_type ((TYPE), \
5150 ((CONST_P) ? TYPE_QUAL_CONST : 0) \
5151 | ((VOLATILE_P) ? TYPE_QUAL_VOLATILE : 0))
5182#define sizetype sizetype_tab[(int) stk_sizetype]
5183#define bitsizetype sizetype_tab[(int) stk_bitsizetype]
5184#define ssizetype sizetype_tab[(int) stk_ssizetype]
5185#define sbitsizetype sizetype_tab[(int) stk_sbitsizetype]
5186#define size_int(L) size_int_kind (L, stk_sizetype)
5187#define ssize_int(L) size_int_kind (L, stk_ssizetype)
5188#define bitsize_int(L) size_int_kind (L, stk_bitsizetype)
5189#define sbitsize_int(L) size_int_kind (L, stk_sbitsizetype)
5193#if BITS_PER_UNIT == 8
5194#define LOG2_BITS_PER_UNIT 3
5195#elif BITS_PER_UNIT == 16
5196#define LOG2_BITS_PER_UNIT 4
5198#error Unknown BITS_PER_UNIT
5350#define CONTAINS_PLACEHOLDER_P(EXP) \
5351 ((EXP) != 0 && ! TREE_CONSTANT (EXP) && contains_placeholder_p (EXP))
5371#define FIND_PLACEHOLDER_IN_EXPR(EXP, V) \
5373 if((EXP) && !TREE_CONSTANT (EXP)) \
5374 find_placeholder_in_expr (EXP, V); \
5389#define SUBSTITUTE_IN_EXPR(EXP, F, R) \
5390 ((EXP) == 0 || TREE_CONSTANT (EXP) ? (EXP) : substitute_in_expr (EXP, F, R))
5400#define SUBSTITUTE_PLACEHOLDER_IN_EXPR(EXP, OBJ) \
5401 ((EXP) == 0 || TREE_CONSTANT (EXP) ? (EXP) \
5402 : substitute_placeholder_in_expr (EXP, OBJ))
5435 case ARRAY_RANGE_REF:
5438 case VIEW_CONVERT_EXPR:
5473 case ARRAY_RANGE_REF:
5474 case VIEW_CONVERT_EXPR:
5573#define FOREACH_FUNCTION_ARGS_PTR(FNTYPE, PTR, ITER) \
5574 for (function_args_iter_init (&(ITER), (FNTYPE)); \
5575 (PTR = function_args_iter_cond_ptr (&(ITER))) != NULL; \
5576 function_args_iter_next (&(ITER)))
5581#define FOREACH_FUNCTION_ARGS(FNTYPE, TREE, ITER) \
5582 for (function_args_iter_init (&(ITER), (FNTYPE)); \
5583 (TREE = function_args_iter_cond (&(ITER))) != NULL_TREE; \
5584 function_args_iter_next (&(ITER)))
5656 const void *
const * x = (
const void *
const *)
a;
5657 const void *
const *
y = (
const void *
const *)
b;
5664 const void *
const * x = (
const void *
const *)
a;
5665 return (intptr_t)*x >> 4;
5678 return code == TRUNC_DIV_EXPR || code == EXACT_DIV_EXPR;
5686 || code == TRUTH_AND_EXPR || code == TRUTH_ANDIF_EXPR
5687 || code == TRUTH_OR_EXPR || code == TRUTH_ORIF_EXPR
5688 || code == TRUTH_XOR_EXPR || code == TRUTH_NOT_EXPR);
5744 ATTRIBUTE_NONNULL (1) ATTRIBUTE_NONNULL (2) ATTRIBUTE_PURE;
5745#ifndef GENERATOR_FILE
5767 return hstate.
end ();
5811#define walk_tree(a,b,c,d) \
5812 walk_tree_1 (a, b, c, d, NULL)
5813#define walk_tree_without_duplicates(a,b,c) \
5814 walk_tree_without_duplicates_1 (a, b, c, NULL)
5881 bool trust_type_canonical =
true);
5900 if (code == ENUMERAL_TYPE)
5901 return INTEGER_TYPE;
5907 if (code == REFERENCE_TYPE)
5908 return POINTER_TYPE;
5939#define tree_map_eq tree_map_base_eq
5941#define tree_map_marked_p tree_map_base_marked_p
5943#define tree_decl_map_eq tree_map_base_eq
5945#define tree_decl_map_marked_p tree_map_base_marked_p
5963#define tree_int_map_eq tree_map_base_eq
5964#define tree_int_map_hash tree_map_base_hash
5965#define tree_int_map_marked_p tree_map_base_marked_p
5967#define tree_vec_map_eq tree_map_base_eq
5968#define tree_vec_map_hash tree_decl_map_hash
5969#define tree_vec_map_marked_p tree_map_base_marked_p
5973 static hashval_t
hash (tree_vec_map *m) {
return DECL_UID (m->base.from); }
5978 return a->base.from ==
b->base.from;
5993 static inline hashval_t
hash (
tree);
6005 static inline hashval_t
hash (
tree);
6019 static inline hashval_t
hash (
tree);
6043struct tree_cache_traits
6049struct decl_tree_cache_traits
6055struct type_tree_cache_traits
6060struct decl_tree_traits
6067init_call_expr_arg_iterator (
tree exp, call_expr_arg_iterator *iter)
6075init_const_call_expr_arg_iterator (
const_tree exp, const_call_expr_arg_iterator *iter)
6085next_call_expr_arg (call_expr_arg_iterator *iter)
6088 if (iter->i >= iter->n)
6096next_const_call_expr_arg (const_call_expr_arg_iterator *iter)
6099 if (iter->i >= iter->n)
6113 init_call_expr_arg_iterator (
exp, iter);
6114 return next_call_expr_arg (iter);
6120 init_const_call_expr_arg_iterator (
exp, iter);
6121 return next_const_call_expr_arg (iter);
6129 return (iter->i < iter->n);
6134#define FOR_EACH_CALL_EXPR_ARG(arg, iter, call) \
6135 for ((arg) = first_call_expr_arg ((call), &(iter)); (arg); \
6136 (arg) = next_call_expr_arg (&(iter)))
6138#define FOR_EACH_CONST_CALL_EXPR_ARG(arg, iter, call) \
6139 for ((arg) = first_const_call_expr_arg ((call), &(iter)); (arg); \
6140 (arg) = next_const_call_expr_arg (&(iter)))
6150#define BUILTIN_VALID_P(FNCODE) \
6151 (IN_RANGE ((int)FNCODE, ((int)BUILT_IN_NONE) + 1, ((int) END_BUILTINS) - 1))
6157#define BUILTIN_ASM_NAME_PTR(BUILTIN) \
6158 (IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (builtin_decl_explicit (BUILTIN))))
6173 size_t uns_fncode = (size_t)fncode;
6193 size_t ufncode = (size_t)fncode;
6208 size_t uns_fncode = (size_t)fncode;
6221 size_t uns_fncode = (size_t)fncode;
6244 size_t uns_fncode = (size_t)fncode;
6256 size_t uns_fncode = (size_t)fncode;
6315inline struct cl_optimization *
6325inline cl_target_option *
6336#define opt_for_fn(fndecl, opt) (opts_for_fn (fndecl)->x_##opt)
6358 unsigned int get_len ()
const;
6366 static const bool host_dependent_precision =
false;
6367 static const bool is_sign_extended =
false;
6368 static const bool needs_write_val_arg =
false;
6382 const HOST_WIDE_INT *
get_val ()
const;
6383 unsigned int get_len ()
const;
6392 static const bool host_dependent_precision =
false;
6393 static const bool is_sign_extended =
true;
6394 static const bool needs_write_val_arg =
false;
6403 typedef const generic_wide_int<wide_int_ref_storage<false, false> >
6412 generic_wide_int <widest_extended_tree> >
6415 generic_wide_int <offset_extended_tree> >
6418 generic_wide_int <unextended_tree> >
6428 typedef generic_wide_int <extended_tree <N> > extended;
6429 static extended
zero (
const extended &);
6435 typedef generic_wide_int <extended_tree <N> > extended;
6436 static extended
zero (
const extended &);
6442 typedef generic_wide_int <unextended_tree> unextended;
6443 static unextended
zero (
const unextended &);
6449typedef generic_wide_int <wi::extended_tree <WIDEST_INT_MAX_PRECISION * 2> >
6573inline const HOST_WIDE_INT *
6608inline const HOST_WIDE_INT *
6625 poly_int <NUM_POLY_INT_COEFFS, generic_wide_int <wi::unextended_tree> > res;
6640 generic_wide_int <widest_extended_tree> > res;
6657 generic_wide_int <offset_extended_tree> > res;
6677inline generic_wide_int <wi::extended_tree <N> >
6678wi::ints_for <generic_wide_int <wi::extended_tree <N> >,
6685inline generic_wide_int <wi::extended_tree <N> >
6686wi::ints_for <generic_wide_int <wi::extended_tree <N> >,
6692inline generic_wide_int <wi::unextended_tree>
6693wi::ints_for <generic_wide_int <wi::unextended_tree>,
6701 template <
typename T>
6704 template <
typename T>
6709#ifndef GENERATOR_FILE
6714template <
typename T>
6723template <
typename T>
6795 tree *, machine_mode *,
int *,
int *,
int *);
6879class builtin_structptr_type
6901 return name0 == name1;
6906template <
typename... F>
6948template <
typename... F>
6989 location_t m_operator_loc;
6990 location_t m_combined_loc;
6993 op_location_t (location_t combined_loc)
6999 op_location_t (location_t operator_loc, location_t combined_loc)
7000 : m_operator_loc (operator_loc), m_combined_loc (combined_loc)
7004 operator location_t ()
const {
return m_combined_loc; }
7031 ATTRIBUTE_NONNULL (1);
void gt_pch_nx(bbitmap< N > *)
Definition bbitmap.h:226
void gt_ggc_mx(bbitmap< N > *)
Definition bbitmap.h:220
auto_suppress_location_wrappers()
Definition tree.h:1372
~auto_suppress_location_wrappers()
Definition tree.h:1373
tree & base
Definition tree.h:6814
const char * str
Definition tree.h:6815
tree & node
Definition tree.h:6813
code_helper(tree_code code)
Definition tree.h:84
tree_code safe_as_tree_code() const
Definition tree.h:112
bool is_internal_fn() const
Definition tree.h:137
code_helper()
Definition tree.h:83
bool operator!=(const code_helper &other)
Definition tree.h:99
code_helper(internal_fn fn)
Definition tree.h:86
bool is_fn_code() const
Definition tree.h:92
bool operator==(const code_helper &other)
Definition tree.h:98
int rep
Definition tree.h:104
code_helper(combined_fn fn)
Definition tree.h:85
int get_rep() const
Definition tree.h:95
bool is_tree_code() const
Definition tree.h:91
bool is_builtin_fn() const
Definition tree.h:143
combined_fn safe_as_fn_code() const
Definition tree.h:122
Definition genmatch.cc:1506
Definition wide-int.h:776
hashval_t end() const
Definition inchash.h:49
op_location_t(location_t operator_loc, location_t combined_loc)
Definition tree.h:6930
op_location_t(location_t combined_loc)
Definition tree.h:6924
location_t m_operator_loc
Definition tree.h:6920
location_t m_combined_loc
Definition tree.h:6921
Definition poly-int.h:378
C coeffs[N]
Definition poly-int.h:433
tree * end()
Definition tree.h:4797
tree v
Definition tree.h:4793
tree_vec_range(tree v)
Definition tree.h:4795
tree * begin()
Definition tree.h:4796
unsigned int get_precision() const
Definition tree.h:6498
const_tree m_t
Definition tree.h:6306
extended_tree(const_tree)
Definition tree.h:6490
const_tree get_tree() const
Definition tree.h:6315
extended_tree()
Definition tree.h:6309
const HOST_WIDE_INT * get_val() const
Definition tree.h:6505
unsigned int get_len() const
Definition tree.h:6512
Definition wide-int.h:707
const_tree get_tree() const
Definition tree.h:6290
unextended_tree()
Definition tree.h:6284
unsigned int get_len() const
Definition tree.h:6546
unextended_tree(const_tree t)
Definition tree.h:6285
unsigned int get_precision() const
Definition tree.h:6534
const HOST_WIDE_INT * get_val() const
Definition tree.h:6540
const_tree m_t
Definition tree.h:6281
static wide_int from(const wide_int_ref &, unsigned int, signop)
Definition wide-int.h:1289
struct rtx_def * rtx
Definition coretypes.h:57
tls_model
Definition coretypes.h:208
excess_precision_type
Definition coretypes.h:450
const union tree_node * const_tree
Definition coretypes.h:98
#define GTY(x)
Definition coretypes.h:41
void(* gt_pointer_operator)(void *, void *, void *)
Definition coretypes.h:473
class bitmap_head * bitmap
Definition coretypes.h:51
union tree_node * tree
Definition coretypes.h:97
void ATTRIBUTE_NORETURN
Definition diagnostic-core.h:108
void copy_warning(location_t to, location_t from)
Definition diagnostic-spec.cc:206
bool warning_suppressed_at(location_t loc, opt_code opt)
Definition diagnostic-spec.cc:126
bool suppress_warning_at(location_t loc, opt_code opt, bool supp)
Definition diagnostic-spec.cc:149
void put_warning_spec_at(location_t loc, unsigned bits)
Definition diagnostic-spec.cc:185
scalar_int_mode word_mode
Definition emit-rtl.cc:78
void set_decl_rtl(tree t, rtx x)
Definition emit-rtl.cc:1447
tree get_inner_reference(tree exp, poly_int64 *pbitsize, poly_int64 *pbitpos, tree *poffset, machine_mode *pmode, int *punsignedp, int *preversep, int *pvolatilep)
Definition expr.cc:8405
bool complete_ctor_at_level_p(const_tree type, HOST_WIDE_INT num_elts, const_tree last_type)
Definition expr.cc:7327
tree build_personality_function(const char *lang)
Definition expr.cc:14125
static vector< name_map > names
Definition gcov.cc:594
static type_p type(options_p *optsp, bool nested)
Definition gengtype-parse.cc:883
static struct token T
Definition gengtype-parse.cc:45
static class line_maps * line_table
Definition genmatch.cc:65
built_in_function
Definition genmatch.cc:1009
combined_fn
Definition genmatch.cc:1020
internal_fn
Definition genmatch.cc:1015
tree_code
Definition genmatch.cc:1002
#define NUM_POLY_INT_COEFFS
Definition genmodes.cc:859
#define N
Definition gensupport.cc:202
bool ggc_marked_p(const void *p)
Definition ggc-page.cc:1608
void suppress_warning(gimple *, opt_code=all_warnings, bool=true) ATTRIBUTE_NONNULL(1)
Definition warning-control.cc:173
bool warning_suppressed_p(const gimple *, opt_code=all_warnings) ATTRIBUTE_NONNULL(1)
Definition warning-control.cc:138
int exact_log2(unsigned HOST_WIDE_INT x)
Definition hwint.cc:75
bool pow2p_hwi(unsigned HOST_WIDE_INT x)
Definition hwint.h:179
#define HOST_WIDE_INT_M1U
Definition hwint.h:72
#define HOST_WIDE_INT_1U
Definition hwint.h:70
bool int_n_enabled_p[NUM_INT_N_ENTS]
Definition tree.cc:288
ALWAYS_INLINE poly_uint16 GET_MODE_PRECISION(machine_mode mode)
Definition machmode.h:710
Definition fold-const.cc:4338
void add_expr(const_tree t, inchash::hash &hstate, unsigned int flags)
Definition fold-const.cc:4346
Definition double-int.h:439
precision_type
Definition wide-int.h:387
@ INL_CONST_PRECISION
Definition wide-int.h:398
@ VAR_PRECISION
Definition wide-int.h:394
@ CONST_PRECISION
Definition wide-int.h:402
wide_int min_value(machine_mode, signop)
Definition rtl.h:2346
const poly_int< NUM_POLY_INT_COEFFS, generic_wide_int< unextended_tree > > tree_to_poly_wide_ref
Definition tree.h:6350
tree_to_offset_ref to_offset(const_tree)
Definition tree.h:6443
tree_to_poly_offset_ref to_poly_offset(const_tree)
Definition tree.h:6583
int cmps(const T1 &, const T2 &)
Definition wide-int.h:2444
const generic_wide_int< widest_extended_tree > tree_to_widest_ref
Definition tree.h:6332
UNARY_FUNCTION zext(const T &, unsigned int)
extended_tree< ADDR_MAX_PRECISION > offset_extended_tree
Definition tree.h:6330
tree_to_poly_widest_ref to_poly_widest(const_tree)
Definition tree.h:6566
bool fits_to_tree_p(const T &x, const_tree)
Definition tree.h:6656
const generic_wide_int< wide_int_ref_storage< false, false > > tree_to_wide_ref
Definition tree.h:6335
const generic_wide_int< offset_extended_tree > tree_to_offset_ref
Definition tree.h:6333
hwi_with_prec zero(unsigned int)
Definition wide-int.h:2018
const poly_int< NUM_POLY_INT_COEFFS, generic_wide_int< offset_extended_tree > > tree_to_poly_offset_ref
Definition tree.h:6347
tree_to_widest_ref to_widest(const_tree)
Definition tree.h:6418
rtx_to_poly_wide_ref to_poly_wide(const_rtx, machine_mode)
Definition rtl.h:2391
Ca unsigned int precision
Definition poly-int.h:746
wide_int from_mpz(const_tree, mpz_t, bool)
Definition wide-int.cc:253
bool fits_to_boolean_p(const T &x, const_tree)
Definition tree.h:6647
wide_int max_value(machine_mode, signop)
Definition rtl.h:2354
extended_tree< WIDEST_INT_MAX_PRECISION > widest_extended_tree
Definition tree.h:6329
tree_to_wide_ref to_wide(const_tree)
Definition tree.h:6473
UNARY_FUNCTION sext(const T &, unsigned int)
const poly_int< NUM_POLY_INT_COEFFS, generic_wide_int< widest_extended_tree > > tree_to_poly_widest_ref
Definition tree.h:6344
i
Definition poly-int.h:750
poly_int< NUM_POLY_INT_COEFFS, unsigned HOST_WIDE_INT > poly_uint64
Definition poly-int-types.h:25
poly_int< NUM_POLY_INT_COEFFS, wide_int_ref > poly_wide_int_ref
Definition poly-int-types.h:28
poly_int< NUM_POLY_INT_COEFFS, HOST_WIDE_INT > poly_int64
Definition poly-int-types.h:24
i
Definition poly-int.h:776
Ca const poly_int< N, Cb > & b
Definition poly-int.h:771
Ca & a
Definition poly-int.h:770
signop
Definition signop.h:28
#define PASS_MEM_STAT
Definition statistics.h:54
#define CXX_MEM_STAT_INFO
Definition statistics.h:58
Definition tree-loop-distribution.cc:240
Definition lra-remat.cc:89
Definition genautomata.cc:499
Definition double-int.h:50
Definition hash-traits.h:328
Definition hash-traits.h:321
tree signed_type
Definition tree.h:6732
tree unsigned_type
Definition tree.h:6733
poly_coeff_traits< T >::int_type int_type
Definition poly-int.h:198
Definition hash-map-traits.h:104
Definition hash-map-traits.h:33
static hashval_t hash(tree)
Definition tree.h:5997
static bool equal(tree_decl_map *a, tree_decl_map *b)
Definition tree.h:5951
static hashval_t hash(tree_decl_map *m)
Definition tree.h:5949
static int keep_cache_entry(tree_decl_map *&m)
Definition tree.h:5957
static hashval_t hash(tree)
Definition tree.h:6035
Definition tree-core.h:1571
static hashval_t hash(tree)
Definition tree.h:6023
static hashval_t hash(tree)
Definition tree.h:6009
static hashval_t hash(tree_vec_map *m)
Definition tree.h:5973
static bool equal(tree_vec_map *a, tree_vec_map *b)
Definition tree.h:5976
static int keep_cache_entry(tree_vec_map *&m)
Definition tree.h:5982
Definition gengtype.h:252
static const bool is_sign_extended
Definition tree.h:6324
static const unsigned int precision
Definition tree.h:6326
static const bool needs_write_val_arg
Definition tree.h:6325
static const bool host_dependent_precision
Definition tree.h:6323
static enum precision_type precision_type
Definition tree.h:6322
static enum precision_type precision_type
Definition tree.h:6296
static const bool is_sign_extended
Definition tree.h:6298
static const bool needs_write_val_arg
Definition tree.h:6299
static const bool host_dependent_precision
Definition tree.h:6297
Definition wide-int.h:427
generic_wide_int< extended_tree< N > > extended
Definition tree.h:6366
static extended zero(const extended &)
static extended zero(const extended &)
generic_wide_int< extended_tree< N > > extended
Definition tree.h:6359
generic_wide_int< unextended_tree > unextended
Definition tree.h:6373
static unextended zero(const unextended &)
Definition wide-int.h:2043
static int zero(const T &)
Definition wide-int.h:2044
#define NULL
Definition system.h:50
#define gcc_assert(EXPR)
Definition system.h:814
#define gcc_unreachable()
Definition system.h:841
#define WARN_UNUSED_RESULT
Definition system.h:833
#define CONST_CAST_TREE(X)
Definition system.h:1194
#define CONST_CAST(TYPE, X)
Definition system.h:1193
#define STATIC_ASSERT(X)
Definition system.h:864
#define DEBUG_FUNCTION
Definition system.h:1236
#define gcc_checking_assert(EXPR)
Definition system.h:821
tree(* walk_tree_fn)(tree *, int *, void *)
Definition tree-core.h:1085
@ END_BUILTINS
Definition tree-core.h:3502
omp_clause_code
Definition tree-core.h:250
built_in_class
Definition tree-core.h:165
@ NOT_BUILT_IN
Definition tree-core.h:166
@ BUILT_IN_FRONTEND
Definition tree-core.h:167
@ BUILT_IN_NORMAL
Definition tree-core.h:169
@ BUILT_IN_MD
Definition tree-core.h:168
tree_code_class
Definition tree-core.h:226
@ tcc_comparison
Definition tree-core.h:233
@ tcc_expression
Definition tree-core.h:240
@ tcc_type
Definition tree-core.h:230
tree_node_structure_enum
Definition tree-core.h:594
unsigned short priority_type
Definition tree-core.h:1082
clobber_kind
Definition tree-core.h:1054
@ CLOBBER_UNDEF
Definition tree-core.h:1056
#define NUM_TREE_CODES
Definition tree-core.h:156
@ MAX_TREE_CODES
Definition tree-core.h:149
tree(* walk_tree_lh)(tree *, int *, tree(*)(tree *, int *, void *), void *, hash_set< tree > *)
Definition tree-core.h:1088
int suppress_location_wrappers
Definition tree.cc:14841
tree arg_size_in_bytes(const_tree type)
Definition tree.cc:15000
poly_int64 tree_to_poly_int64(const_tree t)
Definition tree.cc:3393
bool tree_fits_poly_int64_p(const_tree t)
Definition tree.cc:6533
bool flexible_array_type_p(const_tree type)
Definition tree.cc:14958
tree get_attr_nonstring_decl(tree expr, tree *ref)
Definition tree.cc:15282
bool tree_fits_uhwi_p(const_tree t)
Definition tree.cc:6552
unsigned const char omp_clause_num_ops[]
Definition tree.cc:294
tree build_zero_cst(tree type)
Definition tree.cc:2722
bool default_is_empty_record(const_tree type)
Definition tree.cc:14940
bool tree_fits_shwi_p(const_tree t)
Definition tree.cc:6522
bool nonnull_arg_p(const_tree arg)
Definition tree.cc:14696
location_t set_block(location_t loc, tree block)
Definition tree.cc:14759
bool expr_type_first_operand_type_p(tree_code code)
Definition tree.cc:15009
const builtin_structptr_type builtin_structptr_types[6]
Definition tree.cc:15090
HOST_WIDE_INT arg_int_size_in_bytes(const_tree type)
Definition tree.cc:14992
int get_target_clone_attr_len(tree arglist)
Definition tree.cc:15336
bool is_empty_type(const_tree type)
Definition tree.cc:14918
bool tree_fits_poly_uint64_p(const_tree t)
Definition tree.cc:6563
location_t set_source_range(tree expr, location_t start, location_t finish)
Definition tree.cc:14769
unsigned HOST_WIDE_INT tree_to_uhwi(const_tree t)
Definition tree.cc:6594
struct int_n_trees_t int_n_trees[NUM_INT_N_ENTS]
Definition tree.cc:289
bool tree_contains_struct[MAX_TREE_CODES][64]
Definition tree.cc:291
poly_uint64 tree_to_poly_uint64(const_tree t)
Definition tree.cc:3402
unsigned fndecl_dealloc_argno(tree fndecl)
Definition tree.cc:15220
HOST_WIDE_INT int_size_in_bytes(const_tree)
Definition tree.cc:3694
void decl_value_expr_insert(tree, tree)
Definition tree.cc:6057
int suppress_location_wrappers
Definition tree.cc:14841
void overwrite_decl_assembler_name(tree decl, tree name)
Definition tree.cc:802
void get_type_static_bounds(const_tree, mpz_t, mpz_t)
Definition tree.cc:8398
bool check_lang_type(const_tree cand, const_tree base)
Definition tree.cc:5610
special_array_member component_ref_sam_type(tree)
Definition tree.cc:13284
bool type_list_equal(const_tree, const_tree)
Definition tree.cc:6426
void build_common_tree_nodes(bool)
Definition tree.cc:9517
#define TYPE_NAME(NODE)
Definition tree.h:2309
bool is_lang_specific(const_tree t)
Definition tree.h:6075
tree strip_array_types(tree type)
Definition tree.h:5048
tree build_pointer_type(tree)
Definition tree.cc:7140
tree function_args_iter_cond(function_args_iterator *i)
Definition tree.h:5546
tree wide_int_to_tree(tree type, const poly_wide_int_ref &cst)
Definition tree.cc:1945
#define TREE_VALUE(NODE)
Definition tree.h:1222
poly_uint64 bit_field_offset(const_tree t)
Definition tree.h:5733
tree build4(enum tree_code, tree, tree, tree, tree, tree CXX_MEM_STAT_INFO)
tree build_vl_exp(enum tree_code, int CXX_MEM_STAT_INFO)
tree make_anon_name()
Definition tree.cc:8957
tree build3(enum tree_code, tree, tree, tree, tree CXX_MEM_STAT_INFO)
tree build_bitint_type(unsigned HOST_WIDE_INT, int)
Definition tree.cc:7298
tree build_constructor_from_vec(tree, const vec< tree, va_gc > *)
Definition tree.cc:2385
#define COMPLETE_TYPE_P(NODE)
Definition tree.h:708
unsigned int element_precision(const_tree)
Definition tree.cc:6908
const char * get_name(tree)
Definition tree.cc:11895
#define DECL_CONTEXT(NODE)
Definition tree.h:2796
bool operation_can_overflow(enum tree_code)
Definition tree.cc:6999
int allocate_decl_uid(void)
Definition tree.cc:1249
enum tree_code tree_code_for_canonical_type_merging(enum tree_code code)
Definition tree.h:5892
tree build_pointer_type_for_mode(tree, machine_mode, bool)
Definition tree.cc:7076
#define target_option_default_node
Definition tree.h:4686
tree unsigned_type_for(tree)
Definition tree.cc:11297
#define DECL_ORIGINAL_TYPE(NODE)
Definition tree.h:3629
tree num_ending_zeros(const_tree)
Definition tree.cc:11460
tree signed_type_for(tree)
Definition tree.cc:11308
int tree_floor_log2(const_tree)
Definition tree.cc:3116
tree build_int_cst_type(tree, poly_int64)
Definition tree.cc:1602
bool operation_no_trapping_overflow(tree, enum tree_code)
Definition tree.cc:7029
tree make_tree(tree, rtx)
Definition expmed.cc:5387
tree build_block(tree, tree, tree, tree)
Definition tree.cc:5553
unsigned int tree_decl_map_hash(const void *)
Definition tree.cc:5920
tree max_object_size()
Definition tree.cc:15103
poly_uint64 TYPE_VECTOR_SUBPARTS(const_tree node)
Definition tree.h:4311
tree build_vector_type(tree, poly_int64)
Definition tree.cc:10362
#define optimization_default_node
Definition tree.h:4682
#define TREE_READONLY(NODE)
Definition tree.h:934
tree build_function_type_list(tree,...)
Definition tree.cc:7708
tree build_omp_clause(location_t, enum omp_clause_code)
Definition tree.cc:10844
#define DECL_FUNCTION_SPECIFIC_TARGET(NODE)
Definition tree.h:3582
tree build_minus_one_cst(tree)
Definition tree.cc:2681
tree size_in_bytes_loc(location_t, const_tree)
Definition tree.cc:3671
cst_size_error
Definition tree.h:5069
@ cst_size_too_big
Definition tree.h:5073
@ cst_size_not_constant
Definition tree.h:5071
@ cst_size_ok
Definition tree.h:5070
@ cst_size_overflow
Definition tree.h:5074
@ cst_size_negative
Definition tree.h:5072
tree get_containing_scope(const_tree)
Definition tree.cc:8595
tree build_vec_series(tree, tree, tree)
Definition tree.cc:2224
#define call_expr_nargs(NODE)
Definition tree.h:1484
tree build_nonstandard_integer_type(unsigned HOST_WIDE_INT, int)
Definition tree.cc:7234
tree get_narrower(tree, int *)
Definition tree.cc:8188
#define DECL_FIELD_BIT_OFFSET(NODE)
Definition tree.h:3074
tree obj_type_ref_class(const_tree ref, bool=false)
Definition ipa-devirt.cc:1918
bool tree_int_cst_lt(const_tree t1, const_tree t2)
Definition tree.h:6689
tree build1(enum tree_code, tree, tree CXX_MEM_STAT_INFO)
bool real_zerop(const_tree)
Definition tree.cc:3240
built_in_function as_builtin_fn(combined_fn code)
Definition tree.h:54
bool really_constant_p(const_tree)
Definition tree.cc:3352
bool needs_to_live_in_memory(const_tree)
Definition tree.cc:11205
#define TYPE_PRECISION(NODE)
Definition tree.h:2306
tree build_method_type_directly(tree, tree, tree)
Definition tree.cc:7781
bool zerop(const_tree)
Definition tree.cc:2926
#define TREE_INT_CST_NUNITS(NODE)
Definition tree.h:1138
unsigned int vector_cst_encoded_nelts(const_tree t)
Definition tree.h:4723
built_in_function DECL_FUNCTION_CODE(const_tree decl)
Definition tree.h:4386
tree drop_tree_overflow(tree)
Definition tree.cc:12914
#define EXPR_CHECK(T)
Definition tree.h:500
tree build_offset_type(tree, tree)
Definition tree.cc:7857
tree build_alloca_call_expr(tree, unsigned int, HOST_WIDE_INT)
Definition tree.cc:11115
bool integer_all_onesp(const_tree)
Definition tree.cc:3002
#define TREE_OPERAND(NODE, I)
Definition tree.h:1300
tree maybe_build_call_expr_loc(location_t, combined_fn, tree, int,...)
Definition tree.cc:11076
unsigned crc32_unsigned_n(unsigned, unsigned, unsigned)
Definition tree.cc:8895
tree build_varargs_function_type_list(tree,...)
Definition tree.cc:7725
tree build_call_expr_loc_vec(location_t, tree, vec< tree, va_gc > *)
Definition tree.cc:10991
int tree_int_cst_sgn(const_tree)
Definition tree.cc:6615
poly_uint64 bit_field_size(const_tree t)
Definition tree.h:5724
bool poly_int_tree_p(const_tree t, poly_int64 *value)
Definition tree.h:5084
void free_node(tree)
Definition tree.cc:1373
#define DECL_NAME(NODE)
Definition tree.h:2744
bool canonical_type_used_p(const_tree t)
Definition tree.h:5922
tree build_optimization_node(struct gcc_options *opts, struct gcc_options *opts_set)
Definition tree.cc:12087
tree save_expr(tree)
Definition tree.cc:4047
tree build_constructor_from_list(tree, tree)
Definition tree.cc:2365
void protected_set_expr_location(tree, location_t)
Definition tree.cc:5570
const char * get_tree_code_name(enum tree_code)
Definition tree.cc:12895
tree decl_function_context(const_tree)
Definition tree.cc:8619
priority_type decl_init_priority_lookup(tree)
Definition tree.cc:5928
void decl_init_priority_insert(tree, priority_type)
Definition tree.cc:5954
#define IS_EXPR_CODE_CLASS(CLASS)
Definition tree.h:293
void put_warning_spec(tree, unsigned)
Definition warning-control.cc:280
HOST_WIDE_INT max_int_size_in_bytes(const_tree)
Definition tree.cc:3714
tree build_reference_type(tree)
Definition tree.cc:7212
bool tree_invariant_p(tree)
Definition tree.cc:4018
tree tree_last(tree)
Definition tree.cc:3569
void recompute_constructor_flags(tree)
Definition tree.cc:2287
tree byte_position(const_tree)
Definition tree.cc:3757
tree build_vector_from_ctor(tree, const vec< constructor_elt, va_gc > *)
Definition tree.cc:2136
tree signed_or_unsigned_type_for(int, tree)
Definition tree.cc:11245
tree build4_loc(location_t loc, enum tree_code code, tree type, tree arg0, tree arg1, tree arg2, tree arg3 CXX_MEM_STAT_INFO)
Definition tree.h:4847
void decl_fini_priority_insert(tree, priority_type)
Definition tree.cc:5974
bool type_with_interoperable_signedness(const_tree)
Definition tree.cc:13881
tree build_call_valist(tree, tree, int, va_list)
Definition tree.cc:10927
tree build_replicated_int_cst(tree, unsigned, HOST_WIDE_INT)
tree build_truth_vector_type_for_mode(poly_uint64, machine_mode)
Definition tree.cc:10370
void DEBUG_FUNCTION verify_type(const_tree t)
Definition tree.cc:14254
tree build_debug_expr_decl(tree type)
Definition tree.cc:5507
bool block_may_fallthru(const_tree)
Definition tree.cc:12802
int struct_ptr_eq(const void *a, const void *b)
Definition tree.h:5654
bool contains_placeholder_p(const_tree)
Definition tree.cc:4203
#define DECL_FUNCTION_SPECIFIC_OPTIMIZATION(NODE)
Definition tree.h:3587
#define AGGREGATE_TYPE_P(TYPE)
Definition tree.h:693
int tree_map_base_eq(const void *, const void *)
Definition tree.cc:5884
#define sizetype
Definition tree.h:5182
bool maybe_special_function_p(const_tree fndecl)
Definition tree.h:6205
tree * function_args_iter_cond_ptr(function_args_iterator *i)
Definition tree.h:5537
#define TREE_VEC_BEGIN(NODE)
Definition tree.h:1226
tree build_array_type_nelts(tree, poly_uint64)
Definition tree.cc:7528
bool ptrofftype_p(tree type)
Definition tree.h:5694
tree first_call_expr_arg(tree exp, call_expr_arg_iterator *iter)
Definition tree.h:6042
void tree_set_block(tree, tree)
Definition tree.cc:11862
combined_fn get_call_combined_fn(const_tree)
Definition tree.cc:8782
enum tree_node_structure_enum tree_node_structure(const_tree)
Definition tree.cc:4163
tree build_case_label(tree, tree, tree)
Definition tree.cc:2843
tree build2_loc(location_t loc, enum tree_code code, tree type, tree arg0, tree arg1 CXX_MEM_STAT_INFO)
Definition tree.h:4827
#define TREE_INT_CST_LOW(NODE)
Definition tree.h:1143
tree build_vector_type_for_mode(tree, machine_mode)
Definition tree.cc:10327
tree builtin_decl_unreachable()
Definition tree.cc:11143
int simple_cst_equal(const_tree, const_tree)
Definition tree.cc:6659
bitmap get_nonnull_args(const_tree)
Definition tree.cc:14863
enum tls_model decl_tls_model(const_tree)
Definition tree.cc:997
tree array_type_nelts_top(tree)
Definition tree.cc:3814
bool tree_map_base_marked_p(const void *)
Definition tree.cc:5904
bool tree_zero_one_valued_p(tree)
unsigned int tree_int_cst_min_precision(tree, signop)
Definition tree.cc:6631
tree block_ultimate_origin(const_tree)
Definition tree.cc:12155
tree build3_loc(location_t loc, enum tree_code code, tree type, tree arg0, tree arg1, tree arg2 CXX_MEM_STAT_INFO)
Definition tree.h:4837
tree build_variant_type_copy(tree CXX_MEM_STAT_INFO)
#define TREE_OPTIMIZATION(NODE)
Definition tree.h:3659
tree build_nonshared_array_type(tree, tree)
Definition tree.cc:7519
bool warn_deprecated_use(tree, tree)
Definition tree.cc:12556
tree build_empty_stmt(location_t)
Definition tree.cc:10832
bool inlined_function_outer_scope_p(const_tree block)
Definition tree.h:5565
tree build_array_type_1(tree, tree, bool, bool, bool)
Definition tree.cc:7454
poly_int64 tree_to_poly_int64(const_tree) ATTRIBUTE_NONNULL(1) ATTRIBUTE_PURE
Definition tree.cc:3393
void function_args_iter_init(function_args_iterator *i, const_tree fntype)
Definition tree.h:5528
#define tree_decl_map_eq
Definition tree.h:5943
bool tree_fits_uhwi_p(const_tree) ATTRIBUTE_PURE
Definition tree.cc:6552
bool builtin_fn_p(combined_fn code)
Definition tree.h:45
bool commutative_ternary_tree_code(enum tree_code)
Definition genmatch.cc:1074
tree build_function_type_array(tree, int, tree *)
Definition tree.cc:7760
location_t * block_nonartificial_location(tree)
Definition tree.cc:11964
bool type_has_mode_precision_p(const_tree t)
Definition tree.h:6822
bool typedef_variant_p(const_tree type)
Definition tree.h:5644
ATTRIBUTE_WARN_UNUSED_RESULT tree protected_set_expr_location_unshare(tree, location_t)
Definition fold-const.cc:238
bool commutative_tree_code(enum tree_code)
Definition genmatch.cc:1037
bool integer_truep(const_tree)
Definition tree.cc:3079
tree create_artificial_label(location_t)
Definition tree.cc:11879
void assign_assembler_name_if_needed(tree)
Definition tree.cc:891
tree decl_value_expr_lookup(tree)
Definition tree.cc:6043
void function_args_iter_next(function_args_iterator *i)
Definition tree.h:5553
#define TREE_CODE_CLASS(CODE)
Definition tree.h:202
HOST_WIDE_INT int_bit_position(const_tree field)
Definition tree.h:6745
hashval_t struct_ptr_hash(const void *a)
Definition tree.h:5662
bool desired_pro_or_demotion_p(const_tree to_type, const_tree from_type)
Definition tree.h:6796
tree bit_position(const_tree)
Definition tree.cc:3747
bool decl_address_invariant_p(const_tree)
Definition tree.cc:3894
tree build_poly_int_cst(tree, const poly_wide_int_ref &)
Definition tree.cc:1919
unsigned crc32_string(unsigned, const char *)
Definition tree.cc:8925
tree build_tree_list(tree, tree CXX_MEM_STAT_INFO)
#define BLOCK_SOURCE_LOCATION(NODE)
Definition tree.h:2278
constexpr opt_code all_warnings
Definition tree.h:6942
bool real_minus_onep(const_tree)
Definition tree.cc:3299
unsigned HOST_WIDE_INT tree_to_uhwi(const_tree) ATTRIBUTE_NONNULL(1) ATTRIBUTE_PURE
Definition tree.cc:6594
vec< tree, va_gc > ** decl_debug_args_lookup(tree)
Definition tree.cc:6074
tree skip_simple_constant_arithmetic(tree)
Definition tree.cc:4135
void set_decl_tls_model(tree, enum tls_model)
Definition tree.cc:1007
bool valid_constant_size_p(const_tree, cst_size_error *=NULL)
Definition tree.cc:6860
#define DECL_UNCHECKED_FUNCTION_CODE(NODE)
Definition tree.h:2888
tree first_field(const_tree) ATTRIBUTE_NONNULL(1)
Definition tree.cc:3510
bool tree_fits_shwi_p(const_tree) ATTRIBUTE_PURE
Definition tree.cc:6522
void clean_symbol_name(char *)
Definition tree.cc:8937
void SET_TYPE_VECTOR_SUBPARTS(tree node, poly_uint64 subparts)
Definition tree.h:4333
const_tree get_ultimate_context(const_tree)
Definition tree.cc:8603
bool auto_var_p(const_tree)
Definition tree.cc:8427
tree stabilize_reference(tree)
Definition tree.cc:4934
void using_eh_for_cleanups(void)
Definition tree.cc:12881
tree tree_strip_any_location_wrapper(tree exp)
Definition tree.h:4469
tree build_fn_decl(const char *, tree)
Definition tree.cc:5519
bool error_operand_p(const_tree t)
Definition tree.h:4714
tree sign_mask_for(tree)
Definition tree.cc:2793
tree build5_loc(location_t loc, enum tree_code code, tree type, tree arg0, tree arg1, tree arg2, tree arg3, tree arg4 CXX_MEM_STAT_INFO)
Definition tree.h:4857
unsigned int tree_map_hash(const void *)
Definition tree.cc:5912
size_t tree_size(const_tree)
Definition tree.cc:1139
tree lhd_gcc_personality(void)
Definition tree.cc:12365
void set_decl_built_in_function(tree decl, built_in_class fclass, unsigned int fcode)
Definition tree.h:4418
tree vector_cst_elt(const_tree, unsigned int)
Definition tree.cc:10469
bool more_call_expr_args_p(const call_expr_arg_iterator *iter)
Definition tree.h:6058
bool integer_minus_onep(const_tree)
Definition tree.cc:3027
#define IDENTIFIER_LENGTH(NODE)
Definition tree.h:1206
bool built_in_function_equal_p(built_in_function name0, built_in_function name1)
Definition tree.h:6830
bool is_truth_type_for(tree, tree)
Definition tree.cc:11321
tree type_argument_type(const_tree, unsigned) ATTRIBUTE_NONNULL(1)
Definition tree.cc:6467
#define TYPE_UNSIGNED(NODE)
Definition tree.h:949
size_t tree_code_size(enum tree_code)
Definition tree.cc:1026
tree build_complex_type(tree, bool named=false)
Definition tree.cc:7903
#define TREE_CODE(NODE)
Definition tree.h:324
tree build_aligned_type(tree, unsigned int)
Definition tree.cc:5804
bool integer_each_onep(const_tree)
Definition tree.cc:2986
tree build_vector_from_val(tree, tree)
Definition tree.cc:2173
bool handled_component_p(const_tree t)
Definition tree.h:5428
#define TYPE_MODE(NODE)
Definition tree.h:2315
tree cache_integer_cst(tree, bool might_duplicate=false)
Definition tree.cc:1960
tree build_function_type(tree, tree, bool=false)
Definition tree.cc:7615
tree build_real_from_int_cst(tree, const_tree)
Definition tree.cc:2520
tree skip_simple_arithmetic(tree)
Definition tree.cc:4088
tree build_each_one_cst(tree)
Definition tree.cc:2613
tree uniform_vector_p(const_tree)
Definition tree.cc:10673
tree array_ref_up_bound(tree)
Definition tree.cc:13037
unsigned crc32_byte(unsigned chksum, char byte)
Definition tree.h:5595
bool integer_zerop(const_tree)
Definition tree.cc:2937
tree build_complex_inf(tree, bool)
Definition tree.cc:2600
tree tree_strip_sign_nop_conversions(tree)
Definition tree.cc:12264
tree decl_comdat_group_id(const_tree)
Definition tree.cc:929
tree build_clobber(tree, enum clobber_kind=CLOBBER_UNDEF)
Definition tree.cc:2419
tree build_string(unsigned, const char *=NULL)
Definition tree.cc:2553
#define TYPE_SIGN(NODE)
Definition tree.h:952
tree build_call_nary(tree, tree, int,...)
Definition tree.cc:10912
bool builtin_decl_declared_p(enum built_in_function fncode)
Definition tree.h:6185
generic_wide_int< wi::extended_tree< WIDEST_INT_MAX_PRECISION *2 > > widest2_int_cst
Definition tree.h:6381
tree component_ref_size(tree, special_array_member *=NULL)
Definition tree.cc:13357
tree make_node(enum tree_code CXX_MEM_STAT_INFO)
void build_common_builtin_nodes(void)
Definition tree.cc:9940
tree build_builtin_unreachable(location_t)
Definition tree.cc:11161
bool array_ref_flexible_size_p(tree, bool *=NULL)
Definition tree.cc:13071
const char * combined_fn_name(combined_fn)
Definition tree.cc:14846
bool truth_value_p(enum tree_code code)
Definition tree.h:5683
int DECL_FE_FUNCTION_CODE(const_tree decl)
Definition tree.h:4408
#define FUNCTION_DECL_DECL_TYPE(NODE)
Definition tree.h:3416
unsigned int tree_ctz(const_tree)
Definition tree.cc:3128
#define EXPR_LOCATION(NODE)
Definition tree.h:1325
int tree_int_cst_sign_bit(const_tree)
Definition tree.cc:6603
source_range get_expr_source_range(tree expr)
Definition tree.h:1350
#define POINTER_TYPE_P(TYPE)
Definition tree.h:700
tree build_vector_a_then_b(tree, unsigned int, tree, tree)
Definition tree.cc:2270
unsigned int tree_map_base_hash(const void *)
Definition tree.cc:5894
bool decl_address_ip_invariant_p(const_tree)
Definition tree.cc:3931
tree get_typenode_from_name(const char *)
Definition tree.cc:15051
#define CAN_HAVE_LOCATION_P(NODE)
Definition tree.h:1347
#define TREE_TARGET_OPTION(NODE)
Definition tree.h:3673
void find_placeholder_in_expr(tree, vec< tree > *)
Definition tree.cc:4405
#define SSA_NAME_VERSION(NODE)
Definition tree.h:2162
tree decl_type_context(const_tree)
Definition tree.cc:8655
#define TYPE_P(NODE)
Definition tree.h:226
location_t tree_inlined_location(tree, bool=true)
Definition tree.cc:12013
bool operand_equal_for_phi_arg_p(const_tree, const_tree)
Definition tree.cc:11448
tree component_ref_field_offset(tree)
Definition tree.cc:13229
hashval_t iterative_hash_expr(const_tree tree, hashval_t seed)
Definition tree.h:5763
tree upper_bound_in_type(tree, tree)
Definition tree.cc:11362
tree uniform_integer_cst_p(tree)
Definition tree.cc:10725
void set_decl_section_name(tree, const char *)
Definition tree.cc:951
const_tree first_const_call_expr_arg(const_tree exp, const_call_expr_arg_iterator *iter)
Definition tree.h:6049
void set_builtin_decl_implicit_p(enum built_in_function fncode, bool implicit_p)
Definition tree.h:6137
tree decl_comdat_group(const_tree)
Definition tree.cc:919
void recompute_tree_invariant_for_addr_expr(tree)
Definition tree.cc:5015
tree strip_float_extensions(tree)
Definition tree.cc:12273
unsigned get_warning_spec(const_tree)
Definition warning-control.cc:271
tree reconstruct_complex_type(tree, tree)
Definition tree.cc:10274
tree staticp(tree)
Definition tree.cc:3827
tree build_range_type(tree, tree, tree)
Definition tree.cc:7379
void tree_cc_finalize(void)
Definition tree.cc:15359
vec< tree, va_gc > ** decl_debug_args_insert(tree)
Definition tree.cc:6092
#define TREE_CHAIN(NODE)
Definition tree.h:511
bool variably_modified_type_p(tree, tree)
Definition tree.cc:8480
bool builtin_decl_implicit_p(enum built_in_function fncode)
Definition tree.h:6173
tree build_all_ones_cst(tree)
Definition tree.cc:2666
bool fndecl_built_in_p(const_tree node)
Definition tree.h:6851
tree build_call_expr_internal_loc_array(location_t, enum internal_fn, tree, int, const tree *)
bool initializer_zerop(const_tree, bool *=NULL)
Definition tree.cc:10500
tree builtin_decl_explicit(enum built_in_function fncode)
Definition tree.h:6093
bool vec_member(const_tree, vec< tree, va_gc > *)
Definition tree.cc:3443
tree strip_zero_offset_components(tree)
Definition tree.cc:12351
#define VL_EXP_CLASS_P(NODE)
Definition tree.h:277
bool stdarg_p(const_tree)
Definition tree.cc:11925
tree build_complex(tree, tree, tree)
Definition tree.cc:2581
location_t tree_nonartificial_location(tree)
Definition tree.cc:11997
tree build_constructor_va(tree, int,...)
Definition tree.cc:2399
bool tree_nop_conversion_p(const_tree, const_tree)
Definition tree.cc:12174
int get_range_pos_neg(tree)
Definition tree.cc:14614
#define IDENTIFIER_POINTER(NODE)
Definition tree.h:1208
tree walk_tree_without_duplicates_1(tree *, walk_tree_fn, void *, walk_tree_lh)
Definition tree.cc:11839
tree value_member(tree, tree)
Definition tree.cc:3414
#define BUILTIN_VALID_P(FNCODE)
Definition tree.h:6081
tree grow_tree_vec(tree v, int CXX_MEM_STAT_INFO)
int type_num_arguments(const_tree)
Definition tree.cc:6446
bool valid_new_delete_pair_p(tree, tree, bool *=NULL)
Definition tree.cc:15130
constexpr opt_code no_warning
Definition tree.h:6940
#define POLY_INT_CST_P(NODE)
Definition tree.h:1148
void dump_tree_statistics(void)
Definition tree.cc:8827
#define TYPE_REVERSE_STORAGE_ORDER(NODE)
Definition tree.h:1089
tree vector_element_bits_tree(const_tree)
Definition tree.cc:13616
tree build_reference_type_for_mode(tree, machine_mode, bool)
Definition tree.cc:7148
#define TREE_STATIC(NODE)
Definition tree.h:772
int tree_int_cst_compare(const_tree t1, const_tree t2)
Definition tree.h:6708
tree builtin_decl_implicit(enum built_in_function fncode)
Definition tree.h:6102
bool integer_nonzerop(const_tree)
Definition tree.cc:3062
void set_call_expr_flags(tree, int)
Definition tree.cc:9877
#define CALL_EXPR_ARG(NODE, I)
Definition tree.h:1483
int DECL_MD_FUNCTION_CODE(const_tree decl)
Definition tree.h:4397
#define ANY_INTEGRAL_TYPE_P(TYPE)
Definition tree.h:622
tree build_opaque_vector_type(tree, poly_int64)
Definition tree.cc:10414
void set_builtin_decl(enum built_in_function fncode, tree decl, bool implicit_p)
Definition tree.h:6122
tree get_binfo_at_offset(tree, poly_int64, tree)
Definition tree.cc:12421
bool ptrdiff_tree_p(const_tree, poly_int64 *)
Definition tree.cc:3369
tree decl_assembler_name(tree)
Definition tree.cc:790
tree build_constructor_single(tree, tree, tree)
Definition tree.cc:2350
tree force_fit_type(tree, const poly_wide_int_ref &, int, bool)
Definition tree.cc:1633
#define TREE_INT_CST_ELT(NODE, I)
Definition tree.h:1142
tree tree_cons(tree, tree, tree CXX_MEM_STAT_INFO)
bool real_onep(const_tree)
Definition tree.cc:3273
bool initializer_each_zero_or_onep(const_tree)
Definition tree.cc:10634
#define DECL_EXTERNAL(NODE)
Definition tree.h:2933
bool builtin_decl_explicit_p(enum built_in_function fncode)
Definition tree.h:6164
tree size_in_bytes(const_tree t)
Definition tree.h:5169
tree build_nonstandard_boolean_type(unsigned HOST_WIDE_INT)
Definition tree.cc:7273
cl_target_option * target_opts_for_fn(const_tree fndecl)
Definition tree.h:6257
bool location_wrapper_p(const_tree exp)
Definition tree.h:4449
machine_mode element_mode(const_tree)
Definition tree.cc:13552
bool real_maybe_zerop(const_tree)
Definition tree.cc:3323
tree last_field(const_tree) ATTRIBUTE_NONNULL(1)
Definition tree.cc:3522
#define TREE_TYPE(NODE)
Definition tree.h:512
tree bitmask_inv_cst_vector_p(tree)
Definition tree.cc:10746
#define VL_EXP_OPERAND_LENGTH(NODE)
Definition tree.h:1307
#define INTEGRAL_TYPE_P(TYPE)
Definition tree.h:613
machine_mode vector_type_mode(const_tree)
Definition tree.cc:13571
tree type_hash_canon(unsigned int, tree)
Definition tree.cc:6348
tree build0(enum tree_code, tree CXX_MEM_STAT_INFO)
void copy_decl_built_in_function(tree newdecl, const_tree olddecl)
Definition tree.h:4429
tree build_uniform_cst(tree, tree)
Definition tree.cc:2211
#define DECL_BUILT_IN_CLASS(NODE)
Definition tree.h:3573
tree nreverse(tree)
Definition tree.cc:3582
tree build_call_array_loc(location_t, tree, tree, int, const tree *)
Definition tree.cc:10944
tree array_type_nelts_minus_one(const_tree)
Definition tree.cc:3777
bool reverse_storage_order_for_component_p(tree t)
Definition tree.h:5449
#define TREE_CODE_LENGTH(CODE)
Definition tree.h:301
tree build_zero_cst(tree)
Definition tree.cc:2722
tree purpose_member(const_tree, tree)
Definition tree.cc:3429
bool cst_and_fits_in_hwi(const_tree)
Definition tree.cc:2100
bool int_fits_type_p(const_tree, const_tree) ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_PURE
Definition tree.cc:8299
bool tree_fits_poly_uint64_p(const_tree) ATTRIBUTE_PURE
Definition tree.cc:6563
tree build_int_cst(tree, poly_int64)
Definition tree.cc:1582
unsigned int vector_element_bits(const_tree)
Definition tree.cc:13604
tree build_int_cstu(tree type, poly_uint64)
Definition tree.cc:1594
#define TREE_PUBLIC(NODE)
Definition tree.h:857
bool check_base_type(const_tree cand, const_tree base)
Definition tree.cc:5665
bool storage_order_barrier_p(const_tree t)
Definition tree.h:5487
tree chain_index(int, tree)
Definition tree.cc:3457
bool auto_var_in_fn_p(const_tree, const_tree)
Definition tree.cc:8438
tree build_index_type(tree)
Definition tree.cc:7402
bool associative_tree_code(enum tree_code)
Definition tree.cc:6922
tree build_call_expr_internal_loc(location_t, enum internal_fn, tree, int,...)
Definition tree.cc:11055
tree build_low_bits_mask(tree, unsigned)
Definition tree.cc:2088
tree build_call_expr_loc_array(location_t, tree, int, tree *)
Definition tree.cc:10978
#define TYPE_ARG_TYPES(NODE)
Definition tree.h:2590
bool integer_onep(const_tree)
Definition tree.cc:2961
HOST_WIDE_INT int_cst_value(const_tree)
Definition tree.cc:11217
bool complete_or_array_type_p(const_tree type)
Definition tree.h:5705
tree build_string_literal(unsigned, const char *=NULL, tree=char_type_node, unsigned HOST_WIDE_INT=HOST_WIDE_INT_M1U)
Definition tree.cc:11175
access_mode
Definition tree.h:5931
@ access_deferred
Definition tree.h:5936
@ access_none
Definition tree.h:5932
@ access_read_write
Definition tree.h:5935
@ access_write_only
Definition tree.h:5934
@ access_read_only
Definition tree.h:5933
tree get_qualified_type(tree, int)
Definition tree.cc:5723
wi::tree_to_poly_wide_ref poly_int_cst_value(const_tree x)
Definition tree.h:6554
bool is_access_with_size_p(const_tree)
Definition tree.cc:13528
#define EXPR_LOCATION_WRAPPER_P(NODE)
Definition tree.h:4442
bool internal_fn_p(combined_fn code)
Definition tree.h:63
#define DECL_UID(NODE)
Definition tree.h:2752
HOST_WIDE_INT tree_to_shwi(const_tree) ATTRIBUTE_NONNULL(1) ATTRIBUTE_PURE
Definition tree.cc:6583
unsigned crc32_unsigned(unsigned chksum, unsigned value)
Definition tree.h:5590
tree build_call_vec(tree, tree, const vec< tree, va_gc > *)
Definition tree.cc:10961
void init_ttree(void)
Definition tree.cc:757
tree tree_block(tree)
Definition tree.cc:11851
tree array_ref_low_bound(tree)
Definition tree.cc:13014
void decl_debug_expr_insert(tree, tree)
Definition tree.cc:6030
bool valid_vector_subparts_p(poly_uint64 subparts)
Definition tree.h:4369
tree tree_strip_nop_conversions(tree)
Definition tree.cc:12253
tree build1_loc(location_t loc, enum tree_code code, tree type, tree arg1 CXX_MEM_STAT_INFO)
Definition tree.h:4817
int tree_operand_length(const_tree node)
Definition tree.h:4239
hashval_t type_hash_canon_hash(tree)
Definition tree.cc:6117
bool type_with_alias_set_p(const_tree t)
Definition tree.h:6754
bool check_qualified_type(const_tree, const_tree, int)
Definition tree.cc:5692
tree make_int_cst(int, int CXX_MEM_STAT_INFO)
tree build_call_expr(tree, int,...)
Definition tree.cc:11020
#define REF_REVERSE_STORAGE_ORDER(NODE)
Definition tree.h:1107
bool tree_int_cst_le(const_tree t1, const_tree t2)
Definition tree.h:6698
tree build_distinct_type_copy(tree CXX_MEM_STAT_INFO)
bool types_same_for_odr(const_tree type1, const_tree type2)
Definition ipa-devirt.cc:361
tree build_varargs_function_type_array(tree, int, tree *)
Definition tree.cc:7770
tree build2(enum tree_code, tree, tree, tree CXX_MEM_STAT_INFO)
poly_uint64 tree_to_poly_uint64(const_tree) ATTRIBUTE_NONNULL(1) ATTRIBUTE_PURE
Definition tree.cc:3402
bool prototype_p(const_tree)
Definition tree.cc:11947
#define TREE_HASH(NODE)
Definition tree.h:550
tree copy_list(tree)
Definition tree.cc:1494
tree substitute_placeholder_in_expr(tree, tree)
Definition tree.cc:4671
tree build_call_expr_loc(location_t, tree, int,...)
Definition tree.cc:11003
#define DECL_NONALIASED(NODE)
Definition tree.h:3373
bool trunc_or_exact_div_p(tree_code code)
Definition tree.h:5676
tree build5(enum tree_code, tree, tree, tree, tree, tree, tree CXX_MEM_STAT_INFO)
void prepare_target_option_nodes_for_pch(void)
Definition tree.cc:12144
struct cl_optimization * opts_for_fn(const_tree fndecl)
Definition tree.h:6247
bool type_contains_placeholder_p(tree)
Definition tree.cc:4359
#define VECTOR_CST_NPATTERNS(NODE)
Definition tree.h:1190
bool id_equal(const_tree id, const char *str)
Definition tree.h:4297
special_array_member
Definition tree.h:5849
@ none
Definition tree.h:5850
@ int_0
Definition tree.h:5851
@ trail_0
Definition tree.h:5852
@ trail_n
Definition tree.h:5854
@ trail_1
Definition tree.h:5853
@ int_n
Definition tree.h:5855
#define error_mark_node
Definition tree.h:4477
tree build_nt_call_vec(tree, vec< tree, va_gc > *)
Definition tree.cc:5459
bool fixed_zerop(const_tree)
Definition tree.cc:3092
tree decl_debug_expr_lookup(tree)
Definition tree.cc:6016
const_tree strip_pointer_types(const_tree type)
Definition tree.h:5059
tree build_array_type(tree, tree, bool=false)
Definition tree.cc:7510
#define TREE_VEC_END(NODE)
Definition tree.h:1227
void protected_set_expr_location_if_unset(tree, location_t)
Definition tree.cc:5586
tree build_real_from_wide(tree, const wide_int_ref &, signop)
Definition tree.cc:2535
tree build_decl(location_t, enum tree_code, tree, tree CXX_MEM_STAT_INFO)
tree truth_type_for(tree)
Definition tree.cc:11346
tree substitute_in_expr(tree, tree, tree)
Definition tree.cc:4479
tree get_unwidened(tree, tree)
Definition tree.cc:8104
bool tree_fits_poly_int64_p(const_tree) ATTRIBUTE_PURE
Definition tree.cc:6533
tree build_nt(enum tree_code,...)
Definition tree.cc:5434
tree make_tree_vec(int CXX_MEM_STAT_INFO)
#define TREE_ADDRESSABLE(NODE)
Definition tree.h:744
bool is_typedef_decl(const_tree x)
Definition tree.h:5635
bool subrange_type_for_debug_p(const_tree, tree *, tree *)
Definition tree.cc:7413
#define SET_EXPR_LOCATION(NODE, LOCUS)
Definition tree.h:1327
tree build_method_type(tree, tree)
Definition tree.cc:7843
tree make_vector(unsigned, unsigned CXX_MEM_STAT_INFO)
internal_fn as_internal_fn(combined_fn code)
Definition tree.h:72
WARN_UNUSED_RESULT tree maybe_wrap_with_location(tree, location_t)
Definition tree.cc:14803
int single_nonzero_element(const_tree)
Definition tree.cc:10801
HOST_WIDE_INT int_byte_position(const_tree)
Definition tree.cc:3768
void verify_constructor_flags(tree)
Definition tree.cc:2315
tree copy_node(tree CXX_MEM_STAT_INFO)
void error_unavailable_use(tree, tree)
Definition tree.cc:12643
bool chain_member(const_tree, const_tree)
Definition tree.cc:3467
bool using_eh_for_cleanups_p(void)
Definition tree.cc:12888
#define DECL_FIELD_OFFSET(NODE)
Definition tree.h:3068
#define VECTOR_CST_NELTS_PER_PATTERN(NODE)
Definition tree.h:1192
bool integer_pow2p(const_tree)
Definition tree.cc:3042
combined_fn as_combined_fn(built_in_function fn)
Definition tree.h:29
void set_function_decl_type(tree decl, function_decl_type t, bool set)
Definition tree.h:3423
vec< tree, va_gc > * ctor_to_vec(tree)
Definition tree.cc:3651
#define NULL_TREE
Definition tree.h:317
bool gimple_canonical_types_compatible_p(const_tree, const_tree, bool trust_type_canonical=true)
Definition tree.cc:13902
tree make_tree_binfo(unsigned CXX_MEM_STAT_INFO)
tree lower_bound_in_type(tree, tree)
Definition tree.cc:11415
tree get_base_address(tree t)
Definition tree.cc:12967
tree get_file_function_name(const char *)
Definition tree.cc:8992
priority_type decl_fini_priority_lookup(tree)
Definition tree.cc:5941
tree get_callee_fndecl(const_tree)
Definition tree.cc:8692
const_tree strip_invariant_refs(const_tree)
Definition tree.cc:12321
int list_length(const_tree)
Definition tree.cc:3484
tree build_translation_unit_decl(tree)
Definition tree.cc:5538
tree build_nonshared_range_type(tree, tree, tree)
Definition tree.cc:7387
tree double_int_to_tree(tree, double_int)
Definition tree.cc:1612
tree build_tree_list_vec(const vec< tree, va_gc > *CXX_MEM_STAT_INFO)
#define POLY_INT_CST_COEFF(NODE, I)
Definition tree.h:1152
#define VECTOR_TYPE_P(TYPE)
Definition tree.h:601
int tree_log2(const_tree)
Definition tree.cc:3104
int compare_tree_int(const_tree, unsigned HOST_WIDE_INT)
Definition tree.cc:6839
tree build_index_vector(tree, poly_uint64, poly_uint64)
Definition tree.cc:2248
tree get_ref_from_access_with_size(tree)
Definition tree.cc:13540
void set_builtin_decl_declared_p(enum built_in_function fncode, bool declared_p)
Definition tree.h:6150
tree build_target_option_node(struct gcc_options *opts, struct gcc_options *opts_set)
Definition tree.cc:12115
tree build_qualified_type(tree, int CXX_MEM_STAT_INFO)
bool is_global_var(const_tree t)
Definition tree.h:6223
#define TREE_INT_CST_EXT_NUNITS(NODE)
Definition tree.h:1140
tree build_constructor(tree, vec< constructor_elt, va_gc > *CXX_MEM_STAT_INFO)
tree array_ref_element_size(tree)
Definition tree.cc:12986
#define TYPE_UID(NODE)
Definition tree.h:2296
#define char_type_node
Definition tree.h:4699
#define TREE_OPERAND_LENGTH(NODE)
Definition tree.h:1299
tree chainon(tree, tree)
Definition tree.cc:3542
const char * decl_section_name(const_tree)
Definition tree.cc:940
tree build_one_cst(tree)
Definition tree.cc:2628
tree walk_tree_1(tree *, walk_tree_fn, void *, hash_set< tree > *, walk_tree_lh)
Definition tree.cc:11562
bool virtual_method_call_p(const_tree, bool=false)
Definition tree.cc:12381
bool has_warning_spec(const_tree)
Definition warning-control.cc:262
bool tree_int_cst_equal(const_tree, const_tree)
Definition tree.cc:6499
bool contains_bitfld_component_ref_p(const_tree)
Definition tree.cc:12717
bool may_be_aliased(const_tree var)
Definition tree.h:6233
#define WIDEST_INT_MAX_PRECISION
Definition wide-int.h:257
generic_wide_int< wide_int_ref_storage< false > > wide_int_ref
Definition wide-int.h:353
#define OFFSET_INT_ELTS
Definition wide-int.h:281
#define ADDR_MAX_PRECISION
Definition wide-int.h:276
generic_wide_int< wide_int_storage > wide_int
Definition wide-int.h:343
const T2 & y
Definition wide-int.h:3870