27#include "stdbackport/expectedfwd"
152#define MARK_TS_BASE(C) \
153 (tree_contains_struct[C][TS_BASE] = true)
155#define MARK_TS_TYPED(C) \
157 tree_contains_struct[C][TS_TYPED] = true)
159#define MARK_TS_COMMON(C) \
160 (MARK_TS_TYPED (C), \
161 tree_contains_struct[C][TS_COMMON] = true)
163#define MARK_TS_TYPE_COMMON(C) \
164 (MARK_TS_COMMON (C), \
165 tree_contains_struct[C][TS_TYPE_COMMON] = true)
167#define MARK_TS_TYPE_WITH_LANG_SPECIFIC(C) \
168 (MARK_TS_TYPE_COMMON (C), \
169 tree_contains_struct[C][TS_TYPE_WITH_LANG_SPECIFIC] = true)
171#define MARK_TS_TYPE_NON_COMMON(C) \
172 (MARK_TS_TYPE_WITH_LANG_SPECIFIC (C), \
173 tree_contains_struct[C][TS_TYPE_NON_COMMON] = true) \
175#define MARK_TS_DECL_MINIMAL(C) \
176 (MARK_TS_COMMON (C), \
177 tree_contains_struct[C][TS_DECL_MINIMAL] = true)
179#define MARK_TS_DECL_COMMON(C) \
180 (MARK_TS_DECL_MINIMAL (C), \
181 tree_contains_struct[C][TS_DECL_COMMON] = true)
183#define MARK_TS_DECL_WRTL(C) \
184 (MARK_TS_DECL_COMMON (C), \
185 tree_contains_struct[C][TS_DECL_WRTL] = true)
187#define MARK_TS_DECL_WITH_VIS(C) \
188 (MARK_TS_DECL_WRTL (C), \
189 tree_contains_struct[C][TS_DECL_WITH_VIS] = true)
191#define MARK_TS_DECL_NON_COMMON(C) \
192 (MARK_TS_DECL_WITH_VIS (C), \
193 tree_contains_struct[C][TS_DECL_NON_COMMON] = true)
195#define MARK_TS_EXP(C) \
196 (MARK_TS_TYPED (C), \
197 tree_contains_struct[C][TS_EXP] = true)
201#define TREE_CODE_CLASS_STRING(CLASS)\
202 tree_code_class_strings[(int) (CLASS)]
204#if __cpp_inline_variables < 201606L
205#define TREE_CODE_CLASS(CODE) \
206 tree_code_type_tmpl <0>::tree_code_type[(int) (CODE)]
208#define TREE_CODE_CLASS(CODE) tree_code_type[(int) (CODE)]
213#define EXCEPTIONAL_CLASS_P(NODE)\
214 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_exceptional)
218#define CONSTANT_CLASS_P(NODE)\
219 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_constant)
224#define CONSTANT_CLASS_OR_WRAPPER_P(NODE)\
225 (CONSTANT_CLASS_P (tree_strip_any_location_wrapper (NODE)))
230 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_type)
235 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_declaration)
239 (TREE_CODE (NODE) == VAR_DECL)
243#define VAR_OR_FUNCTION_DECL_P(DECL)\
244 (TREE_CODE (DECL) == VAR_DECL || TREE_CODE (DECL) == FUNCTION_DECL)
249#define INDIRECT_REF_P(NODE)\
250 (TREE_CODE (NODE) == INDIRECT_REF)
254#define REFERENCE_CLASS_P(NODE)\
255 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_reference)
259#define COMPARISON_CLASS_P(NODE)\
260 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_comparison)
264#define UNARY_CLASS_P(NODE)\
265 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_unary)
269#define BINARY_CLASS_P(NODE)\
270 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_binary)
274#define STATEMENT_CLASS_P(NODE)\
275 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_statement)
280#define VL_EXP_CLASS_P(NODE)\
281 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_vl_exp)
285#define EXPRESSION_CLASS_P(NODE)\
286 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_expression)
290#define IS_TYPE_OR_DECL_P(NODE)\
291 (TYPE_P (NODE) || DECL_P (NODE))
296#define IS_EXPR_CODE_CLASS(CLASS)\
297 ((CLASS) >= tcc_reference && (CLASS) <= tcc_expression)
301#define EXPR_P(NODE) IS_EXPR_CODE_CLASS (TREE_CODE_CLASS (TREE_CODE (NODE)))
303#if __cpp_inline_variables < 201606L
304#define TREE_CODE_LENGTH(CODE) \
305 tree_code_length_tmpl <0>::tree_code_length[(int) (CODE)]
307#define TREE_CODE_LENGTH(CODE) tree_code_length[(int) (CODE)]
313#define CASE_FLT_FN(FN) case FN: case FN##F: case FN##L
314#define CASE_FLT_FN_FLOATN_NX(FN) \
315 case FN##F16: case FN##F32: case FN##F64: case FN##F128: \
316 case FN##F32X: case FN##F64X: case FN##F128X
317#define CASE_FLT_FN_REENT(FN) case FN##_R: case FN##F_R: case FN##L_R
318#define CASE_INT_FN(FN) case FN: case FN##L: case FN##LL: case FN##IMAX
320#define NULL_TREE (tree) NULL
327#define TREE_CODE(NODE) ((enum tree_code) (NODE)->base.code)
328#define TREE_SET_CODE(NODE, VALUE) ((NODE)->base.code = (VALUE))
332#if defined ENABLE_TREE_CHECKING && (GCC_VERSION >= 2007)
334#define TREE_CHECK(T, CODE) \
335(tree_check ((T), __FILE__, __LINE__, __FUNCTION__, (CODE)))
337#define TREE_NOT_CHECK(T, CODE) \
338(tree_not_check ((T), __FILE__, __LINE__, __FUNCTION__, (CODE)))
340#define TREE_CHECK2(T, CODE1, CODE2) \
341(tree_check2 ((T), __FILE__, __LINE__, __FUNCTION__, (CODE1), (CODE2)))
343#define TREE_NOT_CHECK2(T, CODE1, CODE2) \
344(tree_not_check2 ((T), __FILE__, __LINE__, __FUNCTION__, (CODE1), (CODE2)))
346#define TREE_CHECK3(T, CODE1, CODE2, CODE3) \
347(tree_check3 ((T), __FILE__, __LINE__, __FUNCTION__, (CODE1), (CODE2), (CODE3)))
349#define TREE_NOT_CHECK3(T, CODE1, CODE2, CODE3) \
350(tree_not_check3 ((T), __FILE__, __LINE__, __FUNCTION__, \
351 (CODE1), (CODE2), (CODE3)))
353#define TREE_CHECK4(T, CODE1, CODE2, CODE3, CODE4) \
354(tree_check4 ((T), __FILE__, __LINE__, __FUNCTION__, \
355 (CODE1), (CODE2), (CODE3), (CODE4)))
357#define TREE_NOT_CHECK4(T, CODE1, CODE2, CODE3, CODE4) \
358(tree_not_check4 ((T), __FILE__, __LINE__, __FUNCTION__, \
359 (CODE1), (CODE2), (CODE3), (CODE4)))
361#define TREE_CHECK5(T, CODE1, CODE2, CODE3, CODE4, CODE5) \
362(tree_check5 ((T), __FILE__, __LINE__, __FUNCTION__, \
363 (CODE1), (CODE2), (CODE3), (CODE4), (CODE5)))
365#define TREE_NOT_CHECK5(T, CODE1, CODE2, CODE3, CODE4, CODE5) \
366(tree_not_check5 ((T), __FILE__, __LINE__, __FUNCTION__, \
367 (CODE1), (CODE2), (CODE3), (CODE4), (CODE5)))
369#define TREE_CHECK6(T, CODE1, CODE2, CODE3, CODE4, CODE5, CODE6) \
370(tree_check6 ((T), __FILE__, __LINE__, __FUNCTION__, \
371 (CODE1), (CODE2), (CODE3), (CODE4), (CODE5), (CODE6)))
373#define TREE_NOT_CHECK6(T, CODE1, CODE2, CODE3, CODE4, CODE5, CODE6) \
374(tree_not_check6 ((T), __FILE__, __LINE__, __FUNCTION__, \
375 (CODE1), (CODE2), (CODE3), (CODE4), (CODE5), (CODE6)))
377#define CONTAINS_STRUCT_CHECK(T, STRUCT) \
378(contains_struct_check ((T), (STRUCT), __FILE__, __LINE__, __FUNCTION__))
380#define TREE_CLASS_CHECK(T, CLASS) \
381(tree_class_check ((T), (CLASS), __FILE__, __LINE__, __FUNCTION__))
383#define TREE_RANGE_CHECK(T, CODE1, CODE2) \
384(tree_range_check ((T), (CODE1), (CODE2), __FILE__, __LINE__, __FUNCTION__))
386#define OMP_CLAUSE_SUBCODE_CHECK(T, CODE) \
387(omp_clause_subcode_check ((T), (CODE), __FILE__, __LINE__, __FUNCTION__))
389#define OMP_CLAUSE_RANGE_CHECK(T, CODE1, CODE2) \
390(omp_clause_range_check ((T), (CODE1), (CODE2), \
391 __FILE__, __LINE__, __FUNCTION__))
394#define EXPR_CHECK(T) \
395(expr_check ((T), __FILE__, __LINE__, __FUNCTION__))
398#define NON_TYPE_CHECK(T) \
399(non_type_check ((T), __FILE__, __LINE__, __FUNCTION__))
402#define ANY_INTEGRAL_TYPE_CHECK(T) \
403(any_integral_type_check ((T), __FILE__, __LINE__, __FUNCTION__))
405#define TREE_INT_CST_ELT_CHECK(T, I) \
406(*tree_int_cst_elt_check ((T), (I), __FILE__, __LINE__, __FUNCTION__))
408#define TREE_VEC_ELT_CHECK(T, I) \
409(*(const_cast<tree *> ( \
410 tree_vec_elt_check ((T), (I), __FILE__, __LINE__, __FUNCTION__))))
412#define OMP_CLAUSE_ELT_CHECK(T, I) \
413(*(omp_clause_elt_check ((T), (I), __FILE__, __LINE__, __FUNCTION__)))
416#define TREE_OPERAND_CHECK(T, I) \
417(*(const_cast<tree *> ( \
418 tree_operand_check ((T), (I), __FILE__, __LINE__, __FUNCTION__))))
420#define TREE_OPERAND_CHECK_CODE(T, CODE, I) \
421(*(tree_operand_check_code ((T), (CODE), (I), \
422 __FILE__, __LINE__, __FUNCTION__)))
433#define TREE_CHAIN(NODE) \
434(CONTAINS_STRUCT_CHECK (NODE, TS_COMMON)->common.chain)
440#define TREE_TYPE(NODE) \
441(CONTAINS_STRUCT_CHECK (NODE, TS_TYPED)->typed.type)
443extern void tree_contains_struct_check_failed (
const_tree,
445 const char *,
int,
const char *)
448extern void tree_check_failed (
const_tree,
const char *,
int,
const char *,
450extern
void tree_not_check_failed (
const_tree, const
char *,
int, const
char *,
453 const
char *,
int, const
char *)
455extern
void tree_range_check_failed (
const_tree, const
char *,
int,
459extern
void tree_not_class_check_failed (
const_tree,
461 const
char *,
int, const
char *)
463extern
void tree_int_cst_elt_check_failed (
int,
int, const
char *,
466extern
void tree_vec_elt_check_failed (
int,
int, const
char *,
469extern
void phi_node_elt_check_failed (
int,
int, const
char *,
472extern
void tree_operand_check_failed (
int,
const_tree,
473 const
char *,
int, const
char *)
475extern
void omp_clause_check_failed (
const_tree, const
char *,
int,
478extern
void omp_clause_operand_check_failed (
int,
const_tree, const
char *,
481extern
void omp_clause_range_check_failed (
const_tree, const
char *,
int,
488#define CONTAINS_STRUCT_CHECK(T, ENUM) (T)
489#define TREE_CHECK(T, CODE) (T)
490#define TREE_NOT_CHECK(T, CODE) (T)
491#define TREE_CHECK2(T, CODE1, CODE2) (T)
492#define TREE_NOT_CHECK2(T, CODE1, CODE2) (T)
493#define TREE_CHECK3(T, CODE1, CODE2, CODE3) (T)
494#define TREE_NOT_CHECK3(T, CODE1, CODE2, CODE3) (T)
495#define TREE_CHECK4(T, CODE1, CODE2, CODE3, CODE4) (T)
496#define TREE_NOT_CHECK4(T, CODE1, CODE2, CODE3, CODE4) (T)
497#define TREE_CHECK5(T, CODE1, CODE2, CODE3, CODE4, CODE5) (T)
498#define TREE_NOT_CHECK5(T, CODE1, CODE2, CODE3, CODE4, CODE5) (T)
499#define TREE_CHECK6(T, CODE1, CODE2, CODE3, CODE4, CODE5, CODE6) (T)
500#define TREE_NOT_CHECK6(T, CODE1, CODE2, CODE3, CODE4, CODE5, CODE6) (T)
501#define TREE_CLASS_CHECK(T, CODE) (T)
502#define TREE_RANGE_CHECK(T, CODE1, CODE2) (T)
503#define EXPR_CHECK(T) (T)
504#define NON_TYPE_CHECK(T) (T)
505#define TREE_INT_CST_ELT_CHECK(T, I) ((T)->int_cst.val[I])
506#define TREE_VEC_ELT_CHECK(T, I) ((T)->vec.a[I])
507#define TREE_OPERAND_CHECK(T, I) ((T)->exp.operands[I])
508#define TREE_OPERAND_CHECK_CODE(T, CODE, I) ((T)->exp.operands[I])
509#define OMP_CLAUSE_ELT_CHECK(T, i) ((T)->omp_clause.ops[i])
510#define OMP_CLAUSE_RANGE_CHECK(T, CODE1, CODE2) (T)
511#define OMP_CLAUSE_SUBCODE_CHECK(T, CODE) (T)
512#define ANY_INTEGRAL_TYPE_CHECK(T) (T)
514#define TREE_CHAIN(NODE) ((NODE)->common.chain)
515#define TREE_TYPE(NODE) ((NODE)->typed.type)
519#define TREE_BLOCK(NODE) (tree_block (NODE))
520#define TREE_SET_BLOCK(T, B) (tree_set_block ((T), (B)))
522#include "tree-check.h"
524#define TYPE_CHECK(T) TREE_CLASS_CHECK (T, tcc_type)
525#define DECL_MINIMAL_CHECK(T) CONTAINS_STRUCT_CHECK (T, TS_DECL_MINIMAL)
526#define DECL_COMMON_CHECK(T) CONTAINS_STRUCT_CHECK (T, TS_DECL_COMMON)
527#define DECL_WRTL_CHECK(T) CONTAINS_STRUCT_CHECK (T, TS_DECL_WRTL)
528#define DECL_WITH_VIS_CHECK(T) CONTAINS_STRUCT_CHECK (T, TS_DECL_WITH_VIS)
529#define DECL_NON_COMMON_CHECK(T) CONTAINS_STRUCT_CHECK (T, TS_DECL_NON_COMMON)
530#define CST_CHECK(T) TREE_CLASS_CHECK (T, tcc_constant)
531#define STMT_CHECK(T) TREE_CLASS_CHECK (T, tcc_statement)
532#define VL_EXP_CHECK(T) TREE_CLASS_CHECK (T, tcc_vl_exp)
533#define FUNC_OR_METHOD_CHECK(T) TREE_CHECK2 (T, FUNCTION_TYPE, METHOD_TYPE)
534#define PTR_OR_REF_CHECK(T) TREE_CHECK2 (T, POINTER_TYPE, REFERENCE_TYPE)
536#define RECORD_OR_UNION_CHECK(T) \
537 TREE_CHECK3 (T, RECORD_TYPE, UNION_TYPE, QUAL_UNION_TYPE)
538#define NOT_RECORD_OR_UNION_CHECK(T) \
539 TREE_NOT_CHECK3 (T, RECORD_TYPE, UNION_TYPE, QUAL_UNION_TYPE)
540#define ARRAY_OR_INTEGER_TYPE_CHECK(T) \
541 TREE_CHECK2 (T, ARRAY_TYPE, INTEGER_TYPE)
543#define NUMERICAL_TYPE_CHECK(T) \
544 TREE_CHECK6 (T, INTEGER_TYPE, ENUMERAL_TYPE, BOOLEAN_TYPE, REAL_TYPE, \
545 FIXED_POINT_TYPE, BITINT_TYPE)
549#define TYPE_HASH(TYPE) (TYPE_UID (TYPE))
553#define TREE_HASH(NODE) ((size_t) (NODE) & 0777777)
556#define CONVERT_EXPR_CODE_P(CODE) \
557 ((CODE) == NOP_EXPR || (CODE) == CONVERT_EXPR)
560#define CONVERT_EXPR_P(EXP) CONVERT_EXPR_CODE_P (TREE_CODE (EXP))
564#define CASE_CONVERT \
572#define STRIP_NOPS(EXP) \
573 (EXP) = tree_strip_nop_conversions (const_cast<tree> (EXP))
577#define STRIP_SIGN_NOPS(EXP) \
578 (EXP) = tree_strip_sign_nop_conversions (const_cast<tree> (EXP))
582#define STRIP_TYPE_NOPS(EXP) \
583 while ((CONVERT_EXPR_P (EXP) \
584 || TREE_CODE (EXP) == NON_LVALUE_EXPR) \
585 && TREE_OPERAND (EXP, 0) != error_mark_node \
586 && (TREE_TYPE (EXP) \
587 == TREE_TYPE (TREE_OPERAND (EXP, 0)))) \
588 (EXP) = TREE_OPERAND (EXP, 0)
593#define STRIP_USELESS_TYPE_CONVERSION(EXP) \
594 (EXP) = tree_ssa_strip_useless_type_conversions (EXP)
599#define STRIP_ANY_LOCATION_WRAPPER(EXP) \
600 (EXP) = tree_strip_any_location_wrapper (const_cast<tree> (EXP))
604#define VECTOR_TYPE_P(TYPE) (TREE_CODE (TYPE) == VECTOR_TYPE)
608#define VECTOR_BOOLEAN_TYPE_P(TYPE) \
609 (TREE_CODE (TYPE) == VECTOR_TYPE \
610 && TREE_CODE (TREE_TYPE (TYPE)) == BOOLEAN_TYPE)
616#define INTEGRAL_TYPE_P(TYPE) \
617 (TREE_CODE (TYPE) == ENUMERAL_TYPE \
618 || TREE_CODE (TYPE) == BOOLEAN_TYPE \
619 || TREE_CODE (TYPE) == INTEGER_TYPE \
620 || TREE_CODE (TYPE) == BITINT_TYPE)
624#define INTEGRAL_NB_TYPE_P(TYPE) \
625 (TREE_CODE (TYPE) == ENUMERAL_TYPE \
626 || TREE_CODE (TYPE) == INTEGER_TYPE \
627 || TREE_CODE (TYPE) == BITINT_TYPE)
632#define ANY_INTEGRAL_TYPE_P(TYPE) \
633 (INTEGRAL_TYPE_P (TYPE) \
634 || ((TREE_CODE (TYPE) == COMPLEX_TYPE \
635 || VECTOR_TYPE_P (TYPE)) \
636 && INTEGRAL_TYPE_P (TREE_TYPE (TYPE))))
641#define BITINT_TYPE_P(TYPE) \
642 (TREE_CODE (TYPE) == BITINT_TYPE \
643 || (TREE_CODE (TYPE) == ENUMERAL_TYPE \
644 && TREE_TYPE (TYPE) \
645 && TREE_CODE (TREE_TYPE (TYPE)) == BITINT_TYPE))
649#define NON_SAT_FIXED_POINT_TYPE_P(TYPE) \
650 (TREE_CODE (TYPE) == FIXED_POINT_TYPE && !TYPE_SATURATING (TYPE))
654#define SAT_FIXED_POINT_TYPE_P(TYPE) \
655 (TREE_CODE (TYPE) == FIXED_POINT_TYPE && TYPE_SATURATING (TYPE))
659#define FIXED_POINT_TYPE_P(TYPE) (TREE_CODE (TYPE) == FIXED_POINT_TYPE)
663#define SCALAR_FLOAT_TYPE_P(TYPE) (TREE_CODE (TYPE) == REAL_TYPE)
667#define COMPLEX_FLOAT_TYPE_P(TYPE) \
668 (TREE_CODE (TYPE) == COMPLEX_TYPE \
669 && TREE_CODE (TREE_TYPE (TYPE)) == REAL_TYPE)
673#define VECTOR_INTEGER_TYPE_P(TYPE) \
674 (VECTOR_TYPE_P (TYPE) \
675 && TREE_CODE (TREE_TYPE (TYPE)) == INTEGER_TYPE)
680#define VECTOR_FLOAT_TYPE_P(TYPE) \
681 (VECTOR_TYPE_P (TYPE) \
682 && TREE_CODE (TREE_TYPE (TYPE)) == REAL_TYPE)
688#define FLOAT_TYPE_P(TYPE) \
689 (SCALAR_FLOAT_TYPE_P (TYPE) \
690 || ((TREE_CODE (TYPE) == COMPLEX_TYPE \
691 || VECTOR_TYPE_P (TYPE)) \
692 && SCALAR_FLOAT_TYPE_P (TREE_TYPE (TYPE))))
695#define DECIMAL_FLOAT_TYPE_P(TYPE) \
696 (SCALAR_FLOAT_TYPE_P (TYPE) \
697 && DECIMAL_FLOAT_MODE_P (TYPE_MODE (TYPE)))
700#define RECORD_OR_UNION_TYPE_P(TYPE) \
701 (TREE_CODE (TYPE) == RECORD_TYPE \
702 || TREE_CODE (TYPE) == UNION_TYPE \
703 || TREE_CODE (TYPE) == QUAL_UNION_TYPE)
708#define AGGREGATE_TYPE_P(TYPE) \
709 (TREE_CODE (TYPE) == ARRAY_TYPE || RECORD_OR_UNION_TYPE_P (TYPE))
715#define POINTER_TYPE_P(TYPE) \
716 (TREE_CODE (TYPE) == POINTER_TYPE || TREE_CODE (TYPE) == REFERENCE_TYPE)
719#define FUNCTION_POINTER_TYPE_P(TYPE) \
720 (POINTER_TYPE_P (TYPE) && TREE_CODE (TREE_TYPE (TYPE)) == FUNCTION_TYPE)
723#define COMPLETE_TYPE_P(NODE) (TYPE_SIZE (NODE) != NULL_TREE)
726#define VOID_TYPE_P(NODE) (TREE_CODE (NODE) == VOID_TYPE)
729#define COMPLETE_OR_VOID_TYPE_P(NODE) \
730 (COMPLETE_TYPE_P (NODE) || VOID_TYPE_P (NODE))
733#define COMPLETE_OR_UNBOUND_ARRAY_TYPE_P(NODE) \
734 (COMPLETE_TYPE_P (TREE_CODE (NODE) == ARRAY_TYPE ? TREE_TYPE (NODE) : (NODE)))
736#define FUNC_OR_METHOD_TYPE_P(NODE) \
737 (TREE_CODE (NODE) == FUNCTION_TYPE || TREE_CODE (NODE) == METHOD_TYPE)
739#define OPAQUE_TYPE_P(NODE) \
740 (TREE_CODE (NODE) == OPAQUE_TYPE)
759#define TREE_ADDRESSABLE(NODE) ((NODE)->base.addressable_flag)
764#define CALL_EXPR_TAILCALL(NODE) \
765 (CALL_EXPR_CHECK (NODE)->base.addressable_flag)
769#define CALL_EXPR_MUST_TAIL_CALL(NODE) \
770 (CALL_EXPR_CHECK (NODE)->base.static_flag)
774#define CASE_LOW_SEEN(NODE) \
775 (CASE_LABEL_EXPR_CHECK (NODE)->base.addressable_flag)
777#define PREDICT_EXPR_OUTCOME(NODE) \
778 ((enum prediction) (PREDICT_EXPR_CHECK (NODE)->base.addressable_flag))
779#define SET_PREDICT_EXPR_OUTCOME(NODE, OUTCOME) \
780 (PREDICT_EXPR_CHECK (NODE)->base.addressable_flag = (int) OUTCOME)
781#define PREDICT_EXPR_PREDICTOR(NODE) \
782 ((enum br_predictor)tree_to_shwi (TREE_OPERAND (PREDICT_EXPR_CHECK (NODE), 0)))
787#define TREE_STATIC(NODE) ((NODE)->base.static_flag)
790#define TREE_NO_TRAMPOLINE(NODE) (ADDR_EXPR_CHECK (NODE)->base.static_flag)
795#define CLEANUP_EH_ONLY(NODE) ((NODE)->base.static_flag)
799#define TRY_CATCH_IS_CLEANUP(NODE) \
800 (TRY_CATCH_EXPR_CHECK (NODE)->base.static_flag)
804#define CASE_HIGH_SEEN(NODE) \
805 (CASE_LABEL_EXPR_CHECK (NODE)->base.static_flag)
808#define ENUM_IS_SCOPED(NODE) (ENUMERAL_TYPE_CHECK (NODE)->base.static_flag)
811#define ENUM_IS_OPAQUE(NODE) (ENUMERAL_TYPE_CHECK (NODE)->base.private_flag)
815#define CONST_WRAPPER_P(NODE) \
816 (TREE_CHECK (NODE, VIEW_CONVERT_EXPR)->base.private_flag)
823#define TREE_NO_WARNING(NODE) ((NODE)->base.nowarning_flag)
827#define TRANSLATION_UNIT_WARN_EMPTY_P(NODE) \
828 (TRANSLATION_UNIT_DECL_CHECK (NODE)->decl_common.decl_flag_0)
831#define TYPE_EMPTY_P(NODE) (TYPE_CHECK (NODE)->type_common.empty_flag)
834#define TYPE_ARTIFICIAL(NODE) (TYPE_CHECK (NODE)->base.nowarning_flag)
839#define TYPE_INDIVISIBLE_P(NODE) (TYPE_CHECK (NODE)->type_common.indivisible_p)
844#define TYPE_NO_NAMED_ARGS_STDARG_P(NODE) \
845 (FUNC_OR_METHOD_CHECK (NODE)->type_common.no_named_args_stdarg_p)
849#define TYPE_INCLUDES_FLEXARRAY(NODE) \
850 (RECORD_OR_UNION_CHECK (NODE)->type_common.no_named_args_stdarg_p)
854#define TREE_SYMBOL_REFERENCED(NODE) \
855 (IDENTIFIER_NODE_CHECK (NODE)->base.static_flag)
859#define TYPE_REF_CAN_ALIAS_ALL(NODE) \
860 (PTR_OR_REF_CHECK (NODE)->base.static_flag)
865#define TREE_OVERFLOW(NODE) (CST_CHECK (NODE)->base.public_flag)
869#define TREE_OVERFLOW_P(EXPR) \
870 (CONSTANT_CLASS_P (EXPR) && TREE_OVERFLOW (EXPR))
877#define TREE_PUBLIC(NODE) ((NODE)->base.public_flag)
881#define TYPE_CACHED_VALUES_P(NODE) (TYPE_CHECK (NODE)->base.public_flag)
885#define SAVE_EXPR_RESOLVED_P(NODE) \
886 (SAVE_EXPR_CHECK (NODE)->base.public_flag)
890#define CALL_EXPR_VA_ARG_PACK(NODE) \
891 (CALL_EXPR_CHECK (NODE)->base.public_flag)
898#define TREE_SIDE_EFFECTS(NODE) \
899 (NON_TYPE_CHECK (NODE)->base.side_effects_flag)
904#define FORCED_LABEL(NODE) (LABEL_DECL_CHECK (NODE)->base.side_effects_flag)
908#define FALLTHROUGH_LABEL_P(NODE) \
909 (LABEL_DECL_CHECK (NODE)->base.private_flag)
913#define SWITCH_BREAK_LABEL_P(NODE) \
914 (LABEL_DECL_CHECK (NODE)->base.protected_flag)
919#define UNUSED_LABEL_P(NODE) \
920 (LABEL_DECL_CHECK (NODE)->base.default_def_flag)
932#define VACUOUS_INIT_LABEL_P(NODE) \
933 (LABEL_DECL_CHECK (NODE)->base.nothrow_flag)
948#define TREE_THIS_VOLATILE(NODE) ((NODE)->base.volatile_flag)
959#define TREE_THIS_NOTRAP(NODE) \
960 (TREE_CHECK5 (NODE, INDIRECT_REF, MEM_REF, TARGET_MEM_REF, ARRAY_REF, \
961 ARRAY_RANGE_REF)->base.nothrow_flag)
967#define TREE_READONLY(NODE) (NON_TYPE_CHECK (NODE)->base.readonly_flag)
971#define TREE_CONSTANT(NODE) (NON_TYPE_CHECK (NODE)->base.constant_flag)
974#define TYPE_SIZES_GIMPLIFIED(NODE) \
975 (TYPE_CHECK (NODE)->base.constant_flag)
978#define DECL_UNSIGNED(NODE) \
979 (DECL_COMMON_CHECK (NODE)->base.u.bits.unsigned_flag)
982#define TYPE_UNSIGNED(NODE) (TYPE_CHECK (NODE)->base.u.bits.unsigned_flag)
985#define TYPE_SIGN(NODE) ((signop) TYPE_UNSIGNED (NODE))
989#define TYPE_OVERFLOW_WRAPS(TYPE) \
990 (POINTER_TYPE_P (TYPE) \
991 ? flag_wrapv_pointer \
992 : (ANY_INTEGRAL_TYPE_CHECK(TYPE)->base.u.bits.unsigned_flag \
997#define TYPE_OVERFLOW_UNDEFINED(TYPE) \
998 (POINTER_TYPE_P (TYPE) \
999 ? !flag_wrapv_pointer \
1000 : (!ANY_INTEGRAL_TYPE_CHECK(TYPE)->base.u.bits.unsigned_flag \
1001 && !flag_wrapv && !flag_trapv))
1005#define TYPE_OVERFLOW_TRAPS(TYPE) \
1006 (!ANY_INTEGRAL_TYPE_CHECK(TYPE)->base.u.bits.unsigned_flag && flag_trapv)
1009#define TYPE_OVERFLOW_SANITIZED(TYPE) \
1010 (ANY_INTEGRAL_TYPE_P (TYPE) \
1011 && !TYPE_OVERFLOW_WRAPS (TYPE) \
1012 && (flag_sanitize & SANITIZE_SI_OVERFLOW))
1023#define TREE_ASM_WRITTEN(NODE) ((NODE)->base.asm_written_flag)
1030#define TREE_USED(NODE) ((NODE)->base.used_flag)
1036#define TREE_NOTHROW(NODE) ((NODE)->base.nothrow_flag)
1040#define CALL_EXPR_RETURN_SLOT_OPT(NODE) \
1041 (CALL_EXPR_CHECK (NODE)->base.private_flag)
1046#define DECL_BY_REFERENCE(NODE) \
1047 (TREE_CHECK3 (NODE, VAR_DECL, PARM_DECL, \
1048 RESULT_DECL)->decl_common.decl_by_reference_flag)
1052#define DECL_READ_P(NODE) \
1053 (TREE_CHECK2 (NODE, VAR_DECL, PARM_DECL)->decl_common.decl_read_flag)
1057#define DECL_NONSHAREABLE(NODE) \
1058 (TREE_CHECK2 (NODE, VAR_DECL, \
1059 RESULT_DECL)->decl_common.decl_nonshareable_flag)
1063#define DECL_HIDDEN_STRING_LENGTH(NODE) \
1064 (TREE_CHECK (NODE, PARM_DECL)->decl_common.decl_nonshareable_flag)
1069#define CALL_FROM_THUNK_P(NODE) (CALL_EXPR_CHECK (NODE)->base.protected_flag)
1075#define CALL_ALLOCA_FOR_VAR_P(NODE) \
1076 (CALL_EXPR_CHECK (NODE)->base.protected_flag)
1081#define CALL_FROM_NEW_OR_DELETE_P(NODE) \
1082 (CALL_EXPR_CHECK (NODE)->base.protected_flag)
1085#define TREE_PRIVATE(NODE) ((NODE)->base.private_flag)
1087#define TREE_PROTECTED(NODE) ((NODE)->base.protected_flag)
1090#define TYPE_REF_IS_RVALUE(NODE) \
1091 (REFERENCE_TYPE_CHECK (NODE)->base.private_flag)
1095#define TREE_DEPRECATED(NODE) \
1096 ((NODE)->base.deprecated_flag)
1100#define TREE_UNAVAILABLE(NODE) \
1101 ((NODE)->base.u.bits.unavailable_flag)
1105#define IDENTIFIER_ANON_P(NODE) \
1106 (IDENTIFIER_NODE_CHECK (NODE)->base.private_flag)
1110#define IDENTIFIER_INTERNAL_P(NODE) \
1111 (IDENTIFIER_NODE_CHECK (NODE)->base.volatile_flag)
1115#define IDENTIFIER_TRANSPARENT_ALIAS(NODE) \
1116 (IDENTIFIER_NODE_CHECK (NODE)->base.deprecated_flag)
1121#define TYPE_REVERSE_STORAGE_ORDER(NODE) \
1122 (TREE_CHECK4 (NODE, RECORD_TYPE, UNION_TYPE, QUAL_UNION_TYPE, ARRAY_TYPE)->base.u.bits.saturating_flag)
1125#define TYPE_SATURATING(NODE) \
1126 (TREE_NOT_CHECK4 (NODE, RECORD_TYPE, UNION_TYPE, QUAL_UNION_TYPE, ARRAY_TYPE)->base.u.bits.saturating_flag)
1139#define REF_REVERSE_STORAGE_ORDER(NODE) \
1140 (TREE_CHECK2 (NODE, BIT_FIELD_REF, MEM_REF)->base.default_def_flag)
1144#define FUNC_ADDR_BY_DESCRIPTOR(NODE) \
1145 (TREE_CHECK (NODE, ADDR_EXPR)->base.default_def_flag)
1149#define CALL_EXPR_BY_DESCRIPTOR(NODE) \
1150 (TREE_CHECK (NODE, CALL_EXPR)->base.default_def_flag)
1153#define TREE_LANG_FLAG_0(NODE) \
1154 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_0)
1155#define TREE_LANG_FLAG_1(NODE) \
1156 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_1)
1157#define TREE_LANG_FLAG_2(NODE) \
1158 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_2)
1159#define TREE_LANG_FLAG_3(NODE) \
1160 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_3)
1161#define TREE_LANG_FLAG_4(NODE) \
1162 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_4)
1163#define TREE_LANG_FLAG_5(NODE) \
1164 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_5)
1165#define TREE_LANG_FLAG_6(NODE) \
1166 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_6)
1170#define TREE_INT_CST_NUNITS(NODE) \
1171 (INTEGER_CST_CHECK (NODE)->base.u.int_length.unextended)
1172#define TREE_INT_CST_EXT_NUNITS(NODE) \
1173 (INTEGER_CST_CHECK (NODE)->base.u.int_length.extended)
1174#define TREE_INT_CST_ELT(NODE, I) TREE_INT_CST_ELT_CHECK (NODE, I)
1175#define TREE_INT_CST_LOW(NODE) \
1176 ((unsigned HOST_WIDE_INT) TREE_INT_CST_ELT (NODE, 0))
1180#define POLY_INT_CST_P(NODE) \
1181 (NUM_POLY_INT_COEFFS > 1 && TREE_CODE (NODE) == POLY_INT_CST)
1184#define POLY_INT_CST_COEFF(NODE, I) \
1185 (POLY_INT_CST_CHECK (NODE)->poly_int_cst.coeffs[I])
1187#define TREE_REAL_CST_PTR(NODE) (&REAL_CST_CHECK (NODE)->real_cst.value)
1188#define TREE_REAL_CST(NODE) (*TREE_REAL_CST_PTR (NODE))
1190#define TREE_FIXED_CST_PTR(NODE) \
1191 (FIXED_CST_CHECK (NODE)->fixed_cst.fixed_cst_ptr)
1192#define TREE_FIXED_CST(NODE) (*TREE_FIXED_CST_PTR (NODE))
1196#define TREE_STRING_LENGTH(NODE) (STRING_CST_CHECK (NODE)->string.length)
1197#define TREE_STRING_POINTER(NODE) \
1198 ((const char *)(STRING_CST_CHECK (NODE)->string.str))
1201#define RAW_DATA_LENGTH(NODE) \
1202 (RAW_DATA_CST_CHECK (NODE)->raw_data_cst.length)
1203#define RAW_DATA_POINTER(NODE) \
1204 (RAW_DATA_CST_CHECK (NODE)->raw_data_cst.str)
1205#define RAW_DATA_OWNER(NODE) \
1206 (RAW_DATA_CST_CHECK (NODE)->raw_data_cst.owner)
1207#define RAW_DATA_UCHAR_ELT(NODE, I) \
1208 (((const unsigned char *) RAW_DATA_POINTER (NODE))[I])
1209#define RAW_DATA_SCHAR_ELT(NODE, I) \
1210 (((const signed char *) RAW_DATA_POINTER (NODE))[I])
1213#define TREE_REALPART(NODE) (COMPLEX_CST_CHECK (NODE)->complex.real)
1214#define TREE_IMAGPART(NODE) (COMPLEX_CST_CHECK (NODE)->complex.imag)
1217#define VECTOR_CST_NELTS(NODE) (TYPE_VECTOR_SUBPARTS (TREE_TYPE (NODE)))
1218#define VECTOR_CST_ELT(NODE,IDX) vector_cst_elt (NODE, IDX)
1220#define VECTOR_CST_LOG2_NPATTERNS(NODE) \
1221 (VECTOR_CST_CHECK (NODE)->base.u.vector_cst.log2_npatterns)
1222#define VECTOR_CST_NPATTERNS(NODE) \
1223 (1U << VECTOR_CST_LOG2_NPATTERNS (NODE))
1224#define VECTOR_CST_NELTS_PER_PATTERN(NODE) \
1225 (VECTOR_CST_CHECK (NODE)->base.u.vector_cst.nelts_per_pattern)
1226#define VECTOR_CST_DUPLICATE_P(NODE) \
1227 (VECTOR_CST_NELTS_PER_PATTERN (NODE) == 1)
1228#define VECTOR_CST_STEPPED_P(NODE) \
1229 (VECTOR_CST_NELTS_PER_PATTERN (NODE) == 3)
1230#define VECTOR_CST_ENCODED_ELTS(NODE) \
1231 (VECTOR_CST_CHECK (NODE)->vector.elts)
1232#define VECTOR_CST_ENCODED_ELT(NODE, ELT) \
1233 (VECTOR_CST_CHECK (NODE)->vector.elts[ELT])
1238#define IDENTIFIER_LENGTH(NODE) \
1239 (IDENTIFIER_NODE_CHECK (NODE)->identifier.id.len)
1240#define IDENTIFIER_POINTER(NODE) \
1241 ((const char *) IDENTIFIER_NODE_CHECK (NODE)->identifier.id.str)
1242#define IDENTIFIER_HASH_VALUE(NODE) \
1243 (IDENTIFIER_NODE_CHECK (NODE)->identifier.id.hash_value)
1248#define HT_IDENT_TO_GCC_IDENT(NODE) \
1249 ((tree) ((char *) (NODE) - sizeof (struct tree_common)))
1250#define GCC_IDENT_TO_HT_IDENT(NODE) (&((struct tree_identifier *) (NODE))->id)
1253#define TREE_PURPOSE(NODE) (TREE_LIST_CHECK (NODE)->list.purpose)
1254#define TREE_VALUE(NODE) (TREE_LIST_CHECK (NODE)->list.value)
1260#define ATTR_UNIQUE_VALUE_P(NODE) (TREE_LIST_CHECK (NODE)->base.protected_flag)
1263#define TREE_VEC_LENGTH(NODE) (TREE_VEC_CHECK (NODE)->base.u.length)
1264#define TREE_VEC_BEGIN(NODE) (&TREE_VEC_CHECK (NODE)->vec.a[0])
1265#define TREE_VEC_END(NODE) \
1266 ((void) TREE_VEC_CHECK (NODE), &((NODE)->vec.a[(NODE)->base.u.length]))
1268#define TREE_VEC_ELT(NODE,I) TREE_VEC_ELT_CHECK (NODE, I)
1271#define CONSTRUCTOR_ELTS(NODE) (CONSTRUCTOR_CHECK (NODE)->constructor.elts)
1272#define CONSTRUCTOR_ELT(NODE,IDX) \
1273 (&(*CONSTRUCTOR_ELTS (NODE))[IDX])
1274#define CONSTRUCTOR_NELTS(NODE) \
1275 (vec_safe_length (CONSTRUCTOR_ELTS (NODE)))
1276#define CONSTRUCTOR_NO_CLEARING(NODE) \
1277 (CONSTRUCTOR_CHECK (NODE)->base.public_flag)
1279#define CONSTRUCTOR_ZERO_PADDING_BITS(NODE) \
1280 (CONSTRUCTOR_CHECK (NODE)->base.default_def_flag)
1285#define FOR_EACH_CONSTRUCTOR_VALUE(V, IX, VAL) \
1286 for (IX = 0; (IX >= vec_safe_length (V)) \
1288 : ((VAL = (*(V))[IX].value), \
1295#define FOR_EACH_CONSTRUCTOR_ELT(V, IX, INDEX, VAL) \
1296 for (IX = 0; (IX >= vec_safe_length (V)) \
1298 : (((void) (VAL = (*V)[IX].value)), \
1299 (INDEX = (*V)[IX].index), \
1304#define CONSTRUCTOR_APPEND_ELT(V, INDEX, VALUE) \
1306 constructor_elt _ce___ = {INDEX, VALUE}; \
1307 vec_safe_push ((V), _ce___); \
1312#define CONSTRUCTOR_BITFIELD_P(NODE) \
1313 (DECL_BIT_FIELD (FIELD_DECL_CHECK (NODE)) \
1314 && (DECL_MODE (NODE) != BLKmode \
1315 || TREE_CODE (TREE_TYPE (NODE)) == BITINT_TYPE))
1322#define TREE_CLOBBER_P(NODE) \
1323 (TREE_CODE (NODE) == CONSTRUCTOR && TREE_THIS_VOLATILE (NODE))
1326#define CLOBBER_KIND(NODE) \
1327 (CONSTRUCTOR_CHECK (NODE)->base.u.bits.address_space)
1332#define IS_EMPTY_STMT(NODE) (TREE_CODE (NODE) == NOP_EXPR \
1333 && VOID_TYPE_P (TREE_TYPE (NODE)) \
1334 && integer_zerop (TREE_OPERAND (NODE, 0)))
1337#define TREE_OPERAND_LENGTH(NODE) tree_operand_length (NODE)
1338#define TREE_OPERAND(NODE, I) TREE_OPERAND_CHECK (NODE, I)
1345#define VL_EXP_OPERAND_LENGTH(NODE) \
1346 ((int)TREE_INT_CST_LOW (VL_EXP_CHECK (NODE)->exp.operands[0]))
1349#define MAY_HAVE_DEBUG_MARKER_STMTS debug_nonbind_markers_p
1352#define MAY_HAVE_DEBUG_BIND_STMTS flag_var_tracking_assignments
1354#define MAY_HAVE_DEBUG_STMTS \
1355 (MAY_HAVE_DEBUG_MARKER_STMTS || MAY_HAVE_DEBUG_BIND_STMTS)
1358#define LOOP_EXPR_BODY(NODE) TREE_OPERAND_CHECK_CODE (NODE, LOOP_EXPR, 0)
1363#define EXPR_LOCATION(NODE) \
1364 (CAN_HAVE_LOCATION_P ((NODE)) ? (NODE)->exp.locus : UNKNOWN_LOCATION)
1365#define SET_EXPR_LOCATION(NODE, LOCUS) EXPR_CHECK ((NODE))->exp.locus = (LOCUS)
1366#define EXPR_HAS_LOCATION(NODE) (LOCATION_LOCUS (EXPR_LOCATION (NODE)) \
1367 != UNKNOWN_LOCATION)
1370#define EXPR_LOC_OR_LOC(NODE, LOCUS) (EXPR_HAS_LOCATION (NODE) \
1371 ? (NODE)->exp.locus : (LOCUS))
1372#define EXPR_FILENAME(NODE) LOCATION_FILE (EXPR_CHECK ((NODE))->exp.locus)
1373#define EXPR_LINENO(NODE) LOCATION_LINE (EXPR_CHECK (NODE)->exp.locus)
1375#define CAN_HAVE_RANGE_P(NODE) (CAN_HAVE_LOCATION_P (NODE))
1376#define EXPR_LOCATION_RANGE(NODE) (get_expr_source_range (EXPR_CHECK ((NODE))))
1378#define EXPR_HAS_RANGE(NODE) \
1379 (CAN_HAVE_RANGE_P (NODE) \
1380 ? EXPR_LOCATION_RANGE (NODE).m_start != UNKNOWN_LOCATION \
1385#define CAN_HAVE_LOCATION_P(NODE) ((NODE) && EXPR_P (NODE))
1396ATTRIBUTE_WARN_UNUSED_RESULT
1415#define TARGET_EXPR_SLOT(NODE) TREE_OPERAND_CHECK_CODE (NODE, TARGET_EXPR, 0)
1416#define TARGET_EXPR_INITIAL(NODE) TREE_OPERAND_CHECK_CODE (NODE, TARGET_EXPR, 1)
1417#define TARGET_EXPR_CLEANUP(NODE) TREE_OPERAND_CHECK_CODE (NODE, TARGET_EXPR, 2)
1420#define TARGET_EXPR_NO_ELIDE(NODE) (TARGET_EXPR_CHECK (NODE)->base.private_flag)
1424#define DECL_EXPR_DECL(NODE) TREE_OPERAND (DECL_EXPR_CHECK (NODE), 0)
1426#define EXIT_EXPR_COND(NODE) TREE_OPERAND (EXIT_EXPR_CHECK (NODE), 0)
1429#define COMPOUND_LITERAL_EXPR_DECL_EXPR(NODE) \
1430 TREE_OPERAND (COMPOUND_LITERAL_EXPR_CHECK (NODE), 0)
1431#define COMPOUND_LITERAL_EXPR_DECL(NODE) \
1432 DECL_EXPR_DECL (COMPOUND_LITERAL_EXPR_DECL_EXPR (NODE))
1435#define SWITCH_COND(NODE) TREE_OPERAND (SWITCH_EXPR_CHECK (NODE), 0)
1436#define SWITCH_BODY(NODE) TREE_OPERAND (SWITCH_EXPR_CHECK (NODE), 1)
1440#define SWITCH_ALL_CASES_P(NODE) (SWITCH_EXPR_CHECK (NODE)->base.private_flag)
1444#define CASE_LOW(NODE) TREE_OPERAND (CASE_LABEL_EXPR_CHECK (NODE), 0)
1445#define CASE_HIGH(NODE) TREE_OPERAND (CASE_LABEL_EXPR_CHECK (NODE), 1)
1446#define CASE_LABEL(NODE) TREE_OPERAND (CASE_LABEL_EXPR_CHECK (NODE), 2)
1447#define CASE_CHAIN(NODE) TREE_OPERAND (CASE_LABEL_EXPR_CHECK (NODE), 3)
1451#define TMR_BASE(NODE) (TREE_OPERAND (TARGET_MEM_REF_CHECK (NODE), 0))
1452#define TMR_OFFSET(NODE) (TREE_OPERAND (TARGET_MEM_REF_CHECK (NODE), 1))
1453#define TMR_INDEX(NODE) (TREE_OPERAND (TARGET_MEM_REF_CHECK (NODE), 2))
1454#define TMR_STEP(NODE) (TREE_OPERAND (TARGET_MEM_REF_CHECK (NODE), 3))
1455#define TMR_INDEX2(NODE) (TREE_OPERAND (TARGET_MEM_REF_CHECK (NODE), 4))
1457#define MR_DEPENDENCE_CLIQUE(NODE) \
1458 (TREE_CHECK2 (NODE, MEM_REF, TARGET_MEM_REF)->base.u.dependence_info.clique)
1459#define MR_DEPENDENCE_BASE(NODE) \
1460 (TREE_CHECK2 (NODE, MEM_REF, TARGET_MEM_REF)->base.u.dependence_info.base)
1463#define BIND_EXPR_VARS(NODE) (TREE_OPERAND (BIND_EXPR_CHECK (NODE), 0))
1464#define BIND_EXPR_BODY(NODE) (TREE_OPERAND (BIND_EXPR_CHECK (NODE), 1))
1465#define BIND_EXPR_BLOCK(NODE) (TREE_OPERAND (BIND_EXPR_CHECK (NODE), 2))
1469#define GOTO_DESTINATION(NODE) TREE_OPERAND (GOTO_EXPR_CHECK (NODE), 0)
1475#define ASM_STRING(NODE) TREE_OPERAND (ASM_EXPR_CHECK (NODE), 0)
1476#define ASM_OUTPUTS(NODE) TREE_OPERAND (ASM_EXPR_CHECK (NODE), 1)
1477#define ASM_INPUTS(NODE) TREE_OPERAND (ASM_EXPR_CHECK (NODE), 2)
1478#define ASM_CLOBBERS(NODE) TREE_OPERAND (ASM_EXPR_CHECK (NODE), 3)
1479#define ASM_LABELS(NODE) TREE_OPERAND (ASM_EXPR_CHECK (NODE), 4)
1483#define ASM_BASIC_P(NODE) (ASM_EXPR_CHECK (NODE)->base.static_flag)
1484#define ASM_VOLATILE_P(NODE) (ASM_EXPR_CHECK (NODE)->base.public_flag)
1487#define ASM_INLINE_P(NODE) (ASM_EXPR_CHECK (NODE)->base.protected_flag)
1490#define COND_EXPR_COND(NODE) (TREE_OPERAND (COND_EXPR_CHECK (NODE), 0))
1491#define COND_EXPR_THEN(NODE) (TREE_OPERAND (COND_EXPR_CHECK (NODE), 1))
1492#define COND_EXPR_ELSE(NODE) (TREE_OPERAND (COND_EXPR_CHECK (NODE), 2))
1495#define CHREC_LEFT(NODE) TREE_OPERAND (POLYNOMIAL_CHREC_CHECK (NODE), 0)
1496#define CHREC_RIGHT(NODE) TREE_OPERAND (POLYNOMIAL_CHREC_CHECK (NODE), 1)
1497#define CHREC_VARIABLE(NODE) POLYNOMIAL_CHREC_CHECK (NODE)->base.u.chrec_var
1499#define CHREC_NOWRAP(NODE) POLYNOMIAL_CHREC_CHECK (NODE)->base.nothrow_flag
1503#define LABEL_EXPR_LABEL(NODE) TREE_OPERAND (LABEL_EXPR_CHECK (NODE), 0)
1506#define CATCH_TYPES(NODE) TREE_OPERAND (CATCH_EXPR_CHECK (NODE), 0)
1507#define CATCH_BODY(NODE) TREE_OPERAND (CATCH_EXPR_CHECK (NODE), 1)
1510#define EH_FILTER_TYPES(NODE) TREE_OPERAND (EH_FILTER_EXPR_CHECK (NODE), 0)
1511#define EH_FILTER_FAILURE(NODE) TREE_OPERAND (EH_FILTER_EXPR_CHECK (NODE), 1)
1514#define OBJ_TYPE_REF_EXPR(NODE) TREE_OPERAND (OBJ_TYPE_REF_CHECK (NODE), 0)
1515#define OBJ_TYPE_REF_OBJECT(NODE) TREE_OPERAND (OBJ_TYPE_REF_CHECK (NODE), 1)
1516#define OBJ_TYPE_REF_TOKEN(NODE) TREE_OPERAND (OBJ_TYPE_REF_CHECK (NODE), 2)
1519#define CALL_EXPR_FN(NODE) TREE_OPERAND (CALL_EXPR_CHECK (NODE), 1)
1520#define CALL_EXPR_STATIC_CHAIN(NODE) TREE_OPERAND (CALL_EXPR_CHECK (NODE), 2)
1521#define CALL_EXPR_ARG(NODE, I) TREE_OPERAND (CALL_EXPR_CHECK (NODE), (I) + 3)
1522#define call_expr_nargs(NODE) (VL_EXP_OPERAND_LENGTH (NODE) - 3)
1523#define CALL_EXPR_IFN(NODE) (CALL_EXPR_CHECK (NODE)->base.u.ifn)
1531#define CALL_EXPR_ARGP(NODE) \
1532 (&(TREE_OPERAND (CALL_EXPR_CHECK (NODE), 0)) + 3)
1535#define TRANSACTION_EXPR_BODY(NODE) \
1536 TREE_OPERAND (TRANSACTION_EXPR_CHECK (NODE), 0)
1537#define TRANSACTION_EXPR_OUTER(NODE) \
1538 (TRANSACTION_EXPR_CHECK (NODE)->base.static_flag)
1539#define TRANSACTION_EXPR_RELAXED(NODE) \
1540 (TRANSACTION_EXPR_CHECK (NODE)->base.public_flag)
1546#define OMP_BODY(NODE) \
1547 TREE_OPERAND (TREE_RANGE_CHECK (NODE, OACC_PARALLEL, OMP_MASTER), 0)
1548#define OMP_CLAUSES(NODE) \
1549 TREE_OPERAND (TREE_RANGE_CHECK (NODE, OACC_PARALLEL, OMP_SCAN), 1)
1552#define OMP_STANDALONE_CLAUSES(NODE) \
1553 TREE_OPERAND (TREE_RANGE_CHECK (NODE, OACC_CACHE, OMP_TARGET_EXIT_DATA), 0)
1555#define OACC_DATA_BODY(NODE) \
1556 TREE_OPERAND (OACC_DATA_CHECK (NODE), 0)
1557#define OACC_DATA_CLAUSES(NODE) \
1558 TREE_OPERAND (OACC_DATA_CHECK (NODE), 1)
1560#define OACC_HOST_DATA_BODY(NODE) \
1561 TREE_OPERAND (OACC_HOST_DATA_CHECK (NODE), 0)
1562#define OACC_HOST_DATA_CLAUSES(NODE) \
1563 TREE_OPERAND (OACC_HOST_DATA_CHECK (NODE), 1)
1565#define OACC_CACHE_CLAUSES(NODE) \
1566 TREE_OPERAND (OACC_CACHE_CHECK (NODE), 0)
1568#define OACC_DECLARE_CLAUSES(NODE) \
1569 TREE_OPERAND (OACC_DECLARE_CHECK (NODE), 0)
1571#define OACC_ENTER_DATA_CLAUSES(NODE) \
1572 TREE_OPERAND (OACC_ENTER_DATA_CHECK (NODE), 0)
1574#define OACC_EXIT_DATA_CLAUSES(NODE) \
1575 TREE_OPERAND (OACC_EXIT_DATA_CHECK (NODE), 0)
1577#define OACC_UPDATE_CLAUSES(NODE) \
1578 TREE_OPERAND (OACC_UPDATE_CHECK (NODE), 0)
1580#define OMP_PARALLEL_BODY(NODE) TREE_OPERAND (OMP_PARALLEL_CHECK (NODE), 0)
1581#define OMP_PARALLEL_CLAUSES(NODE) TREE_OPERAND (OMP_PARALLEL_CHECK (NODE), 1)
1583#define OMP_TASK_BODY(NODE) TREE_OPERAND (OMP_TASK_CHECK (NODE), 0)
1584#define OMP_TASK_CLAUSES(NODE) TREE_OPERAND (OMP_TASK_CHECK (NODE), 1)
1586#define OMP_TASKREG_CHECK(NODE) TREE_RANGE_CHECK (NODE, OMP_PARALLEL, OMP_TASK)
1587#define OMP_TASKREG_BODY(NODE) TREE_OPERAND (OMP_TASKREG_CHECK (NODE), 0)
1588#define OMP_TASKREG_CLAUSES(NODE) TREE_OPERAND (OMP_TASKREG_CHECK (NODE), 1)
1590#define OMP_LOOPING_CHECK(NODE) TREE_RANGE_CHECK (NODE, OMP_FOR, OACC_LOOP)
1591#define OMP_FOR_BODY(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 0)
1592#define OMP_FOR_CLAUSES(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 1)
1593#define OMP_FOR_INIT(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 2)
1594#define OMP_FOR_COND(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 3)
1595#define OMP_FOR_INCR(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 4)
1596#define OMP_FOR_PRE_BODY(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 5)
1597#define OMP_FOR_ORIG_DECLS(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 6)
1599#define OMP_INTEROP_CLAUSES(NODE)\
1600 TREE_OPERAND (OMP_INTEROP_CHECK (NODE), 0)
1602#define OMP_LOOPXFORM_CHECK(NODE) TREE_RANGE_CHECK (NODE, OMP_TILE, OMP_UNROLL)
1603#define OMP_LOOPXFORM_LOWERED(NODE) \
1604 (OMP_LOOPXFORM_CHECK (NODE)->base.public_flag)
1606#define OMP_SECTIONS_BODY(NODE) TREE_OPERAND (OMP_SECTIONS_CHECK (NODE), 0)
1607#define OMP_SECTIONS_CLAUSES(NODE) TREE_OPERAND (OMP_SECTIONS_CHECK (NODE), 1)
1609#define OMP_SECTION_BODY(NODE) TREE_OPERAND (OMP_SECTION_CHECK (NODE), 0)
1611#define OMP_STRUCTURED_BLOCK_BODY(NODE) \
1612 TREE_OPERAND (OMP_STRUCTURED_BLOCK_CHECK (NODE), 0)
1614#define OMP_SINGLE_BODY(NODE) TREE_OPERAND (OMP_SINGLE_CHECK (NODE), 0)
1615#define OMP_SINGLE_CLAUSES(NODE) TREE_OPERAND (OMP_SINGLE_CHECK (NODE), 1)
1617#define OMP_SCOPE_BODY(NODE) TREE_OPERAND (OMP_SCOPE_CHECK (NODE), 0)
1618#define OMP_SCOPE_CLAUSES(NODE) TREE_OPERAND (OMP_SCOPE_CHECK (NODE), 1)
1620#define OMP_MASTER_BODY(NODE) TREE_OPERAND (OMP_MASTER_CHECK (NODE), 0)
1622#define OMP_MASKED_BODY(NODE) TREE_OPERAND (OMP_MASKED_CHECK (NODE), 0)
1623#define OMP_MASKED_CLAUSES(NODE) TREE_OPERAND (OMP_MASKED_CHECK (NODE), 1)
1625#define OMP_TASKGROUP_BODY(NODE) TREE_OPERAND (OMP_TASKGROUP_CHECK (NODE), 0)
1626#define OMP_TASKGROUP_CLAUSES(NODE) \
1627 TREE_OPERAND (OMP_TASKGROUP_CHECK (NODE), 1)
1629#define OMP_ORDERED_BODY(NODE) TREE_OPERAND (OMP_ORDERED_CHECK (NODE), 0)
1630#define OMP_ORDERED_CLAUSES(NODE) TREE_OPERAND (OMP_ORDERED_CHECK (NODE), 1)
1632#define OMP_CRITICAL_BODY(NODE) TREE_OPERAND (OMP_CRITICAL_CHECK (NODE), 0)
1633#define OMP_CRITICAL_CLAUSES(NODE) TREE_OPERAND (OMP_CRITICAL_CHECK (NODE), 1)
1634#define OMP_CRITICAL_NAME(NODE) TREE_OPERAND (OMP_CRITICAL_CHECK (NODE), 2)
1636#define OMP_TEAMS_BODY(NODE) TREE_OPERAND (OMP_TEAMS_CHECK (NODE), 0)
1637#define OMP_TEAMS_CLAUSES(NODE) TREE_OPERAND (OMP_TEAMS_CHECK (NODE), 1)
1639#define OMP_TARGET_DATA_BODY(NODE) \
1640 TREE_OPERAND (OMP_TARGET_DATA_CHECK (NODE), 0)
1641#define OMP_TARGET_DATA_CLAUSES(NODE)\
1642 TREE_OPERAND (OMP_TARGET_DATA_CHECK (NODE), 1)
1644#define OMP_TARGET_BODY(NODE) TREE_OPERAND (OMP_TARGET_CHECK (NODE), 0)
1645#define OMP_TARGET_CLAUSES(NODE) TREE_OPERAND (OMP_TARGET_CHECK (NODE), 1)
1647#define OMP_TARGET_UPDATE_CLAUSES(NODE)\
1648 TREE_OPERAND (OMP_TARGET_UPDATE_CHECK (NODE), 0)
1650#define OMP_TARGET_ENTER_DATA_CLAUSES(NODE)\
1651 TREE_OPERAND (OMP_TARGET_ENTER_DATA_CHECK (NODE), 0)
1653#define OMP_TARGET_EXIT_DATA_CLAUSES(NODE)\
1654 TREE_OPERAND (OMP_TARGET_EXIT_DATA_CHECK (NODE), 0)
1656#define OMP_METADIRECTIVE_VARIANTS(NODE) \
1657 TREE_OPERAND (OMP_METADIRECTIVE_CHECK (NODE), 0)
1659#define OMP_METADIRECTIVE_VARIANT_SELECTOR(v) \
1661#define OMP_METADIRECTIVE_VARIANT_DIRECTIVE(v) \
1662 TREE_PURPOSE (TREE_VALUE (v))
1663#define OMP_METADIRECTIVE_VARIANT_BODY(v) \
1664 TREE_VALUE (TREE_VALUE (v))
1666#define OMP_DECLARE_MAPPER_ID(NODE) \
1667 TREE_OPERAND (OMP_DECLARE_MAPPER_CHECK (NODE), 0)
1668#define OMP_DECLARE_MAPPER_DECL(NODE) \
1669 TREE_OPERAND (OMP_DECLARE_MAPPER_CHECK (NODE), 1)
1670#define OMP_DECLARE_MAPPER_CLAUSES(NODE) \
1671 TREE_OPERAND (OMP_DECLARE_MAPPER_CHECK (NODE), 2)
1673#define OMP_SCAN_BODY(NODE) TREE_OPERAND (OMP_SCAN_CHECK (NODE), 0)
1674#define OMP_SCAN_CLAUSES(NODE) TREE_OPERAND (OMP_SCAN_CHECK (NODE), 1)
1676#define OMP_DISPATCH_BODY(NODE) TREE_OPERAND (OMP_DISPATCH_CHECK (NODE), 0)
1677#define OMP_DISPATCH_CLAUSES(NODE) TREE_OPERAND (OMP_DISPATCH_CHECK (NODE), 1)
1679#define OMP_CLAUSE_SIZE(NODE) \
1680 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (OMP_CLAUSE_CHECK (NODE), \
1682 OMP_CLAUSE__CACHE_), 1)
1684#define OMP_CLAUSE_CHAIN(NODE) TREE_CHAIN (OMP_CLAUSE_CHECK (NODE))
1685#define OMP_CLAUSE_DECL(NODE) \
1686 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (OMP_CLAUSE_CHECK (NODE), \
1687 OMP_CLAUSE_PRIVATE, \
1688 OMP_CLAUSE__SCANTEMP_), 0)
1689#define OMP_CLAUSE_HAS_LOCATION(NODE) \
1690 (LOCATION_LOCUS ((OMP_CLAUSE_CHECK (NODE))->omp_clause.locus) \
1691 != UNKNOWN_LOCATION)
1692#define OMP_CLAUSE_LOCATION(NODE) (OMP_CLAUSE_CHECK (NODE))->omp_clause.locus
1694#define OMP_CLAUSE_HAS_ITERATORS(NODE) \
1695 ((OMP_CLAUSE_CODE (NODE) == OMP_CLAUSE_FROM \
1696 || OMP_CLAUSE_CODE (NODE) == OMP_CLAUSE_TO \
1697 || OMP_CLAUSE_CODE (NODE) == OMP_CLAUSE_MAP) \
1698 && OMP_CLAUSE_ITERATORS (NODE))
1699#define OMP_CLAUSE_ITERATORS(NODE) \
1700 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (OMP_CLAUSE_CHECK (NODE), \
1709#define OMP_ITERATOR_VAR(NODE) TREE_VEC_ELT (NODE, 0)
1710#define OMP_ITERATOR_BEGIN(NODE) TREE_VEC_ELT (NODE, 1)
1711#define OMP_ITERATOR_END(NODE) TREE_VEC_ELT (NODE, 2)
1712#define OMP_ITERATOR_STEP(NODE) TREE_VEC_ELT (NODE, 3)
1713#define OMP_ITERATOR_ORIG_STEP(NODE) TREE_VEC_ELT (NODE, 4)
1714#define OMP_ITERATOR_BLOCK(NODE) TREE_VEC_ELT (NODE, 5)
1715#define OMP_ITERATOR_LABEL(NODE) TREE_VEC_ELT (NODE, 6)
1716#define OMP_ITERATOR_INDEX(NODE) TREE_VEC_ELT (NODE, 7)
1717#define OMP_ITERATOR_ELEMS(NODE) TREE_VEC_ELT (NODE, 8)
1718#define OMP_ITERATOR_COUNT(NODE) TREE_VEC_ELT (NODE, 9)
1720#define OMP_ITERATOR_EXPANDED_P(NODE) (TREE_VEC_LENGTH (NODE) > 6)
1724#define OMP_FOR_NON_RECTANGULAR(NODE) \
1725 (OMP_LOOPING_CHECK (NODE)->base.private_flag)
1729#define OMP_SECTION_LAST(NODE) \
1730 (OMP_SECTION_CHECK (NODE)->base.private_flag)
1734#define OMP_PARALLEL_COMBINED(NODE) \
1735 (OMP_PARALLEL_CHECK (NODE)->base.private_flag)
1739#define OMP_TEAMS_COMBINED(NODE) \
1740 (OMP_TEAMS_CHECK (NODE)->base.private_flag)
1744#define OMP_TARGET_COMBINED(NODE) \
1745 (OMP_TARGET_CHECK (NODE)->base.private_flag)
1749#define OMP_MASTER_COMBINED(NODE) \
1750 (OMP_MASTER_CHECK (NODE)->base.private_flag)
1754#define OMP_MASKED_COMBINED(NODE) \
1755 (OMP_MASKED_CHECK (NODE)->base.private_flag)
1758#define OMP_ATOMIC_MEMORY_ORDER(NODE) \
1759 (TREE_RANGE_CHECK (NODE, OMP_ATOMIC, \
1760 OMP_ATOMIC_CAPTURE_NEW)->base.u.omp_atomic_memory_order)
1763#define OMP_ATOMIC_WEAK(NODE) \
1764 (TREE_RANGE_CHECK (NODE, OMP_ATOMIC, \
1765 OMP_ATOMIC_CAPTURE_NEW)->base.public_flag)
1770#define OMP_CLAUSE_PRIVATE_DEBUG(NODE) \
1771 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_PRIVATE)->base.public_flag)
1775#define OMP_CLAUSE_PRIVATE_OUTER_REF(NODE) \
1776 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_PRIVATE))
1781#define OMP_CLAUSE_PRIVATE_TASKLOOP_IV(NODE) \
1782 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_PRIVATE))
1785#define OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT(NODE) \
1786 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_FIRSTPRIVATE)->base.public_flag)
1790#define OMP_CLAUSE_FIRSTPRIVATE_NO_REFERENCE(NODE) \
1791 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_FIRSTPRIVATE))
1795#define OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT_TARGET(NODE) \
1796 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_FIRSTPRIVATE))
1800#define OMP_CLAUSE_LASTPRIVATE_FIRSTPRIVATE(NODE) \
1801 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LASTPRIVATE)->base.public_flag)
1802#define OMP_CLAUSE_LASTPRIVATE_STMT(NODE) \
1803 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, \
1804 OMP_CLAUSE_LASTPRIVATE),\
1806#define OMP_CLAUSE_LASTPRIVATE_GIMPLE_SEQ(NODE) \
1807 (OMP_CLAUSE_CHECK (NODE))->omp_clause.gimple_reduction_init
1813#define OMP_CLAUSE_LASTPRIVATE_LOOP_IV(NODE) \
1814 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LASTPRIVATE))
1817#define OMP_CLAUSE_LASTPRIVATE_CONDITIONAL(NODE) \
1818 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LASTPRIVATE))
1823#define OMP_CLAUSE_SHARED_FIRSTPRIVATE(NODE) \
1824 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SHARED)->base.public_flag)
1828#define OMP_CLAUSE_SHARED_READONLY(NODE) \
1829 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SHARED))
1831#define OMP_CLAUSE_IF_MODIFIER(NODE) \
1832 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_IF)->omp_clause.subcode.if_modifier)
1834#define OMP_CLAUSE_FINAL_EXPR(NODE) \
1835 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_FINAL), 0)
1836#define OMP_CLAUSE_IF_EXPR(NODE) \
1837 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_IF), 0)
1838#define OMP_CLAUSE_SELF_EXPR(NODE) \
1839 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SELF), 0)
1840#define OMP_CLAUSE_NUM_THREADS_EXPR(NODE) \
1841 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_THREADS),0)
1842#define OMP_CLAUSE_SCHEDULE_CHUNK_EXPR(NODE) \
1843 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SCHEDULE), 0)
1844#define OMP_CLAUSE_NUM_TASKS_EXPR(NODE) \
1845 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_TASKS), 0)
1846#define OMP_CLAUSE_HINT_EXPR(NODE) \
1847 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_HINT), 0)
1848#define OMP_CLAUSE_FILTER_EXPR(NODE) \
1849 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_FILTER), 0)
1850#define OMP_CLAUSE_PARTIAL_EXPR(NODE) \
1851 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_PARTIAL), 0)
1852#define OMP_CLAUSE_SIZES_LIST(NODE) \
1853 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SIZES), 0)
1854#define OMP_CLAUSE_NOVARIANTS_EXPR(NODE) \
1855 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NOVARIANTS), 0)
1856#define OMP_CLAUSE_NOCONTEXT_EXPR(NODE) \
1857 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NOCONTEXT), 0)
1859#define OMP_CLAUSE_GRAINSIZE_EXPR(NODE) \
1860 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_GRAINSIZE),0)
1862#define OMP_CLAUSE_PRIORITY_EXPR(NODE) \
1863 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_PRIORITY),0)
1865#define OMP_CLAUSE_GRAINSIZE_STRICT(NODE) \
1866 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_GRAINSIZE))
1867#define OMP_CLAUSE_NUM_TASKS_STRICT(NODE) \
1868 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_TASKS))
1869#define OMP_CLAUSE_NUM_THREADS_STRICT(NODE) \
1870 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_THREADS))
1871#define OMP_CLAUSE_THREAD_LIMIT_STRICT(NODE) \
1872 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_THREAD_LIMIT))
1873#define OMP_CLAUSE_NUM_TEAMS_DIMS(NODE) \
1874 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_TEAMS))
1875#define OMP_CLAUSE_NUM_THREADS_DIMS(NODE) \
1876 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_THREADS))
1877#define OMP_CLAUSE_THREAD_LIMIT_DIMS(NODE) \
1878 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_THREAD_LIMIT))
1881#define OMP_CLAUSE_EXPR(NODE, CLAUSE) \
1882 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, CLAUSE), 0)
1883#define OMP_CLAUSE_GANG_EXPR(NODE) \
1884 OMP_CLAUSE_OPERAND ( \
1885 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_GANG), 0)
1886#define OMP_CLAUSE_GANG_STATIC_EXPR(NODE) \
1887 OMP_CLAUSE_OPERAND ( \
1888 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_GANG), 1)
1889#define OMP_CLAUSE_ASYNC_EXPR(NODE) \
1890 OMP_CLAUSE_OPERAND ( \
1891 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ASYNC), 0)
1892#define OMP_CLAUSE_WAIT_EXPR(NODE) \
1893 OMP_CLAUSE_OPERAND ( \
1894 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_WAIT), 0)
1895#define OMP_CLAUSE_VECTOR_EXPR(NODE) \
1896 OMP_CLAUSE_OPERAND ( \
1897 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_VECTOR), 0)
1898#define OMP_CLAUSE_WORKER_EXPR(NODE) \
1899 OMP_CLAUSE_OPERAND ( \
1900 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_WORKER), 0)
1901#define OMP_CLAUSE_NUM_GANGS_EXPR(NODE) \
1902 OMP_CLAUSE_OPERAND ( \
1903 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_GANGS), 0)
1904#define OMP_CLAUSE_NUM_WORKERS_EXPR(NODE) \
1905 OMP_CLAUSE_OPERAND ( \
1906 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_WORKERS), 0)
1907#define OMP_CLAUSE_VECTOR_LENGTH_EXPR(NODE) \
1908 OMP_CLAUSE_OPERAND ( \
1909 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_VECTOR_LENGTH), 0)
1911#define OMP_CLAUSE_DEPEND_KIND(NODE) \
1912 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DEPEND)->omp_clause.subcode.depend_kind)
1914#define OMP_CLAUSE_DOACROSS_KIND(NODE) \
1915 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DOACROSS)->omp_clause.subcode.doacross_kind)
1917#define OMP_CLAUSE_DOACROSS_SINK_NEGATIVE(NODE) \
1918 TREE_PUBLIC (TREE_LIST_CHECK (NODE))
1921#define OMP_CLAUSE_DOACROSS_DEPEND(NODE) \
1922 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DOACROSS))
1926#define OMP_CLAUSE_MESSAGE_EXPR(NODE) \
1927 OMP_CLAUSE_OPERAND ( \
1928 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MESSAGE), 0)
1929#define OMP_CLAUSE_MESSAGE_LEN(NODE) \
1930 OMP_CLAUSE_OPERAND ( \
1931 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MESSAGE), 1)
1932#define OMP_CLAUSE_MESSAGE_SEVERITY_WARN(NODE) \
1933 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MESSAGE)->base.public_flag)
1935#define OMP_CLAUSE_MAP_KIND(NODE) \
1936 ((enum gomp_map_kind) OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP)->omp_clause.subcode.map_kind)
1937#define OMP_CLAUSE_SET_MAP_KIND(NODE, MAP_KIND) \
1938 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP)->omp_clause.subcode.map_kind \
1939 = (unsigned int) (MAP_KIND))
1941#define OMP_CLAUSE_MOTION_PRESENT(NODE) \
1942 (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_FROM, OMP_CLAUSE_TO)->base.deprecated_flag)
1944#define OMP_CLAUSE_INIT_TARGET(NODE) \
1945 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_INIT)->base.public_flag)
1946#define OMP_CLAUSE_INIT_TARGETSYNC(NODE) \
1947 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_INIT)->base.deprecated_flag)
1948#define OMP_CLAUSE_INIT_PREFER_TYPE(NODE) \
1949 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (OMP_CLAUSE_CHECK (NODE), \
1951 OMP_CLAUSE_INIT), 1)
1956#define OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION(NODE) \
1957 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP)->base.public_flag)
1960#define OMP_CLAUSE_MAP_MAYBE_ZERO_LENGTH_ARRAY_SECTION(NODE) \
1961 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP))
1965#define OMP_CLAUSE_MAP_IN_REDUCTION(NODE) \
1966 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP))
1970#define OMP_CLAUSE_MAP_IMPLICIT(NODE) \
1971 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP)->base.default_def_flag)
1975#define OMP_CLAUSE_MAP_RUNTIME_IMPLICIT_P(NODE) \
1976 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP)->base.deprecated_flag)
1979#define OMP_CLAUSE_ATTACHMENT_MAPPING_ERASED(NODE) \
1980 TREE_STATIC (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP))
1983#define OMP_CLAUSE_RELEASE_DESCRIPTOR(NODE) \
1984 TREE_NOTHROW (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP))
1988#define OMP_CLAUSE_MAP_DECL_MAKE_ADDRESSABLE(NODE) \
1989 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP)->base.addressable_flag)
1992#define OMP_CLAUSE_MAP_READONLY(NODE) \
1993 TREE_READONLY (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP))
1997#define OMP_CLAUSE_MAP_SIZE_NEEDS_ADJUSTMENT(NODE) \
1998 TREE_CONSTANT (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP))
2002#define OMP_CLAUSE_MAP_GIMPLE_ONLY(NODE) \
2003 TREE_USED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP))
2006#define OMP_CLAUSE__CACHE__READONLY(NODE) \
2007 TREE_READONLY (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE__CACHE_))
2011#define OMP_CLAUSE_USE_DEVICE_PTR_IF_PRESENT(NODE) \
2012 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_USE_DEVICE_PTR)->base.public_flag)
2014#define OMP_CLAUSE_PROC_BIND_KIND(NODE) \
2015 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_PROC_BIND)->omp_clause.subcode.proc_bind_kind)
2017#define OMP_CLAUSE_DEVICE_TYPE_KIND(NODE) \
2018 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DEVICE_TYPE)->omp_clause.subcode.device_type_kind)
2020#define OMP_CLAUSE_INDIRECT_EXPR(NODE) \
2021 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_INDIRECT), 0)
2025#define OMP_CLAUSE_DEVICE_ANCESTOR(NODE) \
2026 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DEVICE)->base.public_flag)
2028#define OMP_CLAUSE_COLLAPSE_EXPR(NODE) \
2029 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_COLLAPSE), 0)
2030#define OMP_CLAUSE_COLLAPSE_ITERVAR(NODE) \
2031 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_COLLAPSE), 1)
2032#define OMP_CLAUSE_COLLAPSE_COUNT(NODE) \
2033 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_COLLAPSE), 2)
2035#define OMP_CLAUSE_ORDERED_EXPR(NODE) \
2036 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ORDERED), 0)
2040#define OMP_CLAUSE_ORDERED_DOACROSS(NODE) \
2041 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ORDERED)->base.public_flag)
2044#define OMP_CLAUSE_ORDER_UNCONSTRAINED(NODE) \
2045 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ORDER)->base.public_flag)
2047#define OMP_CLAUSE_ORDER_REPRODUCIBLE(NODE) \
2048 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ORDER))
2050#define OMP_CLAUSE_REDUCTION_CODE(NODE) \
2051 (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_REDUCTION, \
2052 OMP_CLAUSE_IN_REDUCTION)->omp_clause.subcode.reduction_code)
2053#define OMP_CLAUSE_REDUCTION_INIT(NODE) \
2054 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_REDUCTION, \
2055 OMP_CLAUSE_IN_REDUCTION), 1)
2056#define OMP_CLAUSE_REDUCTION_MERGE(NODE) \
2057 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_REDUCTION, \
2058 OMP_CLAUSE_IN_REDUCTION), 2)
2059#define OMP_CLAUSE_REDUCTION_GIMPLE_INIT(NODE) \
2060 (OMP_CLAUSE_CHECK (NODE))->omp_clause.gimple_reduction_init
2061#define OMP_CLAUSE_REDUCTION_GIMPLE_MERGE(NODE) \
2062 (OMP_CLAUSE_CHECK (NODE))->omp_clause.gimple_reduction_merge
2063#define OMP_CLAUSE_REDUCTION_PLACEHOLDER(NODE) \
2064 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_REDUCTION, \
2065 OMP_CLAUSE_IN_REDUCTION), 3)
2066#define OMP_CLAUSE_REDUCTION_DECL_PLACEHOLDER(NODE) \
2067 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_REDUCTION, \
2068 OMP_CLAUSE_IN_REDUCTION), 4)
2072#define OMP_CLAUSE_REDUCTION_OMP_ORIG_REF(NODE) \
2073 (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_REDUCTION, \
2074 OMP_CLAUSE_IN_REDUCTION)->base.public_flag)
2077#define OMP_CLAUSE_REDUCTION_TASK(NODE) \
2078 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_REDUCTION))
2081#define OMP_CLAUSE_REDUCTION_INSCAN(NODE) \
2082 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_REDUCTION))
2086#define OMP_CLAUSE_LINEAR_NO_COPYIN(NODE) \
2087 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR)->base.public_flag)
2091#define OMP_CLAUSE_LINEAR_NO_COPYOUT(NODE) \
2092 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR))
2095#define OMP_CLAUSE_LINEAR_VARIABLE_STRIDE(NODE) \
2096 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR))
2100#define OMP_CLAUSE_LINEAR_OLD_LINEAR_MODIFIER(NODE) \
2101 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR)->base.addressable_flag)
2105#define OMP_CLAUSE_LINEAR_ARRAY(NODE) \
2106 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR)->base.deprecated_flag)
2108#define OMP_CLAUSE_LINEAR_STEP(NODE) \
2109 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR), 1)
2111#define OMP_CLAUSE_LINEAR_STMT(NODE) \
2112 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR), 2)
2114#define OMP_CLAUSE_LINEAR_GIMPLE_SEQ(NODE) \
2115 (OMP_CLAUSE_CHECK (NODE))->omp_clause.gimple_reduction_init
2117#define OMP_CLAUSE_LINEAR_KIND(NODE) \
2118 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR)->omp_clause.subcode.linear_kind)
2120#define OMP_CLAUSE_ALIGNED_ALIGNMENT(NODE) \
2121 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ALIGNED), 1)
2123#define OMP_CLAUSE_ALLOCATE_ALLOCATOR(NODE) \
2124 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ALLOCATE), 1)
2126#define OMP_CLAUSE_ALLOCATE_ALIGN(NODE) \
2127 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ALLOCATE), 2)
2133#define OMP_CLAUSE_ALLOCATE_COMBINED(NODE) \
2134 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ALLOCATE)->base.public_flag)
2136#define OMP_CLAUSE_USES_ALLOCATORS_ALLOCATOR(NODE) \
2137 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_USES_ALLOCATORS), 0)
2139#define OMP_CLAUSE_USES_ALLOCATORS_MEMSPACE(NODE) \
2140 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_USES_ALLOCATORS), 1)
2142#define OMP_CLAUSE_USES_ALLOCATORS_TRAITS(NODE) \
2143 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_USES_ALLOCATORS), 2)
2145#define OMP_CLAUSE_NUM_TEAMS_UPPER_EXPR(NODE) \
2146 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_TEAMS), 0)
2148#define OMP_CLAUSE_NUM_TEAMS_LOWER_EXPR(NODE) \
2149 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_TEAMS), 1)
2151#define OMP_CLAUSE_THREAD_LIMIT_EXPR(NODE) \
2152 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, \
2153 OMP_CLAUSE_THREAD_LIMIT), 0)
2155#define OMP_CLAUSE_DEVICE_ID(NODE) \
2156 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DEVICE), 0)
2158#define OMP_CLAUSE_DIST_SCHEDULE_CHUNK_EXPR(NODE) \
2159 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, \
2160 OMP_CLAUSE_DIST_SCHEDULE), 0)
2162#define OMP_CLAUSE_SAFELEN_EXPR(NODE) \
2163 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SAFELEN), 0)
2165#define OMP_CLAUSE_SIMDLEN_EXPR(NODE) \
2166 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SIMDLEN), 0)
2168#define OMP_CLAUSE_SIMDLEN_TYPE(NODE) \
2169 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SIMDLEN), 1)
2171#define OMP_CLAUSE_SIMDLEN_DIVISOR(NODE) \
2172 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SIMDLEN), 2)
2174#define OMP_CLAUSE__SIMDUID__DECL(NODE) \
2175 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE__SIMDUID_), 0)
2177#define OMP_CLAUSE_SCHEDULE_KIND(NODE) \
2178 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SCHEDULE)->omp_clause.subcode.schedule_kind)
2181#define OMP_CLAUSE_SCHEDULE_SIMD(NODE) \
2182 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SCHEDULE)->base.public_flag)
2184#define OMP_CLAUSE_DEFAULT_KIND(NODE) \
2185 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DEFAULT)->omp_clause.subcode.default_kind)
2187#define OMP_CLAUSE_DEFAULTMAP_KIND(NODE) \
2188 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DEFAULTMAP)->omp_clause.subcode.defaultmap_kind)
2189#define OMP_CLAUSE_DEFAULTMAP_CATEGORY(NODE) \
2190 ((enum omp_clause_defaultmap_kind) \
2191 (OMP_CLAUSE_DEFAULTMAP_KIND (NODE) & OMP_CLAUSE_DEFAULTMAP_CATEGORY_MASK))
2192#define OMP_CLAUSE_DEFAULTMAP_BEHAVIOR(NODE) \
2193 ((enum omp_clause_defaultmap_kind) \
2194 (OMP_CLAUSE_DEFAULTMAP_KIND (NODE) & OMP_CLAUSE_DEFAULTMAP_MASK))
2195#define OMP_CLAUSE_DEFAULTMAP_SET_KIND(NODE, BEHAVIOR, CATEGORY) \
2196 (OMP_CLAUSE_DEFAULTMAP_KIND (NODE) \
2197 = (enum omp_clause_defaultmap_kind) (CATEGORY | BEHAVIOR))
2199#define OMP_CLAUSE_BIND_KIND(NODE) \
2200 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_BIND)->omp_clause.subcode.bind_kind)
2202#define OMP_CLAUSE_DYN_GROUPPRIVATE_EXPR(NODE) \
2203 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DYN_GROUPPRIVATE), 0)
2204#define OMP_CLAUSE_DYN_GROUPPRIVATE_KIND(NODE) \
2205 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DYN_GROUPPRIVATE)->omp_clause.subcode.fallback_kind)
2208#define OMP_CLAUSE_ENTER_TO(NODE) \
2209 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ENTER)->base.public_flag)
2211#define OMP_CLAUSE_TILE_LIST(NODE) \
2212 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_TILE), 0)
2213#define OMP_CLAUSE_TILE_ITERVAR(NODE) \
2214 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_TILE), 1)
2215#define OMP_CLAUSE_TILE_COUNT(NODE) \
2216 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_TILE), 2)
2219#define OMP_CLAUSE__CONDTEMP__ITER(NODE) \
2220 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE__CONDTEMP_)->base.public_flag)
2224#define OMP_CLAUSE__SCANTEMP__ALLOC(NODE) \
2225 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE__SCANTEMP_)->base.public_flag)
2230#define OMP_CLAUSE__SCANTEMP__CONTROL(NODE) \
2231 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE__SCANTEMP_))
2234#define OMP_NEXT_VARIANT_INDEX(NODE) \
2235 TREE_OPERAND (OMP_NEXT_VARIANT_CHECK (NODE), 0)
2236#define OMP_NEXT_VARIANT_STATE(NODE) \
2237 TREE_OPERAND (OMP_NEXT_VARIANT_CHECK (NODE), 1)
2240#define OMP_TARGET_DEVICE_MATCHES_SELECTOR(NODE) \
2241 TREE_OPERAND (OMP_TARGET_DEVICE_MATCHES_CHECK (NODE), 0)
2242#define OMP_TARGET_DEVICE_MATCHES_PROPERTIES(NODE) \
2243 TREE_OPERAND (OMP_TARGET_DEVICE_MATCHES_CHECK (NODE), 1)
2245#define OMP_CLAUSE__MAPPER_BINDING__ID(NODE) \
2246 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, \
2247 OMP_CLAUSE__MAPPER_BINDING_), 0)
2249#define OMP_CLAUSE__MAPPER_BINDING__DECL(NODE) \
2250 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, \
2251 OMP_CLAUSE__MAPPER_BINDING_), 1)
2253#define OMP_CLAUSE__MAPPER_BINDING__MAPPER(NODE) \
2254 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, \
2255 OMP_CLAUSE__MAPPER_BINDING_), 2)
2261#define SSA_NAME_IS_VIRTUAL_OPERAND(NODE) \
2262 SSA_NAME_CHECK (NODE)->base.public_flag
2266#define SSA_NAME_IDENTIFIER(NODE) \
2267 (SSA_NAME_CHECK (NODE)->ssa_name.var != NULL_TREE \
2268 ? (TREE_CODE ((NODE)->ssa_name.var) == IDENTIFIER_NODE \
2269 ? (NODE)->ssa_name.var \
2270 : DECL_NAME ((NODE)->ssa_name.var)) \
2276#define SSA_NAME_VAR(NODE) \
2277 (SSA_NAME_CHECK (NODE)->ssa_name.var == NULL_TREE \
2278 || TREE_CODE ((NODE)->ssa_name.var) == IDENTIFIER_NODE \
2279 ? NULL_TREE : (NODE)->ssa_name.var)
2281#define SET_SSA_NAME_VAR_OR_IDENTIFIER(NODE,VAR) \
2284 tree var_ = (VAR); \
2285 SSA_NAME_CHECK (NODE)->ssa_name.var = var_; \
2286 SSA_NAME_IS_VIRTUAL_OPERAND (NODE) \
2288 && TREE_CODE (var_) == VAR_DECL \
2289 && VAR_DECL_IS_VIRTUAL_OPERAND (var_)); \
2294#define SSA_NAME_DEF_STMT(NODE) SSA_NAME_CHECK (NODE)->ssa_name.def_stmt
2298#define SSA_NAME_VERSION(NODE) SSA_NAME_CHECK (NODE)->base.u.version
2303#define SSA_NAME_OCCURS_IN_ABNORMAL_PHI(NODE) \
2304 SSA_NAME_CHECK (NODE)->base.asm_written_flag
2309#define SSA_NAME_IN_FREE_LIST(NODE) \
2310 SSA_NAME_CHECK (NODE)->base.nothrow_flag
2317#define SSA_NAME_IS_DEFAULT_DEF(NODE) \
2318 SSA_NAME_CHECK (NODE)->base.default_def_flag
2324#define SSA_NAME_POINTS_TO_READONLY_MEMORY(NODE) \
2325 SSA_NAME_CHECK (NODE)->base.deprecated_flag
2328#define SSA_NAME_RANGE_INFO(N) \
2329 SSA_NAME_CHECK (N)->ssa_name.range_info
2332#define SSA_NAME_IMM_USE_NODE(NODE) SSA_NAME_CHECK (NODE)->ssa_name.imm_uses
2334#define OMP_CLAUSE_CODE(NODE) \
2335 (OMP_CLAUSE_CHECK (NODE))->omp_clause.code
2337#define OMP_CLAUSE_SET_CODE(NODE, CODE) \
2338 ((OMP_CLAUSE_CHECK (NODE))->omp_clause.code = (CODE))
2340#define OMP_CLAUSE_OPERAND(NODE, I) \
2341 OMP_CLAUSE_ELT_CHECK (NODE, I)
2344#define OMP_ITERATOR_DECL_P(NODE) \
2345 (TREE_CODE (NODE) == TREE_LIST \
2346 && TREE_PURPOSE (NODE) \
2347 && TREE_CODE (TREE_PURPOSE (NODE)) == TREE_VEC)
2351#define BLOCK_VARS(NODE) (BLOCK_CHECK (NODE)->block.vars)
2352#define BLOCK_NONLOCALIZED_VARS(NODE) \
2353 (BLOCK_CHECK (NODE)->block.nonlocalized_vars)
2354#define BLOCK_NUM_NONLOCALIZED_VARS(NODE) \
2355 vec_safe_length (BLOCK_NONLOCALIZED_VARS (NODE))
2356#define BLOCK_NONLOCALIZED_VAR(NODE,N) (*BLOCK_NONLOCALIZED_VARS (NODE))[N]
2358#define BLOCK_SUBBLOCKS(NODE) (BLOCK_CHECK (NODE)->block.subblocks)
2363#define BLOCK_SUPERCONTEXT(NODE) (BLOCK_CHECK (NODE)->block.supercontext)
2365#define BLOCK_CHAIN(NODE) (BLOCK_CHECK (NODE)->block.chain)
2370#define BLOCK_ABSTRACT_ORIGIN(NODE) (BLOCK_CHECK (NODE)->block.abstract_origin)
2371#define BLOCK_ORIGIN(NODE) \
2372 (BLOCK_ABSTRACT_ORIGIN(NODE) ? BLOCK_ABSTRACT_ORIGIN(NODE) : (NODE))
2373#define BLOCK_DIE(NODE) (BLOCK_CHECK (NODE)->block.die)
2376#define BLOCK_SAME_RANGE(NODE) (BLOCK_CHECK (NODE)->base.u.bits.nameless_flag)
2379#define BLOCK_IN_COLD_SECTION_P(NODE) \
2380 (BLOCK_CHECK (NODE)->base.u.bits.atomic_flag)
2385#define BLOCK_NUMBER(NODE) (BLOCK_CHECK (NODE)->block.block_num)
2409#define BLOCK_FRAGMENT_ORIGIN(NODE) (BLOCK_CHECK (NODE)->block.fragment_origin)
2410#define BLOCK_FRAGMENT_CHAIN(NODE) (BLOCK_CHECK (NODE)->block.fragment_chain)
2416#define BLOCK_SOURCE_LOCATION(NODE) (BLOCK_CHECK (NODE)->block.locus)
2421#define BLOCK_SOURCE_END_LOCATION(NODE) (BLOCK_CHECK (NODE)->block.end_locus)
2434#define TYPE_UID(NODE) (TYPE_CHECK (NODE)->type_common.uid)
2439#define TYPE_SIZE(NODE) (TYPE_CHECK (NODE)->type_common.size)
2441#define TYPE_SIZE_UNIT(NODE) (TYPE_CHECK (NODE)->type_common.size_unit)
2442#define TYPE_POINTER_TO(NODE) (TYPE_CHECK (NODE)->type_common.pointer_to)
2443#define TYPE_REFERENCE_TO(NODE) (TYPE_CHECK (NODE)->type_common.reference_to)
2444#define TYPE_PRECISION(NODE) \
2445 (TREE_NOT_CHECK (TYPE_CHECK (NODE), VECTOR_TYPE)->type_common.precision)
2446#define TYPE_PRECISION_RAW(NODE) (TYPE_CHECK (NODE)->type_common.precision)
2447#define TYPE_NAME(NODE) (TYPE_CHECK (NODE)->type_common.name)
2448#define TYPE_NEXT_VARIANT(NODE) (TYPE_CHECK (NODE)->type_common.next_variant)
2449#define TYPE_MAIN_VARIANT(NODE) (TYPE_CHECK (NODE)->type_common.main_variant)
2450#define TYPE_CONTEXT(NODE) (TYPE_CHECK (NODE)->type_common.context)
2452#define TYPE_MODE_RAW(NODE) (TYPE_CHECK (NODE)->type_common.mode)
2453#define TYPE_MODE(NODE) \
2454 (VECTOR_TYPE_P (TYPE_CHECK (NODE)) \
2455 ? vector_type_mode (NODE) : (NODE)->type_common.mode)
2456#define SCALAR_TYPE_MODE(NODE) \
2457 (as_a <scalar_mode> (TYPE_CHECK (NODE)->type_common.mode))
2458#define SCALAR_INT_TYPE_MODE(NODE) \
2459 (as_a <scalar_int_mode> (TYPE_CHECK (NODE)->type_common.mode))
2460#define SCALAR_FLOAT_TYPE_MODE(NODE) \
2461 (as_a <scalar_float_mode> (TYPE_CHECK (NODE)->type_common.mode))
2462#define SET_TYPE_MODE(NODE, MODE) \
2463 (TYPE_CHECK (NODE)->type_common.mode = (MODE))
2487#define TYPE_CANONICAL(NODE) (TYPE_CHECK (NODE)->type_common.canonical)
2494#define TYPE_STRUCTURAL_EQUALITY_P(NODE) (TYPE_CANONICAL (NODE) == NULL_TREE)
2497#define SET_TYPE_STRUCTURAL_EQUALITY(NODE) (TYPE_CANONICAL (NODE) = NULL_TREE)
2499#define TYPE_IBIT(NODE) (GET_MODE_IBIT (TYPE_MODE (NODE)))
2500#define TYPE_FBIT(NODE) (GET_MODE_FBIT (TYPE_MODE (NODE)))
2507#define TYPE_ALIAS_SET(NODE) (TYPE_CHECK (NODE)->type_common.alias_set)
2511#define TYPE_ALIAS_SET_KNOWN_P(NODE) \
2512 (TYPE_CHECK (NODE)->type_common.alias_set != -1)
2516#define TYPE_ATTRIBUTES(NODE) (TYPE_CHECK (NODE)->type_common.attributes)
2519#define TYPE_ALIGN_RAW(NODE) \
2520 (TYPE_CHECK (NODE)->type_common.align)
2525#define TYPE_ALIGN(NODE) \
2526 (TYPE_ALIGN_RAW (NODE) \
2527 ? ((unsigned)1) << (TYPE_ALIGN_RAW(NODE) - 1) : 0)
2530#define SET_TYPE_ALIGN(NODE, X) \
2531 (TYPE_CHECK (NODE)->type_common.align = ffs_hwi (X))
2535#define TYPE_USER_ALIGN(NODE) (TYPE_CHECK (NODE)->base.u.bits.user_align)
2538#define TYPE_ALIGN_UNIT(NODE) (TYPE_ALIGN (NODE) / BITS_PER_UNIT)
2542#define TYPE_WARN_IF_NOT_ALIGN_RAW(NODE) \
2543 (TYPE_CHECK (NODE)->type_common.warn_if_not_align)
2544#define TYPE_WARN_IF_NOT_ALIGN(NODE) \
2545 (TYPE_WARN_IF_NOT_ALIGN_RAW (NODE) \
2546 ? ((unsigned)1) << (TYPE_WARN_IF_NOT_ALIGN_RAW (NODE) - 1) : 0)
2549#define SET_TYPE_WARN_IF_NOT_ALIGN(NODE, X) \
2550 (TYPE_WARN_IF_NOT_ALIGN_RAW (NODE) = ffs_hwi (X))
2559#define TYPE_STUB_DECL(NODE) (TREE_CHAIN (TYPE_CHECK (NODE)))
2564#define TYPE_NO_FORCE_BLK(NODE) \
2565 (TYPE_CHECK (NODE)->type_common.no_force_blk_flag)
2568#define TYPE_VOLATILE(NODE) (TYPE_CHECK (NODE)->base.volatile_flag)
2571#define TYPE_ATOMIC(NODE) (TYPE_CHECK (NODE)->base.u.bits.atomic_flag)
2574#define TYPE_READONLY(NODE) (TYPE_CHECK (NODE)->base.readonly_flag)
2578#define TYPE_RESTRICT(NODE) (TYPE_CHECK (NODE)->type_common.restrict_flag)
2581#define TYPE_NAMELESS(NODE) (TYPE_CHECK (NODE)->base.u.bits.nameless_flag)
2584#define TYPE_ADDR_SPACE(NODE) (TYPE_CHECK (NODE)->base.u.bits.address_space)
2721 disjoint_address_spaces,
2727 gcc::expected<qualifier_set, merge_error>
2739 friend constexpr bool
2742 return ((
a.cv_quals () ==
b.cv_quals ())
2743 && (
a.addr_space () ==
b.addr_space ()));
2746 friend constexpr bool
2756 constexpr std::pair<cv_qualifier, addr_space_t>
2772 void debug ()
const;
2778static_assert (std::is_trivially_copyable<qualifier_set>::value,
"");
2779static_assert (std::is_trivially_destructible<qualifier_set>::value,
"");
2780static_assert (std::is_trivially_default_constructible<qualifier_set>::value,
2785 "We want the trivial default constructor to create a "
2786 "syntactically-empty qualifier set");
2798 return qs.
with (cvs);
2804 return qs.
with (cvs);
2822 return qs = qs | quals;
2827 return qs = qs ^ quals;
2831#define TYPE_QUALS_NO_ADDR_SPACE(NODE) \
2832 (cv_qualifier ((TYPE_READONLY (NODE) * TYPE_QUAL_CONST) \
2833 | (TYPE_VOLATILE (NODE) * TYPE_QUAL_VOLATILE) \
2834 | (TYPE_ATOMIC (NODE) * TYPE_QUAL_ATOMIC) \
2835 | (TYPE_RESTRICT (NODE) * TYPE_QUAL_RESTRICT)))
2838#define TYPE_QUALS(NODE) \
2839 (qualifier_set {(TYPE_QUALS_NO_ADDR_SPACE (NODE)), (TYPE_ADDR_SPACE (NODE))})
2843#define TYPE_QUALS_NO_ADDR_SPACE_NO_ATOMIC(NODE) \
2844 (cv_qualifier ((TYPE_READONLY (NODE) * TYPE_QUAL_CONST) \
2845 | (TYPE_VOLATILE (NODE) * TYPE_QUAL_VOLATILE) \
2846 | (TYPE_RESTRICT (NODE) * TYPE_QUAL_RESTRICT)))
2849#define TYPE_LANG_FLAG_0(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_0)
2850#define TYPE_LANG_FLAG_1(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_1)
2851#define TYPE_LANG_FLAG_2(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_2)
2852#define TYPE_LANG_FLAG_3(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_3)
2853#define TYPE_LANG_FLAG_4(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_4)
2854#define TYPE_LANG_FLAG_5(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_5)
2855#define TYPE_LANG_FLAG_6(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_6)
2856#define TYPE_LANG_FLAG_7(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_7)
2860#define TREE_VISITED(NODE) ((NODE)->base.visited)
2865#define TYPE_STRING_FLAG(NODE) \
2866 (ARRAY_OR_INTEGER_TYPE_CHECK (NODE)->type_common.string_flag)
2871#define TYPE_CXX_ODR_P(NODE) \
2872 (RECORD_OR_UNION_CHECK (NODE)->type_common.string_flag)
2876#define TYPE_VECTOR_OPAQUE(NODE) \
2877 (VECTOR_TYPE_CHECK (NODE)->base.default_def_flag)
2881#define TYPE_NEEDS_CONSTRUCTING(NODE) \
2882 (TYPE_CHECK (NODE)->type_common.needs_constructing_flag)
2888#define TYPE_TRANSPARENT_AGGR(NODE) \
2889 (RECORD_OR_UNION_CHECK (NODE)->type_common.transparent_aggr_flag)
2894#define TYPE_NONALIASED_COMPONENT(NODE) \
2895 (ARRAY_TYPE_CHECK (NODE)->type_common.transparent_aggr_flag)
2906#define TYPE_TYPELESS_STORAGE(NODE) \
2907 (TREE_CHECK4 (NODE, RECORD_TYPE, UNION_TYPE, QUAL_UNION_TYPE, \
2908 ARRAY_TYPE)->type_common.typeless_storage)
2912#define TYPE_PACKED(NODE) (TYPE_CHECK (NODE)->base.u.bits.packed_flag)
2917#define TYPE_CONTAINS_PLACEHOLDER_INTERNAL(NODE) \
2918 (TYPE_CHECK (NODE)->type_common.contains_placeholder_bits)
2921#define TYPE_FINAL_P(NODE) \
2922 (RECORD_OR_UNION_CHECK (NODE)->base.default_def_flag)
2933#define TYPE_SYMTAB_ADDRESS(NODE) \
2934 (TYPE_CHECK (NODE)->type_common.symtab.address)
2938#define TYPE_SYMTAB_DIE(NODE) \
2939 (TYPE_CHECK (NODE)->type_common.symtab.die)
2945#define TYPE_SYMTAB_IS_ADDRESS (0)
2946#define TYPE_SYMTAB_IS_DIE (1)
2948#define TYPE_LANG_SPECIFIC(NODE) \
2949 (TYPE_CHECK (NODE)->type_with_lang_specific.lang_specific)
2951#define TYPE_VALUES(NODE) (ENUMERAL_TYPE_CHECK (NODE)->type_non_common.values)
2952#define TYPE_DOMAIN(NODE) (ARRAY_TYPE_CHECK (NODE)->type_non_common.values)
2953#define TYPE_FIELDS(NODE) \
2954 (RECORD_OR_UNION_CHECK (NODE)->type_non_common.values)
2955#define TYPE_CACHED_VALUES(NODE) (TYPE_CHECK (NODE)->type_non_common.values)
2956#define TYPE_ARG_TYPES(NODE) \
2957 (FUNC_OR_METHOD_CHECK (NODE)->type_non_common.values)
2958#define TYPE_VALUES_RAW(NODE) (TYPE_CHECK (NODE)->type_non_common.values)
2960#define TYPE_MIN_VALUE(NODE) \
2961 (NUMERICAL_TYPE_CHECK (NODE)->type_non_common.minval)
2962#define TYPE_NEXT_PTR_TO(NODE) \
2963 (POINTER_TYPE_CHECK (NODE)->type_non_common.minval)
2964#define TYPE_NEXT_REF_TO(NODE) \
2965 (REFERENCE_TYPE_CHECK (NODE)->type_non_common.minval)
2966#define TYPE_VFIELD(NODE) \
2967 (RECORD_OR_UNION_CHECK (NODE)->type_non_common.minval)
2968#define TYPE_MIN_VALUE_RAW(NODE) (TYPE_CHECK (NODE)->type_non_common.minval)
2970#define TYPE_MAX_VALUE(NODE) \
2971 (NUMERICAL_TYPE_CHECK (NODE)->type_non_common.maxval)
2972#define TYPE_METHOD_BASETYPE(NODE) \
2973 (FUNC_OR_METHOD_CHECK (NODE)->type_non_common.maxval)
2974#define TYPE_OFFSET_BASETYPE(NODE) \
2975 (OFFSET_TYPE_CHECK (NODE)->type_non_common.maxval)
2979#define TYPE_ARRAY_MAX_SIZE(ARRAY_TYPE) \
2980 (ARRAY_TYPE_CHECK (ARRAY_TYPE)->type_non_common.maxval)
2981#define TYPE_MAX_VALUE_RAW(NODE) (TYPE_CHECK (NODE)->type_non_common.maxval)
2984#define TYPE_BINFO(NODE) (RECORD_OR_UNION_CHECK (NODE)->type_non_common.maxval)
2987#define TYPE_LANG_SLOT_1(NODE) \
2988 (TYPE_CHECK (NODE)->type_non_common.lang_1)
3008#define BINFO_VIRTUAL_P(NODE) (TREE_BINFO_CHECK (NODE)->base.static_flag)
3011#define BINFO_FLAG_0(NODE) TREE_LANG_FLAG_0 (TREE_BINFO_CHECK (NODE))
3012#define BINFO_FLAG_1(NODE) TREE_LANG_FLAG_1 (TREE_BINFO_CHECK (NODE))
3013#define BINFO_FLAG_2(NODE) TREE_LANG_FLAG_2 (TREE_BINFO_CHECK (NODE))
3014#define BINFO_FLAG_3(NODE) TREE_LANG_FLAG_3 (TREE_BINFO_CHECK (NODE))
3015#define BINFO_FLAG_4(NODE) TREE_LANG_FLAG_4 (TREE_BINFO_CHECK (NODE))
3016#define BINFO_FLAG_5(NODE) TREE_LANG_FLAG_5 (TREE_BINFO_CHECK (NODE))
3017#define BINFO_FLAG_6(NODE) TREE_LANG_FLAG_6 (TREE_BINFO_CHECK (NODE))
3020#define BINFO_TYPE(NODE) TREE_TYPE (TREE_BINFO_CHECK (NODE))
3028#define BINFO_OFFSET(NODE) (TREE_BINFO_CHECK (NODE)->binfo.offset)
3029#define BINFO_OFFSET_ZEROP(NODE) (integer_zerop (BINFO_OFFSET (NODE)))
3035#define BINFO_VTABLE(NODE) (TREE_BINFO_CHECK (NODE)->binfo.vtable)
3040#define BINFO_VIRTUALS(NODE) (TREE_BINFO_CHECK (NODE)->binfo.virtuals)
3048#define BINFO_BASE_BINFOS(NODE) (&TREE_BINFO_CHECK (NODE)->binfo.base_binfos)
3051#define BINFO_N_BASE_BINFOS(NODE) (BINFO_BASE_BINFOS (NODE)->length ())
3054#define BINFO_BASE_BINFO(NODE,N) \
3055 ((*BINFO_BASE_BINFOS (NODE))[(N)])
3056#define BINFO_BASE_ITERATE(NODE,N,B) \
3057 (BINFO_BASE_BINFOS (NODE)->iterate ((N), &(B)))
3058#define BINFO_BASE_APPEND(NODE,T) \
3059 (BINFO_BASE_BINFOS (NODE)->quick_push ((T)))
3066#define BINFO_VPTR_FIELD(NODE) (TREE_BINFO_CHECK (NODE)->binfo.vptr_field)
3076#define BINFO_BASE_ACCESSES(NODE) \
3077 (TREE_BINFO_CHECK (NODE)->binfo.base_accesses)
3079#define BINFO_BASE_ACCESS(NODE,N) \
3080 (*BINFO_BASE_ACCESSES (NODE))[(N)]
3081#define BINFO_BASE_ACCESS_APPEND(NODE,T) \
3082 BINFO_BASE_ACCESSES (NODE)->quick_push ((T))
3086#define BINFO_SUBVTT_INDEX(NODE) (TREE_BINFO_CHECK (NODE)->binfo.vtt_subvtt)
3090#define BINFO_VPTR_INDEX(NODE) (TREE_BINFO_CHECK (NODE)->binfo.vtt_vptr)
3096#define BINFO_INHERITANCE_CHAIN(NODE) \
3097 (TREE_BINFO_CHECK (NODE)->binfo.inheritance)
3104#define SSA_VAR_P(DECL) \
3105 (TREE_CODE (DECL) == VAR_DECL \
3106 || TREE_CODE (DECL) == PARM_DECL \
3107 || TREE_CODE (DECL) == RESULT_DECL \
3108 || TREE_CODE (DECL) == SSA_NAME)
3111#define DECL_CHAIN(NODE) (TREE_CHAIN (DECL_MINIMAL_CHECK (NODE)))
3115#define DECL_NAME(NODE) (DECL_MINIMAL_CHECK (NODE)->decl_minimal.name)
3118#define TYPE_IDENTIFIER(NODE) \
3119 (TYPE_NAME (NODE) && DECL_P (TYPE_NAME (NODE)) \
3120 ? DECL_NAME (TYPE_NAME (NODE)) : TYPE_NAME (NODE))
3123#define DECL_UID(NODE) (DECL_MINIMAL_CHECK (NODE)->decl_minimal.uid)
3127#define DEBUG_TEMP_UID(NODE) (-DECL_UID (TREE_CHECK ((NODE), DEBUG_EXPR_DECL)))
3131#define DECL_PT_UID(NODE) \
3132 (DECL_COMMON_CHECK (NODE)->decl_common.pt_uid == -1u \
3133 ? (NODE)->decl_minimal.uid : (NODE)->decl_common.pt_uid)
3135#define SET_DECL_PT_UID(NODE, UID) \
3136 (DECL_COMMON_CHECK (NODE)->decl_common.pt_uid = (UID))
3139#define DECL_PT_UID_SET_P(NODE) \
3140 (DECL_COMMON_CHECK (NODE)->decl_common.pt_uid != -1u)
3146#define DECL_SOURCE_LOCATION(NODE) \
3147 (DECL_MINIMAL_CHECK (NODE)->decl_minimal.locus)
3148#define DECL_SOURCE_FILE(NODE) LOCATION_FILE (DECL_SOURCE_LOCATION (NODE))
3149#define DECL_SOURCE_LINE(NODE) LOCATION_LINE (DECL_SOURCE_LOCATION (NODE))
3150#define DECL_SOURCE_COLUMN(NODE) LOCATION_COLUMN (DECL_SOURCE_LOCATION (NODE))
3155#define DECL_IS_UNDECLARED_BUILTIN(DECL) \
3156 (DECL_SOURCE_LOCATION (DECL) <= BUILTINS_LOCATION)
3167#define DECL_CONTEXT(NODE) (DECL_MINIMAL_CHECK (NODE)->decl_minimal.context)
3168#define DECL_FIELD_CONTEXT(NODE) \
3169 (FIELD_DECL_CHECK (NODE)->decl_minimal.context)
3172#define DECL_NAMELESS(NODE) (DECL_MINIMAL_CHECK (NODE)->base.u.bits.nameless_flag)
3180#define DECL_ABSTRACT_ORIGIN(NODE) \
3181 (DECL_COMMON_CHECK (NODE)->decl_common.abstract_origin)
3185#define DECL_ORIGIN(NODE) \
3186 (DECL_ABSTRACT_ORIGIN (NODE) ? DECL_ABSTRACT_ORIGIN (NODE) : (NODE))
3192#define DECL_FROM_INLINE(NODE) \
3193 (DECL_ABSTRACT_ORIGIN (NODE) != NULL_TREE \
3194 && DECL_ABSTRACT_ORIGIN (NODE) != (NODE))
3197#define DECL_ATTRIBUTES(NODE) \
3198 (DECL_COMMON_CHECK (NODE)->decl_common.attributes)
3210#define DECL_INITIAL(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.initial)
3216#define DECL_SIZE(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.size)
3218#define DECL_SIZE_UNIT(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.size_unit)
3219#define DECL_ALIGN_RAW(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.align)
3223#define DECL_ALIGN(NODE) \
3224 (DECL_ALIGN_RAW (NODE) \
3225 ? ((unsigned)1) << (DECL_ALIGN_RAW (NODE) - 1) : 0)
3227#define SET_DECL_ALIGN(NODE, X) \
3228 (DECL_ALIGN_RAW (NODE) = ffs_hwi (X))
3232#define DECL_WARN_IF_NOT_ALIGN_RAW(NODE) \
3233 (DECL_COMMON_CHECK (NODE)->decl_common.warn_if_not_align)
3234#define DECL_WARN_IF_NOT_ALIGN(NODE) \
3235 (DECL_WARN_IF_NOT_ALIGN_RAW (NODE) \
3236 ? ((unsigned)1) << (DECL_WARN_IF_NOT_ALIGN_RAW (NODE) - 1) : 0)
3239#define SET_DECL_WARN_IF_NOT_ALIGN(NODE, X) \
3240 (DECL_WARN_IF_NOT_ALIGN_RAW (NODE) = ffs_hwi (X))
3243#define DECL_ALIGN_UNIT(NODE) (DECL_ALIGN (NODE) / BITS_PER_UNIT)
3246#define DECL_USER_ALIGN(NODE) \
3247 (DECL_COMMON_CHECK (NODE)->base.u.bits.user_align)
3251#define DECL_MODE(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.mode)
3252#define SET_DECL_MODE(NODE, MODE) \
3253 (DECL_COMMON_CHECK (NODE)->decl_common.mode = (MODE))
3259#define DECL_UNCHECKED_FUNCTION_CODE(NODE) \
3260 (FUNCTION_DECL_CHECK (NODE)->function_decl.function_code)
3263#define ALLOCA_FUNCTION_CODE_P(FCODE) \
3264 ((FCODE) == BUILT_IN_ALLOCA \
3265 || (FCODE) == BUILT_IN_ALLOCA_WITH_ALIGN \
3266 || (FCODE) == BUILT_IN_ALLOCA_WITH_ALIGN_AND_MAX)
3269#define CASE_BUILT_IN_ALLOCA \
3270 case BUILT_IN_ALLOCA: \
3271 case BUILT_IN_ALLOCA_WITH_ALIGN: \
3272 case BUILT_IN_ALLOCA_WITH_ALIGN_AND_MAX
3274#define DECL_FUNCTION_PERSONALITY(NODE) \
3275 (FUNCTION_DECL_CHECK (NODE)->function_decl.personality)
3281#define DECL_IGNORED_P(NODE) \
3282 (DECL_COMMON_CHECK (NODE)->decl_common.ignored_flag)
3290#define DECL_ABSTRACT_P(NODE) \
3291 (DECL_COMMON_CHECK (NODE)->decl_common.abstract_flag)
3294#define DECL_LANG_SPECIFIC(NODE) \
3295 (DECL_COMMON_CHECK (NODE)->decl_common.lang_specific)
3304#define DECL_EXTERNAL(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.decl_flag_1)
3313#define DECL_NONLOCAL(NODE) \
3314 (DECL_COMMON_CHECK (NODE)->decl_common.nonlocal_flag)
3319#define DECL_VIRTUAL_P(NODE) \
3320 (DECL_COMMON_CHECK (NODE)->decl_common.virtual_flag)
3323#define DECL_ARTIFICIAL(NODE) \
3324 (DECL_COMMON_CHECK (NODE)->decl_common.artificial_flag)
3327#define DECL_LANG_FLAG_0(NODE) \
3328 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_0)
3329#define DECL_LANG_FLAG_1(NODE) \
3330 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_1)
3331#define DECL_LANG_FLAG_2(NODE) \
3332 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_2)
3333#define DECL_LANG_FLAG_3(NODE) \
3334 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_3)
3335#define DECL_LANG_FLAG_4(NODE) \
3336 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_4)
3337#define DECL_LANG_FLAG_5(NODE) \
3338 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_5)
3339#define DECL_LANG_FLAG_6(NODE) \
3340 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_6)
3341#define DECL_LANG_FLAG_7(NODE) \
3342 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_7)
3343#define DECL_LANG_FLAG_8(NODE) \
3344 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_8)
3347#define SCOPE_FILE_SCOPE_P(EXP) \
3348 (! (EXP) || TREE_CODE (EXP) == TRANSLATION_UNIT_DECL)
3350#define DECL_FILE_SCOPE_P(EXP) SCOPE_FILE_SCOPE_P (DECL_CONTEXT (EXP))
3352#define TYPE_FILE_SCOPE_P(EXP) SCOPE_FILE_SCOPE_P (TYPE_CONTEXT (EXP))
3356#define DECL_PRESERVE_P(DECL) \
3357 DECL_COMMON_CHECK (DECL)->decl_common.preserve_flag
3362#define DECL_NOINIT_P(DECL) \
3364 && (lookup_attribute ("noinit", DECL_ATTRIBUTES (DECL)) != NULL_TREE))
3369#define DECL_PERSISTENT_P(DECL) \
3371 && (lookup_attribute ("persistent", DECL_ATTRIBUTES (DECL)) != NULL_TREE))
3378#define DECL_NOT_GIMPLE_REG_P(DECL) \
3379 DECL_COMMON_CHECK (DECL)->decl_common.not_gimple_reg_flag
3387#define DECL_HAS_VALUE_EXPR_P(NODE) \
3388 (TREE_CHECK3 (NODE, VAR_DECL, PARM_DECL, RESULT_DECL) \
3389 ->decl_common.decl_flag_2)
3390#define DECL_VALUE_EXPR(NODE) \
3391 (decl_value_expr_lookup (DECL_WRTL_CHECK (NODE)))
3392#define SET_DECL_VALUE_EXPR(NODE, VAL) \
3393 (decl_value_expr_insert (DECL_WRTL_CHECK (NODE), VAL))
3398#define DECL_RTL(NODE) \
3399 (DECL_WRTL_CHECK (NODE)->decl_with_rtl.rtl \
3400 ? (NODE)->decl_with_rtl.rtl \
3401 : (make_decl_rtl (NODE), (NODE)->decl_with_rtl.rtl))
3404#define SET_DECL_RTL(NODE, RTL) set_decl_rtl (NODE, RTL)
3407#define HAS_RTL_P(NODE) (CODE_CONTAINS_STRUCT (TREE_CODE (NODE), TS_DECL_WRTL))
3410#define DECL_RTL_SET_P(NODE) \
3411 (HAS_RTL_P (NODE) && DECL_WRTL_CHECK (NODE)->decl_with_rtl.rtl != NULL)
3415#define COPY_DECL_RTL(SRC_DECL, DST_DECL) \
3416 (DECL_WRTL_CHECK (DST_DECL)->decl_with_rtl.rtl \
3417 = DECL_WRTL_CHECK (SRC_DECL)->decl_with_rtl.rtl)
3420#define DECL_RTL_IF_SET(NODE) (DECL_RTL_SET_P (NODE) ? DECL_RTL (NODE) : NULL)
3422#if (GCC_VERSION >= 2007)
3423#define DECL_RTL_KNOWN_SET(decl) __extension__ \
3424({ tree const __d = (decl); \
3425 gcc_checking_assert (DECL_RTL_SET_P (__d)); \
3428 &*DECL_RTL_IF_SET (__d); })
3430#define DECL_RTL_KNOWN_SET(decl) (&*DECL_RTL_IF_SET (decl))
3434#define DECL_REGISTER(NODE) (DECL_WRTL_CHECK (NODE)->decl_common.decl_flag_0)
3439#define DECL_FIELD_OFFSET(NODE) (FIELD_DECL_CHECK (NODE)->field_decl.offset)
3445#define DECL_FIELD_BIT_OFFSET(NODE) \
3446 (FIELD_DECL_CHECK (NODE)->field_decl.bit_offset)
3451#define DECL_BIT_FIELD_TYPE(NODE) \
3452 (FIELD_DECL_CHECK (NODE)->field_decl.bit_field_type)
3456#define DECL_BIT_FIELD_REPRESENTATIVE(NODE) \
3457 (FIELD_DECL_CHECK (NODE)->field_decl.qualifier)
3461#define DECL_QUALIFIER(NODE) (FIELD_DECL_CHECK (NODE)->field_decl.qualifier)
3467#define DECL_OFFSET_ALIGN(NODE) \
3468 (HOST_WIDE_INT_1U << FIELD_DECL_CHECK (NODE)->decl_common.off_align)
3471#define SET_DECL_OFFSET_ALIGN(NODE, X) \
3472 (FIELD_DECL_CHECK (NODE)->decl_common.off_align = ffs_hwi (X) - 1)
3477#define DECL_FCONTEXT(NODE) (FIELD_DECL_CHECK (NODE)->field_decl.fcontext)
3480#define DECL_PACKED(NODE) (FIELD_DECL_CHECK (NODE)->base.u.bits.packed_flag)
3484#define DECL_BIT_FIELD(NODE) (FIELD_DECL_CHECK (NODE)->decl_common.decl_flag_1)
3490#define DECL_FIELD_ABI_IGNORED(NODE) \
3491 (!DECL_BIT_FIELD (NODE) && (NODE)->decl_common.decl_flag_0)
3492#define SET_DECL_FIELD_ABI_IGNORED(NODE, VAL) \
3494 gcc_checking_assert (!DECL_BIT_FIELD (NODE)); \
3495 FIELD_DECL_CHECK (NODE)->decl_common.decl_flag_0 = (VAL); \
3503#define DECL_FIELD_CXX_ZERO_WIDTH_BIT_FIELD(NODE) \
3504 (DECL_BIT_FIELD (NODE) && (NODE)->decl_common.decl_flag_0)
3505#define SET_DECL_FIELD_CXX_ZERO_WIDTH_BIT_FIELD(NODE, VAL) \
3507 gcc_checking_assert (DECL_BIT_FIELD (NODE)); \
3508 FIELD_DECL_CHECK (NODE)->decl_common.decl_flag_0 = (VAL); \
3526#define DECL_NONADDRESSABLE_P(NODE) \
3527 (FIELD_DECL_CHECK (NODE)->decl_common.decl_flag_2)
3530#define DECL_PADDING_P(NODE) \
3531 (FIELD_DECL_CHECK (NODE)->decl_common.decl_flag_3)
3536#define DECL_NOT_FLEXARRAY(NODE) \
3537 (FIELD_DECL_CHECK (NODE)->decl_common.decl_not_flexarray)
3542#define LABEL_DECL_UID(NODE) \
3543 (LABEL_DECL_CHECK (NODE)->label_decl.label_decl_uid)
3547#define EH_LANDING_PAD_NR(NODE) \
3548 (LABEL_DECL_CHECK (NODE)->label_decl.eh_landing_pad_nr)
3552#define DECL_ARG_TYPE(NODE) (PARM_DECL_CHECK (NODE)->decl_common.initial)
3556#define DECL_INCOMING_RTL(NODE) \
3557 (PARM_DECL_CHECK (NODE)->parm_decl.incoming_rtl)
3561#define DECL_IN_SYSTEM_HEADER(NODE) \
3562 (in_system_header_at (DECL_SOURCE_LOCATION (NODE)))
3566#define DECL_DEFER_OUTPUT(NODE) \
3567 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.defer_output)
3571#define DECL_IN_TEXT_SECTION(NODE) \
3572 (VAR_DECL_CHECK (NODE)->decl_with_vis.in_text_section)
3576#define DECL_IN_CONSTANT_POOL(NODE) \
3577 (VAR_DECL_CHECK (NODE)->decl_with_vis.in_constant_pool)
3582#define DECL_COMMON(NODE) \
3583 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.common_flag)
3587#define DECL_HARD_REGISTER(NODE) \
3588 (VAR_DECL_CHECK (NODE)->decl_with_vis.hard_register)
3591#define DECL_WEAK(NODE) (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.weak_flag)
3594#define DECL_DLLIMPORT_P(NODE) \
3595 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.dllimport_flag)
3606#define DECL_COMDAT(NODE) \
3607 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.comdat_flag)
3609#define DECL_COMDAT_GROUP(NODE) \
3610 decl_comdat_group (NODE)
3614#define DECL_ONE_ONLY(NODE) (DECL_COMDAT_GROUP (NODE) != NULL_TREE \
3615 && (TREE_PUBLIC (NODE) || DECL_EXTERNAL (NODE)))
3624#define DECL_ASSEMBLER_NAME(NODE) decl_assembler_name (NODE)
3627#define DECL_ASSEMBLER_NAME_RAW(NODE) \
3628 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.assembler_name)
3632#define HAS_DECL_ASSEMBLER_NAME_P(NODE) \
3633 (CODE_CONTAINS_STRUCT (TREE_CODE (NODE), TS_DECL_WITH_VIS))
3638#define DECL_ASSEMBLER_NAME_SET_P(NODE) \
3639 (DECL_ASSEMBLER_NAME_RAW (NODE) != NULL_TREE)
3642#define SET_DECL_ASSEMBLER_NAME(NODE, NAME) \
3643 overwrite_decl_assembler_name (NODE, NAME)
3656#define COPY_DECL_ASSEMBLER_NAME(SRC_DECL, DST_DECL) \
3657 SET_DECL_ASSEMBLER_NAME (DST_DECL, DECL_ASSEMBLER_NAME_RAW (SRC_DECL))
3661#define DECL_SECTION_NAME(NODE) decl_section_name (NODE)
3665#define DECL_SEEN_IN_BIND_EXPR_P(NODE) \
3666 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.seen_in_bind_expr)
3669#define DECL_VISIBILITY(NODE) \
3670 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.visibility)
3674#define DECL_VISIBILITY_SPECIFIED(NODE) \
3675 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.visibility_specified)
3679#define DECL_TLS_MODEL(NODE) decl_tls_model (NODE)
3683#define DECL_THREAD_LOCAL_P(NODE) \
3684 ((TREE_STATIC (NODE) || DECL_EXTERNAL (NODE)) && decl_tls_model (NODE) >= TLS_MODEL_REAL)
3689#define DECL_HAS_INIT_PRIORITY_P(NODE) \
3690 (VAR_DECL_CHECK (NODE)->decl_with_vis.init_priority_p)
3696#define DECL_HAS_DEBUG_EXPR_P(NODE) \
3697 (VAR_DECL_CHECK (NODE)->decl_common.debug_expr_is_from)
3698#define DECL_DEBUG_EXPR(NODE) \
3699 (decl_debug_expr_lookup (VAR_DECL_CHECK (NODE)))
3701#define SET_DECL_DEBUG_EXPR(NODE, VAL) \
3702 (decl_debug_expr_insert (VAR_DECL_CHECK (NODE), VAL))
3711#define DECL_INIT_PRIORITY(NODE) \
3712 (decl_init_priority_lookup (NODE))
3714#define SET_DECL_INIT_PRIORITY(NODE, VAL) \
3715 (decl_init_priority_insert (NODE, VAL))
3718#define DECL_FINI_PRIORITY(NODE) \
3719 (decl_fini_priority_lookup (NODE))
3721#define SET_DECL_FINI_PRIORITY(NODE, VAL) \
3722 (decl_fini_priority_insert (NODE, VAL))
3726#define DEFAULT_INIT_PRIORITY 65535
3729#define MAX_INIT_PRIORITY 65535
3733#define MAX_RESERVED_INIT_PRIORITY 100
3736#define VAR_DECL_IS_VIRTUAL_OPERAND(NODE) \
3737 (VAR_DECL_CHECK (NODE)->base.u.bits.saturating_flag)
3740#define DECL_NONLOCAL_FRAME(NODE) \
3741 (VAR_DECL_CHECK (NODE)->base.default_def_flag)
3744#define DECL_NONALIASED(NODE) \
3745 (VAR_DECL_CHECK (NODE)->base.nothrow_flag)
3750#define DECL_MERGEABLE(NODE) \
3751 (VAR_DECL_CHECK (NODE)->decl_common.decl_flag_3)
3755#define DECL_RESULT_FLD(NODE) \
3756 (DECL_NON_COMMON_CHECK (NODE)->decl_non_common.result)
3765#define DECL_VINDEX(NODE) \
3766 (FUNCTION_DECL_CHECK (NODE)->function_decl.vindex)
3769#define DECL_RESULT(NODE) (FUNCTION_DECL_CHECK (NODE)->decl_non_common.result)
3772#define DECL_UNINLINABLE(NODE) \
3773 (FUNCTION_DECL_CHECK (NODE)->function_decl.uninlinable)
3777#define DECL_SAVED_TREE(NODE) \
3778 (FUNCTION_DECL_CHECK (NODE)->function_decl.saved_tree)
3783#define DECL_IS_MALLOC(NODE) \
3784 (FUNCTION_DECL_CHECK (NODE)->function_decl.malloc_flag)
3787#define FUNCTION_DECL_DECL_TYPE(NODE) \
3788 (NODE->function_decl.decl_type)
3808#define DECL_IS_REPLACEABLE_OPERATOR(NODE)\
3809 (FUNCTION_DECL_CHECK (NODE)->function_decl.replaceable_operator)
3814#define DECL_IS_OPERATOR_NEW_P(NODE) \
3815 (FUNCTION_DECL_DECL_TYPE (FUNCTION_DECL_CHECK (NODE)) \
3816 == function_decl_type::OPERATOR_NEW)
3818#define DECL_IS_REPLACEABLE_OPERATOR_NEW_P(NODE) \
3819 (DECL_IS_OPERATOR_NEW_P (NODE) && DECL_IS_REPLACEABLE_OPERATOR (NODE))
3821#define DECL_SET_IS_OPERATOR_NEW(NODE, VAL) \
3822 set_function_decl_type (FUNCTION_DECL_CHECK (NODE), \
3823 function_decl_type::OPERATOR_NEW, VAL)
3827#define DECL_IS_OPERATOR_DELETE_P(NODE) \
3828 (FUNCTION_DECL_DECL_TYPE (FUNCTION_DECL_CHECK (NODE)) \
3829 == function_decl_type::OPERATOR_DELETE)
3831#define DECL_SET_IS_OPERATOR_DELETE(NODE, VAL) \
3832 set_function_decl_type (FUNCTION_DECL_CHECK (NODE), \
3833 function_decl_type::OPERATOR_DELETE, VAL)
3837#define DECL_IS_RETURNS_TWICE(NODE) \
3838 (FUNCTION_DECL_CHECK (NODE)->function_decl.returns_twice_flag)
3845#define DECL_PURE_P(NODE) (FUNCTION_DECL_CHECK (NODE)->function_decl.pure_flag)
3853#define DECL_LOOPING_CONST_OR_PURE_P(NODE) \
3854 (FUNCTION_DECL_CHECK (NODE)->function_decl.looping_const_or_pure_flag)
3859#define DECL_IS_NOVOPS(NODE) \
3860 (FUNCTION_DECL_CHECK (NODE)->function_decl.novops_flag)
3864#define DECL_STATIC_CONSTRUCTOR(NODE) \
3865 (FUNCTION_DECL_CHECK (NODE)->function_decl.static_ctor_flag)
3867#define DECL_STATIC_DESTRUCTOR(NODE) \
3868(FUNCTION_DECL_CHECK (NODE)->function_decl.static_dtor_flag)
3872#define DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT(NODE) \
3873 (FUNCTION_DECL_CHECK (NODE)->function_decl.no_instrument_function_entry_exit)
3877#define DECL_NO_LIMIT_STACK(NODE) \
3878 (FUNCTION_DECL_CHECK (NODE)->function_decl.no_limit_stack)
3881#define DECL_STATIC_CHAIN(NODE) \
3882 (FUNCTION_DECL_CHECK (NODE)->decl_with_vis.regdecl_flag)
3887#define DECL_POSSIBLY_INLINED(DECL) \
3888 FUNCTION_DECL_CHECK (DECL)->function_decl.possibly_inlined
3893#define DECL_DECLARED_INLINE_P(NODE) \
3894 (FUNCTION_DECL_CHECK (NODE)->function_decl.declared_inline_flag)
3898#define DECL_NO_INLINE_WARNING_P(NODE) \
3899 (FUNCTION_DECL_CHECK (NODE)->function_decl.no_inline_warning_flag)
3902#define BUILTIN_TM_LOAD_STORE_P(FN) \
3903 ((FN) >= BUILT_IN_TM_STORE_1 && (FN) <= BUILT_IN_TM_LOAD_RFW_LDOUBLE)
3906#define BUILTIN_TM_LOAD_P(FN) \
3907 ((FN) >= BUILT_IN_TM_LOAD_1 && (FN) <= BUILT_IN_TM_LOAD_RFW_LDOUBLE)
3910#define BUILTIN_TM_STORE_P(FN) \
3911 ((FN) >= BUILT_IN_TM_STORE_1 && (FN) <= BUILT_IN_TM_STORE_WAW_LDOUBLE)
3913#define CASE_BUILT_IN_TM_LOAD(FN) \
3914 case BUILT_IN_TM_LOAD_##FN: \
3915 case BUILT_IN_TM_LOAD_RAR_##FN: \
3916 case BUILT_IN_TM_LOAD_RAW_##FN: \
3917 case BUILT_IN_TM_LOAD_RFW_##FN
3919#define CASE_BUILT_IN_TM_STORE(FN) \
3920 case BUILT_IN_TM_STORE_##FN: \
3921 case BUILT_IN_TM_STORE_WAR_##FN: \
3922 case BUILT_IN_TM_STORE_WAW_##FN
3928#define DECL_DISREGARD_INLINE_LIMITS(NODE) \
3929 (FUNCTION_DECL_CHECK (NODE)->function_decl.disregard_inline_limits)
3935#define DECL_HAS_DEBUG_ARGS_P(NODE) \
3936 (FUNCTION_DECL_CHECK (NODE)->function_decl.has_debug_args_flag)
3940#define DECL_STRUCT_FUNCTION(NODE) \
3941 (FUNCTION_DECL_CHECK (NODE)->function_decl.f)
3944#define DECL_BUILT_IN_CLASS(NODE) \
3945 ((built_in_class) FUNCTION_DECL_CHECK (NODE)->function_decl.built_in_class)
3948#define DECL_ARGUMENTS(NODE) \
3949 (FUNCTION_DECL_CHECK (NODE)->function_decl.arguments)
3953#define DECL_FUNCTION_SPECIFIC_TARGET(NODE) \
3954 (FUNCTION_DECL_CHECK (NODE)->function_decl.function_specific_target)
3958#define DECL_FUNCTION_SPECIFIC_OPTIMIZATION(NODE) \
3959 (FUNCTION_DECL_CHECK (NODE)->function_decl.function_specific_optimization)
3964#define DECL_FUNCTION_VERSIONED(NODE)\
3965 (FUNCTION_DECL_CHECK (NODE)->function_decl.versioned_function)
3971#define DECL_CXX_CONSTRUCTOR_P(NODE)\
3972 (FUNCTION_DECL_CHECK (NODE)->decl_with_vis.cxx_constructor)
3976#define DECL_CXX_DESTRUCTOR_P(NODE)\
3977 (FUNCTION_DECL_CHECK (NODE)->decl_with_vis.cxx_destructor)
3980#define DECL_LAMBDA_FUNCTION_P(NODE) \
3981 (FUNCTION_DECL_DECL_TYPE (FUNCTION_DECL_CHECK (NODE)) \
3982 == function_decl_type::LAMBDA_FUNCTION)
3984#define DECL_SET_LAMBDA_FUNCTION(NODE, VAL) \
3985 set_function_decl_type (FUNCTION_DECL_CHECK (NODE), \
3986 function_decl_type::LAMBDA_FUNCTION, VAL)
3990#define DECL_FINAL_P(NODE)\
3991 (FUNCTION_DECL_CHECK (NODE)->decl_with_vis.final)
3994#define TRANSLATION_UNIT_LANGUAGE(NODE) \
3995 (TRANSLATION_UNIT_DECL_CHECK (NODE)->translation_unit_decl.language)
4000#define DECL_ORIGINAL_TYPE(NODE) \
4001 (TYPE_DECL_CHECK (NODE)->decl_non_common.result)
4006#define TYPE_DECL_SUPPRESS_DEBUG(NODE) \
4007 (TYPE_DECL_CHECK (NODE)->decl_common.decl_flag_1)
4011#define IMPORTED_DECL_ASSOCIATED_DECL(NODE) \
4012(DECL_INITIAL (IMPORTED_DECL_CHECK (NODE)))
4016#define NAMELIST_DECL_ASSOCIATED_DECL(NODE) \
4017 (DECL_INITIAL (NODE))
4025#define STATEMENT_LIST_HEAD(NODE) \
4026 (STATEMENT_LIST_CHECK (NODE)->stmt_list.head)
4027#define STATEMENT_LIST_TAIL(NODE) \
4028 (STATEMENT_LIST_CHECK (NODE)->stmt_list.tail)
4030#define TREE_OPTIMIZATION(NODE) \
4031 (OPTIMIZATION_NODE_CHECK (NODE)->optimization.opts)
4033#define TREE_OPTIMIZATION_OPTABS(NODE) \
4034 (OPTIMIZATION_NODE_CHECK (NODE)->optimization.optabs)
4036#define TREE_OPTIMIZATION_BASE_OPTABS(NODE) \
4037 (OPTIMIZATION_NODE_CHECK (NODE)->optimization.base_optabs)
4042 struct gcc_options *opts_set);
4044#define TREE_TARGET_OPTION(NODE) \
4045 (TARGET_OPTION_NODE_CHECK (NODE)->target_option.opts)
4047#define TREE_TARGET_GLOBALS(NODE) \
4048 (TARGET_OPTION_NODE_CHECK (NODE)->target_option.globals)
4053 struct gcc_options *opts_set);
4057#if defined ENABLE_TREE_CHECKING && (GCC_VERSION >= 2007)
4060tree_check (
tree __t,
const char *__f,
int __l,
const char *__g,
tree_code __c)
4063 tree_check_failed (__t, __f, __l, __g, __c, 0);
4068tree_not_check (
tree __t,
const char *__f,
int __l,
const char *__g,
4072 tree_not_check_failed (__t, __f, __l, __g, __c, 0);
4077tree_check2 (
tree __t,
const char *__f,
int __l,
const char *__g,
4082 tree_check_failed (__t, __f, __l, __g, __c1, __c2, 0);
4087tree_not_check2 (
tree __t,
const char *__f,
int __l,
const char *__g,
4092 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, 0);
4097tree_check3 (
tree __t,
const char *__f,
int __l,
const char *__g,
4103 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, 0);
4108tree_not_check3 (
tree __t,
const char *__f,
int __l,
const char *__g,
4114 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, 0);
4119tree_check4 (
tree __t,
const char *__f,
int __l,
const char *__g,
4127 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, 0);
4132tree_not_check4 (
tree __t,
const char *__f,
int __l,
const char *__g,
4140 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, 0);
4145tree_check5 (
tree __t,
const char *__f,
int __l,
const char *__g,
4154 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, 0);
4159tree_not_check5 (
tree __t,
const char *__f,
int __l,
const char *__g,
4168 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, 0);
4173tree_check6 (
tree __t,
const char *__f,
int __l,
const char *__g,
4183 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, __c6,
4189tree_not_check6 (
tree __t,
const char *__f,
int __l,
const char *__g,
4199 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5,
4206 const char *__f,
int __l,
const char *__g)
4209 tree_contains_struct_check_failed (__t, __s, __f, __l, __g);
4215 const char *__f,
int __l,
const char *__g)
4218 tree_class_check_failed (__t, __class, __f, __l, __g);
4223tree_range_check (
tree __t,
4225 const char *__f,
int __l,
const char *__g)
4228 tree_range_check_failed (__t, __f, __l, __g, __code1, __code2);
4234 const char *__f,
int __l,
const char *__g)
4237 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
4239 omp_clause_check_failed (__t, __f, __l, __g, __code);
4244omp_clause_range_check (
tree __t,
4247 const char *__f,
int __l,
const char *__g)
4250 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
4253 omp_clause_range_check_failed (__t, __f, __l, __g, __code1, __code2);
4260expr_check (
tree __t,
const char *__f,
int __l,
const char *__g)
4271non_type_check (
tree __t,
const char *__f,
int __l,
const char *__g)
4274 tree_not_class_check_failed (__t,
tcc_type, __f, __l, __g);
4278inline const HOST_WIDE_INT *
4279tree_int_cst_elt_check (
const_tree __t,
int __i,
4280 const char *__f,
int __l,
const char *__g)
4283 tree_check_failed (__t, __f, __l, __g, INTEGER_CST, 0);
4284 if (__i < 0 || __i >= __t->
base.
u.int_length.extended)
4285 tree_int_cst_elt_check_failed (__i, __t->
base.
u.int_length.extended,
4287 return &
const_cast<tree> (__t)->int_cst.val[__i];
4290inline HOST_WIDE_INT *
4291tree_int_cst_elt_check (
tree __t,
int __i,
4292 const char *__f,
int __l,
const char *__g)
4295 tree_check_failed (__t, __f, __l, __g, INTEGER_CST, 0);
4296 if (__i < 0 || __i >= __t->
base.
u.int_length.extended)
4297 tree_int_cst_elt_check_failed (__i, __t->
base.
u.int_length.extended,
4299 return &
const_cast<tree> (__t)->int_cst.val[__i];
4304# if GCC_VERSION >= 4006
4305#pragma GCC diagnostic push
4306#pragma GCC diagnostic ignored "-Wstrict-overflow"
4310tree_vec_elt_check (
tree __t,
int __i,
4311 const char *__f,
int __l,
const char *__g)
4314 tree_check_failed (__t, __f, __l, __g, TREE_VEC, 0);
4315 if (__i < 0 || __i >= __t->
base.
u.length)
4316 tree_vec_elt_check_failed (__i, __t->
base.
u.length, __f, __l, __g);
4317 return &
const_cast<tree> (__t)->
vec.a[__i];
4320# if GCC_VERSION >= 4006
4321#pragma GCC diagnostic pop
4325omp_clause_elt_check (
tree __t,
int __i,
4326 const char *__f,
int __l,
const char *__g)
4329 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
4331 omp_clause_operand_check_failed (__i, __t, __f, __l, __g);
4338any_integral_type_check (
tree __t,
const char *__f,
int __l,
const char *__g)
4341 tree_check_failed (__t, __f, __l, __g, BOOLEAN_TYPE, ENUMERAL_TYPE,
4342 INTEGER_TYPE, BITINT_TYPE, 0);
4347tree_check (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4351 tree_check_failed (__t, __f, __l, __g, __c, 0);
4356tree_not_check (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4360 tree_not_check_failed (__t, __f, __l, __g, __c, 0);
4365tree_check2 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4370 tree_check_failed (__t, __f, __l, __g, __c1, __c2, 0);
4375tree_not_check2 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4380 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, 0);
4385tree_check3 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4391 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, 0);
4396tree_not_check3 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4402 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, 0);
4407tree_check4 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4415 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, 0);
4420tree_not_check4 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4428 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, 0);
4433tree_check5 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4442 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, 0);
4447tree_not_check5 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4456 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, 0);
4461tree_check6 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4471 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, __c6,
4477tree_not_check6 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4487 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5,
4494 const char *__f,
int __l,
const char *__g)
4497 tree_contains_struct_check_failed (__t, __s, __f, __l, __g);
4503 const char *__f,
int __l,
const char *__g)
4506 tree_class_check_failed (__t, __class, __f, __l, __g);
4513 const char *__f,
int __l,
const char *__g)
4516 tree_range_check_failed (__t, __f, __l, __g, __code1, __code2);
4522 const char *__f,
int __l,
const char *__g)
4525 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
4527 omp_clause_check_failed (__t, __f, __l, __g, __code);
4535 const char *__f,
int __l,
const char *__g)
4538 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
4541 omp_clause_range_check_failed (__t, __f, __l, __g, __code1, __code2);
4546expr_check (
const_tree __t,
const char *__f,
int __l,
const char *__g)
4555non_type_check (
const_tree __t,
const char *__f,
int __l,
const char *__g)
4558 tree_not_class_check_failed (__t,
tcc_type, __f, __l, __g);
4562# if GCC_VERSION >= 4006
4563#pragma GCC diagnostic push
4564#pragma GCC diagnostic ignored "-Wstrict-overflow"
4569 const char *__f,
int __l,
const char *__g)
4572 tree_check_failed (__t, __f, __l, __g, TREE_VEC, 0);
4573 if (__i < 0 || __i >= __t->
base.
u.length)
4574 tree_vec_elt_check_failed (__i, __t->
base.
u.length, __f, __l, __g);
4579# if GCC_VERSION >= 4006
4580#pragma GCC diagnostic pop
4584omp_clause_elt_check (
const_tree __t,
int __i,
4585 const char *__f,
int __l,
const char *__g)
4588 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
4590 omp_clause_operand_check_failed (__i, __t, __f, __l, __g);
4595any_integral_type_check (
const_tree __t,
const char *__f,
int __l,
4599 tree_check_failed (__t, __f, __l, __g, BOOLEAN_TYPE, ENUMERAL_TYPE,
4600 INTEGER_TYPE, BITINT_TYPE, 0);
4618#if defined ENABLE_TREE_CHECKING && (GCC_VERSION >= 2007)
4622tree_operand_check (
tree __t,
int __i,
4623 const char *__f,
int __l,
const char *__g)
4627 tree_operand_check_failed (__i, __u, __f, __l, __g);
4628 return &
const_cast<tree> (__u)->
exp.operands[__i];
4632tree_operand_check_code (
tree __t,
enum tree_code __code,
int __i,
4633 const char *__f,
int __l,
const char *__g)
4636 tree_check_failed (__t, __f, __l, __g, __code, 0);
4638 tree_operand_check_failed (__i, __t, __f, __l, __g);
4644 const char *__f,
int __l,
const char *__g)
4648 tree_operand_check_failed (__i, __u, __f, __l, __g);
4654 const char *__f,
int __l,
const char *__g)
4657 tree_check_failed (__t, __f, __l, __g, __code, 0);
4659 tree_operand_check_failed (__i, __t, __f, __l, __g);
4685 unsigned int precision = VECTOR_TYPE_CHECK (
node)->type_common.precision;
4692 if (precision & 0x100)
4707 unsigned HOST_WIDE_INT coeff0 = subparts.
coeffs[0];
4727 unsigned HOST_WIDE_INT coeff1 = subparts.
coeffs[1];
4728 gcc_assert (coeff1 == 0 || coeff1 == coeff0);
4729 VECTOR_TYPE_CHECK (
node)->type_common.precision
4730 = index + (coeff1 != 0 ? 0x100 : 0);
4733 VECTOR_TYPE_CHECK (
node)->type_common.precision = index;
4742 unsigned HOST_WIDE_INT coeff0 = subparts.
coeffs[0];
4747 unsigned HOST_WIDE_INT coeff1 = subparts.
coeffs[1];
4748 if (coeff1 != 0 && coeff1 != coeff0)
4804 = FUNCTION_DECL_CHECK (olddecl)->function_decl;
4813#define EXPR_LOCATION_WRAPPER_P(NODE) \
4814 (TREE_CHECK2(NODE, NON_LVALUE_EXPR, VIEW_CONVERT_EXPR)->base.public_flag)
4848#define error_mark_node global_trees[TI_ERROR_MARK]
4850#define intQI_type_node global_trees[TI_INTQI_TYPE]
4851#define intHI_type_node global_trees[TI_INTHI_TYPE]
4852#define intSI_type_node global_trees[TI_INTSI_TYPE]
4853#define intDI_type_node global_trees[TI_INTDI_TYPE]
4854#define intTI_type_node global_trees[TI_INTTI_TYPE]
4856#define unsigned_intQI_type_node global_trees[TI_UINTQI_TYPE]
4857#define unsigned_intHI_type_node global_trees[TI_UINTHI_TYPE]
4858#define unsigned_intSI_type_node global_trees[TI_UINTSI_TYPE]
4859#define unsigned_intDI_type_node global_trees[TI_UINTDI_TYPE]
4860#define unsigned_intTI_type_node global_trees[TI_UINTTI_TYPE]
4862#define atomicQI_type_node global_trees[TI_ATOMICQI_TYPE]
4863#define atomicHI_type_node global_trees[TI_ATOMICHI_TYPE]
4864#define atomicSI_type_node global_trees[TI_ATOMICSI_TYPE]
4865#define atomicDI_type_node global_trees[TI_ATOMICDI_TYPE]
4866#define atomicTI_type_node global_trees[TI_ATOMICTI_TYPE]
4868#define uint16_type_node global_trees[TI_UINT16_TYPE]
4869#define uint32_type_node global_trees[TI_UINT32_TYPE]
4870#define uint64_type_node global_trees[TI_UINT64_TYPE]
4871#define uint128_type_node global_trees[TI_UINT128_TYPE]
4873#define void_node global_trees[TI_VOID]
4875#define integer_zero_node global_trees[TI_INTEGER_ZERO]
4876#define integer_one_node global_trees[TI_INTEGER_ONE]
4877#define integer_minus_one_node global_trees[TI_INTEGER_MINUS_ONE]
4878#define size_zero_node global_trees[TI_SIZE_ZERO]
4879#define size_one_node global_trees[TI_SIZE_ONE]
4880#define bitsize_zero_node global_trees[TI_BITSIZE_ZERO]
4881#define bitsize_one_node global_trees[TI_BITSIZE_ONE]
4882#define bitsize_unit_node global_trees[TI_BITSIZE_UNIT]
4885#define access_public_node global_trees[TI_PUBLIC]
4886#define access_protected_node global_trees[TI_PROTECTED]
4887#define access_private_node global_trees[TI_PRIVATE]
4889#define null_pointer_node global_trees[TI_NULL_POINTER]
4891#define float_type_node global_trees[TI_FLOAT_TYPE]
4892#define double_type_node global_trees[TI_DOUBLE_TYPE]
4893#define long_double_type_node global_trees[TI_LONG_DOUBLE_TYPE]
4894#define bfloat16_type_node global_trees[TI_BFLOAT16_TYPE]
4897#define FLOATN_TYPE_NODE(IDX) global_trees[TI_FLOATN_TYPE_FIRST + (IDX)]
4898#define FLOATN_NX_TYPE_NODE(IDX) global_trees[TI_FLOATN_NX_TYPE_FIRST + (IDX)]
4899#define FLOATNX_TYPE_NODE(IDX) global_trees[TI_FLOATNX_TYPE_FIRST + (IDX)]
4904#define float16_type_node global_trees[TI_FLOAT16_TYPE]
4905#define float32_type_node global_trees[TI_FLOAT32_TYPE]
4906#define float64_type_node global_trees[TI_FLOAT64_TYPE]
4907#define float128_type_node global_trees[TI_FLOAT128_TYPE]
4908#define float32x_type_node global_trees[TI_FLOAT32X_TYPE]
4909#define float64x_type_node global_trees[TI_FLOAT64X_TYPE]
4910#define float128x_type_node global_trees[TI_FLOAT128X_TYPE]
4914#define float128t_type_node global_trees[TI_FLOAT128T_TYPE]
4916#define float_ptr_type_node global_trees[TI_FLOAT_PTR_TYPE]
4917#define double_ptr_type_node global_trees[TI_DOUBLE_PTR_TYPE]
4918#define long_double_ptr_type_node global_trees[TI_LONG_DOUBLE_PTR_TYPE]
4919#define integer_ptr_type_node global_trees[TI_INTEGER_PTR_TYPE]
4921#define complex_integer_type_node global_trees[TI_COMPLEX_INTEGER_TYPE]
4922#define complex_float_type_node global_trees[TI_COMPLEX_FLOAT_TYPE]
4923#define complex_double_type_node global_trees[TI_COMPLEX_DOUBLE_TYPE]
4924#define complex_long_double_type_node global_trees[TI_COMPLEX_LONG_DOUBLE_TYPE]
4926#define COMPLEX_FLOATN_NX_TYPE_NODE(IDX) global_trees[TI_COMPLEX_FLOATN_NX_TYPE_FIRST + (IDX)]
4928#define void_type_node global_trees[TI_VOID_TYPE]
4930#define ptr_type_node global_trees[TI_PTR_TYPE]
4932#define const_ptr_type_node global_trees[TI_CONST_PTR_TYPE]
4934#define size_type_node global_trees[TI_SIZE_TYPE]
4935#define pid_type_node global_trees[TI_PID_TYPE]
4936#define ptrdiff_type_node global_trees[TI_PTRDIFF_TYPE]
4937#define va_list_type_node global_trees[TI_VA_LIST_TYPE]
4938#define va_list_gpr_counter_field global_trees[TI_VA_LIST_GPR_COUNTER_FIELD]
4939#define va_list_fpr_counter_field global_trees[TI_VA_LIST_FPR_COUNTER_FIELD]
4941#define fileptr_type_node global_trees[TI_FILEPTR_TYPE]
4943#define const_tm_ptr_type_node global_trees[TI_CONST_TM_PTR_TYPE]
4945#define fenv_t_ptr_type_node global_trees[TI_FENV_T_PTR_TYPE]
4946#define const_fenv_t_ptr_type_node global_trees[TI_CONST_FENV_T_PTR_TYPE]
4948#define fexcept_t_ptr_type_node global_trees[TI_FEXCEPT_T_PTR_TYPE]
4949#define const_fexcept_t_ptr_type_node global_trees[TI_CONST_FEXCEPT_T_PTR_TYPE]
4950#define pointer_sized_int_node global_trees[TI_POINTER_SIZED_TYPE]
4952#define boolean_type_node global_trees[TI_BOOLEAN_TYPE]
4953#define boolean_false_node global_trees[TI_BOOLEAN_FALSE]
4954#define boolean_true_node global_trees[TI_BOOLEAN_TRUE]
4957#define dfloat32_type_node global_trees[TI_DFLOAT32_TYPE]
4958#define dfloat64_type_node global_trees[TI_DFLOAT64_TYPE]
4959#define dfloat128_type_node global_trees[TI_DFLOAT128_TYPE]
4960#define dfloat64x_type_node global_trees[TI_DFLOAT64X_TYPE]
4963#define sat_short_fract_type_node global_trees[TI_SAT_SFRACT_TYPE]
4964#define sat_fract_type_node global_trees[TI_SAT_FRACT_TYPE]
4965#define sat_long_fract_type_node global_trees[TI_SAT_LFRACT_TYPE]
4966#define sat_long_long_fract_type_node global_trees[TI_SAT_LLFRACT_TYPE]
4967#define sat_unsigned_short_fract_type_node \
4968 global_trees[TI_SAT_USFRACT_TYPE]
4969#define sat_unsigned_fract_type_node global_trees[TI_SAT_UFRACT_TYPE]
4970#define sat_unsigned_long_fract_type_node \
4971 global_trees[TI_SAT_ULFRACT_TYPE]
4972#define sat_unsigned_long_long_fract_type_node \
4973 global_trees[TI_SAT_ULLFRACT_TYPE]
4974#define short_fract_type_node global_trees[TI_SFRACT_TYPE]
4975#define fract_type_node global_trees[TI_FRACT_TYPE]
4976#define long_fract_type_node global_trees[TI_LFRACT_TYPE]
4977#define long_long_fract_type_node global_trees[TI_LLFRACT_TYPE]
4978#define unsigned_short_fract_type_node global_trees[TI_USFRACT_TYPE]
4979#define unsigned_fract_type_node global_trees[TI_UFRACT_TYPE]
4980#define unsigned_long_fract_type_node global_trees[TI_ULFRACT_TYPE]
4981#define unsigned_long_long_fract_type_node \
4982 global_trees[TI_ULLFRACT_TYPE]
4983#define sat_short_accum_type_node global_trees[TI_SAT_SACCUM_TYPE]
4984#define sat_accum_type_node global_trees[TI_SAT_ACCUM_TYPE]
4985#define sat_long_accum_type_node global_trees[TI_SAT_LACCUM_TYPE]
4986#define sat_long_long_accum_type_node global_trees[TI_SAT_LLACCUM_TYPE]
4987#define sat_unsigned_short_accum_type_node \
4988 global_trees[TI_SAT_USACCUM_TYPE]
4989#define sat_unsigned_accum_type_node global_trees[TI_SAT_UACCUM_TYPE]
4990#define sat_unsigned_long_accum_type_node \
4991 global_trees[TI_SAT_ULACCUM_TYPE]
4992#define sat_unsigned_long_long_accum_type_node \
4993 global_trees[TI_SAT_ULLACCUM_TYPE]
4994#define short_accum_type_node global_trees[TI_SACCUM_TYPE]
4995#define accum_type_node global_trees[TI_ACCUM_TYPE]
4996#define long_accum_type_node global_trees[TI_LACCUM_TYPE]
4997#define long_long_accum_type_node global_trees[TI_LLACCUM_TYPE]
4998#define unsigned_short_accum_type_node global_trees[TI_USACCUM_TYPE]
4999#define unsigned_accum_type_node global_trees[TI_UACCUM_TYPE]
5000#define unsigned_long_accum_type_node global_trees[TI_ULACCUM_TYPE]
5001#define unsigned_long_long_accum_type_node \
5002 global_trees[TI_ULLACCUM_TYPE]
5003#define qq_type_node global_trees[TI_QQ_TYPE]
5004#define hq_type_node global_trees[TI_HQ_TYPE]
5005#define sq_type_node global_trees[TI_SQ_TYPE]
5006#define dq_type_node global_trees[TI_DQ_TYPE]
5007#define tq_type_node global_trees[TI_TQ_TYPE]
5008#define uqq_type_node global_trees[TI_UQQ_TYPE]
5009#define uhq_type_node global_trees[TI_UHQ_TYPE]
5010#define usq_type_node global_trees[TI_USQ_TYPE]
5011#define udq_type_node global_trees[TI_UDQ_TYPE]
5012#define utq_type_node global_trees[TI_UTQ_TYPE]
5013#define sat_qq_type_node global_trees[TI_SAT_QQ_TYPE]
5014#define sat_hq_type_node global_trees[TI_SAT_HQ_TYPE]
5015#define sat_sq_type_node global_trees[TI_SAT_SQ_TYPE]
5016#define sat_dq_type_node global_trees[TI_SAT_DQ_TYPE]
5017#define sat_tq_type_node global_trees[TI_SAT_TQ_TYPE]
5018#define sat_uqq_type_node global_trees[TI_SAT_UQQ_TYPE]
5019#define sat_uhq_type_node global_trees[TI_SAT_UHQ_TYPE]
5020#define sat_usq_type_node global_trees[TI_SAT_USQ_TYPE]
5021#define sat_udq_type_node global_trees[TI_SAT_UDQ_TYPE]
5022#define sat_utq_type_node global_trees[TI_SAT_UTQ_TYPE]
5023#define ha_type_node global_trees[TI_HA_TYPE]
5024#define sa_type_node global_trees[TI_SA_TYPE]
5025#define da_type_node global_trees[TI_DA_TYPE]
5026#define ta_type_node global_trees[TI_TA_TYPE]
5027#define uha_type_node global_trees[TI_UHA_TYPE]
5028#define usa_type_node global_trees[TI_USA_TYPE]
5029#define uda_type_node global_trees[TI_UDA_TYPE]
5030#define uta_type_node global_trees[TI_UTA_TYPE]
5031#define sat_ha_type_node global_trees[TI_SAT_HA_TYPE]
5032#define sat_sa_type_node global_trees[TI_SAT_SA_TYPE]
5033#define sat_da_type_node global_trees[TI_SAT_DA_TYPE]
5034#define sat_ta_type_node global_trees[TI_SAT_TA_TYPE]
5035#define sat_uha_type_node global_trees[TI_SAT_UHA_TYPE]
5036#define sat_usa_type_node global_trees[TI_SAT_USA_TYPE]
5037#define sat_uda_type_node global_trees[TI_SAT_UDA_TYPE]
5038#define sat_uta_type_node global_trees[TI_SAT_UTA_TYPE]
5045#define void_list_node global_trees[TI_VOID_LIST_NODE]
5047#define main_identifier_node global_trees[TI_MAIN_IDENTIFIER]
5048#define MAIN_NAME_P(NODE) \
5049 (IDENTIFIER_NODE_CHECK (NODE) == main_identifier_node)
5053#define optimization_default_node global_trees[TI_OPTIMIZATION_DEFAULT]
5054#define optimization_current_node global_trees[TI_OPTIMIZATION_CURRENT]
5057#define target_option_default_node global_trees[TI_TARGET_OPTION_DEFAULT]
5058#define target_option_current_node global_trees[TI_TARGET_OPTION_CURRENT]
5062#define current_target_pragma global_trees[TI_CURRENT_TARGET_PRAGMA]
5063#define current_optimize_pragma global_trees[TI_CURRENT_OPTIMIZE_PRAGMA]
5066#define chrec_not_analyzed_yet NULL_TREE
5067#define chrec_dont_know global_trees[TI_CHREC_DONT_KNOW]
5068#define chrec_known global_trees[TI_CHREC_KNOWN]
5070#define char_type_node integer_types[itk_char]
5071#define signed_char_type_node integer_types[itk_signed_char]
5072#define unsigned_char_type_node integer_types[itk_unsigned_char]
5073#define short_integer_type_node integer_types[itk_short]
5074#define short_unsigned_type_node integer_types[itk_unsigned_short]
5075#define integer_type_node integer_types[itk_int]
5076#define unsigned_type_node integer_types[itk_unsigned_int]
5077#define long_integer_type_node integer_types[itk_long]
5078#define long_unsigned_type_node integer_types[itk_unsigned_long]
5079#define long_long_integer_type_node integer_types[itk_long_long]
5080#define long_long_unsigned_type_node integer_types[itk_unsigned_long_long]
5302template <
typename ...T>
5305 std::initializer_list<tree> args_ = {args...};
5309#define build_call_array(T1,T2,N,T3)\
5310 build_call_array_loc (UNKNOWN_LOCATION, T1, T2, N, T3)
5361#define build_function_type_vec(RET, V) \
5362 build_function_type_array (RET, vec_safe_length (V), vec_safe_address (V))
5363#define build_varargs_function_type_vec(RET, V) \
5364 build_varargs_function_type_array (RET, vec_safe_length (V), \
5365 vec_safe_address (V))
5390 ATTRIBUTE_NONNULL (1) ATTRIBUTE_PURE;
5392 ATTRIBUTE_NONNULL (1) ATTRIBUTE_PURE;
5394 ATTRIBUTE_NONNULL (1) ATTRIBUTE_PURE;
5396 ATTRIBUTE_NONNULL (1) ATTRIBUTE_PURE;
5398 ATTRIBUTE_NONNULL (1) ATTRIBUTE_PURE;
5399#if !defined ENABLE_TREE_CHECKING && (GCC_VERSION >= 4003)
5400extern inline __attribute__ ((__gnu_inline__)) HOST_WIDE_INT
5407extern inline __attribute__ ((__gnu_inline__))
unsigned HOST_WIDE_INT
5413#if NUM_POLY_INT_COEFFS == 1
5414extern inline __attribute__ ((__gnu_inline__))
poly_int64
5421extern inline __attribute__ ((__gnu_inline__))
poly_uint64
5538#define build_type_variant(TYPE, CONST_P, VOLATILE_P) \
5539 (build_qualified_type \
5541 (((CONST_P) ? TYPE_QUAL_CONST : TYPE_UNQUALIFIED) \
5542 | ((VOLATILE_P) ? TYPE_QUAL_VOLATILE : TYPE_UNQUALIFIED))))
5573#define sizetype sizetype_tab[(int) stk_sizetype]
5574#define bitsizetype sizetype_tab[(int) stk_bitsizetype]
5575#define ssizetype sizetype_tab[(int) stk_ssizetype]
5576#define sbitsizetype sizetype_tab[(int) stk_sbitsizetype]
5577#define size_int(L) size_int_kind (L, stk_sizetype)
5578#define ssize_int(L) size_int_kind (L, stk_ssizetype)
5579#define bitsize_int(L) size_int_kind (L, stk_bitsizetype)
5580#define sbitsize_int(L) size_int_kind (L, stk_sbitsizetype)
5584#if BITS_PER_UNIT == 8
5585#define LOG2_BITS_PER_UNIT 3
5586#elif BITS_PER_UNIT == 16
5587#define LOG2_BITS_PER_UNIT 4
5589#error Unknown BITS_PER_UNIT
5754#define CONTAINS_PLACEHOLDER_P(EXP) \
5755 ((EXP) != 0 && ! TREE_CONSTANT (EXP) && contains_placeholder_p (EXP))
5775#define FIND_PLACEHOLDER_IN_EXPR(EXP, V) \
5777 if((EXP) && !TREE_CONSTANT (EXP)) \
5778 find_placeholder_in_expr (EXP, V); \
5793#define SUBSTITUTE_IN_EXPR(EXP, F, R) \
5794 ((EXP) == 0 || TREE_CONSTANT (EXP) ? (EXP) : substitute_in_expr (EXP, F, R))
5804#define SUBSTITUTE_PLACEHOLDER_IN_EXPR(EXP, OBJ) \
5805 ((EXP) == 0 || TREE_CONSTANT (EXP) ? (EXP) \
5806 : substitute_placeholder_in_expr (EXP, OBJ))
5839 case ARRAY_RANGE_REF:
5842 case VIEW_CONVERT_EXPR:
5877 case ARRAY_RANGE_REF:
5878 case VIEW_CONVERT_EXPR:
5980#define FOREACH_FUNCTION_ARGS_PTR(FNTYPE, PTR, ITER) \
5981 for (function_args_iter_init (&(ITER), (FNTYPE)); \
5982 (PTR = function_args_iter_cond_ptr (&(ITER))) != NULL; \
5983 function_args_iter_next (&(ITER)))
5988#define FOREACH_FUNCTION_ARGS(FNTYPE, TREE, ITER) \
5989 for (function_args_iter_init (&(ITER), (FNTYPE)); \
5990 (TREE = function_args_iter_cond (&(ITER))) != NULL_TREE; \
5991 function_args_iter_next (&(ITER)))
6064 const void *
const * x = (
const void *
const *)
a;
6065 const void *
const *
y = (
const void *
const *)
b;
6072 const void *
const * x = (
const void *
const *)
a;
6073 return (intptr_t)*x >> 4;
6086 return code == TRUNC_DIV_EXPR || code == EXACT_DIV_EXPR;
6093 switch (code.get_rep())
6095 case TRUNC_DIV_EXPR:
6097 case FLOOR_DIV_EXPR:
6098 case ROUND_DIV_EXPR:
6099 case EXACT_DIV_EXPR:
6100 case TRUNC_MOD_EXPR:
6101 case FLOOR_MOD_EXPR:
6103 case ROUND_MOD_EXPR:
6115 || code == TRUTH_AND_EXPR || code == TRUTH_ANDIF_EXPR
6116 || code == TRUTH_OR_EXPR || code == TRUTH_ORIF_EXPR
6117 || code == TRUTH_XOR_EXPR || code == TRUTH_NOT_EXPR);
6173 ATTRIBUTE_NONNULL (1) ATTRIBUTE_NONNULL (2) ATTRIBUTE_PURE;
6174#ifndef GENERATOR_FILE
6196 return hstate.
end ();
6241#define walk_tree(a,b,c,d) \
6242 walk_tree_1 (a, b, c, d, NULL)
6243#define walk_tree_without_duplicates(a,b,c) \
6244 walk_tree_without_duplicates_1 (a, b, c, NULL)
6311 bool trust_type_canonical =
true);
6333 if (code == ENUMERAL_TYPE)
6334 return INTEGER_TYPE;
6340 if (code == REFERENCE_TYPE)
6341 return POINTER_TYPE;
6372#define tree_map_eq tree_map_base_eq
6374#define tree_map_marked_p tree_map_base_marked_p
6376#define tree_decl_map_eq tree_map_base_eq
6378#define tree_decl_map_marked_p tree_map_base_marked_p
6396#define tree_int_map_eq tree_map_base_eq
6397#define tree_int_map_hash tree_map_base_hash
6398#define tree_int_map_marked_p tree_map_base_marked_p
6400#define tree_vec_map_eq tree_map_base_eq
6401#define tree_vec_map_hash tree_decl_map_hash
6402#define tree_vec_map_marked_p tree_map_base_marked_p
6411 return a->base.from ==
b->base.from;
6426 static inline hashval_t
hash (
tree);
6438 static inline hashval_t
hash (
tree);
6452 static inline hashval_t
hash (
tree);
6476struct tree_cache_traits
6482struct decl_tree_cache_traits
6488struct type_tree_cache_traits
6493struct decl_tree_traits
6532 if (iter->
i >= iter->
n)
6546 init_call_expr_arg_iterator (
exp, iter);
6547 return next_call_expr_arg (iter);
6553 init_const_call_expr_arg_iterator (
exp, iter);
6554 return next_const_call_expr_arg (iter);
6562 return (iter->
i < iter->
n);
6567#define FOR_EACH_CALL_EXPR_ARG(arg, iter, call) \
6568 for ((arg) = first_call_expr_arg ((call), &(iter)); (arg); \
6569 (arg) = next_call_expr_arg (&(iter)))
6571#define FOR_EACH_CONST_CALL_EXPR_ARG(arg, iter, call) \
6572 for ((arg) = first_const_call_expr_arg ((call), &(iter)); (arg); \
6573 (arg) = next_const_call_expr_arg (&(iter)))
6583#define BUILTIN_VALID_P(FNCODE) \
6584 (IN_RANGE ((int)FNCODE, ((int)BUILT_IN_NONE) + 1, ((int) END_BUILTINS) - 1))
6590#define BUILTIN_ASM_NAME_PTR(BUILTIN) \
6591 (IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (builtin_decl_explicit (BUILTIN))))
6606 size_t uns_fncode = (size_t)fncode;
6626 size_t ufncode = (size_t)fncode;
6641 size_t uns_fncode = (size_t)fncode;
6654 size_t uns_fncode = (size_t)fncode;
6677 size_t uns_fncode = (size_t)fncode;
6689 size_t uns_fncode = (size_t)fncode;
6748inline struct cl_optimization *
6758inline cl_target_option *
6769#define opt_for_fn(fndecl, opt) (opts_for_fn (fndecl)->x_##opt)
6791 unsigned int get_len ()
const;
6799 static const bool host_dependent_precision =
false;
6800 static const bool is_sign_extended =
false;
6801 static const bool needs_write_val_arg =
false;
6815 const HOST_WIDE_INT *
get_val ()
const;
6816 unsigned int get_len ()
const;
6825 static const bool host_dependent_precision =
false;
6826 static const bool is_sign_extended =
true;
6827 static const bool needs_write_val_arg =
false;
6836 typedef const generic_wide_int<wide_int_ref_storage<false, false> >
6845 generic_wide_int <widest_extended_tree> >
6848 generic_wide_int <offset_extended_tree> >
6851 generic_wide_int <unextended_tree> >
6861 typedef generic_wide_int <extended_tree <N> > extended;
6862 static extended
zero (
const extended &);
6868 typedef generic_wide_int <extended_tree <N> > extended;
6869 static extended
zero (
const extended &);
6875 typedef generic_wide_int <unextended_tree> unextended;
6876 static unextended
zero (
const unextended &);
6882typedef generic_wide_int <wi::extended_tree <WIDEST_INT_MAX_PRECISION * 2> >
7006inline const HOST_WIDE_INT *
7041inline const HOST_WIDE_INT *
7058 poly_int <NUM_POLY_INT_COEFFS, generic_wide_int <wi::unextended_tree> > res;
7073 generic_wide_int <widest_extended_tree> > res;
7090 generic_wide_int <offset_extended_tree> > res;
7110inline generic_wide_int <wi::extended_tree <N> >
7111wi::ints_for <generic_wide_int <wi::extended_tree <N> >,
7118inline generic_wide_int <wi::extended_tree <N> >
7119wi::ints_for <generic_wide_int <wi::extended_tree <N> >,
7125inline generic_wide_int <wi::unextended_tree>
7126wi::ints_for <generic_wide_int <wi::unextended_tree>,
7134 template <
typename T>
7137 template <
typename T>
7142#ifndef GENERATOR_FILE
7147template <
typename T>
7156template <
typename T>
7228 tree *, machine_mode *,
int *,
int *,
int *);
7313class builtin_structptr_type
7335 return name0 == name1;
7340template <
typename... F>
7382template <
typename... F>
7432 location_t m_operator_loc;
7433 location_t m_combined_loc;
7442 op_location_t (location_t operator_loc, location_t combined_loc)
7443 : m_operator_loc (operator_loc), m_combined_loc (combined_loc)
7447 operator location_t ()
const {
return m_combined_loc; }
7474 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:1410
~auto_suppress_location_wrappers()
Definition tree.h:1411
tree & base
Definition tree.h:7248
const char * str
Definition tree.h:7249
code_helper(tree_code code)
Definition tree.h:87
tree_code safe_as_tree_code() const
Definition tree.h:115
bool is_internal_fn() const
Definition tree.h:140
code_helper()
Definition tree.h:86
bool operator!=(const code_helper &other)
Definition tree.h:102
code_helper(internal_fn fn)
Definition tree.h:89
bool is_fn_code() const
Definition tree.h:95
bool operator==(const code_helper &other)
Definition tree.h:101
int rep
Definition tree.h:107
code_helper(combined_fn fn)
Definition tree.h:88
int get_rep() const
Definition tree.h:98
bool is_tree_code() const
Definition tree.h:94
bool is_builtin_fn() const
Definition tree.h:146
combined_fn safe_as_fn_code() const
Definition tree.h:125
Definition genmatch.cc:1627
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:7373
op_location_t(location_t combined_loc)
Definition tree.h:7367
location_t m_operator_loc
Definition tree.h:7363
location_t m_combined_loc
Definition tree.h:7364
Definition poly-int.h:378
C coeffs[N]
Definition poly-int.h:433
tree * end()
Definition tree.h:5170
tree v
Definition tree.h:5166
tree_vec_range(tree v)
Definition tree.h:5168
tree * begin()
Definition tree.h:5169
unsigned int get_precision() const
Definition tree.h:6931
const_tree m_t
Definition tree.h:6739
extended_tree(const_tree)
Definition tree.h:6923
const_tree get_tree() const
Definition tree.h:6748
extended_tree()
Definition tree.h:6742
const HOST_WIDE_INT * get_val() const
Definition tree.h:6938
unsigned int get_len() const
Definition tree.h:6945
Definition wide-int.h:707
const_tree get_tree() const
Definition tree.h:6723
unextended_tree()
Definition tree.h:6717
unsigned int get_len() const
Definition tree.h:6979
unextended_tree(const_tree t)
Definition tree.h:6718
unsigned int get_precision() const
Definition tree.h:6967
const HOST_WIDE_INT * get_val() const
Definition tree.h:6973
const_tree m_t
Definition tree.h:6714
static wide_int from(const wide_int_ref &, unsigned int, signop)
Definition wide-int.h:1289
bool debug
Definition collect-utils.cc:34
struct rtx_def * rtx
Definition coretypes.h:57
unsigned char addr_space_t
Definition coretypes.h:191
tls_model
Definition coretypes.h:215
#define ADDR_SPACE_GENERIC
Definition coretypes.h:194
excess_precision_type
Definition coretypes.h:454
const union tree_node * const_tree
Definition coretypes.h:98
#define GTY(x)
Definition coretypes.h:41
class bitmap_head * bitmap
Definition coretypes.h:51
union tree_node * tree
Definition coretypes.h:97
void(*) gt_pointer_operator(void *, void *, void *)
Definition coretypes.h:477
void ATTRIBUTE_NORETURN
Definition diagnostic-core.h:76
scalar_int_mode word_mode
Definition emit-rtl.cc:78
void set_decl_rtl(tree t, rtx x)
Definition emit-rtl.cc:1477
tree make_tree(tree type, rtx x)
Definition expmed.cc:5711
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:8530
bool complete_ctor_at_level_p(const_tree type, HOST_WIDE_INT num_elts, const_tree last_type)
Definition expr.cc:7392
tree build_personality_function(const char *lang)
Definition expr.cc:14463
uint64_t sanitize_code_type
Definition flag-types.h:359
tree protected_set_expr_location_unshare(tree x, location_t loc)
Definition fold-const.cc:296
void copy_warning(location_t to, location_t from)
Definition gcc-diagnostic-spec.cc:205
bool warning_suppressed_at(location_t loc, opt_code opt)
Definition gcc-diagnostic-spec.cc:125
bool suppress_warning_at(location_t loc, opt_code opt, bool supp)
Definition gcc-diagnostic-spec.cc:148
void put_warning_spec_at(location_t loc, unsigned bits)
Definition gcc-diagnostic-spec.cc:184
built_in_function
Definition genmatch.cc:1018
combined_fn
Definition genmatch.cc:1029
bool commutative_ternary_tree_code(enum tree_code code)
Definition genmatch.cc:1083
internal_fn
Definition genmatch.cc:1024
tree_code
Definition genmatch.cc:1011
bool commutative_tree_code(enum tree_code code)
Definition genmatch.cc:1046
#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:1681
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:82
bool pow2p_hwi(unsigned HOST_WIDE_INT x)
Definition hwint.h:158
#define HOST_WIDE_INT_M1U
Definition hwint.h:55
#define HOST_WIDE_INT_1U
Definition hwint.h:53
tree obj_type_ref_class(const_tree ref, bool for_dump_p)
Definition ipa-devirt.cc:1986
bool types_same_for_odr(const_tree type1, const_tree type2)
Definition ipa-devirt.cc:436
bool int_n_enabled_p[NUM_INT_N_ENTS]
Definition tree.cc:293
ALWAYS_INLINE poly_uint16 GET_MODE_PRECISION(machine_mode mode)
Definition machmode.h:710
Definition custom-sarif-properties/state-graphs.h:33
Definition fold-const.cc:4395
void add_expr(const_tree t, inchash::hash &hstate, unsigned int flags)
Definition fold-const.cc:4403
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:2381
const poly_int< NUM_POLY_INT_COEFFS, generic_wide_int< unextended_tree > > tree_to_poly_wide_ref
Definition tree.h:6783
tree_to_offset_ref to_offset(const_tree)
Definition tree.h:6876
tree_to_poly_offset_ref to_poly_offset(const_tree)
Definition tree.h:7016
int cmps(const T1 &, const T2 &)
Definition wide-int.h:2445
const generic_wide_int< widest_extended_tree > tree_to_widest_ref
Definition tree.h:6765
UNARY_FUNCTION zext(const T &, unsigned int)
extended_tree< ADDR_MAX_PRECISION > offset_extended_tree
Definition tree.h:6763
tree_to_poly_widest_ref to_poly_widest(const_tree)
Definition tree.h:6999
bool fits_to_tree_p(const T &x, const_tree)
Definition tree.h:7089
const generic_wide_int< wide_int_ref_storage< false, false > > tree_to_wide_ref
Definition tree.h:6768
const generic_wide_int< offset_extended_tree > tree_to_offset_ref
Definition tree.h:6766
hwi_with_prec zero(unsigned int)
Definition wide-int.h:2016
const poly_int< NUM_POLY_INT_COEFFS, generic_wide_int< offset_extended_tree > > tree_to_poly_offset_ref
Definition tree.h:6780
unsigned int get_precision(const T &)
Definition wide-int.h:2164
tree_to_widest_ref to_widest(const_tree)
Definition tree.h:6851
rtx_to_poly_wide_ref to_poly_wide(const_rtx, machine_mode)
Definition rtl.h:2426
Ca unsigned int precision
Definition poly-int.h:746
wide_int from_mpz(const_tree, mpz_t, bool)
Definition wide-int.cc:252
bool fits_to_boolean_p(const T &x, const_tree)
Definition tree.h:7080
wide_int max_value(machine_mode, signop)
Definition rtl.h:2389
extended_tree< WIDEST_INT_MAX_PRECISION > widest_extended_tree
Definition tree.h:6762
tree_to_wide_ref to_wide(const_tree)
Definition tree.h:6906
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:6777
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 tree-core.h:2435
int n
Definition tree-core.h:2437
int i
Definition tree-core.h:2438
tree t
Definition tree-core.h:2436
Definition lra-remat.cc:91
Definition tree-core.h:2441
int n
Definition tree-core.h:2443
int i
Definition tree-core.h:2444
const_tree t
Definition tree-core.h:2442
Definition genautomata.cc:499
Definition double-int.h:50
Definition tree-core.h:2395
Definition hash-traits.h:328
Definition hash-traits.h:321
tree signed_type
Definition tree.h:7165
tree unsigned_type
Definition tree.h:7166
poly_coeff_traits< T >::int_type int_type
Definition poly-int.h:198
constexpr void remove(cv_qualifier qual)
Definition tree.h:2637
constexpr void set_as(addr_space_t as)
Definition tree.h:2644
cv_qualifier m_cv_quals
Definition tree.h:2775
WARN_UNUSED_RESULT constexpr qualifier_set without(cv_qualifier qual) const
Definition tree.h:2660
constexpr bool nonempty_p() const
Definition tree.h:2763
constexpr std::pair< cv_qualifier, addr_space_t > split() const
Definition tree.h:2757
constexpr addr_space_t addr_space() const
Definition tree.h:2693
merge_error
Definition tree.h:2718
WARN_UNUSED_RESULT constexpr cv_qualifier intersect(cv_qualifier other_cv) const
Definition tree.h:2698
join_error
Definition tree.h:2731
constexpr qualifier_set(cv_qualifier cv_quals, addr_space_t as)
Definition tree.h:2623
bool superset_of(qualifier_set subset, bool nop_only=false) const
Definition tree.cc:5793
addr_space_t m_addr_space
Definition tree.h:2776
WARN_UNUSED_RESULT constexpr qualifier_set with_as(addr_space_t as) const
Definition tree.h:2669
gcc::expected< qualifier_set, merge_error > merge(qualifier_set other, bool strict_addr_space=false) const
Definition tree.cc:5719
friend constexpr bool operator==(const qualifier_set &a, const qualifier_set &b)
Definition tree.h:2740
gcc::expected< qualifier_set, join_error > join(qualifier_set other) const
Definition tree.cc:5762
WARN_UNUSED_RESULT constexpr qualifier_set with(cv_qualifier qual) const
Definition tree.h:2651
constexpr cv_qualifier cv_quals() const
Definition tree.h:2683
constexpr qualifier_set(cv_qualifier cv_quals)
Definition tree.h:2615
friend constexpr bool operator!=(const qualifier_set &a, const qualifier_set &b)
Definition tree.h:2747
constexpr bool has(cv_qualifier other_cv) const
Definition tree.h:2703
WARN_UNUSED_RESULT constexpr qualifier_set symmetric_difference(cv_qualifier qual) const
Definition tree.h:2710
constexpr void add(cv_qualifier qual)
Definition tree.h:2630
Definition hash-map-traits.h:104
Definition hash-map-traits.h:33
union tree_base::@216040220236163152164012241125060173100217046066 u
Definition tree-core.h:1848
static hashval_t hash(tree)
Definition tree.h:6430
static bool equal(tree_decl_map *a, tree_decl_map *b)
Definition tree.h:6384
static hashval_t hash(tree_decl_map *m)
Definition tree.h:6382
static int keep_cache_entry(tree_decl_map *&m)
Definition tree.h:6390
Definition tree-core.h:2413
struct tree_map_base base
Definition tree-core.h:2414
tree operands[1]
Definition tree-core.h:1773
Definition tree-core.h:2141
enum built_in_class built_in_class
Definition tree-core.h:2163
unsigned int function_code
Definition tree-core.h:2161
static hashval_t hash(tree)
Definition tree.h:6468
tree from
Definition tree-core.h:2401
tree ops[1]
Definition tree-core.h:1845
enum omp_clause_code code
Definition tree-core.h:1822
Definition tree-core.h:1671
static hashval_t hash(tree)
Definition tree.h:6456
static hashval_t hash(tree)
Definition tree.h:6442
static hashval_t hash(tree_vec_map *m)
Definition tree.h:6406
static bool equal(tree_vec_map *a, tree_vec_map *b)
Definition tree.h:6409
static int keep_cache_entry(tree_vec_map *&m)
Definition tree.h:6415
Definition tree-core.h:2425
struct tree_map_base base
Definition tree-core.h:2426
tree a[1]
Definition tree-core.h:1707
Definition gengtype.h:252
static const bool is_sign_extended
Definition tree.h:6757
static const unsigned int precision
Definition tree.h:6759
static const bool needs_write_val_arg
Definition tree.h:6758
static const bool host_dependent_precision
Definition tree.h:6756
static enum precision_type precision_type
Definition tree.h:6755
static enum precision_type precision_type
Definition tree.h:6729
static const bool is_sign_extended
Definition tree.h:6731
static const bool needs_write_val_arg
Definition tree.h:6732
static const bool host_dependent_precision
Definition tree.h:6730
Definition wide-int.h:427
generic_wide_int< extended_tree< N > > extended
Definition tree.h:6799
static extended zero(const extended &)
static extended zero(const extended &)
generic_wide_int< extended_tree< N > > extended
Definition tree.h:6792
generic_wide_int< unextended_tree > unextended
Definition tree.h:6806
static unextended zero(const unextended &)
Definition wide-int.h:2041
static int zero(const T &)
Definition wide-int.h:2042
#define NULL
Definition system.h:55
#define gcc_assert(EXPR)
Definition system.h:772
#define gcc_unreachable()
Definition system.h:799
#define true
Definition system.h:845
#define WARN_UNUSED_RESULT
Definition system.h:791
#define bool
Definition system.h:844
#define STATIC_ASSERT(X)
Definition system.h:822
#define DEBUG_FUNCTION
Definition system.h:1145
#define gcc_checking_assert(EXPR)
Definition system.h:779
@ END_BUILTINS
Definition tree-core.h:3619
cv_qualifier
Definition tree-core.h:713
@ TYPE_UNQUALIFIED
Definition tree-core.h:714
tree(*) walk_tree_fn(tree *, int *, void *)
Definition tree-core.h:1181
omp_clause_code
Definition tree-core.h:256
built_in_class
Definition tree-core.h:173
@ NOT_BUILT_IN
Definition tree-core.h:174
@ BUILT_IN_FRONTEND
Definition tree-core.h:175
@ BUILT_IN_NORMAL
Definition tree-core.h:177
@ BUILT_IN_MD
Definition tree-core.h:176
function_decl_type
Definition tree-core.h:2127
@ NONE
Definition tree-core.h:2128
tree_code_class
Definition tree-core.h:232
@ tcc_comparison
Definition tree-core.h:239
@ tcc_expression
Definition tree-core.h:246
@ tcc_type
Definition tree-core.h:236
unsigned const char omp_clause_num_ops[]
Definition tree.cc:299
tree_node_structure_enum
Definition tree-core.h:623
unsigned short priority_type
Definition tree-core.h:1178
tree(*) walk_tree_lh(tree *, int *, tree(*)(tree *, int *, void *), void *, hash_set< tree > *)
Definition tree-core.h:1184
@ MAX_TREE_CODES
Definition tree-core.h:157
clobber_kind
Definition tree-core.h:1150
@ CLOBBER_UNDEF
Definition tree-core.h:1152
#define NUM_TREE_CODES
Definition tree-core.h:164
bool tree_contains_struct[MAX_TREE_CODES][64]
Definition tree.cc:296
void using_eh_for_cleanups(void)
Definition tree.cc:13353
static bool valid_new_delete_pair_p(gimple *new_call, gimple *delete_call)
Definition tree-ssa-dce.cc:869
tree tree_cons(tree purpose, tree value, tree chain MEM_STAT_DECL)
Definition tree.cc:3719
unsigned int element_precision(const_tree type)
Definition tree.cc:7202
bool type_contains_placeholder_p(tree type)
Definition tree.cc:4469
tree size_in_bytes_loc(location_t loc, const_tree type)
Definition tree.cc:3759
tree reconstruct_complex_type(tree type, tree bottom)
Definition tree.cc:10595
int suppress_location_wrappers
Definition tree.cc:15338
void overwrite_decl_assembler_name(tree decl, tree name)
Definition tree.cc:868
tree grow_tree_vec(tree v, int len MEM_STAT_DECL)
Definition tree.cc:2968
bool check_lang_type(const_tree cand, const_tree base)
Definition tree.cc:5869
bool disjoint_version_decls(tree fn1, tree fn2)
Definition tree.cc:15942
tree build_tree_list(tree parm, tree value MEM_STAT_DECL)
Definition tree.cc:3689
tree build_function_type_array(tree return_type, int n, tree *arg_types)
Definition tree.cc:8054
tree build_variant_type_copy(tree type MEM_STAT_DECL)
Definition tree.cc:6120
bool stdarg_p(const_tree fntype)
Definition tree.cc:12368
tree first_field(const_tree type)
Definition tree.cc:3598
tree build_reference_type_for_mode(tree to_type, machine_mode mode, bool can_alias_all)
Definition tree.cc:7442
int compare_tree_int(const_tree t, unsigned HOST_WIDE_INT u)
Definition tree.cc:7133
tree make_anon_name()
Definition tree.cc:9251
bool integer_onep(const_tree expr)
Definition tree.cc:3026
tree num_ending_zeros(const_tree x)
Definition tree.cc:11889
tree uniform_integer_cst_p(tree t)
Definition tree.cc:11069
tree skip_simple_arithmetic(tree expr)
Definition tree.cc:4198
string_slice get_target_version(const tree decl)
Definition tree.cc:15920
tree decl_value_expr_lookup(tree from)
Definition tree.cc:6300
tree build_call_expr_loc_vec(location_t loc, tree fndecl, vec< tree, va_gc > *vec)
Definition tree.cc:11420
tree decl_comdat_group(const_tree node)
Definition tree.cc:985
int allocate_decl_uid(void)
Definition tree.cc:1309
tree decl_debug_expr_lookup(tree from)
Definition tree.cc:6273
priority_type decl_fini_priority_lookup(tree decl)
Definition tree.cc:6200
tree staticp(tree arg)
Definition tree.cc:3915
const char * prefix_for_internal_label(tree label)
Definition tree.cc:843
const char * get_name(tree t)
Definition tree.cc:12338
void decl_fini_priority_insert(tree decl, priority_type priority)
Definition tree.cc:6231
tree build_constructor_from_vec(tree type, const vec< tree, va_gc > *vals)
Definition tree.cc:2450
tree maybe_build_call_expr_loc(location_t loc, combined_fn fn, tree type, int n,...)
Definition tree.cc:11505
bool warn_deprecated_use(tree node, tree attr)
Definition tree.cc:13028
tree build_complex_inf(tree type, bool neg)
Definition tree.cc:2665
bool is_access_with_size_p(const_tree call)
Definition tree.cc:14000
bool variably_modified_type_p(tree type, tree fn)
Definition tree.cc:8774
tree block_ultimate_origin(const_tree block)
Definition tree.cc:12598
bool integer_pow2p(const_tree expr)
Definition tree.cc:3107
tree build_call_expr_loc(location_t loc, tree fndecl, int n,...)
Definition tree.cc:11432
machine_mode vector_type_mode(const_tree t)
Definition tree.cc:14043
bool fixed_zerop(const_tree expr)
Definition tree.cc:3157
bool find_tree(tree top, tree search)
Definition tree.cc:15647
tree decl_comdat_group_id(const_tree node)
Definition tree.cc:995
bool tree_int_cst_equal(const_tree t1, const_tree t2)
Definition tree.cc:6756
bool decl_address_ip_invariant_p(const_tree op)
Definition tree.cc:4023
int tree_log2(const_tree expr)
Definition tree.cc:3169
tree build_constructor(tree type, vec< constructor_elt, va_gc > *vals MEM_STAT_DECL)
Definition tree.cc:2400
unsigned int vector_element_bits(const_tree type)
Definition tree.cc:14076
tree build_nonstandard_integer_type(unsigned HOST_WIDE_INT precision, int unsignedp)
Definition tree.cc:7528
tree build_truth_vector_type_for_mode(poly_uint64 nunits, machine_mode mask_mode)
Definition tree.cc:10691
tree build_int_cstu(tree type, poly_uint64 cst)
Definition tree.cc:1654
tree create_artificial_label(location_t loc)
Definition tree.cc:12322
tree make_node(enum tree_code code MEM_STAT_DECL)
Definition tree.cc:1323
tree get_narrower(tree op, int *unsignedp_ptr)
Definition tree.cc:8482
tree array_ref_low_bound(tree exp)
Definition tree.cc:13486
tree build_int_cst_type(tree type, poly_int64 cst)
Definition tree.cc:1662
vec< tree, va_gc > ** decl_debug_args_insert(tree from)
Definition tree.cc:6349
tree build_index_vector(tree vec_type, poly_uint64 base, poly_uint64 step)
Definition tree.cc:2313
bool vector_nop_conversion_p(const_tree outer_type, const_tree inner_type)
Definition tree.cc:12672
tree build2(enum tree_code code, tree tt, tree arg0, tree arg1 MEM_STAT_DECL)
Definition tree.cc:5298
tree build1(enum tree_code code, tree type, tree node MEM_STAT_DECL)
Definition tree.cc:5219
tree build_opaque_vector_type(tree innertype, poly_int64 nunits)
Definition tree.cc:10735
bool real_onep(const_tree expr)
Definition tree.cc:3361
tree build_constructor_va(tree type, int nelts,...)
Definition tree.cc:2464
unsigned int tree_decl_map_hash(const void *item)
Definition tree.cc:6179
tree nreverse(tree t)
Definition tree.cc:3670
bool operand_equal_for_phi_arg_p(const_tree arg0, const_tree arg1)
Definition tree.cc:11877
bool subrange_type_for_debug_p(const_tree type, tree *lowval, tree *highval)
Definition tree.cc:7706
tree build_optimization_node(struct gcc_options *opts, struct gcc_options *opts_set)
Definition tree.cc:12530
bool tree_map_base_marked_p(const void *p)
Definition tree.cc:6163
tree arg_size_in_bytes(const_tree type)
Definition tree.cc:15508
poly_int64 tree_to_poly_int64(const_tree t)
Definition tree.cc:3481
unsigned int tree_int_cst_min_precision(tree value, signop sgn)
Definition tree.cc:6911
bool integer_each_onep(const_tree expr)
Definition tree.cc:3051
int get_range_pos_neg(tree arg, gimple *stmt)
Definition tree.cc:15111
tree last_field(const_tree type)
Definition tree.cc:3610
bool tree_fits_sanitize_code_type_p(const_tree t)
Definition tree.cc:6839
tree chainon(tree op1, tree op2)
Definition tree.cc:3630
bool type_with_interoperable_signedness(const_tree type)
Definition tree.cc:14353
void get_type_static_bounds(const_tree type, mpz_t min, mpz_t max)
Definition tree.cc:8692
int tree_floor_log2(const_tree expr)
Definition tree.cc:3181
tree bit_position(const_tree field)
Definition tree.cc:3835
bool tree_nop_conversion_p(const_tree outer_type, const_tree inner_type)
Definition tree.cc:12617
tree component_ref_size(tree ref, special_array_member *sam)
Definition tree.cc:13829
tree build_debug_expr_decl(tree type)
Definition tree.cc:5617
bool tree_fits_poly_int64_p(const_tree t)
Definition tree.cc:6790
enum tls_model decl_tls_model(const_tree node)
Definition tree.cc:1057
tree wide_int_to_tree(tree type, const poly_wide_int_ref &value)
Definition tree.cc:2009
tree build_bitint_type(unsigned HOST_WIDE_INT precision, int unsignedp)
Definition tree.cc:7592
tree purpose_member(const_tree elem, tree list)
Definition tree.cc:3517
void free_node(tree node)
Definition tree.cc:1433
void protected_set_expr_location_if_unset(tree t, location_t loc)
Definition tree.cc:5696
tree build0(enum tree_code code, tree tt MEM_STAT_DECL)
Definition tree.cc:5206
void decl_init_priority_insert(tree decl, priority_type priority)
Definition tree.cc:6213
HOST_WIDE_INT int_byte_position(const_tree field)
Definition tree.cc:3856
unsigned int tree_map_hash(const void *item)
Definition tree.cc:6171
tree build_function_type_list(tree return_type,...)
Definition tree.cc:8002
tree builtin_decl_unreachable()
Definition tree.cc:11572
tree build_vector_type_for_mode(tree innertype, machine_mode mode)
Definition tree.cc:10648
tree build_minus_one_cst(tree type)
Definition tree.cc:2746
tree walk_tree_without_duplicates_1(tree *tp, walk_tree_fn func, void *data, walk_tree_lh lh)
Definition tree.cc:12282
tree double_int_to_tree(tree type, double_int cst)
Definition tree.cc:1672
tree build_pointer_type_for_mode(tree to_type, machine_mode mode, bool can_alias_all)
Definition tree.cc:7370
tree array_type_nelts_top(tree type)
Definition tree.cc:3902
tree strip_float_extensions(tree exp)
Definition tree.cc:12745
bool operation_can_overflow(enum tree_code code)
Definition tree.cc:7293
tree build_range_type(tree type, tree lowval, tree highval)
Definition tree.cc:7672
tree build_all_ones_cst(tree type)
Definition tree.cc:2731
int simple_cst_equal(const_tree t1, const_tree t2)
Definition tree.cc:6939
hashval_t type_hash_canon_hash(tree type)
Definition tree.cc:6374
int tree_int_cst_sgn(const_tree t)
Definition tree.cc:6895
tree build5(enum tree_code code, tree tt, tree arg0, tree arg1, tree arg2, tree arg3, tree arg4 MEM_STAT_DECL)
Definition tree.cc:5446
int list_length(const_tree t)
Definition tree.cc:3572
bool flexible_array_type_p(const_tree type)
Definition tree.cc:15471
tree get_attr_nonstring_decl(tree expr, tree *ref)
Definition tree.cc:15817
unsigned int tree_ctz(const_tree expr)
Definition tree.cc:3193
unsigned crc32_string(unsigned chksum, const char *string)
Definition tree.cc:9219
bool real_negzerop(const_tree expr)
Definition tree.cc:3335
tree build4(enum tree_code code, tree tt, tree arg0, tree arg1, tree arg2, tree arg3 MEM_STAT_DECL)
Definition tree.cc:5419
tree build_omp_clause(location_t loc, enum omp_clause_code code)
Definition tree.cc:11271
tree build_case_label(tree low_value, tree high_value, tree label_decl)
Definition tree.cc:2908
tree make_vector(unsigned log2_npatterns, unsigned int nelts_per_pattern MEM_STAT_DECL)
Definition tree.cc:2178
combined_fn get_call_combined_fn(const_tree call)
Definition tree.cc:9076
tree build_call(tree return_type, tree fn, std::initializer_list< tree > args)
Definition tree.cc:11355
tree build_varargs_function_type_array(tree return_type, int n, tree *arg_types)
Definition tree.cc:8064
void set_decl_tls_model(tree node, enum tls_model model)
Definition tree.cc:1067
bool contains_placeholder_p(const_tree exp)
Definition tree.cc:4313
tree build_int_cst(tree type, poly_int64 cst)
Definition tree.cc:1642
tree decl_function_context(const_tree decl)
Definition tree.cc:8913
bool virtual_method_call_p(const_tree target, bool for_dump_p)
Definition tree.cc:12853
tree get_binfo_at_offset(tree binfo, poly_int64 offset, tree expected_type)
Definition tree.cc:12893
tree lhd_gcc_personality(void)
Definition tree.cc:12837
tree stabilize_reference(tree ref)
Definition tree.cc:5044
bitmap get_nonnull_args(const_tree fntype)
Definition tree.cc:15360
bool tree_fits_uhwi_p(const_tree t)
Definition tree.cc:6809
tree make_int_cst(int len, int ext_len MEM_STAT_DECL)
Definition tree.cc:2928
tree generate_internal_label(const char *prefix)
Definition tree.cc:821
special_array_member component_ref_sam_type(tree ref)
Definition tree.cc:13756
bool integer_zerop(const_tree expr)
Definition tree.cc:3002
void verify_constructor_flags(tree c)
Definition tree.cc:2380
tree save_expr(tree expr)
Definition tree.cc:4157
tree build_zero_cst(tree type)
Definition tree.cc:2787
tree build_call_array_loc(location_t loc, tree return_type, tree fn, int nargs, const tree *args)
Definition tree.cc:11373
size_t tree_code_size(enum tree_code code)
Definition tree.cc:1086
const char * combined_fn_name(combined_fn fn)
Definition tree.cc:15343
tree build_constructor_from_list(tree type, tree vals)
Definition tree.cc:2430
tree build_nt(enum tree_code code,...)
Definition tree.cc:5544
void assign_assembler_name_if_needed(tree t)
Definition tree.cc:957
tree unsigned_integer_tree_node_for_type(const char *type)
Definition tree.cc:9796
tree build_reference_type(tree to_type)
Definition tree.cc:7506
tree build_vector_from_val(tree vectype, tree sc)
Definition tree.cc:2238
tree build_array_type_1(tree elt_type, tree index_type, bool typeless_storage, bool shared, bool set_canonical)
Definition tree.cc:7747
HOST_WIDE_INT int_size_in_bytes(const_tree type)
Definition tree.cc:3782
void build_common_builtin_nodes(void)
Definition tree.cc:10254
bool address_invariant_p(tree t)
Definition tree.cc:4069
tree build_complex(tree type, tree real, tree imag)
Definition tree.cc:2646
bool default_is_empty_record(const_tree type)
Definition tree.cc:15437
tree build_pointer_type(tree to_type)
Definition tree.cc:7434
tree build_real_from_int_cst(tree type, const_tree i)
Definition tree.cc:2585
bool initializer_each_zero_or_onep(const_tree expr)
Definition tree.cc:10955
void recompute_constructor_flags(tree c)
Definition tree.cc:2352
bool tree_fits_shwi_p(const_tree t)
Definition tree.cc:6779
unsigned crc32_unsigned_n(unsigned chksum, unsigned value, unsigned bytes)
Definition tree.cc:9189
HOST_WIDE_INT int_cst_value(const_tree x)
Definition tree.cc:11646
HOST_WIDE_INT max_int_size_in_bytes(const_tree type)
Definition tree.cc:3802
tree build_replicated_int_cst(tree type, unsigned int width, HOST_WIDE_INT value)
Definition tree.cc:2827
tree drop_tree_overflow(tree t)
Definition tree.cc:13386
bool nonnull_arg_p(const_tree arg)
Definition tree.cc:15193
tree upper_bound_in_type(tree outer, tree inner)
Definition tree.cc:11791
tree build_alloca_call_expr(tree size, unsigned int align, HOST_WIDE_INT max_size)
Definition tree.cc:11544
tree vector_cst_elt(const_tree t, unsigned int i)
Definition tree.cc:10790
tree make_tree_vec(int len MEM_STAT_DECL)
Definition tree.cc:2950
machine_mode element_mode(const_tree t)
Definition tree.cc:14024
tree array_ref_up_bound(tree exp)
Definition tree.cc:13509
bool prototype_p(const_tree fntype)
Definition tree.cc:12390
void set_decl_section_name(tree node, const char *value)
Definition tree.cc:1017
bool auto_var_in_fn_p(const_tree var, const_tree fn)
Definition tree.cc:8732
tree build_string(unsigned len, const char *str)
Definition tree.cc:2618
void error_unavailable_use(tree node, tree attr)
Definition tree.cc:13115
bool gimple_canonical_types_compatible_p(const_tree t1, const_tree t2, bool trust_type_canonical)
Definition tree.cc:14380
tree substitute_placeholder_in_expr(tree exp, tree obj)
Definition tree.cc:4781
auto_vec< string_slice > get_clone_attr_versions(const tree arglist, int *default_count, bool filter)
Definition tree.cc:15872
void tree_cc_finalize(void)
Definition tree.cc:16341
bool real_maybe_zerop(const_tree expr)
Definition tree.cc:3411
void set_call_expr_flags(tree decl, int flags)
Definition tree.cc:10183
location_t set_block(location_t loc, tree block)
Definition tree.cc:15256
tree unsigned_type_for(tree type)
Definition tree.cc:11726
bool chain_member(const_tree elem, const_tree chain)
Definition tree.cc:3555
bool check_qualified_type(const_tree cand, const_tree base, qualifier_set type_quals)
Definition tree.cc:5951
tree build_string_literal(unsigned len, const char *str, tree eltype, unsigned HOST_WIDE_INT size)
Definition tree.cc:11604
tree signed_type_for(tree type)
Definition tree.cc:11737
tree tree_last(tree chain)
Definition tree.cc:3657
tree build_nonstandard_boolean_type(unsigned HOST_WIDE_INT precision)
Definition tree.cc:7567
tree byte_position(const_tree field)
Definition tree.cc:3845
tree get_typenode_from_name(const char *name)
Definition tree.cc:15559
tree tree_strip_sign_nop_conversions(tree exp)
Definition tree.cc:12736
location_t tree_nonartificial_location(tree exp)
Definition tree.cc:12440
tree unshare_expr(tree expr)
Definition tree.cc:16310
bool type_list_equal(const_tree l1, const_tree l2)
Definition tree.cc:6683
bool expr_type_first_operand_type_p(tree_code code)
Definition tree.cc:15517
tree maybe_wrap_with_location(tree expr, location_t loc)
Definition tree.cc:15300
void dump_tree_statistics(void)
Definition tree.cc:9121
tree make_tree_binfo(unsigned base_binfos MEM_STAT_DECL)
Definition tree.cc:2886
tree build_complex_type(tree component_type, bool named)
Definition tree.cc:8197
tree build_nonshared_array_type(tree elt_type, tree index_type)
Definition tree.cc:7812
tree build_qualified_type(tree type, qualifier_set type_quals MEM_STAT_DECL)
Definition tree.cc:6014
tree lower_bound_in_type(tree outer, tree inner)
Definition tree.cc:11844
tree build_block(tree vars, tree subblocks, tree supercontext, tree chain)
Definition tree.cc:5663
bool int_fits_type_p(const_tree c, const_tree type)
Definition tree.cc:8593
const builtin_structptr_type builtin_structptr_types[6]
Definition tree.cc:15598
tree walk_tree_1(tree *tp, walk_tree_fn func, void *data, hash_set< tree > *pset, walk_tree_lh lh)
Definition tree.cc:11992
tree build_builtin_unreachable(location_t loc)
Definition tree.cc:11590
tree build_real_from_wide(tree type, const wide_int_ref &i, signop sgn)
Definition tree.cc:2600
tree vector_element_bits_tree(const_tree type)
Definition tree.cc:14088
tree build_each_one_cst(tree type)
Definition tree.cc:2678
tree build_constructor_single(tree type, tree index, tree value)
Definition tree.cc:2415
tree build3(enum tree_code code, tree tt, tree arg0, tree arg1, tree arg2 MEM_STAT_DECL)
Definition tree.cc:5378
auto_vec< string_slice > get_clone_versions(const tree decl, int *default_count, bool filter)
Definition tree.cc:15906
location_t tree_inlined_location(tree exp, bool system_header)
Definition tree.cc:12456
const_tree get_ultimate_context(const_tree decl)
Definition tree.cc:8897
tree force_fit_type(tree type, const poly_wide_int_ref &cst, int overflowable, bool overflowed)
Definition tree.cc:1693
tree build_vector_from_ctor(tree type, const vec< constructor_elt, va_gc > *v)
Definition tree.cc:2204
tree build_function_type(tree value_type, tree arg_types, bool no_named_args_stdarg_p)
Definition tree.cc:7908
void recompute_tree_invariant_for_addr_expr(tree t)
Definition tree.cc:5125
tree strip_zero_offset_components(tree op)
Definition tree.cc:12823
tree uniform_vector_difference_p(const_tree t1, const_tree t2)
Definition tree.cc:11115
tree build_method_type(tree basetype, tree type)
Definition tree.cc:8137
tree build_method_type_directly(tree basetype, tree rettype, tree argtypes)
Definition tree.cc:8075
tree get_ref_from_access_with_size(tree call)
Definition tree.cc:14012
bool cst_and_fits_in_hwi(const_tree x)
Definition tree.cc:2168
tree build_distinct_type_copy(tree type MEM_STAT_DECL)
Definition tree.cc:6088
HOST_WIDE_INT arg_int_size_in_bytes(const_tree type)
Definition tree.cc:15500
const char * get_tree_code_name(enum tree_code code)
Definition tree.cc:13367
void clean_symbol_name(char *p)
Definition tree.cc:9231
bool block_may_fallthru(const_tree block)
Definition tree.cc:13274
void verify_type(const_tree t)
Definition tree.cc:14735
const char * decl_section_name(const_tree node)
Definition tree.cc:1006
tree type_argument_type(const_tree fntype, unsigned argno)
Definition tree.cc:6724
tree substitute_in_expr(tree exp, tree f, tree r)
Definition tree.cc:4589
bool check_base_type(const_tree cand, const_tree base)
Definition tree.cc:5924
bool integer_nonzerop(const_tree expr)
Definition tree.cc:3127
tree build_empty_stmt(location_t loc)
Definition tree.cc:11259
bool operation_no_trapping_overflow(tree type, enum tree_code code)
Definition tree.cc:7323
tree max_object_size(void)
Definition tree.cc:15611
tree uniform_vector_p(const_tree vec)
Definition tree.cc:10994
bool is_truth_type_for(tree type, tree truth_type)
Definition tree.cc:11750
bool needs_to_live_in_memory(const_tree t)
Definition tree.cc:11634
vec< tree, va_gc > ** decl_debug_args_lookup(tree from)
Definition tree.cc:6331
bool integer_minus_onep(const_tree expr)
Definition tree.cc:3092
tree get_callee_fndecl(const_tree call)
Definition tree.cc:8986
int single_nonzero_element(const_tree t)
Definition tree.cc:11228
tree build_call_expr_loc_array(location_t loc, tree fndecl, int n, tree *argarray)
Definition tree.cc:11407
bool zerop(const_tree expr)
Definition tree.cc:2991
tree get_unwidened(tree op, tree for_type)
Definition tree.cc:8398
bool tree_invariant_p(tree t)
Definition tree.cc:4128
bool diagnose_versioned_decls(tree old_decl, tree new_decl)
Definition tree.cc:16067
tree build_decl(location_t loc, enum tree_code code, tree name, tree type MEM_STAT_DECL)
Definition tree.cc:5592
tree build_call_expr_internal_loc(location_t loc, enum internal_fn ifn, tree type, int n,...)
Definition tree.cc:11484
bool initializer_zerop(const_tree init, bool *nonzero)
Definition tree.cc:10821
tree build_one_cst(tree type)
Definition tree.cc:2693
tree type_hash_canon(unsigned int hashcode, tree type)
Definition tree.cc:6605
tree build_call_expr(tree fndecl, int n,...)
Definition tree.cc:11449
tree build_translation_unit_decl(tree name)
Definition tree.cc:5648
tree build_offset_type(tree basetype, tree type)
Definition tree.cc:8151
tree build_tree_list_vec(const vec< tree, va_gc > *vec MEM_STAT_DECL)
Definition tree.cc:3700
tree build_call_vec(tree return_type, tree fn, const vec< tree, va_gc > *args)
Definition tree.cc:11390
bool contains_bitfld_component_ref_p(const_tree ref)
Definition tree.cc:13189
void init_ttree(void)
Definition tree.cc:772
bool is_empty_type(const_tree type)
Definition tree.cc:15415
tree array_ref_element_size(tree exp)
Definition tree.cc:13458
tree build_call_valist(tree return_type, tree fn, int nargs, va_list args)
Definition tree.cc:11339
tree sign_mask_for(tree type)
Definition tree.cc:2858
bool decl_address_invariant_p(const_tree op)
Definition tree.cc:3986
void decl_value_expr_insert(tree from, tree to)
Definition tree.cc:6314
HOST_WIDE_INT tree_to_shwi(const_tree t)
Definition tree.cc:6852
int tree_map_base_eq(const void *va, const void *vb)
Definition tree.cc:6143
tree ssa_uniform_vector_p(tree op)
Definition tree.cc:11043
tree cache_integer_cst(tree t, bool might_duplicate)
Definition tree.cc:2024
priority_type decl_init_priority_lookup(tree decl)
Definition tree.cc:6187
tree bitmask_inv_cst_vector_p(tree t)
Definition tree.cc:11173
void build_common_tree_nodes(bool signed_char)
Definition tree.cc:9851
bool associative_tree_code(enum tree_code code)
Definition tree.cc:7216
bool tree_fits_poly_uint64_p(const_tree t)
Definition tree.cc:6820
tree build_uniform_cst(tree type, tree sc)
Definition tree.cc:2276
tree build_clobber(tree type, enum clobber_kind kind)
Definition tree.cc:2484
bool integer_truep(const_tree expr)
Definition tree.cc:3144
void prepare_target_option_nodes_for_pch(void)
Definition tree.cc:12587
bool auto_var_p(const_tree var)
Definition tree.cc:8721
location_t set_source_range(tree expr, location_t start, location_t finish)
Definition tree.cc:15266
tree build_array_type(tree elt_type, tree index_type, bool typeless_storage)
Definition tree.cc:7803
void copy_if_shared(tree *tp, void *data)
Definition tree.cc:16300
tree build_vl_exp(enum tree_code code, int len MEM_STAT_DECL)
Definition tree.cc:11296
tree copy_list(tree list)
Definition tree.cc:1554
bool vec_member(const_tree elem, vec< tree, va_gc > *v)
Definition tree.cc:3531
bool real_zerop(const_tree expr)
Definition tree.cc:3305
unsigned HOST_WIDE_INT tree_to_uhwi(const_tree t)
Definition tree.cc:6863
tree copy_node(tree node MEM_STAT_DECL)
Definition tree.cc:1465
tree build_nonshared_range_type(tree type, tree lowval, tree highval)
Definition tree.cc:7680
tree build_low_bits_mask(tree type, unsigned bits)
Definition tree.cc:2156
tree decl_type_context(const_tree decl)
Definition tree.cc:8949
struct int_n_trees_t int_n_trees[NUM_INT_N_ENTS]
Definition tree.cc:294
tree build_index_type(tree maxval)
Definition tree.cc:7695
enum tree_node_structure_enum tree_node_structure(const_tree t)
Definition tree.cc:4273
tree decl_assembler_name(tree decl)
Definition tree.cc:856
tree build_aligned_type(tree type, unsigned int align)
Definition tree.cc:6063
vec< tree, va_gc > * ctor_to_vec(tree ctor)
Definition tree.cc:3739
void find_placeholder_in_expr(tree exp, vec< tree > *refs)
Definition tree.cc:4515
tree build_varargs_function_type_list(tree return_type,...)
Definition tree.cc:8019
poly_uint64 tree_to_poly_uint64(const_tree t)
Definition tree.cc:3490
tree build_poly_int_cst(tree type, const poly_wide_int_ref &values)
Definition tree.cc:1983
tree build_vector_a_then_b(tree vec_type, unsigned int num_a, tree a, tree b)
Definition tree.cc:2335
void protected_set_expr_location(tree t, location_t loc)
Definition tree.cc:5680
tree build_vector_type(tree innertype, poly_int64 nunits)
Definition tree.cc:10683
bool using_eh_for_cleanups_p(void)
Definition tree.cc:13360
tree unshare_expr_without_location(tree expr)
Definition tree.cc:16332
sanitize_code_type tree_to_sanitize_code_type(const_tree t)
Definition tree.cc:6874
tree build_array_type_nelts(tree elt_type, poly_uint64 nelts)
Definition tree.cc:7821
tree get_file_function_name(const char *type)
Definition tree.cc:9286
tree skip_simple_constant_arithmetic(tree expr)
Definition tree.cc:4245
bool ptrdiff_tree_p(const_tree t, poly_int64 *value)
Definition tree.cc:3457
int type_num_arguments(const_tree fntype)
Definition tree.cc:6703
tree get_base_address(tree t)
Definition tree.cc:13439
tree build_fn_decl(const char *name, tree type)
Definition tree.cc:5629
tree build_vec_series(tree type, tree base, tree step)
Definition tree.cc:2289
location_t * block_nonartificial_location(tree block)
Definition tree.cc:12407
tree build_call_expr_internal_loc_array(location_t loc, internal_fn ifn, tree type, int n, const tree *args)
Definition tree.cc:11467
tree component_ref_field_offset(tree exp)
Definition tree.cc:13701
tree get_containing_scope(const_tree t)
Definition tree.cc:8889
tree signed_or_unsigned_type_for(int unsignedp, tree type)
Definition tree.cc:11674
tree truth_type_for(tree type)
Definition tree.cc:11775
size_t tree_size(const_tree node)
Definition tree.cc:1199
unsigned int tree_map_base_hash(const void *item)
Definition tree.cc:6153
int tree_int_cst_sign_bit(const_tree t)
Definition tree.cc:6883
unsigned fndecl_dealloc_argno(tree fndecl)
Definition tree.cc:15755
tree build_nt_call_vec(tree fn, vec< tree, va_gc > *args)
Definition tree.cc:5569
tree build_target_option_node(struct gcc_options *opts, struct gcc_options *opts_set)
Definition tree.cc:12558
const_tree strip_invariant_refs(const_tree op)
Definition tree.cc:12793
bool valid_constant_size_p(const_tree size, cst_size_error *perr)
Definition tree.cc:7154
tree get_qualified_type(tree type, qualifier_set type_quals)
Definition tree.cc:5982
void decl_debug_expr_insert(tree from, tree to)
Definition tree.cc:6287
tree tree_strip_nop_conversions(tree exp)
Definition tree.cc:12725
tree value_member(tree elem, tree list)
Definition tree.cc:3502
bool really_constant_p(const_tree exp)
Definition tree.cc:3440
bool array_ref_flexible_size_p(tree ref, bool *is_trailing_array)
Definition tree.cc:13543
bool integer_all_onesp(const_tree expr)
Definition tree.cc:3067
tree chain_index(int idx, tree chain)
Definition tree.cc:3545
bool real_minus_onep(const_tree expr)
Definition tree.cc:3387
void tree_set_block(tree t, tree b)
Definition tree.cc:12305
bool flexible_array_member_type_p(const_tree type)
Definition tree.cc:15455
tree array_type_nelts_minus_one(const_tree type)
Definition tree.cc:3865
int suppress_location_wrappers
Definition tree.cc:15338
constexpr qualifier_set operator^(qualifier_set qs, cv_qualifier cvs)
Definition tree.h:2808
#define TYPE_NAME(NODE)
Definition tree.h:2447
bool is_lang_specific(const_tree t)
Definition tree.h:6508
tree strip_array_types(tree type)
Definition tree.h:5438
tree function_args_iter_cond(function_args_iterator *i)
Definition tree.h:5953
#define TREE_VALUE(NODE)
Definition tree.h:1254
poly_uint64 bit_field_offset(const_tree t)
Definition tree.h:6162
#define COMPLETE_TYPE_P(NODE)
Definition tree.h:723
#define DECL_CONTEXT(NODE)
Definition tree.h:3167
enum tree_code tree_code_for_canonical_type_merging(enum tree_code code)
Definition tree.h:6325
#define target_option_default_node
Definition tree.h:5057
tree make_omp_iterator(void)
Definition tree.h:7458
#define DECL_ORIGINAL_TYPE(NODE)
Definition tree.h:4000
unsigned int tree_decl_map_hash(const void *)
Definition tree.cc:6179
poly_uint64 TYPE_VECTOR_SUBPARTS(const_tree node)
Definition tree.h:4682
#define optimization_default_node
Definition tree.h:5053
#define TREE_READONLY(NODE)
Definition tree.h:967
#define DECL_FUNCTION_SPECIFIC_TARGET(NODE)
Definition tree.h:3953
cst_size_error
Definition tree.h:5459
@ cst_size_too_big
Definition tree.h:5463
@ cst_size_not_constant
Definition tree.h:5461
@ cst_size_ok
Definition tree.h:5460
@ cst_size_overflow
Definition tree.h:5464
@ cst_size_negative
Definition tree.h:5462
#define call_expr_nargs(NODE)
Definition tree.h:1522
#define DECL_FIELD_BIT_OFFSET(NODE)
Definition tree.h:3445
bool tree_int_cst_lt(const_tree t1, const_tree t2)
Definition tree.h:7122
built_in_function as_builtin_fn(combined_fn code)
Definition tree.h:57
#define TYPE_PRECISION(NODE)
Definition tree.h:2444
#define TREE_INT_CST_NUNITS(NODE)
Definition tree.h:1170
unsigned int vector_cst_encoded_nelts(const_tree t)
Definition tree.h:5094
built_in_function DECL_FUNCTION_CODE(const_tree decl)
Definition tree.h:4757
#define EXPR_CHECK(T)
Definition tree.h:503
#define TREE_OPERAND(NODE, I)
Definition tree.h:1338
poly_uint64 bit_field_size(const_tree t)
Definition tree.h:6153
bool poly_int_tree_p(const_tree t, poly_int64 *value)
Definition tree.h:5474
#define DECL_NAME(NODE)
Definition tree.h:3115
bool canonical_type_used_p(const_tree t)
Definition tree.h:6355
tree make_expanded_omp_iterator(void)
Definition tree.h:7465
#define IS_EXPR_CODE_CLASS(CLASS)
Definition tree.h:296
void put_warning_spec(tree, unsigned)
Definition warning-control.cc:280
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:5220
int struct_ptr_eq(const void *a, const void *b)
Definition tree.h:6062
#define DECL_FUNCTION_SPECIFIC_OPTIMIZATION(NODE)
Definition tree.h:3958
#define AGGREGATE_TYPE_P(TYPE)
Definition tree.h:708
#define sizetype
Definition tree.h:5573
bool maybe_special_function_p(const_tree fndecl)
Definition tree.h:6638
tree * function_args_iter_cond_ptr(function_args_iterator *i)
Definition tree.h:5944
#define TREE_VEC_BEGIN(NODE)
Definition tree.h:1264
bool ptrofftype_p(tree type)
Definition tree.h:6123
tree first_call_expr_arg(tree exp, call_expr_arg_iterator *iter)
Definition tree.h:6475
bool int_divide_or_mod_p(const code_helper &code)
Definition tree.h:6091
tree build2_loc(location_t loc, enum tree_code code, tree type, tree arg0, tree arg1 CXX_MEM_STAT_INFO)
Definition tree.h:5200
#define TREE_INT_CST_LOW(NODE)
Definition tree.h:1175
bool tree_zero_one_valued_p(tree)
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:5210
#define TREE_OPTIMIZATION(NODE)
Definition tree.h:4030
bool inlined_function_outer_scope_p(const_tree block)
Definition tree.h:5972
void function_args_iter_init(function_args_iterator *i, const_tree fntype)
Definition tree.h:5935
#define tree_decl_map_eq
Definition tree.h:6376
bool builtin_fn_p(combined_fn code)
Definition tree.h:48
constexpr qualifier_set & operator|=(qualifier_set &qs, cv_qualifier quals)
Definition tree.h:2820
bool type_has_mode_precision_p(const_tree t)
Definition tree.h:7256
bool typedef_variant_p(const_tree type)
Definition tree.h:6052
void function_args_iter_next(function_args_iterator *i)
Definition tree.h:5960
#define TREE_CODE_CLASS(CODE)
Definition tree.h:205
HOST_WIDE_INT int_bit_position(const_tree field)
Definition tree.h:7178
hashval_t struct_ptr_hash(const void *a)
Definition tree.h:6070
bool desired_pro_or_demotion_p(const_tree to_type, const_tree from_type)
Definition tree.h:7230
#define BLOCK_SOURCE_LOCATION(NODE)
Definition tree.h:2416
constexpr opt_code all_warnings
Definition tree.h:7385
#define DECL_UNCHECKED_FUNCTION_CODE(NODE)
Definition tree.h:3259
void SET_TYPE_VECTOR_SUBPARTS(tree node, poly_uint64 subparts)
Definition tree.h:4704
tree tree_strip_any_location_wrapper(tree exp)
Definition tree.h:4840
bool error_operand_p(const_tree t)
Definition tree.h:5085
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:5230
void set_decl_built_in_function(tree decl, built_in_class fclass, unsigned int fcode)
Definition tree.h:4789
bool more_call_expr_args_p(const call_expr_arg_iterator *iter)
Definition tree.h:6491
#define IDENTIFIER_LENGTH(NODE)
Definition tree.h:1238
bool built_in_function_equal_p(built_in_function name0, built_in_function name1)
Definition tree.h:7264
#define TYPE_UNSIGNED(NODE)
Definition tree.h:982
#define TREE_CODE(NODE)
Definition tree.h:327
bool handled_component_p(const_tree t)
Definition tree.h:5832
#define TYPE_MODE(NODE)
Definition tree.h:2453
unsigned crc32_byte(unsigned chksum, char byte)
Definition tree.h:6002
#define TYPE_SIGN(NODE)
Definition tree.h:985
bool builtin_decl_declared_p(enum built_in_function fncode)
Definition tree.h:6618
generic_wide_int< wi::extended_tree< WIDEST_INT_MAX_PRECISION *2 > > widest2_int_cst
Definition tree.h:6814
bool truth_value_p(enum tree_code code)
Definition tree.h:6112
int DECL_FE_FUNCTION_CODE(const_tree decl)
Definition tree.h:4779
#define FUNCTION_DECL_DECL_TYPE(NODE)
Definition tree.h:3787
#define EXPR_LOCATION(NODE)
Definition tree.h:1363
source_range get_expr_source_range(tree expr)
Definition tree.h:1388
#define POINTER_TYPE_P(TYPE)
Definition tree.h:715
#define CAN_HAVE_LOCATION_P(NODE)
Definition tree.h:1385
#define TREE_TARGET_OPTION(NODE)
Definition tree.h:4044
#define SSA_NAME_VERSION(NODE)
Definition tree.h:2298
#define TYPE_P(NODE)
Definition tree.h:229
hashval_t iterative_hash_expr(const_tree tree, hashval_t seed)
Definition tree.h:6192
constexpr qualifier_set operator|(qualifier_set qs, cv_qualifier cvs)
Definition tree.h:2796
tree build_call_nary(tree return_type, tree fn, int nargs, T... args)
Definition tree.h:5303
const_tree first_const_call_expr_arg(const_tree exp, const_call_expr_arg_iterator *iter)
Definition tree.h:6482
void set_builtin_decl_implicit_p(enum built_in_function fncode, bool implicit_p)
Definition tree.h:6570
unsigned get_warning_spec(const_tree)
Definition warning-control.cc:271
#define TREE_CHAIN(NODE)
Definition tree.h:514
bool builtin_decl_implicit_p(enum built_in_function fncode)
Definition tree.h:6606
bool fndecl_built_in_p(const_tree node)
Definition tree.h:7285
tree builtin_decl_explicit(enum built_in_function fncode)
Definition tree.h:6526
#define VL_EXP_CLASS_P(NODE)
Definition tree.h:280
#define IDENTIFIER_POINTER(NODE)
Definition tree.h:1240
#define BUILTIN_VALID_P(FNCODE)
Definition tree.h:6514
constexpr opt_code no_warning
Definition tree.h:7383
#define POLY_INT_CST_P(NODE)
Definition tree.h:1180
#define TYPE_REVERSE_STORAGE_ORDER(NODE)
Definition tree.h:1121
#define TREE_STATIC(NODE)
Definition tree.h:787
int tree_int_cst_compare(const_tree t1, const_tree t2)
Definition tree.h:7141
tree builtin_decl_implicit(enum built_in_function fncode)
Definition tree.h:6535
#define CALL_EXPR_ARG(NODE, I)
Definition tree.h:1521
int DECL_MD_FUNCTION_CODE(const_tree decl)
Definition tree.h:4768
#define ANY_INTEGRAL_TYPE_P(TYPE)
Definition tree.h:632
void set_builtin_decl(enum built_in_function fncode, tree decl, bool implicit_p)
Definition tree.h:6555
#define TREE_INT_CST_ELT(NODE, I)
Definition tree.h:1174
#define DECL_EXTERNAL(NODE)
Definition tree.h:3304
bool builtin_decl_explicit_p(enum built_in_function fncode)
Definition tree.h:6597
tree size_in_bytes(const_tree t)
Definition tree.h:5560
cl_target_option * target_opts_for_fn(const_tree fndecl)
Definition tree.h:6690
bool location_wrapper_p(const_tree exp)
Definition tree.h:4820
#define TREE_TYPE(NODE)
Definition tree.h:515
#define VL_EXP_OPERAND_LENGTH(NODE)
Definition tree.h:1345
#define INTEGRAL_TYPE_P(TYPE)
Definition tree.h:616
bool fndecl_builtin_alloc_p(const_tree node)
Definition tree.h:7324
void copy_decl_built_in_function(tree newdecl, const_tree olddecl)
Definition tree.h:4800
#define DECL_BUILT_IN_CLASS(NODE)
Definition tree.h:3944
bool reverse_storage_order_for_component_p(tree t)
Definition tree.h:5853
#define TREE_CODE_LENGTH(CODE)
Definition tree.h:304
constexpr qualifier_set & operator^=(qualifier_set &qs, cv_qualifier quals)
Definition tree.h:2825
#define TREE_PUBLIC(NODE)
Definition tree.h:877
bool storage_order_barrier_p(const_tree t)
Definition tree.h:5891
#define TYPE_ARG_TYPES(NODE)
Definition tree.h:2956
bool complete_or_array_type_p(const_tree type)
Definition tree.h:6134
access_mode
Definition tree.h:6364
@ access_deferred
Definition tree.h:6369
@ access_none
Definition tree.h:6365
@ access_read_write
Definition tree.h:6368
@ access_write_only
Definition tree.h:6367
@ access_read_only
Definition tree.h:6366
wi::tree_to_poly_wide_ref poly_int_cst_value(const_tree x)
Definition tree.h:6987
#define EXPR_LOCATION_WRAPPER_P(NODE)
Definition tree.h:4813
bool internal_fn_p(combined_fn code)
Definition tree.h:66
#define DECL_UID(NODE)
Definition tree.h:3123
unsigned crc32_unsigned(unsigned chksum, unsigned value)
Definition tree.h:5997
bool valid_vector_subparts_p(poly_uint64 subparts)
Definition tree.h:4740
tree build1_loc(location_t loc, enum tree_code code, tree type, tree arg1 CXX_MEM_STAT_INFO)
Definition tree.h:5190
int tree_operand_length(const_tree node)
Definition tree.h:4610
bool type_with_alias_set_p(const_tree t)
Definition tree.h:7187
#define REF_REVERSE_STORAGE_ORDER(NODE)
Definition tree.h:1139
bool tree_int_cst_le(const_tree t1, const_tree t2)
Definition tree.h:7131
#define TREE_HASH(NODE)
Definition tree.h:553
#define ALLOCA_FUNCTION_CODE_P(FCODE)
Definition tree.h:3263
#define DECL_NONALIASED(NODE)
Definition tree.h:3744
bool trunc_or_exact_div_p(tree_code code)
Definition tree.h:6084
struct cl_optimization * opts_for_fn(const_tree fndecl)
Definition tree.h:6680
#define VECTOR_CST_NPATTERNS(NODE)
Definition tree.h:1222
bool id_equal(const_tree id, const char *str)
Definition tree.h:4668
special_array_member
Definition tree.h:6279
@ none
Definition tree.h:6280
@ int_0
Definition tree.h:6281
@ trail_0
Definition tree.h:6282
@ trail_n
Definition tree.h:6284
@ trail_1
Definition tree.h:6283
@ int_n
Definition tree.h:6285
#define error_mark_node
Definition tree.h:4848
const_tree strip_pointer_types(const_tree type)
Definition tree.h:5449
#define TREE_VEC_END(NODE)
Definition tree.h:1265
#define TREE_ADDRESSABLE(NODE)
Definition tree.h:759
bool is_typedef_decl(const_tree x)
Definition tree.h:6043
#define SET_EXPR_LOCATION(NODE, LOCUS)
Definition tree.h:1365
internal_fn as_internal_fn(combined_fn code)
Definition tree.h:75
#define DECL_FIELD_OFFSET(NODE)
Definition tree.h:3439
#define VECTOR_CST_NELTS_PER_PATTERN(NODE)
Definition tree.h:1224
combined_fn as_combined_fn(built_in_function fn)
Definition tree.h:32
void set_function_decl_type(tree decl, function_decl_type t, bool set)
Definition tree.h:3794
#define NULL_TREE
Definition tree.h:320
#define POLY_INT_CST_COEFF(NODE, I)
Definition tree.h:1184
#define VECTOR_TYPE_P(TYPE)
Definition tree.h:604
void set_builtin_decl_declared_p(enum built_in_function fncode, bool declared_p)
Definition tree.h:6583
bool is_global_var(const_tree t)
Definition tree.h:6656
#define TREE_INT_CST_EXT_NUNITS(NODE)
Definition tree.h:1172
#define TYPE_UID(NODE)
Definition tree.h:2434
#define char_type_node
Definition tree.h:5070
#define TREE_OPERAND_LENGTH(NODE)
Definition tree.h:1337
bool has_warning_spec(const_tree)
Definition warning-control.cc:262
bool may_be_aliased(const_tree var)
Definition tree.h:6666
struct tree_base base
Definition tree-core.h:2255
struct tree_omp_clause omp_clause
Definition tree-core.h:2292
struct tree_vec vec
Definition tree-core.h:2285
struct tree_exp exp
Definition tree-core.h:2286
#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:3871