comparison gcc/gimple-expr.h @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* Header file for gimple decl, type and expressions. 1 /* Header file for gimple decl, type and expressions.
2 Copyright (C) 2013-2017 Free Software Foundation, Inc. 2 Copyright (C) 2013-2018 Free Software Foundation, Inc.
3 3
4 This file is part of GCC. 4 This file is part of GCC.
5 5
6 GCC is free software; you can redistribute it and/or modify it under 6 GCC is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free 7 the terms of the GNU General Public License as published by the Free
117 117
118 static inline bool 118 static inline bool
119 is_gimple_addressable (tree t) 119 is_gimple_addressable (tree t)
120 { 120 {
121 return (is_gimple_id (t) || handled_component_p (t) 121 return (is_gimple_id (t) || handled_component_p (t)
122 || TREE_CODE (t) == TARGET_MEM_REF
122 || TREE_CODE (t) == MEM_REF); 123 || TREE_CODE (t) == MEM_REF);
123 } 124 }
124 125
125 /* Return true if T is a valid gimple constant. */ 126 /* Return true if T is a valid gimple constant. */
126 127
128 is_gimple_constant (const_tree t) 129 is_gimple_constant (const_tree t)
129 { 130 {
130 switch (TREE_CODE (t)) 131 switch (TREE_CODE (t))
131 { 132 {
132 case INTEGER_CST: 133 case INTEGER_CST:
134 case POLY_INT_CST:
133 case REAL_CST: 135 case REAL_CST:
134 case FIXED_CST: 136 case FIXED_CST:
135 case COMPLEX_CST: 137 case COMPLEX_CST:
136 case VECTOR_CST: 138 case VECTOR_CST:
137 case STRING_CST: 139 case STRING_CST: