Lines Matching refs:def_stmt

518   if (gassign *def_stmt = dyn_cast <gassign *> (def_stmt_info->stmt))  in parloops_is_simple_reduction()  local
520 name = gimple_assign_lhs (def_stmt); in parloops_is_simple_reduction()
523 else if (gphi *def_stmt = dyn_cast <gphi *> (def_stmt_info->stmt)) in parloops_is_simple_reduction() local
525 name = PHI_RESULT (def_stmt); in parloops_is_simple_reduction()
574 gphi *def_stmt = as_a <gphi *> (def_stmt_info->stmt); in parloops_is_simple_reduction() local
575 op1 = PHI_ARG_DEF (def_stmt, 0); in parloops_is_simple_reduction()
577 if (gimple_phi_num_args (def_stmt) != 1 in parloops_is_simple_reduction()
589 && flow_bb_inside_loop_p (loop, gimple_bb (def_stmt)) in parloops_is_simple_reduction()
597 report_ploop_op (MSG_NOTE, def_stmt, in parloops_is_simple_reduction()
627 gassign *def_stmt = as_a <gassign *> (def_stmt_info->stmt); in parloops_is_simple_reduction() local
628 code = orig_code = gimple_assign_rhs_code (def_stmt); in parloops_is_simple_reduction()
644 report_ploop_op (MSG_MISSED_OPTIMIZATION, def_stmt, in parloops_is_simple_reduction()
649 report_ploop_op (MSG_NOTE, def_stmt, "detected nested cycle: "); in parloops_is_simple_reduction()
657 if (code == MINUS_EXPR && gimple_assign_rhs2 (def_stmt) != phi_name) in parloops_is_simple_reduction()
665 op3 = gimple_assign_rhs1 (def_stmt); in parloops_is_simple_reduction()
674 report_ploop_op (MSG_MISSED_OPTIMIZATION, def_stmt, in parloops_is_simple_reduction()
680 op1 = gimple_assign_rhs2 (def_stmt); in parloops_is_simple_reduction()
681 op2 = gimple_assign_rhs3 (def_stmt); in parloops_is_simple_reduction()
686 report_ploop_op (MSG_MISSED_OPTIMIZATION, def_stmt, in parloops_is_simple_reduction()
692 op1 = gimple_assign_rhs1 (def_stmt); in parloops_is_simple_reduction()
693 op2 = gimple_assign_rhs2 (def_stmt); in parloops_is_simple_reduction()
698 report_ploop_op (MSG_MISSED_OPTIMIZATION, def_stmt, in parloops_is_simple_reduction()
706 report_ploop_op (MSG_MISSED_OPTIMIZATION, def_stmt, in parloops_is_simple_reduction()
712 type = TREE_TYPE (gimple_assign_lhs (def_stmt)); in parloops_is_simple_reduction()
761 report_ploop_op (MSG_NOTE, def_stmt, in parloops_is_simple_reduction()
778 report_ploop_op (MSG_NOTE, def_stmt, "detected reduction: "); in parloops_is_simple_reduction()
797 tree cond_expr = gimple_assign_rhs1 (def_stmt); in parloops_is_simple_reduction()
809 swap_ssa_operands (def_stmt, in parloops_is_simple_reduction()
810 gimple_assign_rhs2_ptr (def_stmt), in parloops_is_simple_reduction()
811 gimple_assign_rhs3_ptr (def_stmt)); in parloops_is_simple_reduction()
816 report_ploop_op (MSG_NOTE, def_stmt, in parloops_is_simple_reduction()
823 swap_ssa_operands (def_stmt, gimple_assign_rhs1_ptr (def_stmt), in parloops_is_simple_reduction()
824 gimple_assign_rhs2_ptr (def_stmt)); in parloops_is_simple_reduction()
827 report_ploop_op (MSG_NOTE, def_stmt, in parloops_is_simple_reduction()
833 report_ploop_op (MSG_NOTE, def_stmt, "detected reduction: "); in parloops_is_simple_reduction()
843 && parloops_is_slp_reduction (loop_info, phi, def_stmt)) in parloops_is_simple_reduction()
846 report_ploop_op (MSG_NOTE, def_stmt, in parloops_is_simple_reduction()
858 report_ploop_op (MSG_MISSED_OPTIMIZATION, def_stmt, in parloops_is_simple_reduction()
2841 gimple *def_stmt = SSA_NAME_DEF_STMT (def); in create_parallel_loop() local
2845 if (!(gimple_code (def_stmt) == GIMPLE_PHI in create_parallel_loop()
2846 && gimple_bb (def_stmt) == loop->header)) in create_parallel_loop()
2854 gphi *stmt = as_a <gphi *> (def_stmt); in create_parallel_loop()