Lines Matching defs:TREE_CODE
39 enum tree_code {
55 /* Each tree_code has an associated code class represented by a
91 (TREE_CODE_CLASS (TREE_CODE (CODE)) == tcc_exceptional)
96 (TREE_CODE_CLASS (TREE_CODE (CODE)) == tcc_constant)
101 (TREE_CODE_CLASS (TREE_CODE (CODE)) == tcc_type)
106 (TREE_CODE_CLASS (TREE_CODE (CODE)) == tcc_declaration)
111 (TREE_CODE (CODE) == NAME_MEMORY_TAG \
112 || TREE_CODE (CODE) == SYMBOL_MEMORY_TAG \
113 || TREE_CODE (CODE) == MEMORY_PARTITION_TAG)
119 (TREE_CODE (DECL) == VAR_DECL || TREE_CODE (DECL) == FUNCTION_DECL)
125 (TREE_CODE (CODE) == INDIRECT_REF \
126 || TREE_CODE (CODE) == ALIGN_INDIRECT_REF \
127 || TREE_CODE (CODE) == MISALIGNED_INDIRECT_REF)
132 (TREE_CODE_CLASS (TREE_CODE (CODE)) == tcc_reference)
137 (TREE_CODE_CLASS (TREE_CODE (CODE)) == tcc_comparison)
142 (TREE_CODE_CLASS (TREE_CODE (CODE)) == tcc_unary)
147 (TREE_CODE_CLASS (TREE_CODE (CODE)) == tcc_binary)
152 (TREE_CODE_CLASS (TREE_CODE (CODE)) == tcc_statement)
158 (TREE_CODE_CLASS (TREE_CODE (CODE)) == tcc_vl_exp)
163 (TREE_CODE_CLASS (TREE_CODE (CODE)) == tcc_expression)
178 #define EXPR_P(NODE) IS_EXPR_CODE_CLASS (TREE_CODE_CLASS (TREE_CODE (NODE)))
293 OMP_CLAUSE_REDUCTION_CODE: The tree_code of the operator.
336 or a statement. Each node has a TREE_CODE which says what kind of
345 that all nodes share. Each TREE_CODE has various special-purpose
358 ENUM_BITFIELD(tree_code) code : 16;
643 #define TREE_CODE(NODE) ((enum tree_code) (NODE)->base.code)
652 if (TREE_CODE (__t) != (CODE)) \
659 if (TREE_CODE (__t) == (CODE)) \
666 if (TREE_CODE (__t) != (CODE1) \
667 && TREE_CODE (__t) != (CODE2)) \
674 if (TREE_CODE (__t) == (CODE1) \
675 || TREE_CODE (__t) == (CODE2)) \
682 if (TREE_CODE (__t) != (CODE1) \
683 && TREE_CODE (__t) != (CODE2) \
684 && TREE_CODE (__t) != (CODE3)) \
691 if (TREE_CODE (__t) == (CODE1) \
692 || TREE_CODE (__t) == (CODE2) \
693 || TREE_CODE (__t) == (CODE3)) \
700 if (TREE_CODE (__t) != (CODE1) \
701 && TREE_CODE (__t) != (CODE2) \
702 && TREE_CODE (__t) != (CODE3) \
703 && TREE_CODE (__t) != (CODE4)) \
710 if (TREE_CODE (__t) == (CODE1) \
711 || TREE_CODE (__t) == (CODE2) \
712 || TREE_CODE (__t) == (CODE3) \
713 || TREE_CODE (__t) == (CODE4)) \
720 if (TREE_CODE (__t) != (CODE1) \
721 && TREE_CODE (__t) != (CODE2) \
722 && TREE_CODE (__t) != (CODE3) \
723 && TREE_CODE (__t) != (CODE4) \
724 && TREE_CODE (__t) != (CODE5)) \
731 if (TREE_CODE (__t) == (CODE1) \
732 || TREE_CODE (__t) == (CODE2) \
733 || TREE_CODE (__t) == (CODE3) \
734 || TREE_CODE (__t) == (CODE4) \
735 || TREE_CODE (__t) == (CODE5)) \
742 if (tree_contains_struct[TREE_CODE(__t)][(STRUCT)] != 1) \
749 if (TREE_CODE_CLASS (TREE_CODE(__t)) != (CLASS)) \
756 if (TREE_CODE (__t) < (CODE1) || TREE_CODE (__t) > (CODE2)) \
763 if (TREE_CODE (__t) != OMP_CLAUSE) \
773 if (TREE_CODE (__t) != OMP_CLAUSE) \
785 char const __c = TREE_CODE_CLASS (TREE_CODE (__t)); \
802 if (TREE_CODE (__t) != TREE_VEC) \
813 if (TREE_CODE (__t) != OMP_CLAUSE) \
833 if (TREE_CODE (__t) != CODE) \
844 if (TREE_CODE (__t) != (CODE)) \
885 const char *, enum tree_code,
886 enum tree_code);
980 #define CONVERT_EXPR_P(EXP) CONVERT_EXPR_CODE_P (TREE_CODE (EXP))
993 || TREE_CODE (EXP) == NON_LVALUE_EXPR) \
1003 || TREE_CODE (EXP) == NON_LVALUE_EXPR) \
1017 || TREE_CODE (EXP) == NON_LVALUE_EXPR) \
1035 (TREE_CODE (TYPE) == ENUMERAL_TYPE \
1036 || TREE_CODE (TYPE) == BOOLEAN_TYPE \
1037 || TREE_CODE (TYPE) == INTEGER_TYPE)
1042 (TREE_CODE (TYPE) == FIXED_POINT_TYPE && !TYPE_SATURATING (TYPE))
1047 (TREE_CODE (TYPE) == FIXED_POINT_TYPE && TYPE_SATURATING (TYPE))
1051 #define FIXED_POINT_TYPE_P(TYPE) (TREE_CODE (TYPE) == FIXED_POINT_TYPE)
1055 #define SCALAR_FLOAT_TYPE_P(TYPE) (TREE_CODE (TYPE) == REAL_TYPE)
1060 (TREE_CODE (TYPE) == COMPLEX_TYPE \
1061 && TREE_CODE (TREE_TYPE (TYPE)) == REAL_TYPE)
1066 (TREE_CODE (TYPE) == VECTOR_TYPE \
1067 && TREE_CODE (TREE_TYPE (TYPE)) == REAL_TYPE)
1075 || ((TREE_CODE (TYPE) == COMPLEX_TYPE \
1076 || TREE_CODE (TYPE) == VECTOR_TYPE) \
1088 (TREE_CODE (TYPE) == ARRAY_TYPE || TREE_CODE (TYPE) == RECORD_TYPE \
1089 || TREE_CODE (TYPE) == UNION_TYPE || TREE_CODE (TYPE) == QUAL_UNION_TYPE)
1096 (TREE_CODE (TYPE) == POINTER_TYPE || TREE_CODE (TYPE) == REFERENCE_TYPE)
1102 #define VOID_TYPE_P(NODE) (TREE_CODE (NODE) == VOID_TYPE)
1110 (COMPLETE_TYPE_P (TREE_CODE (NODE) == ARRAY_TYPE ? TREE_TYPE (NODE) : (NODE)))
1562 #define IS_EMPTY_STMT(NODE) (TREE_CODE (NODE) == NOP_EXPR \
1849 desc ("TREE_CODE ((tree) &%0)")))
1977 enum tree_code reduction_code;
2105 (TREE_CODE (TYPE_CHECK (NODE)) == VECTOR_TYPE \
2461 (TREE_CODE (DECL) == VAR_DECL \
2462 || TREE_CODE (DECL) == PARM_DECL \
2463 || TREE_CODE (DECL) == RESULT_DECL \
2465 || (TREE_CODE (DECL) == SSA_NAME \
2466 && (TREE_CODE (SSA_NAME_VAR (DECL)) == VAR_DECL \
2467 || TREE_CODE (SSA_NAME_VAR (DECL)) == PARM_DECL \
2468 || TREE_CODE (SSA_NAME_VAR (DECL)) == RESULT_DECL \
2692 || TREE_CODE (DECL_CONTEXT (EXP)) == TRANSLATION_UNIT_DECL)
2798 #define HAS_RTL_P(NODE) (CODE_CONTAINS_STRUCT (TREE_CODE (NODE), TS_DECL_WRTL))
3014 (CODE_CONTAINS_STRUCT (TREE_CODE (NODE), TS_DECL_WITH_VIS))
3901 looks at TREE_CODE and, if the code is TREE_VEC, TREE_VEC_LENGTH. */
3908 extern size_t tree_code_size (enum tree_code);
3911 The TREE_CODE is the only argument. Contents are initialized
3914 extern tree make_node_stat (enum tree_code MEM_STAT_DECL);
3961 extern tree build_nt (enum tree_code, ...);
3964 extern tree build0_stat (enum tree_code, tree MEM_STAT_DECL);
3966 extern tree build1_stat (enum tree_code, tree, tree MEM_STAT_DECL);
3968 extern tree build2_stat (enum tree_code, tree, tree, tree MEM_STAT_DECL);
3970 extern tree build3_stat (enum tree_code, tree, tree, tree, tree MEM_STAT_DECL);
3972 extern tree build4_stat (enum tree_code, tree, tree, tree, tree,
3975 extern tree build5_stat (enum tree_code, tree, tree, tree, tree, tree,
3978 extern tree build7_stat (enum tree_code, tree, tree, tree, tree, tree,
4000 extern tree build_decl_stat (enum tree_code, tree, tree MEM_STAT_DECL);
4007 extern tree build_vl_exp_stat (enum tree_code, int MEM_STAT_DECL);
4373 extern tree size_binop (enum tree_code, tree, tree);
4728 extern bool associative_tree_code (enum tree_code);
4729 extern bool commutative_tree_code (enum tree_code);
4779 extern tree fold_unary (enum tree_code, tree, tree);
4780 extern tree fold_unary_ignore_overflow (enum tree_code, tree, tree);
4781 extern tree fold_binary (enum tree_code, tree, tree, tree);
4782 extern tree fold_ternary (enum tree_code, tree, tree, tree, tree);
4783 extern tree fold_build1_stat (enum tree_code, tree, tree MEM_STAT_DECL);
4785 extern tree fold_build2_stat (enum tree_code, tree, tree, tree MEM_STAT_DECL);
4787 extern tree fold_build3_stat (enum tree_code, tree, tree, tree, tree MEM_STAT_DECL);
4789 extern tree fold_build1_initializer (enum tree_code, tree, tree);
4790 extern tree fold_build2_initializer (enum tree_code, tree, tree, tree);
4791 extern tree fold_build3_initializer (enum tree_code, tree, tree, tree, tree);
4796 extern tree fold_single_bit_test (enum tree_code, tree, tree, tree);
4840 extern int div_and_round_double (enum tree_code, int, unsigned HOST_WIDE_INT,
4859 extern tree fold_unary_to_constant (enum tree_code, tree, tree);
4860 extern tree fold_binary_to_constant (enum tree_code, tree, tree, tree);
4862 extern tree int_const_binop (enum tree_code, const_tree, const_tree, int);
4873 extern enum tree_code swap_tree_comparison (enum tree_code);
4876 extern enum tree_code invert_tree_comparison (enum tree_code, bool);
4879 extern bool tree_unary_nonzero_warnv_p (enum tree_code, tree, tree, bool *);
4880 extern bool tree_binary_nonzero_warnv_p (enum tree_code, tree, tree, tree op1,
4884 extern bool tree_unary_nonnegative_warnv_p (enum tree_code, tree, tree, bool *);
4885 extern bool tree_binary_nonnegative_warnv_p (enum tree_code, tree, tree, tree,
4897 truth_value_p (enum tree_code code)
5324 return TREE_CODE_LENGTH (TREE_CODE (node));