149#define MARK_TS_BASE(C) \
150 (tree_contains_struct[C][TS_BASE] = true)
152#define MARK_TS_TYPED(C) \
154 tree_contains_struct[C][TS_TYPED] = true)
156#define MARK_TS_COMMON(C) \
157 (MARK_TS_TYPED (C), \
158 tree_contains_struct[C][TS_COMMON] = true)
160#define MARK_TS_TYPE_COMMON(C) \
161 (MARK_TS_COMMON (C), \
162 tree_contains_struct[C][TS_TYPE_COMMON] = true)
164#define MARK_TS_TYPE_WITH_LANG_SPECIFIC(C) \
165 (MARK_TS_TYPE_COMMON (C), \
166 tree_contains_struct[C][TS_TYPE_WITH_LANG_SPECIFIC] = true)
168#define MARK_TS_TYPE_NON_COMMON(C) \
169 (MARK_TS_TYPE_WITH_LANG_SPECIFIC (C), \
170 tree_contains_struct[C][TS_TYPE_NON_COMMON] = true) \
172#define MARK_TS_DECL_MINIMAL(C) \
173 (MARK_TS_COMMON (C), \
174 tree_contains_struct[C][TS_DECL_MINIMAL] = true)
176#define MARK_TS_DECL_COMMON(C) \
177 (MARK_TS_DECL_MINIMAL (C), \
178 tree_contains_struct[C][TS_DECL_COMMON] = true)
180#define MARK_TS_DECL_WRTL(C) \
181 (MARK_TS_DECL_COMMON (C), \
182 tree_contains_struct[C][TS_DECL_WRTL] = true)
184#define MARK_TS_DECL_WITH_VIS(C) \
185 (MARK_TS_DECL_WRTL (C), \
186 tree_contains_struct[C][TS_DECL_WITH_VIS] = true)
188#define MARK_TS_DECL_NON_COMMON(C) \
189 (MARK_TS_DECL_WITH_VIS (C), \
190 tree_contains_struct[C][TS_DECL_NON_COMMON] = true)
192#define MARK_TS_EXP(C) \
193 (MARK_TS_TYPED (C), \
194 tree_contains_struct[C][TS_EXP] = true)
198#define TREE_CODE_CLASS_STRING(CLASS)\
199 tree_code_class_strings[(int) (CLASS)]
201#if __cpp_inline_variables < 201606L
202#define TREE_CODE_CLASS(CODE) \
203 tree_code_type_tmpl <0>::tree_code_type[(int) (CODE)]
205#define TREE_CODE_CLASS(CODE) tree_code_type[(int) (CODE)]
210#define EXCEPTIONAL_CLASS_P(NODE)\
211 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_exceptional)
215#define CONSTANT_CLASS_P(NODE)\
216 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_constant)
221#define CONSTANT_CLASS_OR_WRAPPER_P(NODE)\
222 (CONSTANT_CLASS_P (tree_strip_any_location_wrapper (NODE)))
227 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_type)
232 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_declaration)
236 (TREE_CODE (NODE) == VAR_DECL)
240#define VAR_OR_FUNCTION_DECL_P(DECL)\
241 (TREE_CODE (DECL) == VAR_DECL || TREE_CODE (DECL) == FUNCTION_DECL)
246#define INDIRECT_REF_P(NODE)\
247 (TREE_CODE (NODE) == INDIRECT_REF)
251#define REFERENCE_CLASS_P(NODE)\
252 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_reference)
256#define COMPARISON_CLASS_P(NODE)\
257 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_comparison)
261#define UNARY_CLASS_P(NODE)\
262 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_unary)
266#define BINARY_CLASS_P(NODE)\
267 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_binary)
271#define STATEMENT_CLASS_P(NODE)\
272 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_statement)
277#define VL_EXP_CLASS_P(NODE)\
278 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_vl_exp)
282#define EXPRESSION_CLASS_P(NODE)\
283 (TREE_CODE_CLASS (TREE_CODE (NODE)) == tcc_expression)
287#define IS_TYPE_OR_DECL_P(NODE)\
288 (TYPE_P (NODE) || DECL_P (NODE))
293#define IS_EXPR_CODE_CLASS(CLASS)\
294 ((CLASS) >= tcc_reference && (CLASS) <= tcc_expression)
298#define EXPR_P(NODE) IS_EXPR_CODE_CLASS (TREE_CODE_CLASS (TREE_CODE (NODE)))
300#if __cpp_inline_variables < 201606L
301#define TREE_CODE_LENGTH(CODE) \
302 tree_code_length_tmpl <0>::tree_code_length[(int) (CODE)]
304#define TREE_CODE_LENGTH(CODE) tree_code_length[(int) (CODE)]
310#define CASE_FLT_FN(FN) case FN: case FN##F: case FN##L
311#define CASE_FLT_FN_FLOATN_NX(FN) \
312 case FN##F16: case FN##F32: case FN##F64: case FN##F128: \
313 case FN##F32X: case FN##F64X: case FN##F128X
314#define CASE_FLT_FN_REENT(FN) case FN##_R: case FN##F_R: case FN##L_R
315#define CASE_INT_FN(FN) case FN: case FN##L: case FN##LL: case FN##IMAX
317#define NULL_TREE (tree) NULL
324#define TREE_CODE(NODE) ((enum tree_code) (NODE)->base.code)
325#define TREE_SET_CODE(NODE, VALUE) ((NODE)->base.code = (VALUE))
329#if defined ENABLE_TREE_CHECKING && (GCC_VERSION >= 2007)
331#define TREE_CHECK(T, CODE) \
332(tree_check ((T), __FILE__, __LINE__, __FUNCTION__, (CODE)))
334#define TREE_NOT_CHECK(T, CODE) \
335(tree_not_check ((T), __FILE__, __LINE__, __FUNCTION__, (CODE)))
337#define TREE_CHECK2(T, CODE1, CODE2) \
338(tree_check2 ((T), __FILE__, __LINE__, __FUNCTION__, (CODE1), (CODE2)))
340#define TREE_NOT_CHECK2(T, CODE1, CODE2) \
341(tree_not_check2 ((T), __FILE__, __LINE__, __FUNCTION__, (CODE1), (CODE2)))
343#define TREE_CHECK3(T, CODE1, CODE2, CODE3) \
344(tree_check3 ((T), __FILE__, __LINE__, __FUNCTION__, (CODE1), (CODE2), (CODE3)))
346#define TREE_NOT_CHECK3(T, CODE1, CODE2, CODE3) \
347(tree_not_check3 ((T), __FILE__, __LINE__, __FUNCTION__, \
348 (CODE1), (CODE2), (CODE3)))
350#define TREE_CHECK4(T, CODE1, CODE2, CODE3, CODE4) \
351(tree_check4 ((T), __FILE__, __LINE__, __FUNCTION__, \
352 (CODE1), (CODE2), (CODE3), (CODE4)))
354#define TREE_NOT_CHECK4(T, CODE1, CODE2, CODE3, CODE4) \
355(tree_not_check4 ((T), __FILE__, __LINE__, __FUNCTION__, \
356 (CODE1), (CODE2), (CODE3), (CODE4)))
358#define TREE_CHECK5(T, CODE1, CODE2, CODE3, CODE4, CODE5) \
359(tree_check5 ((T), __FILE__, __LINE__, __FUNCTION__, \
360 (CODE1), (CODE2), (CODE3), (CODE4), (CODE5)))
362#define TREE_NOT_CHECK5(T, CODE1, CODE2, CODE3, CODE4, CODE5) \
363(tree_not_check5 ((T), __FILE__, __LINE__, __FUNCTION__, \
364 (CODE1), (CODE2), (CODE3), (CODE4), (CODE5)))
366#define TREE_CHECK6(T, CODE1, CODE2, CODE3, CODE4, CODE5, CODE6) \
367(tree_check6 ((T), __FILE__, __LINE__, __FUNCTION__, \
368 (CODE1), (CODE2), (CODE3), (CODE4), (CODE5), (CODE6)))
370#define TREE_NOT_CHECK6(T, CODE1, CODE2, CODE3, CODE4, CODE5, CODE6) \
371(tree_not_check6 ((T), __FILE__, __LINE__, __FUNCTION__, \
372 (CODE1), (CODE2), (CODE3), (CODE4), (CODE5), (CODE6)))
374#define CONTAINS_STRUCT_CHECK(T, STRUCT) \
375(contains_struct_check ((T), (STRUCT), __FILE__, __LINE__, __FUNCTION__))
377#define TREE_CLASS_CHECK(T, CLASS) \
378(tree_class_check ((T), (CLASS), __FILE__, __LINE__, __FUNCTION__))
380#define TREE_RANGE_CHECK(T, CODE1, CODE2) \
381(tree_range_check ((T), (CODE1), (CODE2), __FILE__, __LINE__, __FUNCTION__))
383#define OMP_CLAUSE_SUBCODE_CHECK(T, CODE) \
384(omp_clause_subcode_check ((T), (CODE), __FILE__, __LINE__, __FUNCTION__))
386#define OMP_CLAUSE_RANGE_CHECK(T, CODE1, CODE2) \
387(omp_clause_range_check ((T), (CODE1), (CODE2), \
388 __FILE__, __LINE__, __FUNCTION__))
391#define EXPR_CHECK(T) \
392(expr_check ((T), __FILE__, __LINE__, __FUNCTION__))
395#define NON_TYPE_CHECK(T) \
396(non_type_check ((T), __FILE__, __LINE__, __FUNCTION__))
399#define ANY_INTEGRAL_TYPE_CHECK(T) \
400(any_integral_type_check ((T), __FILE__, __LINE__, __FUNCTION__))
402#define TREE_INT_CST_ELT_CHECK(T, I) \
403(*tree_int_cst_elt_check ((T), (I), __FILE__, __LINE__, __FUNCTION__))
405#define TREE_VEC_ELT_CHECK(T, I) \
406(*(CONST_CAST2 (tree *, typeof (T)*, \
407 tree_vec_elt_check ((T), (I), __FILE__, __LINE__, __FUNCTION__))))
409#define OMP_CLAUSE_ELT_CHECK(T, I) \
410(*(omp_clause_elt_check ((T), (I), __FILE__, __LINE__, __FUNCTION__)))
413#define TREE_OPERAND_CHECK(T, I) \
414(*(CONST_CAST2 (tree*, typeof (T)*, \
415 tree_operand_check ((T), (I), __FILE__, __LINE__, __FUNCTION__))))
417#define TREE_OPERAND_CHECK_CODE(T, CODE, I) \
418(*(tree_operand_check_code ((T), (CODE), (I), \
419 __FILE__, __LINE__, __FUNCTION__)))
430#define TREE_CHAIN(NODE) \
431(CONTAINS_STRUCT_CHECK (NODE, TS_COMMON)->common.chain)
437#define TREE_TYPE(NODE) \
438(CONTAINS_STRUCT_CHECK (NODE, TS_TYPED)->typed.type)
440extern void tree_contains_struct_check_failed (
const_tree,
442 const char *,
int,
const char *)
445extern void tree_check_failed (
const_tree,
const char *,
int,
const char *,
447extern
void tree_not_check_failed (
const_tree, const
char *,
int, const
char *,
450 const
char *,
int, const
char *)
452extern
void tree_range_check_failed (
const_tree, const
char *,
int,
456extern
void tree_not_class_check_failed (
const_tree,
458 const
char *,
int, const
char *)
460extern
void tree_int_cst_elt_check_failed (
int,
int, const
char *,
463extern
void tree_vec_elt_check_failed (
int,
int, const
char *,
466extern
void phi_node_elt_check_failed (
int,
int, const
char *,
469extern
void tree_operand_check_failed (
int,
const_tree,
470 const
char *,
int, const
char *)
472extern
void omp_clause_check_failed (
const_tree, const
char *,
int,
475extern
void omp_clause_operand_check_failed (
int,
const_tree, const
char *,
478extern
void omp_clause_range_check_failed (
const_tree, const
char *,
int,
485#define CONTAINS_STRUCT_CHECK(T, ENUM) (T)
486#define TREE_CHECK(T, CODE) (T)
487#define TREE_NOT_CHECK(T, CODE) (T)
488#define TREE_CHECK2(T, CODE1, CODE2) (T)
489#define TREE_NOT_CHECK2(T, CODE1, CODE2) (T)
490#define TREE_CHECK3(T, CODE1, CODE2, CODE3) (T)
491#define TREE_NOT_CHECK3(T, CODE1, CODE2, CODE3) (T)
492#define TREE_CHECK4(T, CODE1, CODE2, CODE3, CODE4) (T)
493#define TREE_NOT_CHECK4(T, CODE1, CODE2, CODE3, CODE4) (T)
494#define TREE_CHECK5(T, CODE1, CODE2, CODE3, CODE4, CODE5) (T)
495#define TREE_NOT_CHECK5(T, CODE1, CODE2, CODE3, CODE4, CODE5) (T)
496#define TREE_CHECK6(T, CODE1, CODE2, CODE3, CODE4, CODE5, CODE6) (T)
497#define TREE_NOT_CHECK6(T, CODE1, CODE2, CODE3, CODE4, CODE5, CODE6) (T)
498#define TREE_CLASS_CHECK(T, CODE) (T)
499#define TREE_RANGE_CHECK(T, CODE1, CODE2) (T)
500#define EXPR_CHECK(T) (T)
501#define NON_TYPE_CHECK(T) (T)
502#define TREE_INT_CST_ELT_CHECK(T, I) ((T)->int_cst.val[I])
503#define TREE_VEC_ELT_CHECK(T, I) ((T)->vec.a[I])
504#define TREE_OPERAND_CHECK(T, I) ((T)->exp.operands[I])
505#define TREE_OPERAND_CHECK_CODE(T, CODE, I) ((T)->exp.operands[I])
506#define OMP_CLAUSE_ELT_CHECK(T, i) ((T)->omp_clause.ops[i])
507#define OMP_CLAUSE_RANGE_CHECK(T, CODE1, CODE2) (T)
508#define OMP_CLAUSE_SUBCODE_CHECK(T, CODE) (T)
509#define ANY_INTEGRAL_TYPE_CHECK(T) (T)
511#define TREE_CHAIN(NODE) ((NODE)->common.chain)
512#define TREE_TYPE(NODE) ((NODE)->typed.type)
516#define TREE_BLOCK(NODE) (tree_block (NODE))
517#define TREE_SET_BLOCK(T, B) (tree_set_block ((T), (B)))
519#include "tree-check.h"
521#define TYPE_CHECK(T) TREE_CLASS_CHECK (T, tcc_type)
522#define DECL_MINIMAL_CHECK(T) CONTAINS_STRUCT_CHECK (T, TS_DECL_MINIMAL)
523#define DECL_COMMON_CHECK(T) CONTAINS_STRUCT_CHECK (T, TS_DECL_COMMON)
524#define DECL_WRTL_CHECK(T) CONTAINS_STRUCT_CHECK (T, TS_DECL_WRTL)
525#define DECL_WITH_VIS_CHECK(T) CONTAINS_STRUCT_CHECK (T, TS_DECL_WITH_VIS)
526#define DECL_NON_COMMON_CHECK(T) CONTAINS_STRUCT_CHECK (T, TS_DECL_NON_COMMON)
527#define CST_CHECK(T) TREE_CLASS_CHECK (T, tcc_constant)
528#define STMT_CHECK(T) TREE_CLASS_CHECK (T, tcc_statement)
529#define VL_EXP_CHECK(T) TREE_CLASS_CHECK (T, tcc_vl_exp)
530#define FUNC_OR_METHOD_CHECK(T) TREE_CHECK2 (T, FUNCTION_TYPE, METHOD_TYPE)
531#define PTR_OR_REF_CHECK(T) TREE_CHECK2 (T, POINTER_TYPE, REFERENCE_TYPE)
533#define RECORD_OR_UNION_CHECK(T) \
534 TREE_CHECK3 (T, RECORD_TYPE, UNION_TYPE, QUAL_UNION_TYPE)
535#define NOT_RECORD_OR_UNION_CHECK(T) \
536 TREE_NOT_CHECK3 (T, RECORD_TYPE, UNION_TYPE, QUAL_UNION_TYPE)
537#define ARRAY_OR_INTEGER_TYPE_CHECK(T) \
538 TREE_CHECK2 (T, ARRAY_TYPE, INTEGER_TYPE)
540#define NUMERICAL_TYPE_CHECK(T) \
541 TREE_CHECK6 (T, INTEGER_TYPE, ENUMERAL_TYPE, BOOLEAN_TYPE, REAL_TYPE, \
542 FIXED_POINT_TYPE, BITINT_TYPE)
546#define TYPE_HASH(TYPE) (TYPE_UID (TYPE))
550#define TREE_HASH(NODE) ((size_t) (NODE) & 0777777)
553#define CONVERT_EXPR_CODE_P(CODE) \
554 ((CODE) == NOP_EXPR || (CODE) == CONVERT_EXPR)
557#define CONVERT_EXPR_P(EXP) CONVERT_EXPR_CODE_P (TREE_CODE (EXP))
561#define CASE_CONVERT \
569#define STRIP_NOPS(EXP) \
570 (EXP) = tree_strip_nop_conversions (CONST_CAST_TREE (EXP))
574#define STRIP_SIGN_NOPS(EXP) \
575 (EXP) = tree_strip_sign_nop_conversions (CONST_CAST_TREE (EXP))
579#define STRIP_TYPE_NOPS(EXP) \
580 while ((CONVERT_EXPR_P (EXP) \
581 || TREE_CODE (EXP) == NON_LVALUE_EXPR) \
582 && TREE_OPERAND (EXP, 0) != error_mark_node \
583 && (TREE_TYPE (EXP) \
584 == TREE_TYPE (TREE_OPERAND (EXP, 0)))) \
585 (EXP) = TREE_OPERAND (EXP, 0)
590#define STRIP_USELESS_TYPE_CONVERSION(EXP) \
591 (EXP) = tree_ssa_strip_useless_type_conversions (EXP)
596#define STRIP_ANY_LOCATION_WRAPPER(EXP) \
597 (EXP) = tree_strip_any_location_wrapper (CONST_CAST_TREE (EXP))
601#define VECTOR_TYPE_P(TYPE) (TREE_CODE (TYPE) == VECTOR_TYPE)
605#define VECTOR_BOOLEAN_TYPE_P(TYPE) \
606 (TREE_CODE (TYPE) == VECTOR_TYPE \
607 && TREE_CODE (TREE_TYPE (TYPE)) == BOOLEAN_TYPE)
613#define INTEGRAL_TYPE_P(TYPE) \
614 (TREE_CODE (TYPE) == ENUMERAL_TYPE \
615 || TREE_CODE (TYPE) == BOOLEAN_TYPE \
616 || TREE_CODE (TYPE) == INTEGER_TYPE \
617 || TREE_CODE (TYPE) == BITINT_TYPE)
622#define ANY_INTEGRAL_TYPE_P(TYPE) \
623 (INTEGRAL_TYPE_P (TYPE) \
624 || ((TREE_CODE (TYPE) == COMPLEX_TYPE \
625 || VECTOR_TYPE_P (TYPE)) \
626 && INTEGRAL_TYPE_P (TREE_TYPE (TYPE))))
630#define BITINT_TYPE_P(TYPE) (TREE_CODE (TYPE) == BITINT_TYPE)
634#define NON_SAT_FIXED_POINT_TYPE_P(TYPE) \
635 (TREE_CODE (TYPE) == FIXED_POINT_TYPE && !TYPE_SATURATING (TYPE))
639#define SAT_FIXED_POINT_TYPE_P(TYPE) \
640 (TREE_CODE (TYPE) == FIXED_POINT_TYPE && TYPE_SATURATING (TYPE))
644#define FIXED_POINT_TYPE_P(TYPE) (TREE_CODE (TYPE) == FIXED_POINT_TYPE)
648#define SCALAR_FLOAT_TYPE_P(TYPE) (TREE_CODE (TYPE) == REAL_TYPE)
652#define COMPLEX_FLOAT_TYPE_P(TYPE) \
653 (TREE_CODE (TYPE) == COMPLEX_TYPE \
654 && TREE_CODE (TREE_TYPE (TYPE)) == REAL_TYPE)
658#define VECTOR_INTEGER_TYPE_P(TYPE) \
659 (VECTOR_TYPE_P (TYPE) \
660 && TREE_CODE (TREE_TYPE (TYPE)) == INTEGER_TYPE)
665#define VECTOR_FLOAT_TYPE_P(TYPE) \
666 (VECTOR_TYPE_P (TYPE) \
667 && TREE_CODE (TREE_TYPE (TYPE)) == REAL_TYPE)
673#define FLOAT_TYPE_P(TYPE) \
674 (SCALAR_FLOAT_TYPE_P (TYPE) \
675 || ((TREE_CODE (TYPE) == COMPLEX_TYPE \
676 || VECTOR_TYPE_P (TYPE)) \
677 && SCALAR_FLOAT_TYPE_P (TREE_TYPE (TYPE))))
680#define DECIMAL_FLOAT_TYPE_P(TYPE) \
681 (SCALAR_FLOAT_TYPE_P (TYPE) \
682 && DECIMAL_FLOAT_MODE_P (TYPE_MODE (TYPE)))
685#define RECORD_OR_UNION_TYPE_P(TYPE) \
686 (TREE_CODE (TYPE) == RECORD_TYPE \
687 || TREE_CODE (TYPE) == UNION_TYPE \
688 || TREE_CODE (TYPE) == QUAL_UNION_TYPE)
693#define AGGREGATE_TYPE_P(TYPE) \
694 (TREE_CODE (TYPE) == ARRAY_TYPE || RECORD_OR_UNION_TYPE_P (TYPE))
700#define POINTER_TYPE_P(TYPE) \
701 (TREE_CODE (TYPE) == POINTER_TYPE || TREE_CODE (TYPE) == REFERENCE_TYPE)
704#define FUNCTION_POINTER_TYPE_P(TYPE) \
705 (POINTER_TYPE_P (TYPE) && TREE_CODE (TREE_TYPE (TYPE)) == FUNCTION_TYPE)
708#define COMPLETE_TYPE_P(NODE) (TYPE_SIZE (NODE) != NULL_TREE)
711#define VOID_TYPE_P(NODE) (TREE_CODE (NODE) == VOID_TYPE)
714#define COMPLETE_OR_VOID_TYPE_P(NODE) \
715 (COMPLETE_TYPE_P (NODE) || VOID_TYPE_P (NODE))
718#define COMPLETE_OR_UNBOUND_ARRAY_TYPE_P(NODE) \
719 (COMPLETE_TYPE_P (TREE_CODE (NODE) == ARRAY_TYPE ? TREE_TYPE (NODE) : (NODE)))
721#define FUNC_OR_METHOD_TYPE_P(NODE) \
722 (TREE_CODE (NODE) == FUNCTION_TYPE || TREE_CODE (NODE) == METHOD_TYPE)
724#define OPAQUE_TYPE_P(NODE) \
725 (TREE_CODE (NODE) == OPAQUE_TYPE)
744#define TREE_ADDRESSABLE(NODE) ((NODE)->base.addressable_flag)
749#define CALL_EXPR_TAILCALL(NODE) \
750 (CALL_EXPR_CHECK (NODE)->base.addressable_flag)
754#define CALL_EXPR_MUST_TAIL_CALL(NODE) \
755 (CALL_EXPR_CHECK (NODE)->base.static_flag)
759#define CASE_LOW_SEEN(NODE) \
760 (CASE_LABEL_EXPR_CHECK (NODE)->base.addressable_flag)
762#define PREDICT_EXPR_OUTCOME(NODE) \
763 ((enum prediction) (PREDICT_EXPR_CHECK (NODE)->base.addressable_flag))
764#define SET_PREDICT_EXPR_OUTCOME(NODE, OUTCOME) \
765 (PREDICT_EXPR_CHECK (NODE)->base.addressable_flag = (int) OUTCOME)
766#define PREDICT_EXPR_PREDICTOR(NODE) \
767 ((enum br_predictor)tree_to_shwi (TREE_OPERAND (PREDICT_EXPR_CHECK (NODE), 0)))
772#define TREE_STATIC(NODE) ((NODE)->base.static_flag)
775#define TREE_NO_TRAMPOLINE(NODE) (ADDR_EXPR_CHECK (NODE)->base.static_flag)
780#define CLEANUP_EH_ONLY(NODE) ((NODE)->base.static_flag)
784#define TRY_CATCH_IS_CLEANUP(NODE) \
785 (TRY_CATCH_EXPR_CHECK (NODE)->base.static_flag)
789#define CASE_HIGH_SEEN(NODE) \
790 (CASE_LABEL_EXPR_CHECK (NODE)->base.static_flag)
793#define ENUM_IS_SCOPED(NODE) (ENUMERAL_TYPE_CHECK (NODE)->base.static_flag)
796#define ENUM_IS_OPAQUE(NODE) (ENUMERAL_TYPE_CHECK (NODE)->base.private_flag)
803#define TREE_NO_WARNING(NODE) ((NODE)->base.nowarning_flag)
807#define TRANSLATION_UNIT_WARN_EMPTY_P(NODE) \
808 (TRANSLATION_UNIT_DECL_CHECK (NODE)->decl_common.decl_flag_0)
811#define TYPE_EMPTY_P(NODE) (TYPE_CHECK (NODE)->type_common.empty_flag)
814#define TYPE_ARTIFICIAL(NODE) (TYPE_CHECK (NODE)->base.nowarning_flag)
819#define TYPE_INDIVISIBLE_P(NODE) (TYPE_CHECK (NODE)->type_common.indivisible_p)
824#define TYPE_NO_NAMED_ARGS_STDARG_P(NODE) \
825 (FUNC_OR_METHOD_CHECK (NODE)->type_common.no_named_args_stdarg_p)
829#define TYPE_INCLUDES_FLEXARRAY(NODE) \
830 (RECORD_OR_UNION_CHECK (NODE)->type_common.no_named_args_stdarg_p)
834#define TREE_SYMBOL_REFERENCED(NODE) \
835 (IDENTIFIER_NODE_CHECK (NODE)->base.static_flag)
839#define TYPE_REF_CAN_ALIAS_ALL(NODE) \
840 (PTR_OR_REF_CHECK (NODE)->base.static_flag)
845#define TREE_OVERFLOW(NODE) (CST_CHECK (NODE)->base.public_flag)
849#define TREE_OVERFLOW_P(EXPR) \
850 (CONSTANT_CLASS_P (EXPR) && TREE_OVERFLOW (EXPR))
857#define TREE_PUBLIC(NODE) ((NODE)->base.public_flag)
861#define TYPE_CACHED_VALUES_P(NODE) (TYPE_CHECK (NODE)->base.public_flag)
865#define SAVE_EXPR_RESOLVED_P(NODE) \
866 (SAVE_EXPR_CHECK (NODE)->base.public_flag)
870#define CALL_EXPR_VA_ARG_PACK(NODE) \
871 (CALL_EXPR_CHECK (NODE)->base.public_flag)
878#define TREE_SIDE_EFFECTS(NODE) \
879 (NON_TYPE_CHECK (NODE)->base.side_effects_flag)
884#define FORCED_LABEL(NODE) (LABEL_DECL_CHECK (NODE)->base.side_effects_flag)
888#define FALLTHROUGH_LABEL_P(NODE) \
889 (LABEL_DECL_CHECK (NODE)->base.private_flag)
893#define SWITCH_BREAK_LABEL_P(NODE) \
894 (LABEL_DECL_CHECK (NODE)->base.protected_flag)
899#define UNUSED_LABEL_P(NODE) \
900 (LABEL_DECL_CHECK (NODE)->base.default_def_flag)
915#define TREE_THIS_VOLATILE(NODE) ((NODE)->base.volatile_flag)
926#define TREE_THIS_NOTRAP(NODE) \
927 (TREE_CHECK5 (NODE, INDIRECT_REF, MEM_REF, TARGET_MEM_REF, ARRAY_REF, \
928 ARRAY_RANGE_REF)->base.nothrow_flag)
934#define TREE_READONLY(NODE) (NON_TYPE_CHECK (NODE)->base.readonly_flag)
938#define TREE_CONSTANT(NODE) (NON_TYPE_CHECK (NODE)->base.constant_flag)
941#define TYPE_SIZES_GIMPLIFIED(NODE) \
942 (TYPE_CHECK (NODE)->base.constant_flag)
945#define DECL_UNSIGNED(NODE) \
946 (DECL_COMMON_CHECK (NODE)->base.u.bits.unsigned_flag)
949#define TYPE_UNSIGNED(NODE) (TYPE_CHECK (NODE)->base.u.bits.unsigned_flag)
952#define TYPE_SIGN(NODE) ((signop) TYPE_UNSIGNED (NODE))
956#define TYPE_OVERFLOW_WRAPS(TYPE) \
957 (POINTER_TYPE_P (TYPE) \
958 ? flag_wrapv_pointer \
959 : (ANY_INTEGRAL_TYPE_CHECK(TYPE)->base.u.bits.unsigned_flag \
970#define TYPE_OVERFLOW_UNDEFINED(TYPE) \
971 (POINTER_TYPE_P (TYPE) \
972 ? !flag_wrapv_pointer \
973 : (!ANY_INTEGRAL_TYPE_CHECK(TYPE)->base.u.bits.unsigned_flag \
974 && !flag_wrapv && !flag_trapv))
978#define TYPE_OVERFLOW_TRAPS(TYPE) \
979 (!ANY_INTEGRAL_TYPE_CHECK(TYPE)->base.u.bits.unsigned_flag && flag_trapv)
982#define TYPE_OVERFLOW_SANITIZED(TYPE) \
983 (INTEGRAL_TYPE_P (TYPE) \
984 && !TYPE_OVERFLOW_WRAPS (TYPE) \
985 && (flag_sanitize & SANITIZE_SI_OVERFLOW))
996#define TREE_ASM_WRITTEN(NODE) ((NODE)->base.asm_written_flag)
1003#define TREE_USED(NODE) ((NODE)->base.used_flag)
1009#define TREE_NOTHROW(NODE) ((NODE)->base.nothrow_flag)
1013#define CALL_EXPR_RETURN_SLOT_OPT(NODE) \
1014 (CALL_EXPR_CHECK (NODE)->base.private_flag)
1019#define DECL_BY_REFERENCE(NODE) \
1020 (TREE_CHECK3 (NODE, VAR_DECL, PARM_DECL, \
1021 RESULT_DECL)->decl_common.decl_by_reference_flag)
1025#define DECL_READ_P(NODE) \
1026 (TREE_CHECK2 (NODE, VAR_DECL, PARM_DECL)->decl_common.decl_read_flag)
1030#define DECL_NONSHAREABLE(NODE) \
1031 (TREE_CHECK2 (NODE, VAR_DECL, \
1032 RESULT_DECL)->decl_common.decl_nonshareable_flag)
1036#define DECL_HIDDEN_STRING_LENGTH(NODE) \
1037 (TREE_CHECK (NODE, PARM_DECL)->decl_common.decl_nonshareable_flag)
1042#define CALL_FROM_THUNK_P(NODE) (CALL_EXPR_CHECK (NODE)->base.protected_flag)
1048#define CALL_ALLOCA_FOR_VAR_P(NODE) \
1049 (CALL_EXPR_CHECK (NODE)->base.protected_flag)
1054#define CALL_FROM_NEW_OR_DELETE_P(NODE) \
1055 (CALL_EXPR_CHECK (NODE)->base.protected_flag)
1058#define TREE_PRIVATE(NODE) ((NODE)->base.private_flag)
1060#define TREE_PROTECTED(NODE) ((NODE)->base.protected_flag)
1063#define TYPE_REF_IS_RVALUE(NODE) \
1064 (REFERENCE_TYPE_CHECK (NODE)->base.private_flag)
1068#define TREE_DEPRECATED(NODE) \
1069 ((NODE)->base.deprecated_flag)
1073#define TREE_UNAVAILABLE(NODE) \
1074 ((NODE)->base.u.bits.unavailable_flag)
1078#define IDENTIFIER_ANON_P(NODE) \
1079 (IDENTIFIER_NODE_CHECK (NODE)->base.private_flag)
1083#define IDENTIFIER_TRANSPARENT_ALIAS(NODE) \
1084 (IDENTIFIER_NODE_CHECK (NODE)->base.deprecated_flag)
1089#define TYPE_REVERSE_STORAGE_ORDER(NODE) \
1090 (TREE_CHECK4 (NODE, RECORD_TYPE, UNION_TYPE, QUAL_UNION_TYPE, ARRAY_TYPE)->base.u.bits.saturating_flag)
1093#define TYPE_SATURATING(NODE) \
1094 (TREE_NOT_CHECK4 (NODE, RECORD_TYPE, UNION_TYPE, QUAL_UNION_TYPE, ARRAY_TYPE)->base.u.bits.saturating_flag)
1107#define REF_REVERSE_STORAGE_ORDER(NODE) \
1108 (TREE_CHECK2 (NODE, BIT_FIELD_REF, MEM_REF)->base.default_def_flag)
1112#define FUNC_ADDR_BY_DESCRIPTOR(NODE) \
1113 (TREE_CHECK (NODE, ADDR_EXPR)->base.default_def_flag)
1117#define CALL_EXPR_BY_DESCRIPTOR(NODE) \
1118 (TREE_CHECK (NODE, CALL_EXPR)->base.default_def_flag)
1121#define TREE_LANG_FLAG_0(NODE) \
1122 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_0)
1123#define TREE_LANG_FLAG_1(NODE) \
1124 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_1)
1125#define TREE_LANG_FLAG_2(NODE) \
1126 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_2)
1127#define TREE_LANG_FLAG_3(NODE) \
1128 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_3)
1129#define TREE_LANG_FLAG_4(NODE) \
1130 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_4)
1131#define TREE_LANG_FLAG_5(NODE) \
1132 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_5)
1133#define TREE_LANG_FLAG_6(NODE) \
1134 (TREE_NOT_CHECK2 (NODE, TREE_VEC, SSA_NAME)->base.u.bits.lang_flag_6)
1138#define TREE_INT_CST_NUNITS(NODE) \
1139 (INTEGER_CST_CHECK (NODE)->base.u.int_length.unextended)
1140#define TREE_INT_CST_EXT_NUNITS(NODE) \
1141 (INTEGER_CST_CHECK (NODE)->base.u.int_length.extended)
1142#define TREE_INT_CST_ELT(NODE, I) TREE_INT_CST_ELT_CHECK (NODE, I)
1143#define TREE_INT_CST_LOW(NODE) \
1144 ((unsigned HOST_WIDE_INT) TREE_INT_CST_ELT (NODE, 0))
1148#define POLY_INT_CST_P(NODE) \
1149 (NUM_POLY_INT_COEFFS > 1 && TREE_CODE (NODE) == POLY_INT_CST)
1152#define POLY_INT_CST_COEFF(NODE, I) \
1153 (POLY_INT_CST_CHECK (NODE)->poly_int_cst.coeffs[I])
1155#define TREE_REAL_CST_PTR(NODE) (&REAL_CST_CHECK (NODE)->real_cst.value)
1156#define TREE_REAL_CST(NODE) (*TREE_REAL_CST_PTR (NODE))
1158#define TREE_FIXED_CST_PTR(NODE) \
1159 (FIXED_CST_CHECK (NODE)->fixed_cst.fixed_cst_ptr)
1160#define TREE_FIXED_CST(NODE) (*TREE_FIXED_CST_PTR (NODE))
1164#define TREE_STRING_LENGTH(NODE) (STRING_CST_CHECK (NODE)->string.length)
1165#define TREE_STRING_POINTER(NODE) \
1166 ((const char *)(STRING_CST_CHECK (NODE)->string.str))
1169#define TREE_REALPART(NODE) (COMPLEX_CST_CHECK (NODE)->complex.real)
1170#define TREE_IMAGPART(NODE) (COMPLEX_CST_CHECK (NODE)->complex.imag)
1173#define VECTOR_CST_NELTS(NODE) (TYPE_VECTOR_SUBPARTS (TREE_TYPE (NODE)))
1174#define VECTOR_CST_ELT(NODE,IDX) vector_cst_elt (NODE, IDX)
1176#define VECTOR_CST_LOG2_NPATTERNS(NODE) \
1177 (VECTOR_CST_CHECK (NODE)->base.u.vector_cst.log2_npatterns)
1178#define VECTOR_CST_NPATTERNS(NODE) \
1179 (1U << VECTOR_CST_LOG2_NPATTERNS (NODE))
1180#define VECTOR_CST_NELTS_PER_PATTERN(NODE) \
1181 (VECTOR_CST_CHECK (NODE)->base.u.vector_cst.nelts_per_pattern)
1182#define VECTOR_CST_DUPLICATE_P(NODE) \
1183 (VECTOR_CST_NELTS_PER_PATTERN (NODE) == 1)
1184#define VECTOR_CST_STEPPED_P(NODE) \
1185 (VECTOR_CST_NELTS_PER_PATTERN (NODE) == 3)
1186#define VECTOR_CST_ENCODED_ELTS(NODE) \
1187 (VECTOR_CST_CHECK (NODE)->vector.elts)
1188#define VECTOR_CST_ENCODED_ELT(NODE, ELT) \
1189 (VECTOR_CST_CHECK (NODE)->vector.elts[ELT])
1194#define IDENTIFIER_LENGTH(NODE) \
1195 (IDENTIFIER_NODE_CHECK (NODE)->identifier.id.len)
1196#define IDENTIFIER_POINTER(NODE) \
1197 ((const char *) IDENTIFIER_NODE_CHECK (NODE)->identifier.id.str)
1198#define IDENTIFIER_HASH_VALUE(NODE) \
1199 (IDENTIFIER_NODE_CHECK (NODE)->identifier.id.hash_value)
1204#define HT_IDENT_TO_GCC_IDENT(NODE) \
1205 ((tree) ((char *) (NODE) - sizeof (struct tree_common)))
1206#define GCC_IDENT_TO_HT_IDENT(NODE) (&((struct tree_identifier *) (NODE))->id)
1209#define TREE_PURPOSE(NODE) (TREE_LIST_CHECK (NODE)->list.purpose)
1210#define TREE_VALUE(NODE) (TREE_LIST_CHECK (NODE)->list.value)
1213#define TREE_VEC_LENGTH(NODE) (TREE_VEC_CHECK (NODE)->base.u.length)
1214#define TREE_VEC_BEGIN(NODE) (&TREE_VEC_CHECK (NODE)->vec.a[0])
1215#define TREE_VEC_END(NODE) \
1216 ((void) TREE_VEC_CHECK (NODE), &((NODE)->vec.a[(NODE)->base.u.length]))
1218#define TREE_VEC_ELT(NODE,I) TREE_VEC_ELT_CHECK (NODE, I)
1221#define CONSTRUCTOR_ELTS(NODE) (CONSTRUCTOR_CHECK (NODE)->constructor.elts)
1222#define CONSTRUCTOR_ELT(NODE,IDX) \
1223 (&(*CONSTRUCTOR_ELTS (NODE))[IDX])
1224#define CONSTRUCTOR_NELTS(NODE) \
1225 (vec_safe_length (CONSTRUCTOR_ELTS (NODE)))
1226#define CONSTRUCTOR_NO_CLEARING(NODE) \
1227 (CONSTRUCTOR_CHECK (NODE)->base.public_flag)
1232#define FOR_EACH_CONSTRUCTOR_VALUE(V, IX, VAL) \
1233 for (IX = 0; (IX >= vec_safe_length (V)) \
1235 : ((VAL = (*(V))[IX].value), \
1242#define FOR_EACH_CONSTRUCTOR_ELT(V, IX, INDEX, VAL) \
1243 for (IX = 0; (IX >= vec_safe_length (V)) \
1245 : (((void) (VAL = (*V)[IX].value)), \
1246 (INDEX = (*V)[IX].index), \
1251#define CONSTRUCTOR_APPEND_ELT(V, INDEX, VALUE) \
1253 constructor_elt _ce___ = {INDEX, VALUE}; \
1254 vec_safe_push ((V), _ce___); \
1259#define CONSTRUCTOR_BITFIELD_P(NODE) \
1260 (DECL_BIT_FIELD (FIELD_DECL_CHECK (NODE)) \
1261 && (DECL_MODE (NODE) != BLKmode \
1262 || TREE_CODE (TREE_TYPE (NODE)) == BITINT_TYPE))
1269#define TREE_CLOBBER_P(NODE) \
1270 (TREE_CODE (NODE) == CONSTRUCTOR && TREE_THIS_VOLATILE (NODE))
1273#define CLOBBER_KIND(NODE) \
1274 (CONSTRUCTOR_CHECK (NODE)->base.u.bits.address_space)
1279#define IS_EMPTY_STMT(NODE) (TREE_CODE (NODE) == NOP_EXPR \
1280 && VOID_TYPE_P (TREE_TYPE (NODE)) \
1281 && integer_zerop (TREE_OPERAND (NODE, 0)))
1284#define TREE_OPERAND_LENGTH(NODE) tree_operand_length (NODE)
1285#define TREE_OPERAND(NODE, I) TREE_OPERAND_CHECK (NODE, I)
1292#define VL_EXP_OPERAND_LENGTH(NODE) \
1293 ((int)TREE_INT_CST_LOW (VL_EXP_CHECK (NODE)->exp.operands[0]))
1296#define MAY_HAVE_DEBUG_MARKER_STMTS debug_nonbind_markers_p
1299#define MAY_HAVE_DEBUG_BIND_STMTS flag_var_tracking_assignments
1301#define MAY_HAVE_DEBUG_STMTS \
1302 (MAY_HAVE_DEBUG_MARKER_STMTS || MAY_HAVE_DEBUG_BIND_STMTS)
1305#define LOOP_EXPR_BODY(NODE) TREE_OPERAND_CHECK_CODE (NODE, LOOP_EXPR, 0)
1310#define EXPR_LOCATION(NODE) \
1311 (CAN_HAVE_LOCATION_P ((NODE)) ? (NODE)->exp.locus : UNKNOWN_LOCATION)
1312#define SET_EXPR_LOCATION(NODE, LOCUS) EXPR_CHECK ((NODE))->exp.locus = (LOCUS)
1313#define EXPR_HAS_LOCATION(NODE) (LOCATION_LOCUS (EXPR_LOCATION (NODE)) \
1314 != UNKNOWN_LOCATION)
1317#define EXPR_LOC_OR_LOC(NODE, LOCUS) (EXPR_HAS_LOCATION (NODE) \
1318 ? (NODE)->exp.locus : (LOCUS))
1319#define EXPR_FILENAME(NODE) LOCATION_FILE (EXPR_CHECK ((NODE))->exp.locus)
1320#define EXPR_LINENO(NODE) LOCATION_LINE (EXPR_CHECK (NODE)->exp.locus)
1322#define CAN_HAVE_RANGE_P(NODE) (CAN_HAVE_LOCATION_P (NODE))
1323#define EXPR_LOCATION_RANGE(NODE) (get_expr_source_range (EXPR_CHECK ((NODE))))
1325#define EXPR_HAS_RANGE(NODE) \
1326 (CAN_HAVE_RANGE_P (NODE) \
1327 ? EXPR_LOCATION_RANGE (NODE).m_start != UNKNOWN_LOCATION \
1332#define CAN_HAVE_LOCATION_P(NODE) ((NODE) && EXPR_P (NODE))
1343ATTRIBUTE_WARN_UNUSED_RESULT
1362#define SET_EXPR_UID(t, v) EXPR_CHECK ((t))->exp.condition_uid = (v)
1363#define EXPR_COND_UID(t) EXPR_CHECK ((t))->exp.condition_uid
1366#define TARGET_EXPR_SLOT(NODE) TREE_OPERAND_CHECK_CODE (NODE, TARGET_EXPR, 0)
1367#define TARGET_EXPR_INITIAL(NODE) TREE_OPERAND_CHECK_CODE (NODE, TARGET_EXPR, 1)
1368#define TARGET_EXPR_CLEANUP(NODE) TREE_OPERAND_CHECK_CODE (NODE, TARGET_EXPR, 2)
1371#define TARGET_EXPR_NO_ELIDE(NODE) (TARGET_EXPR_CHECK (NODE)->base.private_flag)
1375#define DECL_EXPR_DECL(NODE) TREE_OPERAND (DECL_EXPR_CHECK (NODE), 0)
1377#define EXIT_EXPR_COND(NODE) TREE_OPERAND (EXIT_EXPR_CHECK (NODE), 0)
1380#define COMPOUND_LITERAL_EXPR_DECL_EXPR(NODE) \
1381 TREE_OPERAND (COMPOUND_LITERAL_EXPR_CHECK (NODE), 0)
1382#define COMPOUND_LITERAL_EXPR_DECL(NODE) \
1383 DECL_EXPR_DECL (COMPOUND_LITERAL_EXPR_DECL_EXPR (NODE))
1386#define SWITCH_COND(NODE) TREE_OPERAND (SWITCH_EXPR_CHECK (NODE), 0)
1387#define SWITCH_BODY(NODE) TREE_OPERAND (SWITCH_EXPR_CHECK (NODE), 1)
1391#define SWITCH_ALL_CASES_P(NODE) (SWITCH_EXPR_CHECK (NODE)->base.private_flag)
1395#define CASE_LOW(NODE) TREE_OPERAND (CASE_LABEL_EXPR_CHECK (NODE), 0)
1396#define CASE_HIGH(NODE) TREE_OPERAND (CASE_LABEL_EXPR_CHECK (NODE), 1)
1397#define CASE_LABEL(NODE) TREE_OPERAND (CASE_LABEL_EXPR_CHECK (NODE), 2)
1398#define CASE_CHAIN(NODE) TREE_OPERAND (CASE_LABEL_EXPR_CHECK (NODE), 3)
1402#define TMR_BASE(NODE) (TREE_OPERAND (TARGET_MEM_REF_CHECK (NODE), 0))
1403#define TMR_OFFSET(NODE) (TREE_OPERAND (TARGET_MEM_REF_CHECK (NODE), 1))
1404#define TMR_INDEX(NODE) (TREE_OPERAND (TARGET_MEM_REF_CHECK (NODE), 2))
1405#define TMR_STEP(NODE) (TREE_OPERAND (TARGET_MEM_REF_CHECK (NODE), 3))
1406#define TMR_INDEX2(NODE) (TREE_OPERAND (TARGET_MEM_REF_CHECK (NODE), 4))
1408#define MR_DEPENDENCE_CLIQUE(NODE) \
1409 (TREE_CHECK2 (NODE, MEM_REF, TARGET_MEM_REF)->base.u.dependence_info.clique)
1410#define MR_DEPENDENCE_BASE(NODE) \
1411 (TREE_CHECK2 (NODE, MEM_REF, TARGET_MEM_REF)->base.u.dependence_info.base)
1414#define BIND_EXPR_VARS(NODE) (TREE_OPERAND (BIND_EXPR_CHECK (NODE), 0))
1415#define BIND_EXPR_BODY(NODE) (TREE_OPERAND (BIND_EXPR_CHECK (NODE), 1))
1416#define BIND_EXPR_BLOCK(NODE) (TREE_OPERAND (BIND_EXPR_CHECK (NODE), 2))
1420#define GOTO_DESTINATION(NODE) TREE_OPERAND (GOTO_EXPR_CHECK (NODE), 0)
1426#define ASM_STRING(NODE) TREE_OPERAND (ASM_EXPR_CHECK (NODE), 0)
1427#define ASM_OUTPUTS(NODE) TREE_OPERAND (ASM_EXPR_CHECK (NODE), 1)
1428#define ASM_INPUTS(NODE) TREE_OPERAND (ASM_EXPR_CHECK (NODE), 2)
1429#define ASM_CLOBBERS(NODE) TREE_OPERAND (ASM_EXPR_CHECK (NODE), 3)
1430#define ASM_LABELS(NODE) TREE_OPERAND (ASM_EXPR_CHECK (NODE), 4)
1433#define ASM_INPUT_P(NODE) (ASM_EXPR_CHECK (NODE)->base.static_flag)
1434#define ASM_VOLATILE_P(NODE) (ASM_EXPR_CHECK (NODE)->base.public_flag)
1437#define ASM_INLINE_P(NODE) (ASM_EXPR_CHECK (NODE)->base.protected_flag)
1440#define COND_EXPR_COND(NODE) (TREE_OPERAND (COND_EXPR_CHECK (NODE), 0))
1441#define COND_EXPR_THEN(NODE) (TREE_OPERAND (COND_EXPR_CHECK (NODE), 1))
1442#define COND_EXPR_ELSE(NODE) (TREE_OPERAND (COND_EXPR_CHECK (NODE), 2))
1445#define CHREC_LEFT(NODE) TREE_OPERAND (POLYNOMIAL_CHREC_CHECK (NODE), 0)
1446#define CHREC_RIGHT(NODE) TREE_OPERAND (POLYNOMIAL_CHREC_CHECK (NODE), 1)
1447#define CHREC_VARIABLE(NODE) POLYNOMIAL_CHREC_CHECK (NODE)->base.u.chrec_var
1449#define CHREC_NOWRAP(NODE) POLYNOMIAL_CHREC_CHECK (NODE)->base.nothrow_flag
1453#define LABEL_EXPR_LABEL(NODE) TREE_OPERAND (LABEL_EXPR_CHECK (NODE), 0)
1456#define CATCH_TYPES(NODE) TREE_OPERAND (CATCH_EXPR_CHECK (NODE), 0)
1457#define CATCH_BODY(NODE) TREE_OPERAND (CATCH_EXPR_CHECK (NODE), 1)
1460#define EH_FILTER_TYPES(NODE) TREE_OPERAND (EH_FILTER_EXPR_CHECK (NODE), 0)
1461#define EH_FILTER_FAILURE(NODE) TREE_OPERAND (EH_FILTER_EXPR_CHECK (NODE), 1)
1464#define OBJ_TYPE_REF_EXPR(NODE) TREE_OPERAND (OBJ_TYPE_REF_CHECK (NODE), 0)
1465#define OBJ_TYPE_REF_OBJECT(NODE) TREE_OPERAND (OBJ_TYPE_REF_CHECK (NODE), 1)
1466#define OBJ_TYPE_REF_TOKEN(NODE) TREE_OPERAND (OBJ_TYPE_REF_CHECK (NODE), 2)
1469#define CALL_EXPR_FN(NODE) TREE_OPERAND (CALL_EXPR_CHECK (NODE), 1)
1470#define CALL_EXPR_STATIC_CHAIN(NODE) TREE_OPERAND (CALL_EXPR_CHECK (NODE), 2)
1471#define CALL_EXPR_ARG(NODE, I) TREE_OPERAND (CALL_EXPR_CHECK (NODE), (I) + 3)
1472#define call_expr_nargs(NODE) (VL_EXP_OPERAND_LENGTH (NODE) - 3)
1473#define CALL_EXPR_IFN(NODE) (CALL_EXPR_CHECK (NODE)->base.u.ifn)
1481#define CALL_EXPR_ARGP(NODE) \
1482 (&(TREE_OPERAND (CALL_EXPR_CHECK (NODE), 0)) + 3)
1485#define TRANSACTION_EXPR_BODY(NODE) \
1486 TREE_OPERAND (TRANSACTION_EXPR_CHECK (NODE), 0)
1487#define TRANSACTION_EXPR_OUTER(NODE) \
1488 (TRANSACTION_EXPR_CHECK (NODE)->base.static_flag)
1489#define TRANSACTION_EXPR_RELAXED(NODE) \
1490 (TRANSACTION_EXPR_CHECK (NODE)->base.public_flag)
1496#define OMP_BODY(NODE) \
1497 TREE_OPERAND (TREE_RANGE_CHECK (NODE, OACC_PARALLEL, OMP_MASTER), 0)
1498#define OMP_CLAUSES(NODE) \
1499 TREE_OPERAND (TREE_RANGE_CHECK (NODE, OACC_PARALLEL, OMP_SCAN), 1)
1502#define OMP_STANDALONE_CLAUSES(NODE) \
1503 TREE_OPERAND (TREE_RANGE_CHECK (NODE, OACC_CACHE, OMP_TARGET_EXIT_DATA), 0)
1505#define OACC_DATA_BODY(NODE) \
1506 TREE_OPERAND (OACC_DATA_CHECK (NODE), 0)
1507#define OACC_DATA_CLAUSES(NODE) \
1508 TREE_OPERAND (OACC_DATA_CHECK (NODE), 1)
1510#define OACC_HOST_DATA_BODY(NODE) \
1511 TREE_OPERAND (OACC_HOST_DATA_CHECK (NODE), 0)
1512#define OACC_HOST_DATA_CLAUSES(NODE) \
1513 TREE_OPERAND (OACC_HOST_DATA_CHECK (NODE), 1)
1515#define OACC_CACHE_CLAUSES(NODE) \
1516 TREE_OPERAND (OACC_CACHE_CHECK (NODE), 0)
1518#define OACC_DECLARE_CLAUSES(NODE) \
1519 TREE_OPERAND (OACC_DECLARE_CHECK (NODE), 0)
1521#define OACC_ENTER_DATA_CLAUSES(NODE) \
1522 TREE_OPERAND (OACC_ENTER_DATA_CHECK (NODE), 0)
1524#define OACC_EXIT_DATA_CLAUSES(NODE) \
1525 TREE_OPERAND (OACC_EXIT_DATA_CHECK (NODE), 0)
1527#define OACC_UPDATE_CLAUSES(NODE) \
1528 TREE_OPERAND (OACC_UPDATE_CHECK (NODE), 0)
1530#define OMP_PARALLEL_BODY(NODE) TREE_OPERAND (OMP_PARALLEL_CHECK (NODE), 0)
1531#define OMP_PARALLEL_CLAUSES(NODE) TREE_OPERAND (OMP_PARALLEL_CHECK (NODE), 1)
1533#define OMP_TASK_BODY(NODE) TREE_OPERAND (OMP_TASK_CHECK (NODE), 0)
1534#define OMP_TASK_CLAUSES(NODE) TREE_OPERAND (OMP_TASK_CHECK (NODE), 1)
1536#define OMP_TASKREG_CHECK(NODE) TREE_RANGE_CHECK (NODE, OMP_PARALLEL, OMP_TASK)
1537#define OMP_TASKREG_BODY(NODE) TREE_OPERAND (OMP_TASKREG_CHECK (NODE), 0)
1538#define OMP_TASKREG_CLAUSES(NODE) TREE_OPERAND (OMP_TASKREG_CHECK (NODE), 1)
1540#define OMP_LOOPING_CHECK(NODE) TREE_RANGE_CHECK (NODE, OMP_FOR, OACC_LOOP)
1541#define OMP_FOR_BODY(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 0)
1542#define OMP_FOR_CLAUSES(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 1)
1543#define OMP_FOR_INIT(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 2)
1544#define OMP_FOR_COND(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 3)
1545#define OMP_FOR_INCR(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 4)
1546#define OMP_FOR_PRE_BODY(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 5)
1547#define OMP_FOR_ORIG_DECLS(NODE) TREE_OPERAND (OMP_LOOPING_CHECK (NODE), 6)
1549#define OMP_LOOPXFORM_CHECK(NODE) TREE_RANGE_CHECK (NODE, OMP_TILE, OMP_UNROLL)
1550#define OMP_LOOPXFORM_LOWERED(NODE) \
1551 (OMP_LOOPXFORM_CHECK (NODE)->base.public_flag)
1553#define OMP_SECTIONS_BODY(NODE) TREE_OPERAND (OMP_SECTIONS_CHECK (NODE), 0)
1554#define OMP_SECTIONS_CLAUSES(NODE) TREE_OPERAND (OMP_SECTIONS_CHECK (NODE), 1)
1556#define OMP_SECTION_BODY(NODE) TREE_OPERAND (OMP_SECTION_CHECK (NODE), 0)
1558#define OMP_STRUCTURED_BLOCK_BODY(NODE) \
1559 TREE_OPERAND (OMP_STRUCTURED_BLOCK_CHECK (NODE), 0)
1561#define OMP_SINGLE_BODY(NODE) TREE_OPERAND (OMP_SINGLE_CHECK (NODE), 0)
1562#define OMP_SINGLE_CLAUSES(NODE) TREE_OPERAND (OMP_SINGLE_CHECK (NODE), 1)
1564#define OMP_SCOPE_BODY(NODE) TREE_OPERAND (OMP_SCOPE_CHECK (NODE), 0)
1565#define OMP_SCOPE_CLAUSES(NODE) TREE_OPERAND (OMP_SCOPE_CHECK (NODE), 1)
1567#define OMP_MASTER_BODY(NODE) TREE_OPERAND (OMP_MASTER_CHECK (NODE), 0)
1569#define OMP_MASKED_BODY(NODE) TREE_OPERAND (OMP_MASKED_CHECK (NODE), 0)
1570#define OMP_MASKED_CLAUSES(NODE) TREE_OPERAND (OMP_MASKED_CHECK (NODE), 1)
1572#define OMP_TASKGROUP_BODY(NODE) TREE_OPERAND (OMP_TASKGROUP_CHECK (NODE), 0)
1573#define OMP_TASKGROUP_CLAUSES(NODE) \
1574 TREE_OPERAND (OMP_TASKGROUP_CHECK (NODE), 1)
1576#define OMP_ORDERED_BODY(NODE) TREE_OPERAND (OMP_ORDERED_CHECK (NODE), 0)
1577#define OMP_ORDERED_CLAUSES(NODE) TREE_OPERAND (OMP_ORDERED_CHECK (NODE), 1)
1579#define OMP_CRITICAL_BODY(NODE) TREE_OPERAND (OMP_CRITICAL_CHECK (NODE), 0)
1580#define OMP_CRITICAL_CLAUSES(NODE) TREE_OPERAND (OMP_CRITICAL_CHECK (NODE), 1)
1581#define OMP_CRITICAL_NAME(NODE) TREE_OPERAND (OMP_CRITICAL_CHECK (NODE), 2)
1583#define OMP_TEAMS_BODY(NODE) TREE_OPERAND (OMP_TEAMS_CHECK (NODE), 0)
1584#define OMP_TEAMS_CLAUSES(NODE) TREE_OPERAND (OMP_TEAMS_CHECK (NODE), 1)
1586#define OMP_TARGET_DATA_BODY(NODE) \
1587 TREE_OPERAND (OMP_TARGET_DATA_CHECK (NODE), 0)
1588#define OMP_TARGET_DATA_CLAUSES(NODE)\
1589 TREE_OPERAND (OMP_TARGET_DATA_CHECK (NODE), 1)
1591#define OMP_TARGET_BODY(NODE) TREE_OPERAND (OMP_TARGET_CHECK (NODE), 0)
1592#define OMP_TARGET_CLAUSES(NODE) TREE_OPERAND (OMP_TARGET_CHECK (NODE), 1)
1594#define OMP_TARGET_UPDATE_CLAUSES(NODE)\
1595 TREE_OPERAND (OMP_TARGET_UPDATE_CHECK (NODE), 0)
1597#define OMP_TARGET_ENTER_DATA_CLAUSES(NODE)\
1598 TREE_OPERAND (OMP_TARGET_ENTER_DATA_CHECK (NODE), 0)
1600#define OMP_TARGET_EXIT_DATA_CLAUSES(NODE)\
1601 TREE_OPERAND (OMP_TARGET_EXIT_DATA_CHECK (NODE), 0)
1603#define OMP_SCAN_BODY(NODE) TREE_OPERAND (OMP_SCAN_CHECK (NODE), 0)
1604#define OMP_SCAN_CLAUSES(NODE) TREE_OPERAND (OMP_SCAN_CHECK (NODE), 1)
1606#define OMP_CLAUSE_SIZE(NODE) \
1607 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (OMP_CLAUSE_CHECK (NODE), \
1609 OMP_CLAUSE__CACHE_), 1)
1611#define OMP_CLAUSE_CHAIN(NODE) TREE_CHAIN (OMP_CLAUSE_CHECK (NODE))
1612#define OMP_CLAUSE_DECL(NODE) \
1613 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (OMP_CLAUSE_CHECK (NODE), \
1614 OMP_CLAUSE_PRIVATE, \
1615 OMP_CLAUSE__SCANTEMP_), 0)
1616#define OMP_CLAUSE_HAS_LOCATION(NODE) \
1617 (LOCATION_LOCUS ((OMP_CLAUSE_CHECK (NODE))->omp_clause.locus) \
1618 != UNKNOWN_LOCATION)
1619#define OMP_CLAUSE_LOCATION(NODE) (OMP_CLAUSE_CHECK (NODE))->omp_clause.locus
1623#define OMP_FOR_NON_RECTANGULAR(NODE) \
1624 (OMP_LOOPING_CHECK (NODE)->base.private_flag)
1628#define OMP_SECTION_LAST(NODE) \
1629 (OMP_SECTION_CHECK (NODE)->base.private_flag)
1633#define OMP_PARALLEL_COMBINED(NODE) \
1634 (OMP_PARALLEL_CHECK (NODE)->base.private_flag)
1638#define OMP_TEAMS_COMBINED(NODE) \
1639 (OMP_TEAMS_CHECK (NODE)->base.private_flag)
1643#define OMP_TARGET_COMBINED(NODE) \
1644 (OMP_TARGET_CHECK (NODE)->base.private_flag)
1648#define OMP_MASTER_COMBINED(NODE) \
1649 (OMP_MASTER_CHECK (NODE)->base.private_flag)
1653#define OMP_MASKED_COMBINED(NODE) \
1654 (OMP_MASKED_CHECK (NODE)->base.private_flag)
1657#define OMP_ATOMIC_MEMORY_ORDER(NODE) \
1658 (TREE_RANGE_CHECK (NODE, OMP_ATOMIC, \
1659 OMP_ATOMIC_CAPTURE_NEW)->base.u.omp_atomic_memory_order)
1662#define OMP_ATOMIC_WEAK(NODE) \
1663 (TREE_RANGE_CHECK (NODE, OMP_ATOMIC, \
1664 OMP_ATOMIC_CAPTURE_NEW)->base.public_flag)
1669#define OMP_CLAUSE_PRIVATE_DEBUG(NODE) \
1670 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_PRIVATE)->base.public_flag)
1674#define OMP_CLAUSE_PRIVATE_OUTER_REF(NODE) \
1675 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_PRIVATE))
1680#define OMP_CLAUSE_PRIVATE_TASKLOOP_IV(NODE) \
1681 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_PRIVATE))
1684#define OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT(NODE) \
1685 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_FIRSTPRIVATE)->base.public_flag)
1689#define OMP_CLAUSE_FIRSTPRIVATE_NO_REFERENCE(NODE) \
1690 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_FIRSTPRIVATE))
1694#define OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT_TARGET(NODE) \
1695 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_FIRSTPRIVATE))
1699#define OMP_CLAUSE_LASTPRIVATE_FIRSTPRIVATE(NODE) \
1700 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LASTPRIVATE)->base.public_flag)
1701#define OMP_CLAUSE_LASTPRIVATE_STMT(NODE) \
1702 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, \
1703 OMP_CLAUSE_LASTPRIVATE),\
1705#define OMP_CLAUSE_LASTPRIVATE_GIMPLE_SEQ(NODE) \
1706 (OMP_CLAUSE_CHECK (NODE))->omp_clause.gimple_reduction_init
1712#define OMP_CLAUSE_LASTPRIVATE_LOOP_IV(NODE) \
1713 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LASTPRIVATE))
1716#define OMP_CLAUSE_LASTPRIVATE_CONDITIONAL(NODE) \
1717 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LASTPRIVATE))
1722#define OMP_CLAUSE_SHARED_FIRSTPRIVATE(NODE) \
1723 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SHARED)->base.public_flag)
1727#define OMP_CLAUSE_SHARED_READONLY(NODE) \
1728 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SHARED))
1730#define OMP_CLAUSE_IF_MODIFIER(NODE) \
1731 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_IF)->omp_clause.subcode.if_modifier)
1733#define OMP_CLAUSE_FINAL_EXPR(NODE) \
1734 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_FINAL), 0)
1735#define OMP_CLAUSE_IF_EXPR(NODE) \
1736 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_IF), 0)
1737#define OMP_CLAUSE_SELF_EXPR(NODE) \
1738 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SELF), 0)
1739#define OMP_CLAUSE_NUM_THREADS_EXPR(NODE) \
1740 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_THREADS),0)
1741#define OMP_CLAUSE_SCHEDULE_CHUNK_EXPR(NODE) \
1742 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SCHEDULE), 0)
1743#define OMP_CLAUSE_NUM_TASKS_EXPR(NODE) \
1744 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_TASKS), 0)
1745#define OMP_CLAUSE_HINT_EXPR(NODE) \
1746 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_HINT), 0)
1747#define OMP_CLAUSE_FILTER_EXPR(NODE) \
1748 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_FILTER), 0)
1749#define OMP_CLAUSE_PARTIAL_EXPR(NODE) \
1750 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_PARTIAL), 0)
1751#define OMP_CLAUSE_SIZES_LIST(NODE) \
1752 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SIZES), 0)
1754#define OMP_CLAUSE_GRAINSIZE_EXPR(NODE) \
1755 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_GRAINSIZE),0)
1757#define OMP_CLAUSE_PRIORITY_EXPR(NODE) \
1758 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_PRIORITY),0)
1760#define OMP_CLAUSE_GRAINSIZE_STRICT(NODE) \
1761 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_GRAINSIZE))
1762#define OMP_CLAUSE_NUM_TASKS_STRICT(NODE) \
1763 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_TASKS))
1766#define OMP_CLAUSE_EXPR(NODE, CLAUSE) \
1767 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, CLAUSE), 0)
1768#define OMP_CLAUSE_GANG_EXPR(NODE) \
1769 OMP_CLAUSE_OPERAND ( \
1770 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_GANG), 0)
1771#define OMP_CLAUSE_GANG_STATIC_EXPR(NODE) \
1772 OMP_CLAUSE_OPERAND ( \
1773 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_GANG), 1)
1774#define OMP_CLAUSE_ASYNC_EXPR(NODE) \
1775 OMP_CLAUSE_OPERAND ( \
1776 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ASYNC), 0)
1777#define OMP_CLAUSE_WAIT_EXPR(NODE) \
1778 OMP_CLAUSE_OPERAND ( \
1779 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_WAIT), 0)
1780#define OMP_CLAUSE_VECTOR_EXPR(NODE) \
1781 OMP_CLAUSE_OPERAND ( \
1782 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_VECTOR), 0)
1783#define OMP_CLAUSE_WORKER_EXPR(NODE) \
1784 OMP_CLAUSE_OPERAND ( \
1785 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_WORKER), 0)
1786#define OMP_CLAUSE_NUM_GANGS_EXPR(NODE) \
1787 OMP_CLAUSE_OPERAND ( \
1788 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_GANGS), 0)
1789#define OMP_CLAUSE_NUM_WORKERS_EXPR(NODE) \
1790 OMP_CLAUSE_OPERAND ( \
1791 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_WORKERS), 0)
1792#define OMP_CLAUSE_VECTOR_LENGTH_EXPR(NODE) \
1793 OMP_CLAUSE_OPERAND ( \
1794 OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_VECTOR_LENGTH), 0)
1796#define OMP_CLAUSE_DEPEND_KIND(NODE) \
1797 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DEPEND)->omp_clause.subcode.depend_kind)
1799#define OMP_CLAUSE_DOACROSS_KIND(NODE) \
1800 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DOACROSS)->omp_clause.subcode.doacross_kind)
1802#define OMP_CLAUSE_DOACROSS_SINK_NEGATIVE(NODE) \
1803 TREE_PUBLIC (TREE_LIST_CHECK (NODE))
1806#define OMP_CLAUSE_DOACROSS_DEPEND(NODE) \
1807 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DOACROSS))
1809#define OMP_CLAUSE_MAP_KIND(NODE) \
1810 ((enum gomp_map_kind) OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP)->omp_clause.subcode.map_kind)
1811#define OMP_CLAUSE_SET_MAP_KIND(NODE, MAP_KIND) \
1812 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP)->omp_clause.subcode.map_kind \
1813 = (unsigned int) (MAP_KIND))
1815#define OMP_CLAUSE_MOTION_PRESENT(NODE) \
1816 (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_FROM, OMP_CLAUSE_TO)->base.deprecated_flag)
1821#define OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION(NODE) \
1822 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP)->base.public_flag)
1825#define OMP_CLAUSE_MAP_MAYBE_ZERO_LENGTH_ARRAY_SECTION(NODE) \
1826 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP))
1830#define OMP_CLAUSE_MAP_IN_REDUCTION(NODE) \
1831 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP))
1835#define OMP_CLAUSE_MAP_IMPLICIT(NODE) \
1836 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP)->base.default_def_flag)
1840#define OMP_CLAUSE_MAP_RUNTIME_IMPLICIT_P(NODE) \
1841 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP)->base.deprecated_flag)
1844#define OMP_CLAUSE_ATTACHMENT_MAPPING_ERASED(NODE) \
1845 TREE_STATIC (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP))
1848#define OMP_CLAUSE_RELEASE_DESCRIPTOR(NODE) \
1849 TREE_NOTHROW (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP))
1853#define OMP_CLAUSE_MAP_DECL_MAKE_ADDRESSABLE(NODE) \
1854 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP)->base.addressable_flag)
1857#define OMP_CLAUSE_MAP_READONLY(NODE) \
1858 TREE_READONLY (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_MAP))
1861#define OMP_CLAUSE__CACHE__READONLY(NODE) \
1862 TREE_READONLY (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE__CACHE_))
1866#define OMP_CLAUSE_USE_DEVICE_PTR_IF_PRESENT(NODE) \
1867 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_USE_DEVICE_PTR)->base.public_flag)
1869#define OMP_CLAUSE_PROC_BIND_KIND(NODE) \
1870 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_PROC_BIND)->omp_clause.subcode.proc_bind_kind)
1872#define OMP_CLAUSE_DEVICE_TYPE_KIND(NODE) \
1873 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DEVICE_TYPE)->omp_clause.subcode.device_type_kind)
1875#define OMP_CLAUSE_INDIRECT_EXPR(NODE) \
1876 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_INDIRECT), 0)
1880#define OMP_CLAUSE_DEVICE_ANCESTOR(NODE) \
1881 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DEVICE)->base.public_flag)
1883#define OMP_CLAUSE_COLLAPSE_EXPR(NODE) \
1884 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_COLLAPSE), 0)
1885#define OMP_CLAUSE_COLLAPSE_ITERVAR(NODE) \
1886 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_COLLAPSE), 1)
1887#define OMP_CLAUSE_COLLAPSE_COUNT(NODE) \
1888 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_COLLAPSE), 2)
1890#define OMP_CLAUSE_ORDERED_EXPR(NODE) \
1891 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ORDERED), 0)
1895#define OMP_CLAUSE_ORDERED_DOACROSS(NODE) \
1896 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ORDERED)->base.public_flag)
1899#define OMP_CLAUSE_ORDER_UNCONSTRAINED(NODE) \
1900 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ORDER)->base.public_flag)
1902#define OMP_CLAUSE_ORDER_REPRODUCIBLE(NODE) \
1903 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ORDER))
1905#define OMP_CLAUSE_REDUCTION_CODE(NODE) \
1906 (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_REDUCTION, \
1907 OMP_CLAUSE_IN_REDUCTION)->omp_clause.subcode.reduction_code)
1908#define OMP_CLAUSE_REDUCTION_INIT(NODE) \
1909 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_REDUCTION, \
1910 OMP_CLAUSE_IN_REDUCTION), 1)
1911#define OMP_CLAUSE_REDUCTION_MERGE(NODE) \
1912 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_REDUCTION, \
1913 OMP_CLAUSE_IN_REDUCTION), 2)
1914#define OMP_CLAUSE_REDUCTION_GIMPLE_INIT(NODE) \
1915 (OMP_CLAUSE_CHECK (NODE))->omp_clause.gimple_reduction_init
1916#define OMP_CLAUSE_REDUCTION_GIMPLE_MERGE(NODE) \
1917 (OMP_CLAUSE_CHECK (NODE))->omp_clause.gimple_reduction_merge
1918#define OMP_CLAUSE_REDUCTION_PLACEHOLDER(NODE) \
1919 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_REDUCTION, \
1920 OMP_CLAUSE_IN_REDUCTION), 3)
1921#define OMP_CLAUSE_REDUCTION_DECL_PLACEHOLDER(NODE) \
1922 OMP_CLAUSE_OPERAND (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_REDUCTION, \
1923 OMP_CLAUSE_IN_REDUCTION), 4)
1927#define OMP_CLAUSE_REDUCTION_OMP_ORIG_REF(NODE) \
1928 (OMP_CLAUSE_RANGE_CHECK (NODE, OMP_CLAUSE_REDUCTION, \
1929 OMP_CLAUSE_IN_REDUCTION)->base.public_flag)
1932#define OMP_CLAUSE_REDUCTION_TASK(NODE) \
1933 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_REDUCTION))
1936#define OMP_CLAUSE_REDUCTION_INSCAN(NODE) \
1937 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_REDUCTION))
1941#define OMP_CLAUSE_LINEAR_NO_COPYIN(NODE) \
1942 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR)->base.public_flag)
1946#define OMP_CLAUSE_LINEAR_NO_COPYOUT(NODE) \
1947 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR))
1950#define OMP_CLAUSE_LINEAR_VARIABLE_STRIDE(NODE) \
1951 TREE_PROTECTED (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR))
1955#define OMP_CLAUSE_LINEAR_OLD_LINEAR_MODIFIER(NODE) \
1956 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR)->base.addressable_flag)
1960#define OMP_CLAUSE_LINEAR_ARRAY(NODE) \
1961 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR)->base.deprecated_flag)
1963#define OMP_CLAUSE_LINEAR_STEP(NODE) \
1964 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR), 1)
1966#define OMP_CLAUSE_LINEAR_STMT(NODE) \
1967 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR), 2)
1969#define OMP_CLAUSE_LINEAR_GIMPLE_SEQ(NODE) \
1970 (OMP_CLAUSE_CHECK (NODE))->omp_clause.gimple_reduction_init
1972#define OMP_CLAUSE_LINEAR_KIND(NODE) \
1973 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_LINEAR)->omp_clause.subcode.linear_kind)
1975#define OMP_CLAUSE_ALIGNED_ALIGNMENT(NODE) \
1976 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ALIGNED), 1)
1978#define OMP_CLAUSE_ALLOCATE_ALLOCATOR(NODE) \
1979 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ALLOCATE), 1)
1981#define OMP_CLAUSE_ALLOCATE_ALIGN(NODE) \
1982 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ALLOCATE), 2)
1988#define OMP_CLAUSE_ALLOCATE_COMBINED(NODE) \
1989 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ALLOCATE)->base.public_flag)
1991#define OMP_CLAUSE_NUM_TEAMS_UPPER_EXPR(NODE) \
1992 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_TEAMS), 0)
1994#define OMP_CLAUSE_NUM_TEAMS_LOWER_EXPR(NODE) \
1995 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_NUM_TEAMS), 1)
1997#define OMP_CLAUSE_THREAD_LIMIT_EXPR(NODE) \
1998 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, \
1999 OMP_CLAUSE_THREAD_LIMIT), 0)
2001#define OMP_CLAUSE_DEVICE_ID(NODE) \
2002 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DEVICE), 0)
2004#define OMP_CLAUSE_DIST_SCHEDULE_CHUNK_EXPR(NODE) \
2005 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, \
2006 OMP_CLAUSE_DIST_SCHEDULE), 0)
2008#define OMP_CLAUSE_SAFELEN_EXPR(NODE) \
2009 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SAFELEN), 0)
2011#define OMP_CLAUSE_SIMDLEN_EXPR(NODE) \
2012 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SIMDLEN), 0)
2014#define OMP_CLAUSE__SIMDUID__DECL(NODE) \
2015 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE__SIMDUID_), 0)
2017#define OMP_CLAUSE_SCHEDULE_KIND(NODE) \
2018 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SCHEDULE)->omp_clause.subcode.schedule_kind)
2021#define OMP_CLAUSE_SCHEDULE_SIMD(NODE) \
2022 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_SCHEDULE)->base.public_flag)
2024#define OMP_CLAUSE_DEFAULT_KIND(NODE) \
2025 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DEFAULT)->omp_clause.subcode.default_kind)
2027#define OMP_CLAUSE_DEFAULTMAP_KIND(NODE) \
2028 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_DEFAULTMAP)->omp_clause.subcode.defaultmap_kind)
2029#define OMP_CLAUSE_DEFAULTMAP_CATEGORY(NODE) \
2030 ((enum omp_clause_defaultmap_kind) \
2031 (OMP_CLAUSE_DEFAULTMAP_KIND (NODE) & OMP_CLAUSE_DEFAULTMAP_CATEGORY_MASK))
2032#define OMP_CLAUSE_DEFAULTMAP_BEHAVIOR(NODE) \
2033 ((enum omp_clause_defaultmap_kind) \
2034 (OMP_CLAUSE_DEFAULTMAP_KIND (NODE) & OMP_CLAUSE_DEFAULTMAP_MASK))
2035#define OMP_CLAUSE_DEFAULTMAP_SET_KIND(NODE, BEHAVIOR, CATEGORY) \
2036 (OMP_CLAUSE_DEFAULTMAP_KIND (NODE) \
2037 = (enum omp_clause_defaultmap_kind) (CATEGORY | BEHAVIOR))
2039#define OMP_CLAUSE_BIND_KIND(NODE) \
2040 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_BIND)->omp_clause.subcode.bind_kind)
2043#define OMP_CLAUSE_ENTER_TO(NODE) \
2044 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_ENTER)->base.public_flag)
2046#define OMP_CLAUSE_TILE_LIST(NODE) \
2047 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_TILE), 0)
2048#define OMP_CLAUSE_TILE_ITERVAR(NODE) \
2049 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_TILE), 1)
2050#define OMP_CLAUSE_TILE_COUNT(NODE) \
2051 OMP_CLAUSE_OPERAND (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE_TILE), 2)
2054#define OMP_CLAUSE__CONDTEMP__ITER(NODE) \
2055 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE__CONDTEMP_)->base.public_flag)
2059#define OMP_CLAUSE__SCANTEMP__ALLOC(NODE) \
2060 (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE__SCANTEMP_)->base.public_flag)
2065#define OMP_CLAUSE__SCANTEMP__CONTROL(NODE) \
2066 TREE_PRIVATE (OMP_CLAUSE_SUBCODE_CHECK (NODE, OMP_CLAUSE__SCANTEMP_))
2072#define SSA_NAME_IS_VIRTUAL_OPERAND(NODE) \
2073 SSA_NAME_CHECK (NODE)->base.public_flag
2077#define SSA_NAME_IDENTIFIER(NODE) \
2078 (SSA_NAME_CHECK (NODE)->ssa_name.var != NULL_TREE \
2079 ? (TREE_CODE ((NODE)->ssa_name.var) == IDENTIFIER_NODE \
2080 ? (NODE)->ssa_name.var \
2081 : DECL_NAME ((NODE)->ssa_name.var)) \
2087#define SSA_NAME_VAR(NODE) \
2088 (SSA_NAME_CHECK (NODE)->ssa_name.var == NULL_TREE \
2089 || TREE_CODE ((NODE)->ssa_name.var) == IDENTIFIER_NODE \
2090 ? NULL_TREE : (NODE)->ssa_name.var)
2092#define SET_SSA_NAME_VAR_OR_IDENTIFIER(NODE,VAR) \
2095 tree var_ = (VAR); \
2096 SSA_NAME_CHECK (NODE)->ssa_name.var = var_; \
2097 SSA_NAME_IS_VIRTUAL_OPERAND (NODE) \
2099 && TREE_CODE (var_) == VAR_DECL \
2100 && VAR_DECL_IS_VIRTUAL_OPERAND (var_)); \
2105#define SSA_NAME_DEF_STMT(NODE) SSA_NAME_CHECK (NODE)->ssa_name.def_stmt
2109#define SSA_NAME_VERSION(NODE) SSA_NAME_CHECK (NODE)->base.u.version
2114#define SSA_NAME_OCCURS_IN_ABNORMAL_PHI(NODE) \
2115 SSA_NAME_CHECK (NODE)->base.asm_written_flag
2120#define SSA_NAME_IN_FREE_LIST(NODE) \
2121 SSA_NAME_CHECK (NODE)->base.nothrow_flag
2128#define SSA_NAME_IS_DEFAULT_DEF(NODE) \
2129 SSA_NAME_CHECK (NODE)->base.default_def_flag
2135#define SSA_NAME_POINTS_TO_READONLY_MEMORY(NODE) \
2136 SSA_NAME_CHECK (NODE)->base.deprecated_flag
2139#define SSA_NAME_PTR_INFO(N) \
2140 SSA_NAME_CHECK (N)->ssa_name.info.ptr_info
2143#define SSA_NAME_RANGE_INFO(N) \
2144 SSA_NAME_CHECK (N)->ssa_name.info.range_info
2147#define SSA_NAME_IMM_USE_NODE(NODE) SSA_NAME_CHECK (NODE)->ssa_name.imm_uses
2149#define OMP_CLAUSE_CODE(NODE) \
2150 (OMP_CLAUSE_CHECK (NODE))->omp_clause.code
2152#define OMP_CLAUSE_SET_CODE(NODE, CODE) \
2153 ((OMP_CLAUSE_CHECK (NODE))->omp_clause.code = (CODE))
2155#define OMP_CLAUSE_OPERAND(NODE, I) \
2156 OMP_CLAUSE_ELT_CHECK (NODE, I)
2160#define BLOCK_VARS(NODE) (BLOCK_CHECK (NODE)->block.vars)
2161#define BLOCK_NONLOCALIZED_VARS(NODE) \
2162 (BLOCK_CHECK (NODE)->block.nonlocalized_vars)
2163#define BLOCK_NUM_NONLOCALIZED_VARS(NODE) \
2164 vec_safe_length (BLOCK_NONLOCALIZED_VARS (NODE))
2165#define BLOCK_NONLOCALIZED_VAR(NODE,N) (*BLOCK_NONLOCALIZED_VARS (NODE))[N]
2167#define BLOCK_SUBBLOCKS(NODE) (BLOCK_CHECK (NODE)->block.subblocks)
2172#define BLOCK_SUPERCONTEXT(NODE) (BLOCK_CHECK (NODE)->block.supercontext)
2174#define BLOCK_CHAIN(NODE) (BLOCK_CHECK (NODE)->block.chain)
2179#define BLOCK_ABSTRACT_ORIGIN(NODE) (BLOCK_CHECK (NODE)->block.abstract_origin)
2180#define BLOCK_ORIGIN(NODE) \
2181 (BLOCK_ABSTRACT_ORIGIN(NODE) ? BLOCK_ABSTRACT_ORIGIN(NODE) : (NODE))
2182#define BLOCK_DIE(NODE) (BLOCK_CHECK (NODE)->block.die)
2185#define BLOCK_SAME_RANGE(NODE) (BLOCK_CHECK (NODE)->base.u.bits.nameless_flag)
2188#define BLOCK_IN_COLD_SECTION_P(NODE) \
2189 (BLOCK_CHECK (NODE)->base.u.bits.atomic_flag)
2194#define BLOCK_NUMBER(NODE) (BLOCK_CHECK (NODE)->block.block_num)
2218#define BLOCK_FRAGMENT_ORIGIN(NODE) (BLOCK_CHECK (NODE)->block.fragment_origin)
2219#define BLOCK_FRAGMENT_CHAIN(NODE) (BLOCK_CHECK (NODE)->block.fragment_chain)
2225#define BLOCK_SOURCE_LOCATION(NODE) (BLOCK_CHECK (NODE)->block.locus)
2230#define BLOCK_SOURCE_END_LOCATION(NODE) (BLOCK_CHECK (NODE)->block.end_locus)
2243#define TYPE_UID(NODE) (TYPE_CHECK (NODE)->type_common.uid)
2248#define TYPE_SIZE(NODE) (TYPE_CHECK (NODE)->type_common.size)
2250#define TYPE_SIZE_UNIT(NODE) (TYPE_CHECK (NODE)->type_common.size_unit)
2251#define TYPE_POINTER_TO(NODE) (TYPE_CHECK (NODE)->type_common.pointer_to)
2252#define TYPE_REFERENCE_TO(NODE) (TYPE_CHECK (NODE)->type_common.reference_to)
2253#define TYPE_PRECISION(NODE) \
2254 (TREE_NOT_CHECK (TYPE_CHECK (NODE), VECTOR_TYPE)->type_common.precision)
2255#define TYPE_PRECISION_RAW(NODE) (TYPE_CHECK (NODE)->type_common.precision)
2256#define TYPE_NAME(NODE) (TYPE_CHECK (NODE)->type_common.name)
2257#define TYPE_NEXT_VARIANT(NODE) (TYPE_CHECK (NODE)->type_common.next_variant)
2258#define TYPE_MAIN_VARIANT(NODE) (TYPE_CHECK (NODE)->type_common.main_variant)
2259#define TYPE_CONTEXT(NODE) (TYPE_CHECK (NODE)->type_common.context)
2261#define TYPE_MODE_RAW(NODE) (TYPE_CHECK (NODE)->type_common.mode)
2262#define TYPE_MODE(NODE) \
2263 (VECTOR_TYPE_P (TYPE_CHECK (NODE)) \
2264 ? vector_type_mode (NODE) : (NODE)->type_common.mode)
2265#define SCALAR_TYPE_MODE(NODE) \
2266 (as_a <scalar_mode> (TYPE_CHECK (NODE)->type_common.mode))
2267#define SCALAR_INT_TYPE_MODE(NODE) \
2268 (as_a <scalar_int_mode> (TYPE_CHECK (NODE)->type_common.mode))
2269#define SCALAR_FLOAT_TYPE_MODE(NODE) \
2270 (as_a <scalar_float_mode> (TYPE_CHECK (NODE)->type_common.mode))
2271#define SET_TYPE_MODE(NODE, MODE) \
2272 (TYPE_CHECK (NODE)->type_common.mode = (MODE))
2296#define TYPE_CANONICAL(NODE) (TYPE_CHECK (NODE)->type_common.canonical)
2303#define TYPE_STRUCTURAL_EQUALITY_P(NODE) (TYPE_CANONICAL (NODE) == NULL_TREE)
2306#define SET_TYPE_STRUCTURAL_EQUALITY(NODE) (TYPE_CANONICAL (NODE) = NULL_TREE)
2308#define TYPE_IBIT(NODE) (GET_MODE_IBIT (TYPE_MODE (NODE)))
2309#define TYPE_FBIT(NODE) (GET_MODE_FBIT (TYPE_MODE (NODE)))
2316#define TYPE_ALIAS_SET(NODE) (TYPE_CHECK (NODE)->type_common.alias_set)
2320#define TYPE_ALIAS_SET_KNOWN_P(NODE) \
2321 (TYPE_CHECK (NODE)->type_common.alias_set != -1)
2325#define TYPE_ATTRIBUTES(NODE) (TYPE_CHECK (NODE)->type_common.attributes)
2328#define TYPE_ALIGN_RAW(NODE) \
2329 (TYPE_CHECK (NODE)->type_common.align)
2334#define TYPE_ALIGN(NODE) \
2335 (TYPE_ALIGN_RAW (NODE) \
2336 ? ((unsigned)1) << (TYPE_ALIGN_RAW(NODE) - 1) : 0)
2339#define SET_TYPE_ALIGN(NODE, X) \
2340 (TYPE_CHECK (NODE)->type_common.align = ffs_hwi (X))
2344#define TYPE_USER_ALIGN(NODE) (TYPE_CHECK (NODE)->base.u.bits.user_align)
2347#define TYPE_ALIGN_UNIT(NODE) (TYPE_ALIGN (NODE) / BITS_PER_UNIT)
2351#define TYPE_WARN_IF_NOT_ALIGN(NODE) \
2352 (TYPE_CHECK (NODE)->type_common.warn_if_not_align \
2353 ? ((unsigned)1) << ((NODE)->type_common.warn_if_not_align - 1) : 0)
2356#define SET_TYPE_WARN_IF_NOT_ALIGN(NODE, X) \
2357 (TYPE_CHECK (NODE)->type_common.warn_if_not_align = ffs_hwi (X))
2366#define TYPE_STUB_DECL(NODE) (TREE_CHAIN (TYPE_CHECK (NODE)))
2371#define TYPE_NO_FORCE_BLK(NODE) \
2372 (TYPE_CHECK (NODE)->type_common.no_force_blk_flag)
2375#define TYPE_VOLATILE(NODE) (TYPE_CHECK (NODE)->base.volatile_flag)
2378#define TYPE_ATOMIC(NODE) (TYPE_CHECK (NODE)->base.u.bits.atomic_flag)
2381#define TYPE_READONLY(NODE) (TYPE_CHECK (NODE)->base.readonly_flag)
2385#define TYPE_RESTRICT(NODE) (TYPE_CHECK (NODE)->type_common.restrict_flag)
2388#define TYPE_NAMELESS(NODE) (TYPE_CHECK (NODE)->base.u.bits.nameless_flag)
2391#define TYPE_ADDR_SPACE(NODE) (TYPE_CHECK (NODE)->base.u.bits.address_space)
2395#define ENCODE_QUAL_ADDR_SPACE(NUM) ((NUM & 0xFF) << 8)
2396#define DECODE_QUAL_ADDR_SPACE(X) (((X) >> 8) & 0xFF)
2399#define CLEAR_QUAL_ADDR_SPACE(X) ((X) & ~0xFF00)
2403#define KEEP_QUAL_ADDR_SPACE(X) ((X) & 0xFF00)
2406#define TYPE_QUALS(NODE) \
2407 ((int) ((TYPE_READONLY (NODE) * TYPE_QUAL_CONST) \
2408 | (TYPE_VOLATILE (NODE) * TYPE_QUAL_VOLATILE) \
2409 | (TYPE_ATOMIC (NODE) * TYPE_QUAL_ATOMIC) \
2410 | (TYPE_RESTRICT (NODE) * TYPE_QUAL_RESTRICT) \
2411 | (ENCODE_QUAL_ADDR_SPACE (TYPE_ADDR_SPACE (NODE)))))
2414#define TYPE_QUALS_NO_ADDR_SPACE(NODE) \
2415 ((int) ((TYPE_READONLY (NODE) * TYPE_QUAL_CONST) \
2416 | (TYPE_VOLATILE (NODE) * TYPE_QUAL_VOLATILE) \
2417 | (TYPE_ATOMIC (NODE) * TYPE_QUAL_ATOMIC) \
2418 | (TYPE_RESTRICT (NODE) * TYPE_QUAL_RESTRICT)))
2422#define TYPE_QUALS_NO_ADDR_SPACE_NO_ATOMIC(NODE) \
2423 ((int) ((TYPE_READONLY (NODE) * TYPE_QUAL_CONST) \
2424 | (TYPE_VOLATILE (NODE) * TYPE_QUAL_VOLATILE) \
2425 | (TYPE_RESTRICT (NODE) * TYPE_QUAL_RESTRICT)))
2428#define TYPE_LANG_FLAG_0(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_0)
2429#define TYPE_LANG_FLAG_1(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_1)
2430#define TYPE_LANG_FLAG_2(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_2)
2431#define TYPE_LANG_FLAG_3(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_3)
2432#define TYPE_LANG_FLAG_4(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_4)
2433#define TYPE_LANG_FLAG_5(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_5)
2434#define TYPE_LANG_FLAG_6(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_6)
2435#define TYPE_LANG_FLAG_7(NODE) (TYPE_CHECK (NODE)->type_common.lang_flag_7)
2439#define TREE_VISITED(NODE) ((NODE)->base.visited)
2444#define TYPE_STRING_FLAG(NODE) \
2445 (ARRAY_OR_INTEGER_TYPE_CHECK (NODE)->type_common.string_flag)
2450#define TYPE_CXX_ODR_P(NODE) \
2451 (RECORD_OR_UNION_CHECK (NODE)->type_common.string_flag)
2455#define TYPE_VECTOR_OPAQUE(NODE) \
2456 (VECTOR_TYPE_CHECK (NODE)->base.default_def_flag)
2460#define TYPE_NEEDS_CONSTRUCTING(NODE) \
2461 (TYPE_CHECK (NODE)->type_common.needs_constructing_flag)
2467#define TYPE_TRANSPARENT_AGGR(NODE) \
2468 (RECORD_OR_UNION_CHECK (NODE)->type_common.transparent_aggr_flag)
2473#define TYPE_NONALIASED_COMPONENT(NODE) \
2474 (ARRAY_TYPE_CHECK (NODE)->type_common.transparent_aggr_flag)
2485#define TYPE_TYPELESS_STORAGE(NODE) \
2486 (TREE_CHECK4 (NODE, RECORD_TYPE, UNION_TYPE, QUAL_UNION_TYPE, \
2487 ARRAY_TYPE)->type_common.typeless_storage)
2491#define TYPE_PACKED(NODE) (TYPE_CHECK (NODE)->base.u.bits.packed_flag)
2496#define TYPE_CONTAINS_PLACEHOLDER_INTERNAL(NODE) \
2497 (TYPE_CHECK (NODE)->type_common.contains_placeholder_bits)
2500#define TYPE_FINAL_P(NODE) \
2501 (RECORD_OR_UNION_CHECK (NODE)->base.default_def_flag)
2512#define TYPE_SYMTAB_ADDRESS(NODE) \
2513 (TYPE_CHECK (NODE)->type_common.symtab.address)
2517#define TYPE_SYMTAB_DIE(NODE) \
2518 (TYPE_CHECK (NODE)->type_common.symtab.die)
2524#define TYPE_SYMTAB_IS_ADDRESS (0)
2525#define TYPE_SYMTAB_IS_DIE (1)
2527#define TYPE_LANG_SPECIFIC(NODE) \
2528 (TYPE_CHECK (NODE)->type_with_lang_specific.lang_specific)
2530#define TYPE_VALUES(NODE) (ENUMERAL_TYPE_CHECK (NODE)->type_non_common.values)
2531#define TYPE_DOMAIN(NODE) (ARRAY_TYPE_CHECK (NODE)->type_non_common.values)
2532#define TYPE_FIELDS(NODE) \
2533 (RECORD_OR_UNION_CHECK (NODE)->type_non_common.values)
2534#define TYPE_CACHED_VALUES(NODE) (TYPE_CHECK (NODE)->type_non_common.values)
2535#define TYPE_ARG_TYPES(NODE) \
2536 (FUNC_OR_METHOD_CHECK (NODE)->type_non_common.values)
2537#define TYPE_VALUES_RAW(NODE) (TYPE_CHECK (NODE)->type_non_common.values)
2539#define TYPE_MIN_VALUE(NODE) \
2540 (NUMERICAL_TYPE_CHECK (NODE)->type_non_common.minval)
2541#define TYPE_NEXT_PTR_TO(NODE) \
2542 (POINTER_TYPE_CHECK (NODE)->type_non_common.minval)
2543#define TYPE_NEXT_REF_TO(NODE) \
2544 (REFERENCE_TYPE_CHECK (NODE)->type_non_common.minval)
2545#define TYPE_VFIELD(NODE) \
2546 (RECORD_OR_UNION_CHECK (NODE)->type_non_common.minval)
2547#define TYPE_MIN_VALUE_RAW(NODE) (TYPE_CHECK (NODE)->type_non_common.minval)
2549#define TYPE_MAX_VALUE(NODE) \
2550 (NUMERICAL_TYPE_CHECK (NODE)->type_non_common.maxval)
2551#define TYPE_METHOD_BASETYPE(NODE) \
2552 (FUNC_OR_METHOD_CHECK (NODE)->type_non_common.maxval)
2553#define TYPE_OFFSET_BASETYPE(NODE) \
2554 (OFFSET_TYPE_CHECK (NODE)->type_non_common.maxval)
2558#define TYPE_ARRAY_MAX_SIZE(ARRAY_TYPE) \
2559 (ARRAY_TYPE_CHECK (ARRAY_TYPE)->type_non_common.maxval)
2560#define TYPE_MAX_VALUE_RAW(NODE) (TYPE_CHECK (NODE)->type_non_common.maxval)
2563#define TYPE_BINFO(NODE) (RECORD_OR_UNION_CHECK (NODE)->type_non_common.maxval)
2566#define TYPE_LANG_SLOT_1(NODE) \
2567 (TYPE_CHECK (NODE)->type_non_common.lang_1)
2587#define BINFO_VIRTUAL_P(NODE) (TREE_BINFO_CHECK (NODE)->base.static_flag)
2590#define BINFO_FLAG_0(NODE) TREE_LANG_FLAG_0 (TREE_BINFO_CHECK (NODE))
2591#define BINFO_FLAG_1(NODE) TREE_LANG_FLAG_1 (TREE_BINFO_CHECK (NODE))
2592#define BINFO_FLAG_2(NODE) TREE_LANG_FLAG_2 (TREE_BINFO_CHECK (NODE))
2593#define BINFO_FLAG_3(NODE) TREE_LANG_FLAG_3 (TREE_BINFO_CHECK (NODE))
2594#define BINFO_FLAG_4(NODE) TREE_LANG_FLAG_4 (TREE_BINFO_CHECK (NODE))
2595#define BINFO_FLAG_5(NODE) TREE_LANG_FLAG_5 (TREE_BINFO_CHECK (NODE))
2596#define BINFO_FLAG_6(NODE) TREE_LANG_FLAG_6 (TREE_BINFO_CHECK (NODE))
2599#define BINFO_TYPE(NODE) TREE_TYPE (TREE_BINFO_CHECK (NODE))
2607#define BINFO_OFFSET(NODE) (TREE_BINFO_CHECK (NODE)->binfo.offset)
2608#define BINFO_OFFSET_ZEROP(NODE) (integer_zerop (BINFO_OFFSET (NODE)))
2614#define BINFO_VTABLE(NODE) (TREE_BINFO_CHECK (NODE)->binfo.vtable)
2619#define BINFO_VIRTUALS(NODE) (TREE_BINFO_CHECK (NODE)->binfo.virtuals)
2627#define BINFO_BASE_BINFOS(NODE) (&TREE_BINFO_CHECK (NODE)->binfo.base_binfos)
2630#define BINFO_N_BASE_BINFOS(NODE) (BINFO_BASE_BINFOS (NODE)->length ())
2633#define BINFO_BASE_BINFO(NODE,N) \
2634 ((*BINFO_BASE_BINFOS (NODE))[(N)])
2635#define BINFO_BASE_ITERATE(NODE,N,B) \
2636 (BINFO_BASE_BINFOS (NODE)->iterate ((N), &(B)))
2637#define BINFO_BASE_APPEND(NODE,T) \
2638 (BINFO_BASE_BINFOS (NODE)->quick_push ((T)))
2645#define BINFO_VPTR_FIELD(NODE) (TREE_BINFO_CHECK (NODE)->binfo.vptr_field)
2650#define BINFO_BASE_ACCESSES(NODE) \
2651 (TREE_BINFO_CHECK (NODE)->binfo.base_accesses)
2653#define BINFO_BASE_ACCESS(NODE,N) \
2654 (*BINFO_BASE_ACCESSES (NODE))[(N)]
2655#define BINFO_BASE_ACCESS_APPEND(NODE,T) \
2656 BINFO_BASE_ACCESSES (NODE)->quick_push ((T))
2660#define BINFO_SUBVTT_INDEX(NODE) (TREE_BINFO_CHECK (NODE)->binfo.vtt_subvtt)
2664#define BINFO_VPTR_INDEX(NODE) (TREE_BINFO_CHECK (NODE)->binfo.vtt_vptr)
2670#define BINFO_INHERITANCE_CHAIN(NODE) \
2671 (TREE_BINFO_CHECK (NODE)->binfo.inheritance)
2678#define SSA_VAR_P(DECL) \
2679 (TREE_CODE (DECL) == VAR_DECL \
2680 || TREE_CODE (DECL) == PARM_DECL \
2681 || TREE_CODE (DECL) == RESULT_DECL \
2682 || TREE_CODE (DECL) == SSA_NAME)
2685#define DECL_CHAIN(NODE) (TREE_CHAIN (DECL_MINIMAL_CHECK (NODE)))
2689#define DECL_NAME(NODE) (DECL_MINIMAL_CHECK (NODE)->decl_minimal.name)
2692#define TYPE_IDENTIFIER(NODE) \
2693 (TYPE_NAME (NODE) && DECL_P (TYPE_NAME (NODE)) \
2694 ? DECL_NAME (TYPE_NAME (NODE)) : TYPE_NAME (NODE))
2697#define DECL_UID(NODE) (DECL_MINIMAL_CHECK (NODE)->decl_minimal.uid)
2701#define DEBUG_TEMP_UID(NODE) (-DECL_UID (TREE_CHECK ((NODE), DEBUG_EXPR_DECL)))
2705#define DECL_PT_UID(NODE) \
2706 (DECL_COMMON_CHECK (NODE)->decl_common.pt_uid == -1u \
2707 ? (NODE)->decl_minimal.uid : (NODE)->decl_common.pt_uid)
2709#define SET_DECL_PT_UID(NODE, UID) \
2710 (DECL_COMMON_CHECK (NODE)->decl_common.pt_uid = (UID))
2713#define DECL_PT_UID_SET_P(NODE) \
2714 (DECL_COMMON_CHECK (NODE)->decl_common.pt_uid != -1u)
2720#define DECL_SOURCE_LOCATION(NODE) \
2721 (DECL_MINIMAL_CHECK (NODE)->decl_minimal.locus)
2722#define DECL_SOURCE_FILE(NODE) LOCATION_FILE (DECL_SOURCE_LOCATION (NODE))
2723#define DECL_SOURCE_LINE(NODE) LOCATION_LINE (DECL_SOURCE_LOCATION (NODE))
2724#define DECL_SOURCE_COLUMN(NODE) LOCATION_COLUMN (DECL_SOURCE_LOCATION (NODE))
2729#define DECL_IS_UNDECLARED_BUILTIN(DECL) \
2730 (DECL_SOURCE_LOCATION (DECL) <= BUILTINS_LOCATION)
2741#define DECL_CONTEXT(NODE) (DECL_MINIMAL_CHECK (NODE)->decl_minimal.context)
2742#define DECL_FIELD_CONTEXT(NODE) \
2743 (FIELD_DECL_CHECK (NODE)->decl_minimal.context)
2746#define DECL_NAMELESS(NODE) (DECL_MINIMAL_CHECK (NODE)->base.u.bits.nameless_flag)
2754#define DECL_ABSTRACT_ORIGIN(NODE) \
2755 (DECL_COMMON_CHECK (NODE)->decl_common.abstract_origin)
2759#define DECL_ORIGIN(NODE) \
2760 (DECL_ABSTRACT_ORIGIN (NODE) ? DECL_ABSTRACT_ORIGIN (NODE) : (NODE))
2766#define DECL_FROM_INLINE(NODE) \
2767 (DECL_ABSTRACT_ORIGIN (NODE) != NULL_TREE \
2768 && DECL_ABSTRACT_ORIGIN (NODE) != (NODE))
2771#define DECL_ATTRIBUTES(NODE) \
2772 (DECL_COMMON_CHECK (NODE)->decl_common.attributes)
2784#define DECL_INITIAL(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.initial)
2790#define DECL_SIZE(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.size)
2792#define DECL_SIZE_UNIT(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.size_unit)
2793#define DECL_ALIGN_RAW(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.align)
2797#define DECL_ALIGN(NODE) \
2798 (DECL_ALIGN_RAW (NODE) \
2799 ? ((unsigned)1) << (DECL_ALIGN_RAW (NODE) - 1) : 0)
2801#define SET_DECL_ALIGN(NODE, X) \
2802 (DECL_ALIGN_RAW (NODE) = ffs_hwi (X))
2806#define DECL_WARN_IF_NOT_ALIGN_RAW(NODE) \
2807 (DECL_COMMON_CHECK (NODE)->decl_common.warn_if_not_align)
2808#define DECL_WARN_IF_NOT_ALIGN(NODE) \
2809 (DECL_WARN_IF_NOT_ALIGN_RAW (NODE) \
2810 ? ((unsigned)1) << (DECL_WARN_IF_NOT_ALIGN_RAW (NODE) - 1) : 0)
2813#define SET_DECL_WARN_IF_NOT_ALIGN(NODE, X) \
2814 (DECL_WARN_IF_NOT_ALIGN_RAW (NODE) = ffs_hwi (X))
2817#define DECL_ALIGN_UNIT(NODE) (DECL_ALIGN (NODE) / BITS_PER_UNIT)
2820#define DECL_USER_ALIGN(NODE) \
2821 (DECL_COMMON_CHECK (NODE)->base.u.bits.user_align)
2825#define DECL_MODE(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.mode)
2826#define SET_DECL_MODE(NODE, MODE) \
2827 (DECL_COMMON_CHECK (NODE)->decl_common.mode = (MODE))
2833#define DECL_UNCHECKED_FUNCTION_CODE(NODE) \
2834 (FUNCTION_DECL_CHECK (NODE)->function_decl.function_code)
2837#define ALLOCA_FUNCTION_CODE_P(FCODE) \
2838 ((FCODE) == BUILT_IN_ALLOCA \
2839 || (FCODE) == BUILT_IN_ALLOCA_WITH_ALIGN \
2840 || (FCODE) == BUILT_IN_ALLOCA_WITH_ALIGN_AND_MAX)
2843#define CASE_BUILT_IN_ALLOCA \
2844 case BUILT_IN_ALLOCA: \
2845 case BUILT_IN_ALLOCA_WITH_ALIGN: \
2846 case BUILT_IN_ALLOCA_WITH_ALIGN_AND_MAX
2848#define DECL_FUNCTION_PERSONALITY(NODE) \
2849 (FUNCTION_DECL_CHECK (NODE)->function_decl.personality)
2855#define DECL_IGNORED_P(NODE) \
2856 (DECL_COMMON_CHECK (NODE)->decl_common.ignored_flag)
2864#define DECL_ABSTRACT_P(NODE) \
2865 (DECL_COMMON_CHECK (NODE)->decl_common.abstract_flag)
2868#define DECL_LANG_SPECIFIC(NODE) \
2869 (DECL_COMMON_CHECK (NODE)->decl_common.lang_specific)
2878#define DECL_EXTERNAL(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.decl_flag_1)
2887#define DECL_NONLOCAL(NODE) \
2888 (DECL_COMMON_CHECK (NODE)->decl_common.nonlocal_flag)
2893#define DECL_VIRTUAL_P(NODE) \
2894 (DECL_COMMON_CHECK (NODE)->decl_common.virtual_flag)
2897#define DECL_ARTIFICIAL(NODE) \
2898 (DECL_COMMON_CHECK (NODE)->decl_common.artificial_flag)
2901#define DECL_LANG_FLAG_0(NODE) \
2902 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_0)
2903#define DECL_LANG_FLAG_1(NODE) \
2904 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_1)
2905#define DECL_LANG_FLAG_2(NODE) \
2906 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_2)
2907#define DECL_LANG_FLAG_3(NODE) \
2908 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_3)
2909#define DECL_LANG_FLAG_4(NODE) \
2910 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_4)
2911#define DECL_LANG_FLAG_5(NODE) \
2912 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_5)
2913#define DECL_LANG_FLAG_6(NODE) \
2914 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_6)
2915#define DECL_LANG_FLAG_7(NODE) \
2916 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_7)
2917#define DECL_LANG_FLAG_8(NODE) \
2918 (DECL_COMMON_CHECK (NODE)->decl_common.lang_flag_8)
2921#define SCOPE_FILE_SCOPE_P(EXP) \
2922 (! (EXP) || TREE_CODE (EXP) == TRANSLATION_UNIT_DECL)
2924#define DECL_FILE_SCOPE_P(EXP) SCOPE_FILE_SCOPE_P (DECL_CONTEXT (EXP))
2926#define TYPE_FILE_SCOPE_P(EXP) SCOPE_FILE_SCOPE_P (TYPE_CONTEXT (EXP))
2930#define DECL_PRESERVE_P(DECL) \
2931 DECL_COMMON_CHECK (DECL)->decl_common.preserve_flag
2936#define DECL_NOINIT_P(DECL) \
2938 && (lookup_attribute ("noinit", DECL_ATTRIBUTES (DECL)) != NULL_TREE))
2943#define DECL_PERSISTENT_P(DECL) \
2945 && (lookup_attribute ("persistent", DECL_ATTRIBUTES (DECL)) != NULL_TREE))
2953#define DECL_NOT_GIMPLE_REG_P(DECL) \
2954 DECL_COMMON_CHECK (DECL)->decl_common.not_gimple_reg_flag
2962#define DECL_HAS_VALUE_EXPR_P(NODE) \
2963 (TREE_CHECK3 (NODE, VAR_DECL, PARM_DECL, RESULT_DECL) \
2964 ->decl_common.decl_flag_2)
2965#define DECL_VALUE_EXPR(NODE) \
2966 (decl_value_expr_lookup (DECL_WRTL_CHECK (NODE)))
2967#define SET_DECL_VALUE_EXPR(NODE, VAL) \
2968 (decl_value_expr_insert (DECL_WRTL_CHECK (NODE), VAL))
2973#define DECL_RTL(NODE) \
2974 (DECL_WRTL_CHECK (NODE)->decl_with_rtl.rtl \
2975 ? (NODE)->decl_with_rtl.rtl \
2976 : (make_decl_rtl (NODE), (NODE)->decl_with_rtl.rtl))
2979#define SET_DECL_RTL(NODE, RTL) set_decl_rtl (NODE, RTL)
2982#define HAS_RTL_P(NODE) (CODE_CONTAINS_STRUCT (TREE_CODE (NODE), TS_DECL_WRTL))
2985#define DECL_RTL_SET_P(NODE) \
2986 (HAS_RTL_P (NODE) && DECL_WRTL_CHECK (NODE)->decl_with_rtl.rtl != NULL)
2990#define COPY_DECL_RTL(SRC_DECL, DST_DECL) \
2991 (DECL_WRTL_CHECK (DST_DECL)->decl_with_rtl.rtl \
2992 = DECL_WRTL_CHECK (SRC_DECL)->decl_with_rtl.rtl)
2995#define DECL_RTL_IF_SET(NODE) (DECL_RTL_SET_P (NODE) ? DECL_RTL (NODE) : NULL)
2997#if (GCC_VERSION >= 2007)
2998#define DECL_RTL_KNOWN_SET(decl) __extension__ \
2999({ tree const __d = (decl); \
3000 gcc_checking_assert (DECL_RTL_SET_P (__d)); \
3003 &*DECL_RTL_IF_SET (__d); })
3005#define DECL_RTL_KNOWN_SET(decl) (&*DECL_RTL_IF_SET (decl))
3009#define DECL_REGISTER(NODE) (DECL_WRTL_CHECK (NODE)->decl_common.decl_flag_0)
3014#define DECL_FIELD_OFFSET(NODE) (FIELD_DECL_CHECK (NODE)->field_decl.offset)
3020#define DECL_FIELD_BIT_OFFSET(NODE) \
3021 (FIELD_DECL_CHECK (NODE)->field_decl.bit_offset)
3026#define DECL_BIT_FIELD_TYPE(NODE) \
3027 (FIELD_DECL_CHECK (NODE)->field_decl.bit_field_type)
3031#define DECL_BIT_FIELD_REPRESENTATIVE(NODE) \
3032 (FIELD_DECL_CHECK (NODE)->field_decl.qualifier)
3036#define DECL_QUALIFIER(NODE) (FIELD_DECL_CHECK (NODE)->field_decl.qualifier)
3042#define DECL_OFFSET_ALIGN(NODE) \
3043 (HOST_WIDE_INT_1U << FIELD_DECL_CHECK (NODE)->decl_common.off_align)
3046#define SET_DECL_OFFSET_ALIGN(NODE, X) \
3047 (FIELD_DECL_CHECK (NODE)->decl_common.off_align = ffs_hwi (X) - 1)
3052#define DECL_FCONTEXT(NODE) (FIELD_DECL_CHECK (NODE)->field_decl.fcontext)
3055#define DECL_PACKED(NODE) (FIELD_DECL_CHECK (NODE)->base.u.bits.packed_flag)
3059#define DECL_BIT_FIELD(NODE) (FIELD_DECL_CHECK (NODE)->decl_common.decl_flag_1)
3065#define DECL_FIELD_ABI_IGNORED(NODE) \
3066 (!DECL_BIT_FIELD (NODE) && (NODE)->decl_common.decl_flag_0)
3067#define SET_DECL_FIELD_ABI_IGNORED(NODE, VAL) \
3069 gcc_checking_assert (!DECL_BIT_FIELD (NODE)); \
3070 FIELD_DECL_CHECK (NODE)->decl_common.decl_flag_0 = (VAL); \
3078#define DECL_FIELD_CXX_ZERO_WIDTH_BIT_FIELD(NODE) \
3079 (DECL_BIT_FIELD (NODE) && (NODE)->decl_common.decl_flag_0)
3080#define SET_DECL_FIELD_CXX_ZERO_WIDTH_BIT_FIELD(NODE, VAL) \
3082 gcc_checking_assert (DECL_BIT_FIELD (NODE)); \
3083 FIELD_DECL_CHECK (NODE)->decl_common.decl_flag_0 = (VAL); \
3101#define DECL_NONADDRESSABLE_P(NODE) \
3102 (FIELD_DECL_CHECK (NODE)->decl_common.decl_flag_2)
3105#define DECL_PADDING_P(NODE) \
3106 (FIELD_DECL_CHECK (NODE)->decl_common.decl_flag_3)
3111#define DECL_NOT_FLEXARRAY(NODE) \
3112 (FIELD_DECL_CHECK (NODE)->decl_common.decl_not_flexarray)
3117#define LABEL_DECL_UID(NODE) \
3118 (LABEL_DECL_CHECK (NODE)->label_decl.label_decl_uid)
3122#define EH_LANDING_PAD_NR(NODE) \
3123 (LABEL_DECL_CHECK (NODE)->label_decl.eh_landing_pad_nr)
3127#define DECL_ARG_TYPE(NODE) (PARM_DECL_CHECK (NODE)->decl_common.initial)
3131#define DECL_INCOMING_RTL(NODE) \
3132 (PARM_DECL_CHECK (NODE)->parm_decl.incoming_rtl)
3136#define DECL_IN_SYSTEM_HEADER(NODE) \
3137 (in_system_header_at (DECL_SOURCE_LOCATION (NODE)))
3141#define DECL_DEFER_OUTPUT(NODE) \
3142 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.defer_output)
3146#define DECL_IN_TEXT_SECTION(NODE) \
3147 (VAR_DECL_CHECK (NODE)->decl_with_vis.in_text_section)
3151#define DECL_IN_CONSTANT_POOL(NODE) \
3152 (VAR_DECL_CHECK (NODE)->decl_with_vis.in_constant_pool)
3157#define DECL_COMMON(NODE) \
3158 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.common_flag)
3162#define DECL_HARD_REGISTER(NODE) \
3163 (VAR_DECL_CHECK (NODE)->decl_with_vis.hard_register)
3166#define DECL_WEAK(NODE) (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.weak_flag)
3169#define DECL_DLLIMPORT_P(NODE) \
3170 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.dllimport_flag)
3181#define DECL_COMDAT(NODE) \
3182 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.comdat_flag)
3184#define DECL_COMDAT_GROUP(NODE) \
3185 decl_comdat_group (NODE)
3189#define DECL_ONE_ONLY(NODE) (DECL_COMDAT_GROUP (NODE) != NULL_TREE \
3190 && (TREE_PUBLIC (NODE) || DECL_EXTERNAL (NODE)))
3199#define DECL_ASSEMBLER_NAME(NODE) decl_assembler_name (NODE)
3202#define DECL_ASSEMBLER_NAME_RAW(NODE) \
3203 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.assembler_name)
3207#define HAS_DECL_ASSEMBLER_NAME_P(NODE) \
3208 (CODE_CONTAINS_STRUCT (TREE_CODE (NODE), TS_DECL_WITH_VIS))
3213#define DECL_ASSEMBLER_NAME_SET_P(NODE) \
3214 (DECL_ASSEMBLER_NAME_RAW (NODE) != NULL_TREE)
3217#define SET_DECL_ASSEMBLER_NAME(NODE, NAME) \
3218 overwrite_decl_assembler_name (NODE, NAME)
3231#define COPY_DECL_ASSEMBLER_NAME(SRC_DECL, DST_DECL) \
3232 SET_DECL_ASSEMBLER_NAME (DST_DECL, DECL_ASSEMBLER_NAME_RAW (SRC_DECL))
3236#define DECL_SECTION_NAME(NODE) decl_section_name (NODE)
3240#define DECL_SEEN_IN_BIND_EXPR_P(NODE) \
3241 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.seen_in_bind_expr)
3244#define DECL_VISIBILITY(NODE) \
3245 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.visibility)
3249#define DECL_VISIBILITY_SPECIFIED(NODE) \
3250 (DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.visibility_specified)
3254#define DECL_TLS_MODEL(NODE) decl_tls_model (NODE)
3258#define DECL_THREAD_LOCAL_P(NODE) \
3259 ((TREE_STATIC (NODE) || DECL_EXTERNAL (NODE)) && decl_tls_model (NODE) >= TLS_MODEL_REAL)
3264#define DECL_HAS_INIT_PRIORITY_P(NODE) \
3265 (VAR_DECL_CHECK (NODE)->decl_with_vis.init_priority_p)
3271#define DECL_HAS_DEBUG_EXPR_P(NODE) \
3272 (VAR_DECL_CHECK (NODE)->decl_common.debug_expr_is_from)
3273#define DECL_DEBUG_EXPR(NODE) \
3274 (decl_debug_expr_lookup (VAR_DECL_CHECK (NODE)))
3276#define SET_DECL_DEBUG_EXPR(NODE, VAL) \
3277 (decl_debug_expr_insert (VAR_DECL_CHECK (NODE), VAL))
3286#define DECL_INIT_PRIORITY(NODE) \
3287 (decl_init_priority_lookup (NODE))
3289#define SET_DECL_INIT_PRIORITY(NODE, VAL) \
3290 (decl_init_priority_insert (NODE, VAL))
3293#define DECL_FINI_PRIORITY(NODE) \
3294 (decl_fini_priority_lookup (NODE))
3296#define SET_DECL_FINI_PRIORITY(NODE, VAL) \
3297 (decl_fini_priority_insert (NODE, VAL))
3301#define DEFAULT_INIT_PRIORITY 65535
3304#define MAX_INIT_PRIORITY 65535
3308#define MAX_RESERVED_INIT_PRIORITY 100
3311#define VAR_DECL_IS_VIRTUAL_OPERAND(NODE) \
3312 (VAR_DECL_CHECK (NODE)->base.u.bits.saturating_flag)
3315#define DECL_NONLOCAL_FRAME(NODE) \
3316 (VAR_DECL_CHECK (NODE)->base.default_def_flag)
3319#define DECL_NONALIASED(NODE) \
3320 (VAR_DECL_CHECK (NODE)->base.nothrow_flag)
3325#define DECL_MERGEABLE(NODE) \
3326 (VAR_DECL_CHECK (NODE)->decl_common.decl_flag_3)
3330#define DECL_RESULT_FLD(NODE) \
3331 (DECL_NON_COMMON_CHECK (NODE)->decl_non_common.result)
3340#define DECL_VINDEX(NODE) \
3341 (FUNCTION_DECL_CHECK (NODE)->function_decl.vindex)
3344#define DECL_RESULT(NODE) (FUNCTION_DECL_CHECK (NODE)->decl_non_common.result)
3347#define DECL_UNINLINABLE(NODE) \
3348 (FUNCTION_DECL_CHECK (NODE)->function_decl.uninlinable)
3352#define DECL_SAVED_TREE(NODE) \
3353 (FUNCTION_DECL_CHECK (NODE)->function_decl.saved_tree)
3358#define DECL_IS_MALLOC(NODE) \
3359 (FUNCTION_DECL_CHECK (NODE)->function_decl.malloc_flag)
3362#define FUNCTION_DECL_DECL_TYPE(NODE) \
3363 (NODE->function_decl.decl_type)
3383#define DECL_IS_REPLACEABLE_OPERATOR(NODE)\
3384 (FUNCTION_DECL_CHECK (NODE)->function_decl.replaceable_operator)
3389#define DECL_IS_OPERATOR_NEW_P(NODE) \
3390 (FUNCTION_DECL_DECL_TYPE (FUNCTION_DECL_CHECK (NODE)) == OPERATOR_NEW)
3392#define DECL_IS_REPLACEABLE_OPERATOR_NEW_P(NODE) \
3393 (DECL_IS_OPERATOR_NEW_P (NODE) && DECL_IS_REPLACEABLE_OPERATOR (NODE))
3395#define DECL_SET_IS_OPERATOR_NEW(NODE, VAL) \
3396 set_function_decl_type (FUNCTION_DECL_CHECK (NODE), OPERATOR_NEW, VAL)
3400#define DECL_IS_OPERATOR_DELETE_P(NODE) \
3401 (FUNCTION_DECL_DECL_TYPE (FUNCTION_DECL_CHECK (NODE)) == OPERATOR_DELETE)
3403#define DECL_SET_IS_OPERATOR_DELETE(NODE, VAL) \
3404 set_function_decl_type (FUNCTION_DECL_CHECK (NODE), OPERATOR_DELETE, VAL)
3408#define DECL_IS_RETURNS_TWICE(NODE) \
3409 (FUNCTION_DECL_CHECK (NODE)->function_decl.returns_twice_flag)
3416#define DECL_PURE_P(NODE) (FUNCTION_DECL_CHECK (NODE)->function_decl.pure_flag)
3424#define DECL_LOOPING_CONST_OR_PURE_P(NODE) \
3425 (FUNCTION_DECL_CHECK (NODE)->function_decl.looping_const_or_pure_flag)
3430#define DECL_IS_NOVOPS(NODE) \
3431 (FUNCTION_DECL_CHECK (NODE)->function_decl.novops_flag)
3435#define DECL_STATIC_CONSTRUCTOR(NODE) \
3436 (FUNCTION_DECL_CHECK (NODE)->function_decl.static_ctor_flag)
3438#define DECL_STATIC_DESTRUCTOR(NODE) \
3439(FUNCTION_DECL_CHECK (NODE)->function_decl.static_dtor_flag)
3443#define DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT(NODE) \
3444 (FUNCTION_DECL_CHECK (NODE)->function_decl.no_instrument_function_entry_exit)
3448#define DECL_NO_LIMIT_STACK(NODE) \
3449 (FUNCTION_DECL_CHECK (NODE)->function_decl.no_limit_stack)
3452#define DECL_STATIC_CHAIN(NODE) \
3453 (FUNCTION_DECL_CHECK (NODE)->decl_with_vis.regdecl_flag)
3458#define DECL_POSSIBLY_INLINED(DECL) \
3459 FUNCTION_DECL_CHECK (DECL)->function_decl.possibly_inlined
3464#define DECL_DECLARED_INLINE_P(NODE) \
3465 (FUNCTION_DECL_CHECK (NODE)->function_decl.declared_inline_flag)
3469#define DECL_NO_INLINE_WARNING_P(NODE) \
3470 (FUNCTION_DECL_CHECK (NODE)->function_decl.no_inline_warning_flag)
3473#define BUILTIN_TM_LOAD_STORE_P(FN) \
3474 ((FN) >= BUILT_IN_TM_STORE_1 && (FN) <= BUILT_IN_TM_LOAD_RFW_LDOUBLE)
3477#define BUILTIN_TM_LOAD_P(FN) \
3478 ((FN) >= BUILT_IN_TM_LOAD_1 && (FN) <= BUILT_IN_TM_LOAD_RFW_LDOUBLE)
3481#define BUILTIN_TM_STORE_P(FN) \
3482 ((FN) >= BUILT_IN_TM_STORE_1 && (FN) <= BUILT_IN_TM_STORE_WAW_LDOUBLE)
3484#define CASE_BUILT_IN_TM_LOAD(FN) \
3485 case BUILT_IN_TM_LOAD_##FN: \
3486 case BUILT_IN_TM_LOAD_RAR_##FN: \
3487 case BUILT_IN_TM_LOAD_RAW_##FN: \
3488 case BUILT_IN_TM_LOAD_RFW_##FN
3490#define CASE_BUILT_IN_TM_STORE(FN) \
3491 case BUILT_IN_TM_STORE_##FN: \
3492 case BUILT_IN_TM_STORE_WAR_##FN: \
3493 case BUILT_IN_TM_STORE_WAW_##FN
3499#define DECL_DISREGARD_INLINE_LIMITS(NODE) \
3500 (FUNCTION_DECL_CHECK (NODE)->function_decl.disregard_inline_limits)
3506#define DECL_HAS_DEBUG_ARGS_P(NODE) \
3507 (FUNCTION_DECL_CHECK (NODE)->function_decl.has_debug_args_flag)
3511#define DECL_STRUCT_FUNCTION(NODE) \
3512 (FUNCTION_DECL_CHECK (NODE)->function_decl.f)
3515#define DECL_BUILT_IN_CLASS(NODE) \
3516 ((built_in_class) FUNCTION_DECL_CHECK (NODE)->function_decl.built_in_class)
3519#define DECL_ARGUMENTS(NODE) \
3520 (FUNCTION_DECL_CHECK (NODE)->function_decl.arguments)
3524#define DECL_FUNCTION_SPECIFIC_TARGET(NODE) \
3525 (FUNCTION_DECL_CHECK (NODE)->function_decl.function_specific_target)
3529#define DECL_FUNCTION_SPECIFIC_OPTIMIZATION(NODE) \
3530 (FUNCTION_DECL_CHECK (NODE)->function_decl.function_specific_optimization)
3535#define DECL_FUNCTION_VERSIONED(NODE)\
3536 (FUNCTION_DECL_CHECK (NODE)->function_decl.versioned_function)
3542#define DECL_CXX_CONSTRUCTOR_P(NODE)\
3543 (FUNCTION_DECL_CHECK (NODE)->decl_with_vis.cxx_constructor)
3547#define DECL_CXX_DESTRUCTOR_P(NODE)\
3548 (FUNCTION_DECL_CHECK (NODE)->decl_with_vis.cxx_destructor)
3551#define DECL_LAMBDA_FUNCTION_P(NODE) \
3552 (FUNCTION_DECL_DECL_TYPE (FUNCTION_DECL_CHECK (NODE)) == LAMBDA_FUNCTION)
3554#define DECL_SET_LAMBDA_FUNCTION(NODE, VAL) \
3555 set_function_decl_type (FUNCTION_DECL_CHECK (NODE), LAMBDA_FUNCTION, VAL)
3559#define DECL_FINAL_P(NODE)\
3560 (FUNCTION_DECL_CHECK (NODE)->decl_with_vis.final)
3563#define TRANSLATION_UNIT_LANGUAGE(NODE) \
3564 (TRANSLATION_UNIT_DECL_CHECK (NODE)->translation_unit_decl.language)
3569#define DECL_ORIGINAL_TYPE(NODE) \
3570 (TYPE_DECL_CHECK (NODE)->decl_non_common.result)
3575#define TYPE_DECL_SUPPRESS_DEBUG(NODE) \
3576 (TYPE_DECL_CHECK (NODE)->decl_common.decl_flag_1)
3580#define IMPORTED_DECL_ASSOCIATED_DECL(NODE) \
3581(DECL_INITIAL (IMPORTED_DECL_CHECK (NODE)))
3585#define NAMELIST_DECL_ASSOCIATED_DECL(NODE) \
3586 (DECL_INITIAL (NODE))
3594#define STATEMENT_LIST_HEAD(NODE) \
3595 (STATEMENT_LIST_CHECK (NODE)->stmt_list.head)
3596#define STATEMENT_LIST_TAIL(NODE) \
3597 (STATEMENT_LIST_CHECK (NODE)->stmt_list.tail)
3599#define TREE_OPTIMIZATION(NODE) \
3600 (OPTIMIZATION_NODE_CHECK (NODE)->optimization.opts)
3602#define TREE_OPTIMIZATION_OPTABS(NODE) \
3603 (OPTIMIZATION_NODE_CHECK (NODE)->optimization.optabs)
3605#define TREE_OPTIMIZATION_BASE_OPTABS(NODE) \
3606 (OPTIMIZATION_NODE_CHECK (NODE)->optimization.base_optabs)
3611 struct gcc_options *opts_set);
3613#define TREE_TARGET_OPTION(NODE) \
3614 (TARGET_OPTION_NODE_CHECK (NODE)->target_option.opts)
3616#define TREE_TARGET_GLOBALS(NODE) \
3617 (TARGET_OPTION_NODE_CHECK (NODE)->target_option.globals)
3622 struct gcc_options *opts_set);
3626#if defined ENABLE_TREE_CHECKING && (GCC_VERSION >= 2007)
3629tree_check (
tree __t,
const char *__f,
int __l,
const char *__g,
tree_code __c)
3632 tree_check_failed (__t, __f, __l, __g, __c, 0);
3637tree_not_check (
tree __t,
const char *__f,
int __l,
const char *__g,
3641 tree_not_check_failed (__t, __f, __l, __g, __c, 0);
3646tree_check2 (
tree __t,
const char *__f,
int __l,
const char *__g,
3651 tree_check_failed (__t, __f, __l, __g, __c1, __c2, 0);
3656tree_not_check2 (
tree __t,
const char *__f,
int __l,
const char *__g,
3661 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, 0);
3666tree_check3 (
tree __t,
const char *__f,
int __l,
const char *__g,
3672 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, 0);
3677tree_not_check3 (
tree __t,
const char *__f,
int __l,
const char *__g,
3683 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, 0);
3688tree_check4 (
tree __t,
const char *__f,
int __l,
const char *__g,
3696 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, 0);
3701tree_not_check4 (
tree __t,
const char *__f,
int __l,
const char *__g,
3709 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, 0);
3714tree_check5 (
tree __t,
const char *__f,
int __l,
const char *__g,
3723 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, 0);
3728tree_not_check5 (
tree __t,
const char *__f,
int __l,
const char *__g,
3737 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, 0);
3742tree_check6 (
tree __t,
const char *__f,
int __l,
const char *__g,
3752 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, __c6,
3758tree_not_check6 (
tree __t,
const char *__f,
int __l,
const char *__g,
3768 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5,
3775 const char *__f,
int __l,
const char *__g)
3778 tree_contains_struct_check_failed (__t, __s, __f, __l, __g);
3784 const char *__f,
int __l,
const char *__g)
3787 tree_class_check_failed (__t, __class, __f, __l, __g);
3792tree_range_check (
tree __t,
3794 const char *__f,
int __l,
const char *__g)
3797 tree_range_check_failed (__t, __f, __l, __g, __code1, __code2);
3803 const char *__f,
int __l,
const char *__g)
3806 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
3807 if (__t->omp_clause.code != __code)
3808 omp_clause_check_failed (__t, __f, __l, __g, __code);
3813omp_clause_range_check (
tree __t,
3816 const char *__f,
int __l,
const char *__g)
3819 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
3820 if ((
int) __t->omp_clause.code < (
int) __code1
3821 || (
int) __t->omp_clause.code > (
int) __code2)
3822 omp_clause_range_check_failed (__t, __f, __l, __g, __code1, __code2);
3829expr_check (
tree __t,
const char *__f,
int __l,
const char *__g)
3840non_type_check (
tree __t,
const char *__f,
int __l,
const char *__g)
3843 tree_not_class_check_failed (__t,
tcc_type, __f, __l, __g);
3847inline const HOST_WIDE_INT *
3848tree_int_cst_elt_check (
const_tree __t,
int __i,
3849 const char *__f,
int __l,
const char *__g)
3852 tree_check_failed (__t, __f, __l, __g, INTEGER_CST, 0);
3853 if (__i < 0 || __i >= __t->base.u.int_length.extended)
3854 tree_int_cst_elt_check_failed (__i, __t->base.u.int_length.extended,
3859inline HOST_WIDE_INT *
3860tree_int_cst_elt_check (
tree __t,
int __i,
3861 const char *__f,
int __l,
const char *__g)
3864 tree_check_failed (__t, __f, __l, __g, INTEGER_CST, 0);
3865 if (__i < 0 || __i >= __t->base.u.int_length.extended)
3866 tree_int_cst_elt_check_failed (__i, __t->base.u.int_length.extended,
3873# if GCC_VERSION >= 4006
3874#pragma GCC diagnostic push
3875#pragma GCC diagnostic ignored "-Wstrict-overflow"
3879tree_vec_elt_check (
tree __t,
int __i,
3880 const char *__f,
int __l,
const char *__g)
3883 tree_check_failed (__t, __f, __l, __g, TREE_VEC, 0);
3884 if (__i < 0 || __i >= __t->base.u.length)
3885 tree_vec_elt_check_failed (__i, __t->base.u.length, __f, __l, __g);
3889# if GCC_VERSION >= 4006
3890#pragma GCC diagnostic pop
3894omp_clause_elt_check (
tree __t,
int __i,
3895 const char *__f,
int __l,
const char *__g)
3898 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
3900 omp_clause_operand_check_failed (__i, __t, __f, __l, __g);
3901 return &__t->omp_clause.ops[__i];
3907any_integral_type_check (
tree __t,
const char *__f,
int __l,
const char *__g)
3910 tree_check_failed (__t, __f, __l, __g, BOOLEAN_TYPE, ENUMERAL_TYPE,
3911 INTEGER_TYPE, BITINT_TYPE, 0);
3916tree_check (
const_tree __t,
const char *__f,
int __l,
const char *__g,
3920 tree_check_failed (__t, __f, __l, __g, __c, 0);
3925tree_not_check (
const_tree __t,
const char *__f,
int __l,
const char *__g,
3929 tree_not_check_failed (__t, __f, __l, __g, __c, 0);
3934tree_check2 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
3939 tree_check_failed (__t, __f, __l, __g, __c1, __c2, 0);
3944tree_not_check2 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
3949 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, 0);
3954tree_check3 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
3960 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, 0);
3965tree_not_check3 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
3971 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, 0);
3976tree_check4 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
3984 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, 0);
3989tree_not_check4 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
3997 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, 0);
4002tree_check5 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4011 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, 0);
4016tree_not_check5 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4025 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, 0);
4030tree_check6 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4040 tree_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5, __c6,
4046tree_not_check6 (
const_tree __t,
const char *__f,
int __l,
const char *__g,
4056 tree_not_check_failed (__t, __f, __l, __g, __c1, __c2, __c3, __c4, __c5,
4063 const char *__f,
int __l,
const char *__g)
4066 tree_contains_struct_check_failed (__t, __s, __f, __l, __g);
4072 const char *__f,
int __l,
const char *__g)
4075 tree_class_check_failed (__t, __class, __f, __l, __g);
4082 const char *__f,
int __l,
const char *__g)
4085 tree_range_check_failed (__t, __f, __l, __g, __code1, __code2);
4091 const char *__f,
int __l,
const char *__g)
4094 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
4095 if (__t->omp_clause.code != __code)
4096 omp_clause_check_failed (__t, __f, __l, __g, __code);
4104 const char *__f,
int __l,
const char *__g)
4107 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
4108 if ((
int) __t->omp_clause.code < (
int) __code1
4109 || (
int) __t->omp_clause.code > (
int) __code2)
4110 omp_clause_range_check_failed (__t, __f, __l, __g, __code1, __code2);
4115expr_check (
const_tree __t,
const char *__f,
int __l,
const char *__g)
4124non_type_check (
const_tree __t,
const char *__f,
int __l,
const char *__g)
4127 tree_not_class_check_failed (__t,
tcc_type, __f, __l, __g);
4131# if GCC_VERSION >= 4006
4132#pragma GCC diagnostic push
4133#pragma GCC diagnostic ignored "-Wstrict-overflow"
4138 const char *__f,
int __l,
const char *__g)
4141 tree_check_failed (__t, __f, __l, __g, TREE_VEC, 0);
4142 if (__i < 0 || __i >= __t->base.u.length)
4143 tree_vec_elt_check_failed (__i, __t->base.u.length, __f, __l, __g);
4148# if GCC_VERSION >= 4006
4149#pragma GCC diagnostic pop
4153omp_clause_elt_check (
const_tree __t,
int __i,
4154 const char *__f,
int __l,
const char *__g)
4157 tree_check_failed (__t, __f, __l, __g, OMP_CLAUSE, 0);
4159 omp_clause_operand_check_failed (__i, __t, __f, __l, __g);
4164any_integral_type_check (
const_tree __t,
const char *__f,
int __l,
4168 tree_check_failed (__t, __f, __l, __g, BOOLEAN_TYPE, ENUMERAL_TYPE,
4169 INTEGER_TYPE, BITINT_TYPE, 0);
4187#if defined ENABLE_TREE_CHECKING && (GCC_VERSION >= 2007)
4191tree_operand_check (
tree __t,
int __i,
4192 const char *__f,
int __l,
const char *__g)
4196 tree_operand_check_failed (__i, __u, __f, __l, __g);
4201tree_operand_check_code (
tree __t,
enum tree_code __code,
int __i,
4202 const char *__f,
int __l,
const char *__g)
4205 tree_check_failed (__t, __f, __l, __g, __code, 0);
4207 tree_operand_check_failed (__i, __t, __f, __l, __g);
4208 return &__t->exp.operands[__i];
4213 const char *__f,
int __l,
const char *__g)
4217 tree_operand_check_failed (__i, __u, __f, __l, __g);
4223 const char *__f,
int __l,
const char *__g)
4226 tree_check_failed (__t, __f, __l, __g, __code, 0);
4228 tree_operand_check_failed (__i, __t, __f, __l, __g);
4254 unsigned int precision = VECTOR_TYPE_CHECK (node)->type_common.precision;
4261 if (precision & 0x100)
4276 unsigned HOST_WIDE_INT coeff0 = subparts.
coeffs[0];
4296 unsigned HOST_WIDE_INT coeff1 = subparts.
coeffs[1];
4297 gcc_assert (coeff1 == 0 || coeff1 == coeff0);
4298 VECTOR_TYPE_CHECK (node)->type_common.precision
4299 = index + (coeff1 != 0 ? 0x100 : 0);
4302 VECTOR_TYPE_CHECK (node)->type_common.precision = index;
4311 unsigned HOST_WIDE_INT coeff0 = subparts.
coeffs[0];
4316 unsigned HOST_WIDE_INT coeff1 = subparts.
coeffs[1];
4317 if (coeff1 != 0 && coeff1 != coeff0)
4328 const tree_function_decl &fndecl = FUNCTION_DECL_CHECK (
decl)->function_decl;
4339 const tree_function_decl &fndecl = FUNCTION_DECL_CHECK (
decl)->function_decl;
4341 return fndecl.function_code;
4350 const tree_function_decl &fndecl = FUNCTION_DECL_CHECK (
decl)->function_decl;
4352 return fndecl.function_code;
4361 tree_function_decl &fndecl = FUNCTION_DECL_CHECK (
decl)->function_decl;
4362 fndecl.built_in_class = fclass;
4363 fndecl.function_code = fcode;
4371 tree_function_decl &newfndecl = FUNCTION_DECL_CHECK (newdecl)->function_decl;
4372 const tree_function_decl &oldfndecl
4373 = FUNCTION_DECL_CHECK (olddecl)->function_decl;
4374 newfndecl.built_in_class = oldfndecl.built_in_class;
4375 newfndecl.function_code = oldfndecl.function_code;
4382#define EXPR_LOCATION_WRAPPER_P(NODE) \
4383 (TREE_CHECK2(NODE, NON_LVALUE_EXPR, VIEW_CONVERT_EXPR)->base.public_flag)
4417#define error_mark_node global_trees[TI_ERROR_MARK]
4419#define intQI_type_node global_trees[TI_INTQI_TYPE]
4420#define intHI_type_node global_trees[TI_INTHI_TYPE]
4421#define intSI_type_node global_trees[TI_INTSI_TYPE]
4422#define intDI_type_node global_trees[TI_INTDI_TYPE]
4423#define intTI_type_node global_trees[TI_INTTI_TYPE]
4425#define unsigned_intQI_type_node global_trees[TI_UINTQI_TYPE]
4426#define unsigned_intHI_type_node global_trees[TI_UINTHI_TYPE]
4427#define unsigned_intSI_type_node global_trees[TI_UINTSI_TYPE]
4428#define unsigned_intDI_type_node global_trees[TI_UINTDI_TYPE]
4429#define unsigned_intTI_type_node global_trees[TI_UINTTI_TYPE]
4431#define atomicQI_type_node global_trees[TI_ATOMICQI_TYPE]
4432#define atomicHI_type_node global_trees[TI_ATOMICHI_TYPE]
4433#define atomicSI_type_node global_trees[TI_ATOMICSI_TYPE]
4434#define atomicDI_type_node global_trees[TI_ATOMICDI_TYPE]
4435#define atomicTI_type_node global_trees[TI_ATOMICTI_TYPE]
4437#define uint16_type_node global_trees[TI_UINT16_TYPE]
4438#define uint32_type_node global_trees[TI_UINT32_TYPE]
4439#define uint64_type_node global_trees[TI_UINT64_TYPE]
4440#define uint128_type_node global_trees[TI_UINT128_TYPE]
4442#define void_node global_trees[TI_VOID]
4444#define integer_zero_node global_trees[TI_INTEGER_ZERO]
4445#define integer_one_node global_trees[TI_INTEGER_ONE]
4446#define integer_three_node global_trees[TI_INTEGER_THREE]
4447#define integer_minus_one_node global_trees[TI_INTEGER_MINUS_ONE]
4448#define size_zero_node global_trees[TI_SIZE_ZERO]
4449#define size_one_node global_trees[TI_SIZE_ONE]
4450#define bitsize_zero_node global_trees[TI_BITSIZE_ZERO]
4451#define bitsize_one_node global_trees[TI_BITSIZE_ONE]
4452#define bitsize_unit_node global_trees[TI_BITSIZE_UNIT]
4455#define access_public_node global_trees[TI_PUBLIC]
4456#define access_protected_node global_trees[TI_PROTECTED]
4457#define access_private_node global_trees[TI_PRIVATE]
4459#define null_pointer_node global_trees[TI_NULL_POINTER]
4461#define float_type_node global_trees[TI_FLOAT_TYPE]
4462#define double_type_node global_trees[TI_DOUBLE_TYPE]
4463#define long_double_type_node global_trees[TI_LONG_DOUBLE_TYPE]
4464#define bfloat16_type_node global_trees[TI_BFLOAT16_TYPE]
4467#define FLOATN_TYPE_NODE(IDX) global_trees[TI_FLOATN_TYPE_FIRST + (IDX)]
4468#define FLOATN_NX_TYPE_NODE(IDX) global_trees[TI_FLOATN_NX_TYPE_FIRST + (IDX)]
4469#define FLOATNX_TYPE_NODE(IDX) global_trees[TI_FLOATNX_TYPE_FIRST + (IDX)]
4474#define float16_type_node global_trees[TI_FLOAT16_TYPE]
4475#define float32_type_node global_trees[TI_FLOAT32_TYPE]
4476#define float64_type_node global_trees[TI_FLOAT64_TYPE]
4477#define float128_type_node global_trees[TI_FLOAT128_TYPE]
4478#define float32x_type_node global_trees[TI_FLOAT32X_TYPE]
4479#define float64x_type_node global_trees[TI_FLOAT64X_TYPE]
4480#define float128x_type_node global_trees[TI_FLOAT128X_TYPE]
4484#define float128t_type_node global_trees[TI_FLOAT128T_TYPE]
4486#define float_ptr_type_node global_trees[TI_FLOAT_PTR_TYPE]
4487#define double_ptr_type_node global_trees[TI_DOUBLE_PTR_TYPE]
4488#define long_double_ptr_type_node global_trees[TI_LONG_DOUBLE_PTR_TYPE]
4489#define integer_ptr_type_node global_trees[TI_INTEGER_PTR_TYPE]
4491#define complex_integer_type_node global_trees[TI_COMPLEX_INTEGER_TYPE]
4492#define complex_float_type_node global_trees[TI_COMPLEX_FLOAT_TYPE]
4493#define complex_double_type_node global_trees[TI_COMPLEX_DOUBLE_TYPE]
4494#define complex_long_double_type_node global_trees[TI_COMPLEX_LONG_DOUBLE_TYPE]
4496#define COMPLEX_FLOATN_NX_TYPE_NODE(IDX) global_trees[TI_COMPLEX_FLOATN_NX_TYPE_FIRST + (IDX)]
4498#define void_type_node global_trees[TI_VOID_TYPE]
4500#define ptr_type_node global_trees[TI_PTR_TYPE]
4502#define const_ptr_type_node global_trees[TI_CONST_PTR_TYPE]
4504#define size_type_node global_trees[TI_SIZE_TYPE]
4505#define pid_type_node global_trees[TI_PID_TYPE]
4506#define ptrdiff_type_node global_trees[TI_PTRDIFF_TYPE]
4507#define va_list_type_node global_trees[TI_VA_LIST_TYPE]
4508#define va_list_gpr_counter_field global_trees[TI_VA_LIST_GPR_COUNTER_FIELD]
4509#define va_list_fpr_counter_field global_trees[TI_VA_LIST_FPR_COUNTER_FIELD]
4511#define fileptr_type_node global_trees[TI_FILEPTR_TYPE]
4513#define const_tm_ptr_type_node global_trees[TI_CONST_TM_PTR_TYPE]
4515#define fenv_t_ptr_type_node global_trees[TI_FENV_T_PTR_TYPE]
4516#define const_fenv_t_ptr_type_node global_trees[TI_CONST_FENV_T_PTR_TYPE]
4518#define fexcept_t_ptr_type_node global_trees[TI_FEXCEPT_T_PTR_TYPE]
4519#define const_fexcept_t_ptr_type_node global_trees[TI_CONST_FEXCEPT_T_PTR_TYPE]
4520#define pointer_sized_int_node global_trees[TI_POINTER_SIZED_TYPE]
4522#define boolean_type_node global_trees[TI_BOOLEAN_TYPE]
4523#define boolean_false_node global_trees[TI_BOOLEAN_FALSE]
4524#define boolean_true_node global_trees[TI_BOOLEAN_TRUE]
4527#define dfloat32_type_node global_trees[TI_DFLOAT32_TYPE]
4528#define dfloat64_type_node global_trees[TI_DFLOAT64_TYPE]
4529#define dfloat128_type_node global_trees[TI_DFLOAT128_TYPE]
4532#define sat_short_fract_type_node global_trees[TI_SAT_SFRACT_TYPE]
4533#define sat_fract_type_node global_trees[TI_SAT_FRACT_TYPE]
4534#define sat_long_fract_type_node global_trees[TI_SAT_LFRACT_TYPE]
4535#define sat_long_long_fract_type_node global_trees[TI_SAT_LLFRACT_TYPE]
4536#define sat_unsigned_short_fract_type_node \
4537 global_trees[TI_SAT_USFRACT_TYPE]
4538#define sat_unsigned_fract_type_node global_trees[TI_SAT_UFRACT_TYPE]
4539#define sat_unsigned_long_fract_type_node \
4540 global_trees[TI_SAT_ULFRACT_TYPE]
4541#define sat_unsigned_long_long_fract_type_node \
4542 global_trees[TI_SAT_ULLFRACT_TYPE]
4543#define short_fract_type_node global_trees[TI_SFRACT_TYPE]
4544#define fract_type_node global_trees[TI_FRACT_TYPE]
4545#define long_fract_type_node global_trees[TI_LFRACT_TYPE]
4546#define long_long_fract_type_node global_trees[TI_LLFRACT_TYPE]
4547#define unsigned_short_fract_type_node global_trees[TI_USFRACT_TYPE]
4548#define unsigned_fract_type_node global_trees[TI_UFRACT_TYPE]
4549#define unsigned_long_fract_type_node global_trees[TI_ULFRACT_TYPE]
4550#define unsigned_long_long_fract_type_node \
4551 global_trees[TI_ULLFRACT_TYPE]
4552#define sat_short_accum_type_node global_trees[TI_SAT_SACCUM_TYPE]
4553#define sat_accum_type_node global_trees[TI_SAT_ACCUM_TYPE]
4554#define sat_long_accum_type_node global_trees[TI_SAT_LACCUM_TYPE]
4555#define sat_long_long_accum_type_node global_trees[TI_SAT_LLACCUM_TYPE]
4556#define sat_unsigned_short_accum_type_node \
4557 global_trees[TI_SAT_USACCUM_TYPE]
4558#define sat_unsigned_accum_type_node global_trees[TI_SAT_UACCUM_TYPE]
4559#define sat_unsigned_long_accum_type_node \
4560 global_trees[TI_SAT_ULACCUM_TYPE]
4561#define sat_unsigned_long_long_accum_type_node \
4562 global_trees[TI_SAT_ULLACCUM_TYPE]
4563#define short_accum_type_node global_trees[TI_SACCUM_TYPE]
4564#define accum_type_node global_trees[TI_ACCUM_TYPE]
4565#define long_accum_type_node global_trees[TI_LACCUM_TYPE]
4566#define long_long_accum_type_node global_trees[TI_LLACCUM_TYPE]
4567#define unsigned_short_accum_type_node global_trees[TI_USACCUM_TYPE]
4568#define unsigned_accum_type_node global_trees[TI_UACCUM_TYPE]
4569#define unsigned_long_accum_type_node global_trees[TI_ULACCUM_TYPE]
4570#define unsigned_long_long_accum_type_node \
4571 global_trees[TI_ULLACCUM_TYPE]
4572#define qq_type_node global_trees[TI_QQ_TYPE]
4573#define hq_type_node global_trees[TI_HQ_TYPE]
4574#define sq_type_node global_trees[TI_SQ_TYPE]
4575#define dq_type_node global_trees[TI_DQ_TYPE]
4576#define tq_type_node global_trees[TI_TQ_TYPE]
4577#define uqq_type_node global_trees[TI_UQQ_TYPE]
4578#define uhq_type_node global_trees[TI_UHQ_TYPE]
4579#define usq_type_node global_trees[TI_USQ_TYPE]
4580#define udq_type_node global_trees[TI_UDQ_TYPE]
4581#define utq_type_node global_trees[TI_UTQ_TYPE]
4582#define sat_qq_type_node global_trees[TI_SAT_QQ_TYPE]
4583#define sat_hq_type_node global_trees[TI_SAT_HQ_TYPE]
4584#define sat_sq_type_node global_trees[TI_SAT_SQ_TYPE]
4585#define sat_dq_type_node global_trees[TI_SAT_DQ_TYPE]
4586#define sat_tq_type_node global_trees[TI_SAT_TQ_TYPE]
4587#define sat_uqq_type_node global_trees[TI_SAT_UQQ_TYPE]
4588#define sat_uhq_type_node global_trees[TI_SAT_UHQ_TYPE]
4589#define sat_usq_type_node global_trees[TI_SAT_USQ_TYPE]
4590#define sat_udq_type_node global_trees[TI_SAT_UDQ_TYPE]
4591#define sat_utq_type_node global_trees[TI_SAT_UTQ_TYPE]
4592#define ha_type_node global_trees[TI_HA_TYPE]
4593#define sa_type_node global_trees[TI_SA_TYPE]
4594#define da_type_node global_trees[TI_DA_TYPE]
4595#define ta_type_node global_trees[TI_TA_TYPE]
4596#define uha_type_node global_trees[TI_UHA_TYPE]
4597#define usa_type_node global_trees[TI_USA_TYPE]
4598#define uda_type_node global_trees[TI_UDA_TYPE]
4599#define uta_type_node global_trees[TI_UTA_TYPE]
4600#define sat_ha_type_node global_trees[TI_SAT_HA_TYPE]
4601#define sat_sa_type_node global_trees[TI_SAT_SA_TYPE]
4602#define sat_da_type_node global_trees[TI_SAT_DA_TYPE]
4603#define sat_ta_type_node global_trees[TI_SAT_TA_TYPE]
4604#define sat_uha_type_node global_trees[TI_SAT_UHA_TYPE]
4605#define sat_usa_type_node global_trees[TI_SAT_USA_TYPE]
4606#define sat_uda_type_node global_trees[TI_SAT_UDA_TYPE]
4607#define sat_uta_type_node global_trees[TI_SAT_UTA_TYPE]
4614#define void_list_node global_trees[TI_VOID_LIST_NODE]
4616#define main_identifier_node global_trees[TI_MAIN_IDENTIFIER]
4617#define MAIN_NAME_P(NODE) \
4618 (IDENTIFIER_NODE_CHECK (NODE) == main_identifier_node)
4622#define optimization_default_node global_trees[TI_OPTIMIZATION_DEFAULT]
4623#define optimization_current_node global_trees[TI_OPTIMIZATION_CURRENT]
4626#define target_option_default_node global_trees[TI_TARGET_OPTION_DEFAULT]
4627#define target_option_current_node global_trees[TI_TARGET_OPTION_CURRENT]
4631#define current_target_pragma global_trees[TI_CURRENT_TARGET_PRAGMA]
4632#define current_optimize_pragma global_trees[TI_CURRENT_OPTIMIZE_PRAGMA]
4635#define chrec_not_analyzed_yet NULL_TREE
4636#define chrec_dont_know global_trees[TI_CHREC_DONT_KNOW]
4637#define chrec_known global_trees[TI_CHREC_KNOWN]
4639#define char_type_node integer_types[itk_char]
4640#define signed_char_type_node integer_types[itk_signed_char]
4641#define unsigned_char_type_node integer_types[itk_unsigned_char]
4642#define short_integer_type_node integer_types[itk_short]
4643#define short_unsigned_type_node integer_types[itk_unsigned_short]
4644#define integer_type_node integer_types[itk_int]
4645#define unsigned_type_node integer_types[itk_unsigned_int]
4646#define long_integer_type_node integer_types[itk_long]
4647#define long_unsigned_type_node integer_types[itk_unsigned_long]
4648#define long_long_integer_type_node integer_types[itk_long_long]
4649#define long_long_unsigned_type_node integer_types[itk_unsigned_long_long]
4863#define build_call_array(T1,T2,N,T3)\
4864 build_call_array_loc (UNKNOWN_LOCATION, T1, T2, N, T3)
4915#define build_function_type_vec(RET, V) \
4916 build_function_type_array (RET, vec_safe_length (V), vec_safe_address (V))
4917#define build_varargs_function_type_vec(RET, V) \
4918 build_varargs_function_type_array (RET, vec_safe_length (V), \
4919 vec_safe_address (V))
4941 ATTRIBUTE_NONNULL (1) ATTRIBUTE_PURE;
4943 ATTRIBUTE_NONNULL (1) ATTRIBUTE_PURE;
4945 ATTRIBUTE_NONNULL (1) ATTRIBUTE_PURE;
4947 ATTRIBUTE_NONNULL (1) ATTRIBUTE_PURE;
4948#if !defined ENABLE_TREE_CHECKING && (GCC_VERSION >= 4003)
4949extern inline __attribute__ ((__gnu_inline__)) HOST_WIDE_INT
4956extern inline __attribute__ ((__gnu_inline__))
unsigned HOST_WIDE_INT
4962#if NUM_POLY_INT_COEFFS == 1
4963extern inline __attribute__ ((__gnu_inline__))
poly_int64
4970extern inline __attribute__ ((__gnu_inline__))
poly_uint64
5076#define build_type_variant(TYPE, CONST_P, VOLATILE_P) \
5077 build_qualified_type ((TYPE), \
5078 ((CONST_P) ? TYPE_QUAL_CONST : 0) \
5079 | ((VOLATILE_P) ? TYPE_QUAL_VOLATILE : 0))
5110#define sizetype sizetype_tab[(int) stk_sizetype]
5111#define bitsizetype sizetype_tab[(int) stk_bitsizetype]
5112#define ssizetype sizetype_tab[(int) stk_ssizetype]
5113#define sbitsizetype sizetype_tab[(int) stk_sbitsizetype]
5114#define size_int(L) size_int_kind (L, stk_sizetype)
5115#define ssize_int(L) size_int_kind (L, stk_ssizetype)
5116#define bitsize_int(L) size_int_kind (L, stk_bitsizetype)
5117#define sbitsize_int(L) size_int_kind (L, stk_sbitsizetype)
5121#if BITS_PER_UNIT == 8
5122#define LOG2_BITS_PER_UNIT 3
5123#elif BITS_PER_UNIT == 16
5124#define LOG2_BITS_PER_UNIT 4
5126#error Unknown BITS_PER_UNIT
5278#define CONTAINS_PLACEHOLDER_P(EXP) \
5279 ((EXP) != 0 && ! TREE_CONSTANT (EXP) && contains_placeholder_p (EXP))
5299#define FIND_PLACEHOLDER_IN_EXPR(EXP, V) \
5301 if((EXP) && !TREE_CONSTANT (EXP)) \
5302 find_placeholder_in_expr (EXP, V); \
5317#define SUBSTITUTE_IN_EXPR(EXP, F, R) \
5318 ((EXP) == 0 || TREE_CONSTANT (EXP) ? (EXP) : substitute_in_expr (EXP, F, R))
5328#define SUBSTITUTE_PLACEHOLDER_IN_EXPR(EXP, OBJ) \
5329 ((EXP) == 0 || TREE_CONSTANT (EXP) ? (EXP) \
5330 : substitute_placeholder_in_expr (EXP, OBJ))
5363 case ARRAY_RANGE_REF:
5366 case VIEW_CONVERT_EXPR:
5401 case ARRAY_RANGE_REF:
5402 case VIEW_CONVERT_EXPR:
5501#define FOREACH_FUNCTION_ARGS_PTR(FNTYPE, PTR, ITER) \
5502 for (function_args_iter_init (&(ITER), (FNTYPE)); \
5503 (PTR = function_args_iter_cond_ptr (&(ITER))) != NULL; \
5504 function_args_iter_next (&(ITER)))
5509#define FOREACH_FUNCTION_ARGS(FNTYPE, TREE, ITER) \
5510 for (function_args_iter_init (&(ITER), (FNTYPE)); \
5511 (TREE = function_args_iter_cond (&(ITER))) != NULL_TREE; \
5512 function_args_iter_next (&(ITER)))
5584 const void *
const * x = (
const void *
const *)
a;
5585 const void *
const *
y = (
const void *
const *)
b;
5592 const void *
const * x = (
const void *
const *)
a;
5593 return (intptr_t)*x >> 4;
5601 || code == TRUTH_AND_EXPR || code == TRUTH_ANDIF_EXPR
5602 || code == TRUTH_OR_EXPR || code == TRUTH_ORIF_EXPR
5603 || code == TRUTH_XOR_EXPR || code == TRUTH_NOT_EXPR);
5659 ATTRIBUTE_NONNULL (1) ATTRIBUTE_NONNULL (2) ATTRIBUTE_PURE;
5660#ifndef GENERATOR_FILE
5682 return hstate.
end ();
5726#define walk_tree(a,b,c,d) \
5727 walk_tree_1 (a, b, c, d, NULL)
5728#define walk_tree_without_duplicates(a,b,c) \
5729 walk_tree_without_duplicates_1 (a, b, c, NULL)
5796 bool trust_type_canonical =
true);
5815 if (code == ENUMERAL_TYPE)
5816 return INTEGER_TYPE;
5822 if (code == REFERENCE_TYPE)
5823 return POINTER_TYPE;
5854#define tree_map_eq tree_map_base_eq
5856#define tree_map_marked_p tree_map_base_marked_p
5858#define tree_decl_map_eq tree_map_base_eq
5860#define tree_decl_map_marked_p tree_map_base_marked_p
5878#define tree_int_map_eq tree_map_base_eq
5879#define tree_int_map_hash tree_map_base_hash
5880#define tree_int_map_marked_p tree_map_base_marked_p
5882#define tree_vec_map_eq tree_map_base_eq
5883#define tree_vec_map_hash tree_decl_map_hash
5884#define tree_vec_map_marked_p tree_map_base_marked_p
5888 static hashval_t
hash (tree_vec_map *m) {
return DECL_UID (m->base.from); }
5893 return a->base.from ==
b->base.from;
5908 static inline hashval_t
hash (
tree);
5920 static inline hashval_t
hash (
tree);
5934 static inline hashval_t
hash (
tree);
5958struct tree_cache_traits
5964struct decl_tree_cache_traits
5970struct type_tree_cache_traits
5975struct decl_tree_traits
5982init_call_expr_arg_iterator (
tree exp, call_expr_arg_iterator *iter)
5990init_const_call_expr_arg_iterator (
const_tree exp, const_call_expr_arg_iterator *iter)
6000next_call_expr_arg (call_expr_arg_iterator *iter)
6003 if (iter->i >= iter->n)
6011next_const_call_expr_arg (const_call_expr_arg_iterator *iter)
6014 if (iter->i >= iter->n)
6028 init_call_expr_arg_iterator (
exp, iter);
6029 return next_call_expr_arg (iter);
6035 init_const_call_expr_arg_iterator (
exp, iter);
6036 return next_const_call_expr_arg (iter);
6044 return (iter->i < iter->n);
6049#define FOR_EACH_CALL_EXPR_ARG(arg, iter, call) \
6050 for ((arg) = first_call_expr_arg ((call), &(iter)); (arg); \
6051 (arg) = next_call_expr_arg (&(iter)))
6053#define FOR_EACH_CONST_CALL_EXPR_ARG(arg, iter, call) \
6054 for ((arg) = first_const_call_expr_arg ((call), &(iter)); (arg); \
6055 (arg) = next_const_call_expr_arg (&(iter)))
6065#define BUILTIN_VALID_P(FNCODE) \
6066 (IN_RANGE ((int)FNCODE, ((int)BUILT_IN_NONE) + 1, ((int) END_BUILTINS) - 1))
6072#define BUILTIN_ASM_NAME_PTR(BUILTIN) \
6073 (IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (builtin_decl_explicit (BUILTIN))))
6088 size_t uns_fncode = (size_t)fncode;
6108 size_t ufncode = (size_t)fncode;
6123 size_t uns_fncode = (size_t)fncode;
6136 size_t uns_fncode = (size_t)fncode;
6159 size_t uns_fncode = (size_t)fncode;
6171 size_t uns_fncode = (size_t)fncode;
6230inline struct cl_optimization *
6240inline cl_target_option *
6251#define opt_for_fn(fndecl, opt) (opts_for_fn (fndecl)->x_##opt)
6273 unsigned int get_len ()
const;
6281 static const bool host_dependent_precision =
false;
6282 static const bool is_sign_extended =
false;
6283 static const bool needs_write_val_arg =
false;
6297 const HOST_WIDE_INT *
get_val ()
const;
6298 unsigned int get_len ()
const;
6303 struct int_traits <extended_tree <
N> >
6307 static const bool host_dependent_precision =
false;
6308 static const bool is_sign_extended =
true;
6309 static const bool needs_write_val_arg =
false;
6327 generic_wide_int <widest_extended_tree> >
6330 generic_wide_int <offset_extended_tree> >
6333 generic_wide_int <unextended_tree> >
6343 typedef generic_wide_int <extended_tree <N> > extended;
6344 static extended
zero (
const extended &);
6350 typedef generic_wide_int <extended_tree <N> > extended;
6351 static extended
zero (
const extended &);
6357 typedef generic_wide_int <unextended_tree> unextended;
6358 static unextended
zero (
const unextended &);
6364typedef generic_wide_int <wi::extended_tree <WIDEST_INT_MAX_PRECISION * 2> >
6488inline const HOST_WIDE_INT *
6523inline const HOST_WIDE_INT *
6540 poly_int <NUM_POLY_INT_COEFFS, generic_wide_int <wi::unextended_tree> > res;
6555 generic_wide_int <widest_extended_tree> > res;
6572 generic_wide_int <offset_extended_tree> > res;
6592inline generic_wide_int <wi::extended_tree <N> >
6593wi::ints_for <generic_wide_int <wi::extended_tree <N> >,
6600inline generic_wide_int <wi::extended_tree <N> >
6601wi::ints_for <generic_wide_int <wi::extended_tree <N> >,
6607inline generic_wide_int <wi::unextended_tree>
6608wi::ints_for <generic_wide_int <wi::unextended_tree>,
6616 template <
typename T>
6619 template <
typename T>
6624#ifndef GENERATOR_FILE
6629template <
typename T>
6638template <
typename T>
6710 tree *, machine_mode *,
int *,
int *,
int *);
6813 return name0 == name1;
6818template <
typename... F>
6860template <
typename... F>
6901 location_t m_operator_loc;
6902 location_t m_combined_loc;
6911 op_location_t (location_t operator_loc, location_t combined_loc)
6912 : m_operator_loc (operator_loc), m_combined_loc (combined_loc)
6916 operator location_t ()
const {
return m_combined_loc; }
6941 ATTRIBUTE_NONNULL (1);
auto_suppress_location_wrappers()
Definition tree.h:1357
~auto_suppress_location_wrappers()
Definition tree.h:1358
tree & base
Definition tree.h:6726
const char * str
Definition tree.h:6727
tree & node
Definition tree.h:6725
code_helper(tree_code code)
Definition tree.h:84
tree_code safe_as_tree_code() const
Definition tree.h:112
bool is_internal_fn() const
Definition tree.h:137
code_helper()
Definition tree.h:83
bool operator!=(const code_helper &other)
Definition tree.h:99
code_helper(internal_fn fn)
Definition tree.h:86
bool is_fn_code() const
Definition tree.h:92
bool operator==(const code_helper &other)
Definition tree.h:98
int rep
Definition tree.h:104
code_helper(combined_fn fn)
Definition tree.h:85
int get_rep() const
Definition tree.h:95
bool is_tree_code() const
Definition tree.h:91
bool is_builtin_fn() const
Definition tree.h:143
combined_fn safe_as_fn_code() const
Definition tree.h:122
Definition genmatch.cc:845
Definition wide-int.h:776
hashval_t end()
Definition inchash.h:49
op_location_t(location_t operator_loc, location_t combined_loc)
Definition tree.h:6842
op_location_t(location_t combined_loc)
Definition tree.h:6836
location_t m_operator_loc
Definition tree.h:6832
location_t m_combined_loc
Definition tree.h:6833
C coeffs[N]
Definition poly-int.h:429
tree * end()
Definition tree.h:4737
tree v
Definition tree.h:4733
tree_vec_range(tree v)
Definition tree.h:4735
tree * begin()
Definition tree.h:4736
unsigned int get_precision() const
Definition tree.h:6413
const_tree m_t
Definition tree.h:6221
const HOST_WIDE_INT * get_val() const
Definition tree.h:6420
const_tree get_tree() const
Definition tree.h:6230
extended_tree()
Definition tree.h:6224
unsigned int get_len() const
Definition tree.h:6427
Definition wide-int.h:707
const_tree get_tree() const
Definition tree.h:6205
unsigned int get_precision() const
Definition tree.h:6449
unextended_tree()
Definition tree.h:6199
unextended_tree(const_tree t)
Definition tree.h:6200
unsigned int get_len() const
Definition tree.h:6461
const HOST_WIDE_INT * get_val() const
Definition tree.h:6455
const_tree m_t
Definition tree.h:6196
static wide_int from(const wide_int_ref &, unsigned int, signop)
Definition wide-int.h:1289
tls_model
Definition coretypes.h:201
excess_precision_type
Definition coretypes.h:442
const union tree_node * const_tree
Definition coretypes.h:98
#define GTY(x)
Definition coretypes.h:41
void(* gt_pointer_operator)(void *, void *, void *)
Definition coretypes.h:465
class bitmap_head * bitmap
Definition coretypes.h:51
union tree_node * tree
Definition coretypes.h:97
void ATTRIBUTE_NORETURN
Definition diagnostic-core.h:72
void copy_warning(location_t to, location_t from)
Definition diagnostic-spec.cc:185
bool warning_suppressed_at(location_t loc, opt_code opt)
Definition diagnostic-spec.cc:126
bool suppress_warning_at(location_t loc, opt_code opt, bool supp)
Definition diagnostic-spec.cc:149
scalar_int_mode word_mode
Definition emit-rtl.cc:78
void set_decl_rtl(tree t, rtx x)
Definition emit-rtl.cc:1447
tree get_inner_reference(tree exp, poly_int64 *pbitsize, poly_int64 *pbitpos, tree *poffset, machine_mode *pmode, int *punsignedp, int *preversep, int *pvolatilep)
Definition expr.cc:8343
bool complete_ctor_at_level_p(const_tree type, HOST_WIDE_INT num_elts, const_tree last_type)
Definition expr.cc:7287
tree build_personality_function(const char *lang)
Definition expr.cc:13995
static vector< name_map > names
Definition gcov.cc:547
static type_p type(options_p *optsp, bool nested)
Definition gengtype-parse.cc:883
static class line_maps * line_table
Definition genmatch.cc:55
built_in_function
Definition genmatch.cc:354
@ END_BUILTINS
Definition genmatch.cc:356
combined_fn
Definition genmatch.cc:365
@ CFN_LAST
Definition genmatch.cc:374
internal_fn
Definition genmatch.cc:360
tree_code
Definition genmatch.cc:347
@ MAX_TREE_CODES
Definition genmatch.cc:349
#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:1581
void gt_ggc_mx(const char *&x)
Definition ggc-page.cc:1518
void gt_pch_nx(const char *)
Definition ggc.h:341
void suppress_warning(gimple *, opt_code=all_warnings, bool=true) ATTRIBUTE_NONNULL(1)
Definition warning-control.cc:173
bool warning_suppressed_p(const gimple *, opt_code=all_warnings) ATTRIBUTE_NONNULL(1)
Definition warning-control.cc:138
int exact_log2(unsigned HOST_WIDE_INT x)
Definition hwint.cc:75
bool pow2p_hwi(unsigned HOST_WIDE_INT x)
Definition hwint.h:179
#define HOST_WIDE_INT_M1U
Definition hwint.h:72
#define HOST_WIDE_INT_1U
Definition hwint.h:70
bool int_n_enabled_p[NUM_INT_N_ENTS]
Definition tree.cc:231
ALWAYS_INLINE poly_uint16 GET_MODE_PRECISION(machine_mode mode)
Definition machmode.h:700
Definition fold-const.cc:4240
void add_expr(const_tree t, inchash::hash &hstate, unsigned int flags)
Definition fold-const.cc:4248
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:2332
const poly_int< NUM_POLY_INT_COEFFS, generic_wide_int< unextended_tree > > tree_to_poly_wide_ref
Definition tree.h:6265
tree_to_offset_ref to_offset(const_tree)
Definition tree.h:6358
tree_to_poly_offset_ref to_poly_offset(const_tree)
Definition tree.h:6498
int cmps(const T1 &, const T2 &)
Definition wide-int.h:2444
const generic_wide_int< widest_extended_tree > tree_to_widest_ref
Definition tree.h:6247
UNARY_FUNCTION zext(const T &, unsigned int)
extended_tree< ADDR_MAX_PRECISION > offset_extended_tree
Definition tree.h:6245
tree_to_poly_widest_ref to_poly_widest(const_tree)
Definition tree.h:6481
bool fits_to_tree_p(const T &x, const_tree)
Definition tree.h:6571
const generic_wide_int< wide_int_ref_storage< false, false > > tree_to_wide_ref
Definition tree.h:6250
const generic_wide_int< offset_extended_tree > tree_to_offset_ref
Definition tree.h:6248
hwi_with_prec zero(unsigned int)
Definition wide-int.h:2018
const poly_int< NUM_POLY_INT_COEFFS, generic_wide_int< offset_extended_tree > > tree_to_poly_offset_ref
Definition tree.h:6262
tree_to_widest_ref to_widest(const_tree)
Definition tree.h:6333
rtx_to_poly_wide_ref to_poly_wide(const_rtx, machine_mode)
Definition rtl.h:2377
Ca unsigned int precision
Definition poly-int.h:742
wide_int from_mpz(const_tree, mpz_t, bool)
Definition wide-int.cc:253
bool fits_to_boolean_p(const T &x, const_tree)
Definition tree.h:6562
wide_int max_value(machine_mode, signop)
Definition rtl.h:2340
extended_tree< WIDEST_INT_MAX_PRECISION > widest_extended_tree
Definition tree.h:6244
tree_to_wide_ref to_wide(const_tree)
Definition tree.h:6388
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:6259
i
Definition poly-int.h:746
i
Definition poly-int.h:772
Ca const poly_int< N, Cb > & b
Definition poly-int.h:767
Ca & a
Definition poly-int.h:766
signop
Definition signop.h:28
#define PASS_MEM_STAT
Definition statistics.h:54
#define CXX_MEM_STAT_INFO
Definition statistics.h:58
Definition tree-loop-distribution.cc:240
Definition lra-remat.cc:89
Definition genautomata.cc:499
Definition double-int.h:50
Definition hash-traits.h:328
Definition hash-traits.h:321
tree signed_type
Definition tree.h:6647
tree unsigned_type
Definition tree.h:6648
poly_coeff_traits< T >::int_type int_type
Definition poly-int.h:198
Definition hash-map-traits.h:104
Definition hash-map-traits.h:33
static hashval_t hash(tree)
Definition tree.h:5912
static bool equal(tree_decl_map *a, tree_decl_map *b)
Definition tree.h:5866
static hashval_t hash(tree_decl_map *m)
Definition tree.h:5864
static int keep_cache_entry(tree_decl_map *&m)
Definition tree.h:5872
static hashval_t hash(tree)
Definition tree.h:5950
static hashval_t hash(tree)
Definition tree.h:5938
static hashval_t hash(tree)
Definition tree.h:5924
static hashval_t hash(tree_vec_map *m)
Definition tree.h:5888
static bool equal(tree_vec_map *a, tree_vec_map *b)
Definition tree.h:5891
static int keep_cache_entry(tree_vec_map *&m)
Definition tree.h:5897
Definition gengtype.h:252
Definition wide-int.h:427
generic_wide_int< extended_tree< N > > extended
Definition tree.h:6281
static extended zero(const extended &)
static extended zero(const extended &)
generic_wide_int< extended_tree< N > > extended
Definition tree.h:6274
generic_wide_int< unextended_tree > unextended
Definition tree.h:6288
static unextended zero(const unextended &)
Definition wide-int.h:2043
static int zero(const T &)
Definition wide-int.h:2044
#define NULL
Definition system.h:50
#define gcc_assert(EXPR)
Definition system.h:821
#define gcc_unreachable()
Definition system.h:848
#define WARN_UNUSED_RESULT
Definition system.h:840
#define CONST_CAST_TREE(X)
Definition system.h:1201
#define CONST_CAST(TYPE, X)
Definition system.h:1200
#define STATIC_ASSERT(X)
Definition system.h:871
#define DEBUG_FUNCTION
Definition system.h:1243
#define gcc_checking_assert(EXPR)
Definition system.h:828
tree(* walk_tree_fn)(tree *, int *, void *)
Definition tree-core.h:1033
omp_clause_code
Definition tree-core.h:245
built_in_class
Definition tree-core.h:165
@ NOT_BUILT_IN
Definition tree-core.h:166
@ BUILT_IN_FRONTEND
Definition tree-core.h:167
@ BUILT_IN_NORMAL
Definition tree-core.h:169
@ BUILT_IN_MD
Definition tree-core.h:168
tree_code_class
Definition tree-core.h:226
@ tcc_comparison
Definition tree-core.h:233
@ tcc_expression
Definition tree-core.h:240
@ tcc_type
Definition tree-core.h:230
tree_node_structure_enum
Definition tree-core.h:549
unsigned short priority_type
Definition tree-core.h:1030
clobber_kind
Definition tree-core.h:1002
@ CLOBBER_UNDEF
Definition tree-core.h:1004
#define NUM_TREE_CODES
Definition tree-core.h:156
tree(* walk_tree_lh)(tree *, int *, tree(*)(tree *, int *, void *), void *, hash_set< tree > *)
Definition tree-core.h:1036
tree arg_size_in_bytes(const_tree type)
Definition tree.cc:14858
bool flexible_array_type_p(const_tree type)
Definition tree.cc:14816
tree get_attr_nonstring_decl(tree expr, tree *ref)
Definition tree.cc:15140
unsigned const char omp_clause_num_ops[]
Definition tree.cc:237
tree build_zero_cst(tree type)
Definition tree.cc:2643
bool default_is_empty_record(const_tree type)
Definition tree.cc:14798
bool nonnull_arg_p(const_tree arg)
Definition tree.cc:14554
location_t set_block(location_t loc, tree block)
Definition tree.cc:14617
bool expr_type_first_operand_type_p(tree_code code)
Definition tree.cc:14867
const builtin_structptr_type builtin_structptr_types[6]
Definition tree.cc:14948
HOST_WIDE_INT arg_int_size_in_bytes(const_tree type)
Definition tree.cc:14850
int get_target_clone_attr_len(tree arglist)
Definition tree.cc:15192
bool is_empty_type(const_tree type)
Definition tree.cc:14776
location_t set_source_range(tree expr, location_t start, location_t finish)
Definition tree.cc:14627
struct int_n_trees_t int_n_trees[NUM_INT_N_ENTS]
Definition tree.cc:232
bool tree_contains_struct[MAX_TREE_CODES][64]
Definition tree.cc:234
unsigned fndecl_dealloc_argno(tree fndecl)
Definition tree.cc:15078
HOST_WIDE_INT int_size_in_bytes(const_tree)
Definition tree.cc:3615
void decl_value_expr_insert(tree, tree)
Definition tree.cc:5952
int suppress_location_wrappers
Definition tree.cc:14699
void overwrite_decl_assembler_name(tree decl, tree name)
Definition tree.cc:731
void get_type_static_bounds(const_tree, mpz_t, mpz_t)
Definition tree.cc:8287
bool check_lang_type(const_tree cand, const_tree base)
Definition tree.cc:5505
special_array_member component_ref_sam_type(tree)
Definition tree.cc:13173
bool type_list_equal(const_tree, const_tree)
Definition tree.cc:6315
void build_common_tree_nodes(bool)
Definition tree.cc:9418
#define TYPE_NAME(NODE)
Definition tree.h:2256
bool is_lang_specific(const_tree t)
Definition tree.h:5990
tree strip_array_types(tree type)
Definition tree.h:4987
tree build_pointer_type(tree)
Definition tree.cc:7029
tree function_args_iter_cond(function_args_iterator *i)
Definition tree.h:5474
tree wide_int_to_tree(tree type, const poly_wide_int_ref &cst)
Definition tree.cc:1872
#define TREE_VALUE(NODE)
Definition tree.h:1210
poly_uint64 bit_field_offset(const_tree t)
Definition tree.h:5648
tree build4(enum tree_code, tree, tree, tree, tree, tree CXX_MEM_STAT_INFO)
tree build_vl_exp(enum tree_code, int CXX_MEM_STAT_INFO)
tree make_anon_name()
Definition tree.cc:8860
tree build3(enum tree_code, tree, tree, tree, tree CXX_MEM_STAT_INFO)
tree build_bitint_type(unsigned HOST_WIDE_INT, int)
Definition tree.cc:7187
tree build_constructor_from_vec(tree, const vec< tree, va_gc > *)
Definition tree.cc:2306
#define COMPLETE_TYPE_P(NODE)
Definition tree.h:708
unsigned int element_precision(const_tree)
Definition tree.cc:6797
const char * get_name(tree)
Definition tree.cc:11784
#define DECL_CONTEXT(NODE)
Definition tree.h:2741
bool operation_can_overflow(enum tree_code)
Definition tree.cc:6888
int allocate_decl_uid(void)
Definition tree.cc:1176
enum tree_code tree_code_for_canonical_type_merging(enum tree_code code)
Definition tree.h:5807
tree build_pointer_type_for_mode(tree, machine_mode, bool)
Definition tree.cc:6965
#define target_option_default_node
Definition tree.h:4626
tree unsigned_type_for(tree)
Definition tree.cc:11186
#define DECL_ORIGINAL_TYPE(NODE)
Definition tree.h:3569
tree num_ending_zeros(const_tree)
Definition tree.cc:11349
tree signed_type_for(tree)
Definition tree.cc:11197
int tree_floor_log2(const_tree)
Definition tree.cc:3037
tree build_int_cst_type(tree, poly_int64)
Definition tree.cc:1529
bool operation_no_trapping_overflow(tree, enum tree_code)
Definition tree.cc:6918
tree make_tree(tree, rtx)
Definition expmed.cc:5374
tree build_block(tree, tree, tree, tree)
Definition tree.cc:5448
unsigned int tree_decl_map_hash(const void *)
Definition tree.cc:5815
tree max_object_size()
Definition tree.cc:14961
poly_uint64 TYPE_VECTOR_SUBPARTS(const_tree node)
Definition tree.h:4251
tree build_vector_type(tree, poly_int64)
Definition tree.cc:10260
#define optimization_default_node
Definition tree.h:4622
#define TREE_READONLY(NODE)
Definition tree.h:934
tree build_function_type_list(tree,...)
Definition tree.cc:7597
tree build_omp_clause(location_t, enum omp_clause_code)
Definition tree.cc:10733
#define DECL_FUNCTION_SPECIFIC_TARGET(NODE)
Definition tree.h:3524
tree build_minus_one_cst(tree)
Definition tree.cc:2602
tree size_in_bytes_loc(location_t, const_tree)
Definition tree.cc:3592
cst_size_error
Definition tree.h:4997
@ cst_size_too_big
Definition tree.h:5001
@ cst_size_not_constant
Definition tree.h:4999
@ cst_size_ok
Definition tree.h:4998
@ cst_size_overflow
Definition tree.h:5002
@ cst_size_negative
Definition tree.h:5000
tree get_containing_scope(const_tree)
Definition tree.cc:8484
tree build_vec_series(tree, tree, tree)
Definition tree.cc:2145
#define call_expr_nargs(NODE)
Definition tree.h:1472
tree build_nonstandard_integer_type(unsigned HOST_WIDE_INT, int)
Definition tree.cc:7123
tree get_narrower(tree, int *)
Definition tree.cc:8077
#define DECL_FIELD_BIT_OFFSET(NODE)
Definition tree.h:3020
tree obj_type_ref_class(const_tree ref, bool=false)
Definition ipa-devirt.cc:1910
bool tree_int_cst_lt(const_tree t1, const_tree t2)
Definition tree.h:6604
tree build1(enum tree_code, tree, tree CXX_MEM_STAT_INFO)
bool real_zerop(const_tree)
Definition tree.cc:3161
built_in_function as_builtin_fn(combined_fn code)
Definition tree.h:54
bool really_constant_p(const_tree)
Definition tree.cc:3273
bool needs_to_live_in_memory(const_tree)
Definition tree.cc:11094
#define TYPE_PRECISION(NODE)
Definition tree.h:2253
tree build_method_type_directly(tree, tree, tree)
Definition tree.cc:7670
bool zerop(const_tree)
Definition tree.cc:2847
#define TREE_INT_CST_NUNITS(NODE)
Definition tree.h:1138
unsigned int vector_cst_encoded_nelts(const_tree t)
Definition tree.h:4663
built_in_function DECL_FUNCTION_CODE(const_tree decl)
Definition tree.h:4326
tree drop_tree_overflow(tree)
Definition tree.cc:12803
#define EXPR_CHECK(T)
Definition tree.h:500
tree build_offset_type(tree, tree)
Definition tree.cc:7746
tree build_alloca_call_expr(tree, unsigned int, HOST_WIDE_INT)
Definition tree.cc:11004
bool integer_all_onesp(const_tree)
Definition tree.cc:2923
#define TREE_OPERAND(NODE, I)
Definition tree.h:1285
tree maybe_build_call_expr_loc(location_t, combined_fn, tree, int,...)
Definition tree.cc:10965
unsigned crc32_unsigned_n(unsigned, unsigned, unsigned)
Definition tree.cc:8798
tree build_varargs_function_type_list(tree,...)
Definition tree.cc:7614
tree build_call_expr_loc_vec(location_t, tree, vec< tree, va_gc > *)
Definition tree.cc:10880
int tree_int_cst_sgn(const_tree)
Definition tree.cc:6504
poly_uint64 bit_field_size(const_tree t)
Definition tree.h:5639
bool poly_int_tree_p(const_tree t, poly_int64 *value)
Definition tree.h:5012
void free_node(tree)
Definition tree.cc:1300
#define DECL_NAME(NODE)
Definition tree.h:2689
bool canonical_type_used_p(const_tree t)
Definition tree.h:5837
tree build_optimization_node(struct gcc_options *opts, struct gcc_options *opts_set)
Definition tree.cc:11976
tree save_expr(tree)
Definition tree.cc:3954
tree build_constructor_from_list(tree, tree)
Definition tree.cc:2286
void protected_set_expr_location(tree, location_t)
Definition tree.cc:5465
const char * get_tree_code_name(enum tree_code)
Definition tree.cc:12784
tree decl_function_context(const_tree)
Definition tree.cc:8508
priority_type decl_init_priority_lookup(tree)
Definition tree.cc:5823
void decl_init_priority_insert(tree, priority_type)
Definition tree.cc:5849
#define IS_EXPR_CODE_CLASS(CLASS)
Definition tree.h:293
HOST_WIDE_INT max_int_size_in_bytes(const_tree)
Definition tree.cc:3635
tree build_reference_type(tree)
Definition tree.cc:7101
bool tree_invariant_p(tree)
Definition tree.cc:3925
tree tree_last(tree)
Definition tree.cc:3490
void recompute_constructor_flags(tree)
Definition tree.cc:2208
tree byte_position(const_tree)
Definition tree.cc:3678
tree build_vector_from_ctor(tree, const vec< constructor_elt, va_gc > *)
Definition tree.cc:2063
tree signed_or_unsigned_type_for(int, tree)
Definition tree.cc:11134
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:4787
void decl_fini_priority_insert(tree, priority_type)
Definition tree.cc:5869
bool type_with_interoperable_signedness(const_tree)
Definition tree.cc:13770
tree build_call_valist(tree, tree, int, va_list)
Definition tree.cc:10816
tree build_replicated_int_cst(tree, unsigned, HOST_WIDE_INT)
tree build_truth_vector_type_for_mode(poly_uint64, machine_mode)
Definition tree.cc:10268
void DEBUG_FUNCTION verify_type(const_tree t)
Definition tree.cc:14116
tree build_debug_expr_decl(tree type)
Definition tree.cc:5402
bool block_may_fallthru(const_tree)
Definition tree.cc:12691
int struct_ptr_eq(const void *a, const void *b)
Definition tree.h:5582
bool contains_placeholder_p(const_tree)
Definition tree.cc:4098
#define DECL_FUNCTION_SPECIFIC_OPTIMIZATION(NODE)
Definition tree.h:3529
#define AGGREGATE_TYPE_P(TYPE)
Definition tree.h:693
int tree_map_base_eq(const void *, const void *)
Definition tree.cc:5779
#define sizetype
Definition tree.h:5110
bool maybe_special_function_p(const_tree fndecl)
Definition tree.h:6120
tree * function_args_iter_cond_ptr(function_args_iterator *i)
Definition tree.h:5465
#define TREE_VEC_BEGIN(NODE)
Definition tree.h:1214
tree build_array_type_nelts(tree, poly_uint64)
Definition tree.cc:7417
bool ptrofftype_p(tree type)
Definition tree.h:5609
tree first_call_expr_arg(tree exp, call_expr_arg_iterator *iter)
Definition tree.h:5957
void tree_set_block(tree, tree)
Definition tree.cc:11751
combined_fn get_call_combined_fn(const_tree)
Definition tree.cc:8685
enum tree_node_structure_enum tree_node_structure(const_tree)
Definition tree.cc:4058
tree build_case_label(tree, tree, tree)
Definition tree.cc:2764
tree build2_loc(location_t loc, enum tree_code code, tree type, tree arg0, tree arg1 CXX_MEM_STAT_INFO)
Definition tree.h:4767
#define TREE_INT_CST_LOW(NODE)
Definition tree.h:1143
tree build_vector_type_for_mode(tree, machine_mode)
Definition tree.cc:10225
tree builtin_decl_unreachable()
Definition tree.cc:11032
int simple_cst_equal(const_tree, const_tree)
Definition tree.cc:6548
bitmap get_nonnull_args(const_tree)
Definition tree.cc:14721
enum tls_model decl_tls_model(const_tree)
Definition tree.cc:925
bool tree_map_base_marked_p(const void *)
Definition tree.cc:5799
bool tree_zero_one_valued_p(tree)
unsigned int tree_int_cst_min_precision(tree, signop)
Definition tree.cc:6520
tree block_ultimate_origin(const_tree)
Definition tree.cc:12044
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:4777
tree build_variant_type_copy(tree CXX_MEM_STAT_INFO)
#define TREE_OPTIMIZATION(NODE)
Definition tree.h:3599
tree build_nonshared_array_type(tree, tree)
Definition tree.cc:7408
bool warn_deprecated_use(tree, tree)
Definition tree.cc:12445
tree build_empty_stmt(location_t)
Definition tree.cc:10721
bool inlined_function_outer_scope_p(const_tree block)
Definition tree.h:5493
tree build_array_type_1(tree, tree, bool, bool, bool)
Definition tree.cc:7343
poly_int64 tree_to_poly_int64(const_tree) ATTRIBUTE_NONNULL(1) ATTRIBUTE_PURE
Definition tree.cc:3314
void function_args_iter_init(function_args_iterator *i, const_tree fntype)
Definition tree.h:5456
#define tree_decl_map_eq
Definition tree.h:5858
bool tree_fits_uhwi_p(const_tree) ATTRIBUTE_PURE
Definition tree.cc:6441
bool builtin_fn_p(combined_fn code)
Definition tree.h:45
bool commutative_ternary_tree_code(enum tree_code)
Definition genmatch.cc:419
tree build_function_type_array(tree, int, tree *)
Definition tree.cc:7649
location_t * block_nonartificial_location(tree)
Definition tree.cc:11853
bool type_has_mode_precision_p(const_tree t)
Definition tree.h:6734
bool typedef_variant_p(const_tree type)
Definition tree.h:5572
ATTRIBUTE_WARN_UNUSED_RESULT tree protected_set_expr_location_unshare(tree, location_t)
Definition fold-const.cc:239
bool commutative_tree_code(enum tree_code)
Definition genmatch.cc:382
bool integer_truep(const_tree)
Definition tree.cc:3000
tree create_artificial_label(location_t)
Definition tree.cc:11768
void assign_assembler_name_if_needed(tree)
Definition tree.cc:819
tree decl_value_expr_lookup(tree)
Definition tree.cc:5938
void function_args_iter_next(function_args_iterator *i)
Definition tree.h:5481
#define TREE_CODE_CLASS(CODE)
Definition tree.h:202
HOST_WIDE_INT int_bit_position(const_tree field)
Definition tree.h:6660
hashval_t struct_ptr_hash(const void *a)
Definition tree.h:5590
bool desired_pro_or_demotion_p(const_tree to_type, const_tree from_type)
Definition tree.h:6708
tree bit_position(const_tree)
Definition tree.cc:3668
bool decl_address_invariant_p(const_tree)
Definition tree.cc:3802
tree build_poly_int_cst(tree, const poly_wide_int_ref &)
Definition tree.cc:1846
unsigned crc32_string(unsigned, const char *)
Definition tree.cc:8828
tree build_tree_list(tree, tree CXX_MEM_STAT_INFO)
#define BLOCK_SOURCE_LOCATION(NODE)
Definition tree.h:2225
constexpr opt_code all_warnings
Definition tree.h:6854
bool real_minus_onep(const_tree)
Definition tree.cc:3220
unsigned HOST_WIDE_INT tree_to_uhwi(const_tree) ATTRIBUTE_NONNULL(1) ATTRIBUTE_PURE
Definition tree.cc:6483
vec< tree, va_gc > ** decl_debug_args_lookup(tree)
Definition tree.cc:5969
tree skip_simple_constant_arithmetic(tree)
Definition tree.cc:4030
void set_decl_tls_model(tree, enum tls_model)
Definition tree.cc:935
bool valid_constant_size_p(const_tree, cst_size_error *=NULL)
Definition tree.cc:6749
#define DECL_UNCHECKED_FUNCTION_CODE(NODE)
Definition tree.h:2833
tree first_field(const_tree) ATTRIBUTE_NONNULL(1)
Definition tree.cc:3431
bool tree_fits_shwi_p(const_tree) ATTRIBUTE_PURE
Definition tree.cc:6411
void clean_symbol_name(char *)
Definition tree.cc:8840
void SET_TYPE_VECTOR_SUBPARTS(tree node, poly_uint64 subparts)
Definition tree.h:4273
const_tree get_ultimate_context(const_tree)
Definition tree.cc:8492
bool auto_var_p(const_tree)
Definition tree.cc:8316
tree stabilize_reference(tree)
Definition tree.cc:4829
void using_eh_for_cleanups(void)
Definition tree.cc:12770
tree tree_strip_any_location_wrapper(tree exp)
Definition tree.h:4409
tree build_fn_decl(const char *, tree)
Definition tree.cc:5414
bool error_operand_p(const_tree t)
Definition tree.h:4654
tree sign_mask_for(tree)
Definition tree.cc:2714
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:4797
unsigned int tree_map_hash(const void *)
Definition tree.cc:5807
size_t tree_size(const_tree)
Definition tree.cc:1066
tree lhd_gcc_personality(void)
Definition tree.cc:12254
void set_decl_built_in_function(tree decl, built_in_class fclass, unsigned int fcode)
Definition tree.h:4358
tree vector_cst_elt(const_tree, unsigned int)
Definition tree.cc:10367
bool more_call_expr_args_p(const call_expr_arg_iterator *iter)
Definition tree.h:5973
bool integer_minus_onep(const_tree)
Definition tree.cc:2948
#define IDENTIFIER_LENGTH(NODE)
Definition tree.h:1194
bool built_in_function_equal_p(built_in_function name0, built_in_function name1)
Definition tree.h:6742
bool is_truth_type_for(tree, tree)
Definition tree.cc:11210
tree type_argument_type(const_tree, unsigned) ATTRIBUTE_NONNULL(1)
Definition tree.cc:6356
#define TYPE_UNSIGNED(NODE)
Definition tree.h:949
size_t tree_code_size(enum tree_code)
Definition tree.cc:954
tree build_complex_type(tree, bool named=false)
Definition tree.cc:7792
#define TREE_CODE(NODE)
Definition tree.h:324
tree build_aligned_type(tree, unsigned int)
Definition tree.cc:5699
bool integer_each_onep(const_tree)
Definition tree.cc:2907
tree build_vector_from_val(tree, tree)
Definition tree.cc:2094
bool handled_component_p(const_tree t)
Definition tree.h:5356
#define TYPE_MODE(NODE)
Definition tree.h:2262
tree cache_integer_cst(tree, bool might_duplicate=false)
Definition tree.cc:1887
tree build_function_type(tree, tree, bool=false)
Definition tree.cc:7504
tree build_real_from_int_cst(tree, const_tree)
Definition tree.cc:2441
tree skip_simple_arithmetic(tree)
Definition tree.cc:3995
tree build_each_one_cst(tree)
Definition tree.cc:2534
tree uniform_vector_p(const_tree)
Definition tree.cc:10562
tree array_ref_up_bound(tree)
Definition tree.cc:12926
unsigned crc32_byte(unsigned chksum, char byte)
Definition tree.h:5523
bool integer_zerop(const_tree)
Definition tree.cc:2858
tree build_complex_inf(tree, bool)
Definition tree.cc:2521
tree tree_strip_sign_nop_conversions(tree)
Definition tree.cc:12153
tree decl_comdat_group_id(const_tree)
Definition tree.cc:857
tree build_clobber(tree, enum clobber_kind=CLOBBER_UNDEF)
Definition tree.cc:2340
tree build_string(unsigned, const char *=NULL)
Definition tree.cc:2474
#define TYPE_SIGN(NODE)
Definition tree.h:952
tree build_call_nary(tree, tree, int,...)
Definition tree.cc:10801
bool builtin_decl_declared_p(enum built_in_function fncode)
Definition tree.h:6100
generic_wide_int< wi::extended_tree< WIDEST_INT_MAX_PRECISION *2 > > widest2_int_cst
Definition tree.h:6296
tree component_ref_size(tree, special_array_member *=NULL)
Definition tree.cc:13246
tree make_node(enum tree_code CXX_MEM_STAT_INFO)
void build_common_builtin_nodes(void)
Definition tree.cc:9837
tree build_builtin_unreachable(location_t)
Definition tree.cc:11050
tree array_type_nelts(const_tree)
Definition tree.cc:3698
bool array_ref_flexible_size_p(tree, bool *=NULL)
Definition tree.cc:12960
const char * combined_fn_name(combined_fn)
Definition tree.cc:14704
bool truth_value_p(enum tree_code code)
Definition tree.h:5598
int DECL_FE_FUNCTION_CODE(const_tree decl)
Definition tree.h:4348
#define FUNCTION_DECL_DECL_TYPE(NODE)
Definition tree.h:3362
unsigned int tree_ctz(const_tree)
Definition tree.cc:3049
#define EXPR_LOCATION(NODE)
Definition tree.h:1310
int tree_int_cst_sign_bit(const_tree)
Definition tree.cc:6492
source_range get_expr_source_range(tree expr)
Definition tree.h:1335
#define POINTER_TYPE_P(TYPE)
Definition tree.h:700
tree build_vector_a_then_b(tree, unsigned int, tree, tree)
Definition tree.cc:2191
unsigned int tree_map_base_hash(const void *)
Definition tree.cc:5789
bool decl_address_ip_invariant_p(const_tree)
Definition tree.cc:3839
tree get_typenode_from_name(const char *)
Definition tree.cc:14909
#define CAN_HAVE_LOCATION_P(NODE)
Definition tree.h:1332
#define TREE_TARGET_OPTION(NODE)
Definition tree.h:3613
void find_placeholder_in_expr(tree, vec< tree > *)
Definition tree.cc:4300
#define SSA_NAME_VERSION(NODE)
Definition tree.h:2109
tree decl_type_context(const_tree)
Definition tree.cc:8544
#define TYPE_P(NODE)
Definition tree.h:226
location_t tree_inlined_location(tree, bool=true)
Definition tree.cc:11902
bool operand_equal_for_phi_arg_p(const_tree, const_tree)
Definition tree.cc:11337
tree component_ref_field_offset(tree)
Definition tree.cc:13118
hashval_t iterative_hash_expr(const_tree tree, hashval_t seed)
Definition tree.h:5678
tree upper_bound_in_type(tree, tree)
Definition tree.cc:11251
tree uniform_integer_cst_p(tree)
Definition tree.cc:10614
void set_decl_section_name(tree, const char *)
Definition tree.cc:879
const_tree first_const_call_expr_arg(const_tree exp, const_call_expr_arg_iterator *iter)
Definition tree.h:5964
void set_builtin_decl_implicit_p(enum built_in_function fncode, bool implicit_p)
Definition tree.h:6052
tree decl_comdat_group(const_tree)
Definition tree.cc:847
void recompute_tree_invariant_for_addr_expr(tree)
Definition tree.cc:4910
tree strip_float_extensions(tree)
Definition tree.cc:12162
tree reconstruct_complex_type(tree, tree)
Definition tree.cc:10172
tree staticp(tree)
Definition tree.cc:3735
tree build_range_type(tree, tree, tree)
Definition tree.cc:7268
void tree_cc_finalize(void)
Definition tree.cc:15213
vec< tree, va_gc > ** decl_debug_args_insert(tree)
Definition tree.cc:5987
#define TREE_CHAIN(NODE)
Definition tree.h:511
bool variably_modified_type_p(tree, tree)
Definition tree.cc:8369
bool builtin_decl_implicit_p(enum built_in_function fncode)
Definition tree.h:6088
tree build_all_ones_cst(tree)
Definition tree.cc:2587
bool fndecl_built_in_p(const_tree node)
Definition tree.h:6763
tree build_call_expr_internal_loc_array(location_t, enum internal_fn, tree, int, const tree *)
bool initializer_zerop(const_tree, bool *=NULL)
Definition tree.cc:10398
tree builtin_decl_explicit(enum built_in_function fncode)
Definition tree.h:6008
bool vec_member(const_tree, vec< tree, va_gc > *)
Definition tree.cc:3364
tree strip_zero_offset_components(tree)
Definition tree.cc:12240
#define VL_EXP_CLASS_P(NODE)
Definition tree.h:277
bool stdarg_p(const_tree)
Definition tree.cc:11814
tree build_complex(tree, tree, tree)
Definition tree.cc:2502
location_t tree_nonartificial_location(tree)
Definition tree.cc:11886
tree build_constructor_va(tree, int,...)
Definition tree.cc:2320
bool tree_nop_conversion_p(const_tree, const_tree)
Definition tree.cc:12063
int get_range_pos_neg(tree)
Definition tree.cc:14472
#define IDENTIFIER_POINTER(NODE)
Definition tree.h:1196
tree walk_tree_without_duplicates_1(tree *, walk_tree_fn, void *, walk_tree_lh)
Definition tree.cc:11728
tree value_member(tree, tree)
Definition tree.cc:3335
#define BUILTIN_VALID_P(FNCODE)
Definition tree.h:5996
tree grow_tree_vec(tree v, int CXX_MEM_STAT_INFO)
int type_num_arguments(const_tree)
Definition tree.cc:6335
bool valid_new_delete_pair_p(tree, tree, bool *=NULL)
Definition tree.cc:14988
constexpr opt_code no_warning
Definition tree.h:6852
#define POLY_INT_CST_P(NODE)
Definition tree.h:1148
void dump_tree_statistics(void)
Definition tree.cc:8730
#define TYPE_REVERSE_STORAGE_ORDER(NODE)
Definition tree.h:1089
tree vector_element_bits_tree(const_tree)
Definition tree.cc:13505
tree build_reference_type_for_mode(tree, machine_mode, bool)
Definition tree.cc:7037
#define TREE_STATIC(NODE)
Definition tree.h:772
int tree_int_cst_compare(const_tree t1, const_tree t2)
Definition tree.h:6623
tree builtin_decl_implicit(enum built_in_function fncode)
Definition tree.h:6017
bool integer_nonzerop(const_tree)
Definition tree.cc:2983
void set_call_expr_flags(tree, int)
Definition tree.cc:9774
#define CALL_EXPR_ARG(NODE, I)
Definition tree.h:1471
int DECL_MD_FUNCTION_CODE(const_tree decl)
Definition tree.h:4337
#define ANY_INTEGRAL_TYPE_P(TYPE)
Definition tree.h:622
tree build_opaque_vector_type(tree, poly_int64)
Definition tree.cc:10312
void set_builtin_decl(enum built_in_function fncode, tree decl, bool implicit_p)
Definition tree.h:6037
tree get_binfo_at_offset(tree, poly_int64, tree)
Definition tree.cc:12310
bool ptrdiff_tree_p(const_tree, poly_int64 *)
Definition tree.cc:3290
tree decl_assembler_name(tree)
Definition tree.cc:719
tree build_constructor_single(tree, tree, tree)
Definition tree.cc:2271
tree force_fit_type(tree, const poly_wide_int_ref &, int, bool)
Definition tree.cc:1560
#define TREE_INT_CST_ELT(NODE, I)
Definition tree.h:1142
tree tree_cons(tree, tree, tree CXX_MEM_STAT_INFO)
bool real_onep(const_tree)
Definition tree.cc:3194
bool initializer_each_zero_or_onep(const_tree)
Definition tree.cc:10523
#define DECL_EXTERNAL(NODE)
Definition tree.h:2878
bool builtin_decl_explicit_p(enum built_in_function fncode)
Definition tree.h:6079
tree size_in_bytes(const_tree t)
Definition tree.h:5097
tree build_nonstandard_boolean_type(unsigned HOST_WIDE_INT)
Definition tree.cc:7162
cl_target_option * target_opts_for_fn(const_tree fndecl)
Definition tree.h:6172
bool location_wrapper_p(const_tree exp)
Definition tree.h:4389
machine_mode element_mode(const_tree)
Definition tree.cc:13441
bool real_maybe_zerop(const_tree)
Definition tree.cc:3244
tree last_field(const_tree) ATTRIBUTE_NONNULL(1)
Definition tree.cc:3443
#define TREE_TYPE(NODE)
Definition tree.h:512
tree bitmask_inv_cst_vector_p(tree)
Definition tree.cc:10635
#define VL_EXP_OPERAND_LENGTH(NODE)
Definition tree.h:1292
#define INTEGRAL_TYPE_P(TYPE)
Definition tree.h:613
machine_mode vector_type_mode(const_tree)
Definition tree.cc:13460
tree type_hash_canon(unsigned int, tree)
Definition tree.cc:6237
tree build0(enum tree_code, tree CXX_MEM_STAT_INFO)
void copy_decl_built_in_function(tree newdecl, const_tree olddecl)
Definition tree.h:4369
tree build_uniform_cst(tree, tree)
Definition tree.cc:2132
#define DECL_BUILT_IN_CLASS(NODE)
Definition tree.h:3515
tree nreverse(tree)
Definition tree.cc:3503
tree build_call_array_loc(location_t, tree, tree, int, const tree *)
Definition tree.cc:10833
bool reverse_storage_order_for_component_p(tree t)
Definition tree.h:5377
#define TREE_CODE_LENGTH(CODE)
Definition tree.h:301
tree build_zero_cst(tree)
Definition tree.cc:2643
tree purpose_member(const_tree, tree)
Definition tree.cc:3350
bool cst_and_fits_in_hwi(const_tree)
Definition tree.cc:2027
bool int_fits_type_p(const_tree, const_tree) ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_PURE
Definition tree.cc:8188
bool tree_fits_poly_uint64_p(const_tree) ATTRIBUTE_PURE
Definition tree.cc:6452
tree build_int_cst(tree, poly_int64)
Definition tree.cc:1509
unsigned int vector_element_bits(const_tree)
Definition tree.cc:13493
tree build_int_cstu(tree type, poly_uint64)
Definition tree.cc:1521
#define TREE_PUBLIC(NODE)
Definition tree.h:857
bool check_base_type(const_tree cand, const_tree base)
Definition tree.cc:5560
bool storage_order_barrier_p(const_tree t)
Definition tree.h:5415
tree chain_index(int, tree)
Definition tree.cc:3378
bool auto_var_in_fn_p(const_tree, const_tree)
Definition tree.cc:8327
tree build_index_type(tree)
Definition tree.cc:7291
bool associative_tree_code(enum tree_code)
Definition tree.cc:6811
tree build_call_expr_internal_loc(location_t, enum internal_fn, tree, int,...)
Definition tree.cc:10944
tree build_low_bits_mask(tree, unsigned)
Definition tree.cc:2015
tree build_call_expr_loc_array(location_t, tree, int, tree *)
Definition tree.cc:10867
#define TYPE_ARG_TYPES(NODE)
Definition tree.h:2535
bool integer_onep(const_tree)
Definition tree.cc:2882
HOST_WIDE_INT int_cst_value(const_tree)
Definition tree.cc:11106
bool complete_or_array_type_p(const_tree type)
Definition tree.h:5620
tree build_string_literal(unsigned, const char *=NULL, tree=char_type_node, unsigned HOST_WIDE_INT=HOST_WIDE_INT_M1U)
Definition tree.cc:11064
access_mode
Definition tree.h:5846
@ access_deferred
Definition tree.h:5851
@ access_none
Definition tree.h:5847
@ access_read_write
Definition tree.h:5850
@ access_write_only
Definition tree.h:5849
@ access_read_only
Definition tree.h:5848
tree get_qualified_type(tree, int)
Definition tree.cc:5618
wi::tree_to_poly_wide_ref poly_int_cst_value(const_tree x)
Definition tree.h:6469
bool is_access_with_size_p(const_tree)
Definition tree.cc:13417
#define EXPR_LOCATION_WRAPPER_P(NODE)
Definition tree.h:4382
bool internal_fn_p(combined_fn code)
Definition tree.h:63
#define DECL_UID(NODE)
Definition tree.h:2697
HOST_WIDE_INT tree_to_shwi(const_tree) ATTRIBUTE_NONNULL(1) ATTRIBUTE_PURE
Definition tree.cc:6472
unsigned crc32_unsigned(unsigned chksum, unsigned value)
Definition tree.h:5518
tree build_call_vec(tree, tree, const vec< tree, va_gc > *)
Definition tree.cc:10850
void init_ttree(void)
Definition tree.cc:686
tree tree_block(tree)
Definition tree.cc:11740
tree array_ref_low_bound(tree)
Definition tree.cc:12903
void decl_debug_expr_insert(tree, tree)
Definition tree.cc:5925
bool valid_vector_subparts_p(poly_uint64 subparts)
Definition tree.h:4309
tree tree_strip_nop_conversions(tree)
Definition tree.cc:12142
tree build1_loc(location_t loc, enum tree_code code, tree type, tree arg1 CXX_MEM_STAT_INFO)
Definition tree.h:4757
int tree_operand_length(const_tree node)
Definition tree.h:4179
hashval_t type_hash_canon_hash(tree)
Definition tree.cc:6012
bool type_with_alias_set_p(const_tree t)
Definition tree.h:6669
bool check_qualified_type(const_tree, const_tree, int)
Definition tree.cc:5587
tree make_int_cst(int, int CXX_MEM_STAT_INFO)
tree build_call_expr(tree, int,...)
Definition tree.cc:10909
#define REF_REVERSE_STORAGE_ORDER(NODE)
Definition tree.h:1107
bool tree_int_cst_le(const_tree t1, const_tree t2)
Definition tree.h:6613
tree build_distinct_type_copy(tree CXX_MEM_STAT_INFO)
bool types_same_for_odr(const_tree type1, const_tree type2)
Definition ipa-devirt.cc:361
tree build_varargs_function_type_array(tree, int, tree *)
Definition tree.cc:7659
tree build2(enum tree_code, tree, tree, tree CXX_MEM_STAT_INFO)
poly_uint64 tree_to_poly_uint64(const_tree) ATTRIBUTE_NONNULL(1) ATTRIBUTE_PURE
Definition tree.cc:3323
bool prototype_p(const_tree)
Definition tree.cc:11836
#define TREE_HASH(NODE)
Definition tree.h:550
tree copy_list(tree)
Definition tree.cc:1421
tree substitute_placeholder_in_expr(tree, tree)
Definition tree.cc:4566
tree build_call_expr_loc(location_t, tree, int,...)
Definition tree.cc:10892
#define DECL_NONALIASED(NODE)
Definition tree.h:3319
tree build5(enum tree_code, tree, tree, tree, tree, tree, tree CXX_MEM_STAT_INFO)
void prepare_target_option_nodes_for_pch(void)
Definition tree.cc:12033
struct cl_optimization * opts_for_fn(const_tree fndecl)
Definition tree.h:6162
bool type_contains_placeholder_p(tree)
Definition tree.cc:4254
#define VECTOR_CST_NPATTERNS(NODE)
Definition tree.h:1178
bool id_equal(const_tree id, const char *str)
Definition tree.h:4237
special_array_member
Definition tree.h:5764
#define error_mark_node
Definition tree.h:4417
tree build_nt_call_vec(tree, vec< tree, va_gc > *)
Definition tree.cc:5354
bool fixed_zerop(const_tree)
Definition tree.cc:3013
tree decl_debug_expr_lookup(tree)
Definition tree.cc:5911
tree build_array_type(tree, tree, bool=false)
Definition tree.cc:7399
#define TREE_VEC_END(NODE)
Definition tree.h:1215
void protected_set_expr_location_if_unset(tree, location_t)
Definition tree.cc:5481
tree build_real_from_wide(tree, const wide_int_ref &, signop)
Definition tree.cc:2456
tree build_decl(location_t, enum tree_code, tree, tree CXX_MEM_STAT_INFO)
tree truth_type_for(tree)
Definition tree.cc:11235
tree substitute_in_expr(tree, tree, tree)
Definition tree.cc:4374
tree get_unwidened(tree, tree)
Definition tree.cc:7993
bool tree_fits_poly_int64_p(const_tree) ATTRIBUTE_PURE
Definition tree.cc:6422
tree build_nt(enum tree_code,...)
Definition tree.cc:5329
tree make_tree_vec(int CXX_MEM_STAT_INFO)
#define TREE_ADDRESSABLE(NODE)
Definition tree.h:744
bool is_typedef_decl(const_tree x)
Definition tree.h:5563
bool subrange_type_for_debug_p(const_tree, tree *, tree *)
Definition tree.cc:7302
#define SET_EXPR_LOCATION(NODE, LOCUS)
Definition tree.h:1312
tree build_method_type(tree, tree)
Definition tree.cc:7732
tree make_vector(unsigned, unsigned CXX_MEM_STAT_INFO)
internal_fn as_internal_fn(combined_fn code)
Definition tree.h:72
WARN_UNUSED_RESULT tree maybe_wrap_with_location(tree, location_t)
Definition tree.cc:14661
int single_nonzero_element(const_tree)
Definition tree.cc:10690
HOST_WIDE_INT int_byte_position(const_tree)
Definition tree.cc:3689
void verify_constructor_flags(tree)
Definition tree.cc:2236
tree copy_node(tree CXX_MEM_STAT_INFO)
void error_unavailable_use(tree, tree)
Definition tree.cc:12532
bool chain_member(const_tree, const_tree)
Definition tree.cc:3388
bool using_eh_for_cleanups_p(void)
Definition tree.cc:12777
#define DECL_FIELD_OFFSET(NODE)
Definition tree.h:3014
#define VECTOR_CST_NELTS_PER_PATTERN(NODE)
Definition tree.h:1180
bool integer_pow2p(const_tree)
Definition tree.cc:2963
combined_fn as_combined_fn(built_in_function fn)
Definition tree.h:29
void set_function_decl_type(tree decl, function_decl_type t, bool set)
Definition tree.h:3369
vec< tree, va_gc > * ctor_to_vec(tree)
Definition tree.cc:3572
#define NULL_TREE
Definition tree.h:317
bool gimple_canonical_types_compatible_p(const_tree, const_tree, bool trust_type_canonical=true)
Definition tree.cc:13791
tree make_tree_binfo(unsigned CXX_MEM_STAT_INFO)
tree lower_bound_in_type(tree, tree)
Definition tree.cc:11304
tree get_base_address(tree t)
Definition tree.cc:12856
tree get_file_function_name(const char *)
Definition tree.cc:8895
priority_type decl_fini_priority_lookup(tree)
Definition tree.cc:5836
tree get_callee_fndecl(const_tree)
Definition tree.cc:8581
const_tree strip_invariant_refs(const_tree)
Definition tree.cc:12210
int list_length(const_tree)
Definition tree.cc:3405
tree build_translation_unit_decl(tree)
Definition tree.cc:5433
tree build_nonshared_range_type(tree, tree, tree)
Definition tree.cc:7276
tree double_int_to_tree(tree, double_int)
Definition tree.cc:1539
tree build_tree_list_vec(const vec< tree, va_gc > *CXX_MEM_STAT_INFO)
#define POLY_INT_CST_COEFF(NODE, I)
Definition tree.h:1152
#define VECTOR_TYPE_P(TYPE)
Definition tree.h:601
int tree_log2(const_tree)
Definition tree.cc:3025
int compare_tree_int(const_tree, unsigned HOST_WIDE_INT)
Definition tree.cc:6728
tree build_index_vector(tree, poly_uint64, poly_uint64)
Definition tree.cc:2169
tree get_ref_from_access_with_size(tree)
Definition tree.cc:13429
void set_builtin_decl_declared_p(enum built_in_function fncode, bool declared_p)
Definition tree.h:6065
tree build_target_option_node(struct gcc_options *opts, struct gcc_options *opts_set)
Definition tree.cc:12004
tree build_qualified_type(tree, int CXX_MEM_STAT_INFO)
bool is_global_var(const_tree t)
Definition tree.h:6138
#define TREE_INT_CST_EXT_NUNITS(NODE)
Definition tree.h:1140
tree build_constructor(tree, vec< constructor_elt, va_gc > *CXX_MEM_STAT_INFO)
tree array_ref_element_size(tree)
Definition tree.cc:12875
#define TYPE_UID(NODE)
Definition tree.h:2243
#define char_type_node
Definition tree.h:4639
#define TREE_OPERAND_LENGTH(NODE)
Definition tree.h:1284
tree chainon(tree, tree)
Definition tree.cc:3463
const char * decl_section_name(const_tree)
Definition tree.cc:868
tree build_one_cst(tree)
Definition tree.cc:2549
tree walk_tree_1(tree *, walk_tree_fn, void *, hash_set< tree > *, walk_tree_lh)
Definition tree.cc:11451
bool virtual_method_call_p(const_tree, bool=false)
Definition tree.cc:12270
bool tree_int_cst_equal(const_tree, const_tree)
Definition tree.cc:6388
bool contains_bitfld_component_ref_p(const_tree)
Definition tree.cc:12606
bool may_be_aliased(const_tree var)
Definition tree.h:6148
#define WIDEST_INT_MAX_PRECISION
Definition wide-int.h:257
#define OFFSET_INT_ELTS
Definition wide-int.h:281
#define ADDR_MAX_PRECISION
Definition wide-int.h:276
const T2 & y
Definition wide-int.h:3870