Home
last modified time | relevance | path

Searched refs:maybe_constant_value (Results 1 – 25 of 25) sorted by relevance

/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Dexpr.cc135 tree t = maybe_constant_value (expr); in mark_use()
421 x = maybe_constant_value (x); in fold_for_warn()
Dsemantics.cc1967 tree constop = maybe_constant_value (operand); in finish_asm_stmt()
6633 begin = maybe_constant_value (begin); in cp_omp_finish_iterators()
6634 end = maybe_constant_value (end); in cp_omp_finish_iterators()
6635 step = maybe_constant_value (step); in cp_omp_finish_iterators()
6636 orig_step = maybe_constant_value (orig_step); in cp_omp_finish_iterators()
6946 t = maybe_constant_value (t); in finish_omp_clauses()
7283 t = maybe_constant_value (t); in finish_omp_clauses()
7344 t = maybe_constant_value (t); in finish_omp_clauses()
7396 t = maybe_constant_value (t); in finish_omp_clauses()
7443 t = maybe_constant_value (t); in finish_omp_clauses()
[all …]
DChangeLog-2010681 * call.c (null_ptr_cst_p): Use maybe_constant_value.
687 * decl.c (finish_case_label): Use maybe_constant_value.
692 (compute_array_index_type): Use maybe_constant_value.
698 (build_noexcept_spec): Use maybe_constant_value.
708 (convert_nontype_argument): Use maybe_constant_value. Give clearer
716 * semantics.c (finish_static_assert): Use maybe_constant_value.
718 (potential_constant_expression): Use maybe_constant_value.
722 (check_narrowing): Use maybe_constant_value.
753 (maybe_constant_value, maybe_constant_init): New.
DChangeLog-2013151 linear clause step call maybe_constant_value.
2547 * cvt.c (cp_convert_and_check): Use maybe_constant_value.
2998 calling maybe_constant_value for C++98.
3049 first before calling maybe_constant_value for warn_for_div_by_zero
3137 * semantics.c (maybe_constant_value): Check
3817 pass op1 through maybe_constant_value first.
3900 cxx_eval_outermost_constant_expr rather than maybe_constant_value.
4051 neither register nor memory, try maybe_constant_value to get
4218 call maybe_constant_value for the negative or too big shift
Dcp-gimplify.cc2381 x = maybe_constant_value (x); in cp_fully_fold()
2563 val = maybe_constant_value (val); in cp_fold()
2916 r = maybe_constant_value (x); in cp_fold()
DChangeLog-20202369 manifestly_const_eval argument to maybe_constant_value.
3562 instead of maybe_constant_value.
3982 (maybe_constant_value): Remove 'uid_sensitive' parameter and
3989 * cp-tree.h (maybe_constant_value): Update declaration.
3995 maybe_constant_value.
5080 * constexpr.c (maybe_constant_value): Use break_out_target_exprs.
5527 fold_non_dependent_expr instead of maybe_constant_value.
5535 of maybe_constant_value.
5867 * constexpr.c (maybe_constant_value): Correct earlier change.
5914 * expr.c (fold_for_warn): Call maybe_constant_value.
[all …]
DChangeLog-201822 maybe_constant_value.
184 (cp_build_array_ref): Call maybe_constant_value on "idx".
227 call maybe_constant_value on val to see if it is INTEGER_CST.
305 * cp-tree.h (maybe_constant_value): Add manifestly_const_eval
316 (maybe_constant_value): Add manifestly_const_eval argument. If true,
319 * decl.c (compute_array_index_type_loc): Call maybe_constant_value
1252 call to maybe_constant_value when building "fargs".
1395 arguments before the call to maybe_constant_value, and pass to
1925 expressions. Call maybe_constant_value instead of
1973 (maybe_constant_value): Pass false as pretend_const_required to
[all …]
DChangeLog213 instead of maybe_constant_value.
413 (maybe_constant_value): Move up early exit test for unevaluated
665 * constexpr.cc (maybe_constant_value): Clear
1235 instead of maybe_constant_value.
2104 (maybe_constant_value): Use it.
DChangeLog-2011209 * pt.c (convert_nontype_argument): Don't call maybe_constant_value
1921 * semantics.c (maybe_constant_value): Don't try to fold { }.
2662 maybe_constant_value here.
2878 * semantics.c (maybe_constant_value): Handle overflowed input.
3439 do call maybe_constant_value in C++0x mode.
4677 * semantics.c (maybe_constant_value): Check type_unknown_p too.
4906 (maybe_constant_value): Check potential_constant_expression.
DChangeLog-2015715 (maybe_constant_value_1): Factor out from maybe_constant_value.
716 (cv_cache, maybe_constant_value): Cache results.
1071 * constexpr.c (maybe_constant_value, fold_non_dependent_expr): Use
1311 maybe_constant_value.
3778 Use maybe_constant_value on rhs.
DChangeLog-2016269 and maybe_constant_value returns non-CALL_EXPR, create INIT_EXPR
270 with the object on lhs and maybe_constant_value returned expr on rhs.
1666 * cp-gimplify.c (cp_fully_fold): Only maybe_constant_value in
1829 * cp-gimplify.c (cp_fully_fold): First call maybe_constant_value.
3230 (maybe_constant_value): Adjust following the change to cv_cache.
Dinit.cc3105 tree inner_nelts_cst = maybe_constant_value (inner_nelts); in build_new_1()
4388 maxindex = maybe_constant_value (maxindex); in build_vec_init()
DChangeLog-2012814 * call.c (null_ptr_cst_p): Call maybe_constant_value for C++98.
827 try harder using maybe_constant_value to get INTEGER_CSTs.
1346 maybe_constant_value.
Dcall.cc10209 if (!integer_zerop (maybe_constant_value ((*args)[1]))) in maybe_warn_class_memaccess()
10325 tree sz = maybe_constant_value ((*args)[2]); in maybe_warn_class_memaccess()
10360 tree sz = maybe_constant_value ((*args)[1]); in maybe_warn_class_memaccess()
10421 argarray[i] = maybe_constant_value (argarray[i]); in build_cxx_call()
DChangeLog-2014567 * constexpr.c (maybe_constant_value): Allow VIEW_CONVERT_EXPR in
806 is_sub_constant_expr, cxx_constant_value, maybe_constant_value,
3771 maybe_constant_value for a non-integral expression.
Dconstraint.cc2991 result = maybe_constant_value (result, NULL_TREE, in satisfy_atom()
Dconstexpr.cc8170 maybe_constant_value (tree t, tree decl, bool manifestly_const_eval) in maybe_constant_value() function
8329 return maybe_constant_value (t, object, manifestly_const_eval); in fold_non_dependent_expr()
Dtree.cc5056 initp_expr = maybe_constant_value (initp_expr); in handle_init_priority_attribute()
DChangeLog-20174702 case OMP_CLAUSE_ALIGNED>: Call maybe_constant_value only when not
5381 * constexpr.c (maybe_constant_value): Fold maybe_constant_value_1
Ddecl.cc8769 val = maybe_constant_value (val); in get_tuple_size()
11234 itype = maybe_constant_value (itype, NULL_TREE, true); in compute_array_index_type_loc()
DChangeLog-20192274 (maybe_constant_value, fold_non_dependent_expr_template,
5173 to maybe_constant_value calls.
Dcp-tree.h8432 extern tree maybe_constant_value (tree, tree = NULL_TREE, bool = false);
Dpt.cc7404 expr = maybe_constant_value (expr, NULL_TREE, in convert_nontype_argument()
7412 tree folded = maybe_constant_value (expr, NULL_TREE, in convert_nontype_argument()
7473 t = maybe_constant_value (t); in convert_nontype_argument()
DChangeLog-2021750 * constexpr.c (maybe_constant_value): Don't evaluate
Dparser.cc10167 current.lhs, maybe_constant_value (rhs)); in cp_parser_binary_expression()