Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-semantics.cc141 bool side_effects; in build_stmt() local
158 side_effects = false; in build_stmt()
163 side_effects |= TREE_SIDE_EFFECTS (t); in build_stmt()
167 TREE_SIDE_EFFECTS (ret) |= side_effects; in build_stmt()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-semantics.c141 bool side_effects; in build_stmt() local
158 side_effects = false; in build_stmt()
163 side_effects |= TREE_SIDE_EFFECTS (t); in build_stmt()
167 TREE_SIDE_EFFECTS (ret) |= side_effects; in build_stmt()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dipa-modref.cc279 writes_errno (false), side_effects (false), nondeterministic (false), in modref_summary()
336 return ((!side_effects || !nondeterministic) in useful_p()
343 return ((!side_effects || !nondeterministic) in useful_p()
364 unsigned side_effects : 1; member
378 writes_errno (false), side_effects (false), nondeterministic (false), in modref_summary_lto()
409 return ((!side_effects || !nondeterministic) in useful_p()
416 return ((!side_effects || !nondeterministic) in useful_p()
593 if (side_effects) in dump()
646 if (side_effects) in dump()
685 if (side_effects || global_memory_written || writes_errno) in finalize()
[all …]
H A Dipa-modref.h42 unsigned side_effects : 1; member
H A Dtree.cc4027 bool side_effects = TREE_SIDE_EFFECTS (t); in process_call_operands() local
4033 side_effects = true; in process_call_operands()
4038 if (!side_effects || read_only) in process_call_operands()
4043 side_effects = true; in process_call_operands()
4048 TREE_SIDE_EFFECTS (t) = side_effects; in process_call_operands()
5030 side_effects = 1; \
5042 bool constant, read_only, side_effects, div_by_zero; in build2() local
5073 side_effects = TREE_SIDE_EFFECTS (t); in build2()
5095 TREE_SIDE_EFFECTS (t) = side_effects; in build2()
5123 bool constant, read_only, side_effects; in build3() local
[all …]
H A Dvar-tracking.cc946 auto_vec<rtx> side_effects; member in adjust_mem_data
1110 amd->side_effects.safe_push (gen_rtx_SET (XEXP (loc, 0), tem)); in adjust_mems()
1125 amd->side_effects.safe_push (gen_rtx_SET (XEXP (loc, 0), tem)); in adjust_mems()
1313 if (!amd.side_effects.is_empty ()) in adjust_insn()
1325 unsigned int newn = amd.side_effects.length (); in adjust_insn()
1335 FOR_EACH_VEC_ELT_REVERSE (amd.side_effects, j, effect) in adjust_insn()
6414 gcc_assert (amd.side_effects.is_empty ()); in prepare_call_arguments()
H A DChangeLog-20215308 (modref_summary::modref_summary): Initialize side_effects.
5309 (struct modref_summary_lto): New bool field side_effects.
5310 (modref_summary_lto::modref_summary_lto): Initialize side_effects.
5311 (modref_summary::dump): Dump side_effects.
5312 (modref_summary_lto::dump): Dump side_effects.
5321 (analyze_function): Handle side_effects.
5322 (modref_summaries::duplicate): Duplicate side_effects.
5324 (modref_write): Stream side_effects.
5327 (propagate_unknown_call): Handle side_effects.
5329 * ipa-modref.h (struct modref_summary): Add side_effects.
H A DChangeLog7310 nondeterministic and side_effects flags.
H A DChangeLog-201541913 optimize (eq/ne (and (side_effects) (const_int 0)) (const_int 0))
41914 into (eq/ne (and (not (side_effects)) (const_int 0)) (const_int 0)).
H A DChangeLog-201422635 "side_effects" from rtx to rtx_expr_list *.
46521 amd->side_effects, adjust it's SET_SRC using simplify_replace_fn_rtx.
H A DChangeLog-200517457 constant and side_effects of the ADDR_EXPR are consistent.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/
H A Dbrig-to-generic.cc566 bool side_effects; in build_stmt() local
582 side_effects = false; in build_stmt()
587 side_effects |= TREE_SIDE_EFFECTS (t); in build_stmt()
591 TREE_SIDE_EFFECTS (ret) |= side_effects; in build_stmt()
/netbsd-src/tests/bin/sh/
H A Dt_here.sh541 atf_test_case side_effects
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtree.c3793 bool side_effects = TREE_SIDE_EFFECTS (t); in process_call_operands() local
3799 side_effects = true; in process_call_operands()
3804 if (!side_effects || read_only) in process_call_operands()
3809 side_effects = true; in process_call_operands()
3814 TREE_SIDE_EFFECTS (t) = side_effects; in process_call_operands()
4794 side_effects = 1; \
4806 bool constant, read_only, side_effects, div_by_zero; in build2() local
4837 side_effects = TREE_SIDE_EFFECTS (t); in build2()
4859 TREE_SIDE_EFFECTS (t) = side_effects; in build2()
4887 bool constant, read_only, side_effects; in build3() local
[all …]
H A Dvar-tracking.c938 auto_vec<rtx> side_effects; variable
1102 amd->side_effects.safe_push (gen_rtx_SET (XEXP (loc, 0), tem)); in adjust_mems()
1117 amd->side_effects.safe_push (gen_rtx_SET (XEXP (loc, 0), tem)); in adjust_mems()
1305 if (!amd.side_effects.is_empty ()) in adjust_insn()
1317 unsigned int newn = amd.side_effects.length (); in adjust_insn()
1327 FOR_EACH_VEC_ELT_REVERSE (amd.side_effects, j, effect) in adjust_insn()
6408 gcc_assert (amd.side_effects.is_empty ()); in prepare_call_arguments()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dcvt.c1175 bool side_effects = ((op1 && TREE_SIDE_EFFECTS (op1)) in convert_to_void() local
1179 if (implicit != ICV_CAST && !side_effects) in convert_to_void()
H A Dtree.c558 bool side_effects; in process_aggr_init_operands() local
560 side_effects = TREE_SIDE_EFFECTS (t); in process_aggr_init_operands()
561 if (!side_effects) in process_aggr_init_operands()
570 side_effects = 1; in process_aggr_init_operands()
575 TREE_SIDE_EFFECTS (t) = side_effects; in process_aggr_init_operands()
H A Dcp-gimplify.c976 bool side_effects = false; in cp_gimplify_expr() local
980 side_effects = true; in cp_gimplify_expr()
985 side_effects); in cp_gimplify_expr()
H A Dsemantics.c5159 tree t, side_effects = NULL_TREE, size = NULL_TREE; in handle_omp_array_sections() local
5215 if (side_effects == NULL_TREE) in handle_omp_array_sections()
5216 side_effects = length; in handle_omp_array_sections()
5218 side_effects = build2 (COMPOUND_EXPR, in handle_omp_array_sections()
5219 TREE_TYPE (side_effects), in handle_omp_array_sections()
5220 length, side_effects); in handle_omp_array_sections()
5277 if (side_effects) in handle_omp_array_sections()
5278 size = build2 (COMPOUND_EXPR, sizetype, side_effects, size); in handle_omp_array_sections()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dcvt.cc1182 bool side_effects = ((op1 && TREE_SIDE_EFFECTS (op1)) in convert_to_void() local
1186 if (implicit != ICV_CAST && !side_effects) in convert_to_void()
H A Dtree.cc568 bool side_effects; in process_aggr_init_operands() local
570 side_effects = TREE_SIDE_EFFECTS (t); in process_aggr_init_operands()
571 if (!side_effects) in process_aggr_init_operands()
580 side_effects = 1; in process_aggr_init_operands()
585 TREE_SIDE_EFFECTS (t) = side_effects; in process_aggr_init_operands()
H A Dcp-gimplify.cc713 bool side_effects = false; in cp_gimplify_expr() local
717 side_effects = true; in cp_gimplify_expr()
722 side_effects); in cp_gimplify_expr()
H A Dsemantics.cc5561 tree t, side_effects = NULL_TREE, size = NULL_TREE; in handle_omp_array_sections() local
5617 if (side_effects == NULL_TREE) in handle_omp_array_sections()
5618 side_effects = length; in handle_omp_array_sections()
5620 side_effects = build2 (COMPOUND_EXPR, in handle_omp_array_sections()
5621 TREE_TYPE (side_effects), in handle_omp_array_sections()
5622 length, side_effects); in handle_omp_array_sections()
5679 if (side_effects) in handle_omp_array_sections()
5680 size = build2 (COMPOUND_EXPR, sizetype, side_effects, size); in handle_omp_array_sections()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c/
H A Dc-typeck.c13412 tree t, side_effects = NULL_TREE, size = NULL_TREE; in handle_omp_array_sections() local
13465 if (side_effects == NULL_TREE) in handle_omp_array_sections()
13466 side_effects = length; in handle_omp_array_sections()
13468 side_effects = build2 (COMPOUND_EXPR, in handle_omp_array_sections()
13469 TREE_TYPE (side_effects), in handle_omp_array_sections()
13470 length, side_effects); in handle_omp_array_sections()
13533 if (side_effects) in handle_omp_array_sections()
13534 size = build2 (COMPOUND_EXPR, sizetype, side_effects, size); in handle_omp_array_sections()
/netbsd-src/external/gpl3/gcc/dist/gcc/c/
H A Dc-typeck.cc13650 tree t, side_effects = NULL_TREE, size = NULL_TREE; in handle_omp_array_sections() local
13703 if (side_effects == NULL_TREE) in handle_omp_array_sections()
13704 side_effects = length; in handle_omp_array_sections()
13706 side_effects = build2 (COMPOUND_EXPR, in handle_omp_array_sections()
13707 TREE_TYPE (side_effects), in handle_omp_array_sections()
13708 length, side_effects); in handle_omp_array_sections()
13771 if (side_effects) in handle_omp_array_sections()
13772 size = build2 (COMPOUND_EXPR, sizetype, side_effects, size); in handle_omp_array_sections()

12