Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dexpr.c135 tree t = maybe_constant_value (expr); in mark_use()
413 x = maybe_constant_value (x, NULL_TREE, false, true); in fold_for_warn()
H A Dsemantics.c1696 tree constop = maybe_constant_value (operand); in finish_asm_stmt()
6206 begin = maybe_constant_value (begin); in cp_omp_finish_iterators()
6207 end = maybe_constant_value (end); in cp_omp_finish_iterators()
6208 step = maybe_constant_value (step); in cp_omp_finish_iterators()
6209 orig_step = maybe_constant_value (orig_step); in cp_omp_finish_iterators()
6510 t = maybe_constant_value (t); in finish_omp_clauses()
6791 t = maybe_constant_value (t); in finish_omp_clauses()
6852 t = maybe_constant_value (t); in finish_omp_clauses()
6904 t = maybe_constant_value (t); in finish_omp_clauses()
6938 t = maybe_constant_value (t); in finish_omp_clauses()
[all …]
H A Dcp-gimplify.c2537 x = maybe_constant_value (x); in cp_fully_fold()
2709 val = maybe_constant_value (val); in cp_fold()
3008 r = maybe_constant_value (x); in cp_fold()
H A Dinit.c2758 tree nelts_cst = maybe_constant_value (nelts); in warn_placement_new_too_small()
3029 tree inner_nelts_cst = maybe_constant_value (inner_nelts); in build_new_1()
4267 maxindex = maybe_constant_value (maxindex); in build_vec_init()
H A Dcall.c9500 if (!integer_zerop (maybe_constant_value ((*args)[1]))) in maybe_warn_class_memaccess()
9616 tree sz = maybe_constant_value ((*args)[2]); in maybe_warn_class_memaccess()
9649 tree sz = maybe_constant_value ((*args)[1]); in maybe_warn_class_memaccess()
9710 argarray[i] = maybe_constant_value (argarray[i]); in build_cxx_call()
H A Dconstraint.cc2633 result = maybe_constant_value (result, NULL_TREE, in satisfy_atom()
H A Dconstexpr.c7244 maybe_constant_value (tree t, tree decl, bool manifestly_const_eval, in maybe_constant_value() function
7391 return maybe_constant_value (t, object, manifestly_const_eval); in fold_non_dependent_expr()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dexpr.cc135 tree t = maybe_constant_value (expr); in mark_use()
421 x = maybe_constant_value (x); in fold_for_warn()
H A 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 …]
H A 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
H A 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.
H A 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()
H A 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 …]
H A 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 …]
H A 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.
H A 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.
H A 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.
H A 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.
H A 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()
H A 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.
H A 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()
H A 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.
H A Dconstraint.cc2991 result = maybe_constant_value (result, NULL_TREE, in satisfy_atom()
H A 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()
H A Dtree.cc5056 initp_expr = maybe_constant_value (initp_expr); in handle_init_priority_attribute()

12