Searched refs:stmt2 (Results 1 - 25 of 43) sorted by relevance

12

/netbsd-current/tests/usr.bin/indent/
H A Dopt_badp.c273 void f(void) { int decl; stmt1; stmt2; }
283 stmt2;
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dvtable-verify.c579 gimple *stmt2 = USE_STMT (use_p); local
581 if (is_gimple_call (stmt2))
583 tree fncall = gimple_call_fn (stmt2);
589 else if (gimple_code (stmt2) == GIMPLE_PHI)
592 (gimple_phi_result (stmt2),
596 else if (is_gimple_assign (stmt2))
598 tree rhs = gimple_assign_rhs1 (stmt2);
615 (gimple_assign_lhs (stmt2),
H A Dgimple-ssa-split-paths.c176 gimple *stmt2 = last_and_only_stmt (pred2); local
178 if (stmt1 && stmt2
180 && gimple_code (stmt2) == GIMPLE_ASSIGN)
183 enum tree_code code2 = gimple_assign_rhs_code (stmt2);
189 tree lhs2 = gimple_assign_lhs (stmt2);
H A Dfunction-tests.c484 gimple *stmt2 = stmt1->next; local
485 ASSERT_TRUE (stmt2 != NULL);
486 ASSERT_EQ (stmt1, stmt2->prev);
487 ASSERT_EQ (GIMPLE_RETURN, gimple_code (stmt2));
H A Dtree-call-cdce.c424 gassign *stmt2;
437 stmt2 = gimple_build_assign (tempc,
441 tempcn = make_ssa_name (tempc, stmt2);
442 gimple_assign_set_lhs (stmt2, tempcn);
446 conds.quick_push (stmt2);
549 gimple *stmt1, *stmt2;
605 stmt2 = gimple_build_cond (GT_EXPR, tempn, cst0, NULL_TREE, NULL_TREE);
608 conds.quick_push (stmt2);
421 gassign *stmt2; local
546 gimple *stmt1, *stmt2; local
H A Dtree-ssa-forwprop.c1248 gimple *stmt1, *stmt2 = gsi_stmt (*gsi_p); local
1249 tree vuse = gimple_vuse (stmt2);
1257 if (gimple_call_num_args (stmt2) != 3
1258 || gimple_call_lhs (stmt2)
1266 tree ptr2 = gimple_call_arg (stmt2, 0);
1267 tree val2 = gimple_call_arg (stmt2, 1);
1268 tree len2 = gimple_call_arg (stmt2, 2);
1364 || use_stmt != stmt2))
1372 || use_stmt != stmt2))
1391 rtl_profile_for_bb (gimple_bb (stmt2));
[all...]
H A Dvalue-prof.c657 gassign *stmt1, *stmt2; local
680 stmt2 = gimple_build_assign (tmp1, op2);
683 gsi_insert_before (&gsi, stmt2, GSI_SAME_STMT);
852 gassign *stmt1, *stmt2, *stmt3; local
875 stmt2 = gimple_build_assign (tmp2, PLUS_EXPR, op2,
880 gsi_insert_before (&gsi, stmt2, GSI_SAME_STMT);
1003 gimple *stmt2; local
1026 stmt2 = gimple_build_assign (tmp1, op2);
1029 gsi_insert_before (&gsi, stmt2, GSI_SAME_STMT);
1036 stmt2
[all...]
H A Dtree-predcom.c2560 gimple *stmt1, *stmt2; local
2566 stmt2 = find_use_stmt (name2);
2567 if (!stmt2)
2570 if (stmt1 == stmt2)
2576 stmt2 = find_associative_operation_root (stmt2, NULL);
2577 if (!stmt2)
2580 return (stmt1 == stmt2 ? stmt1 : NULL);
2659 gimple *stmt1, *stmt2, *root1, *root2, *s1, *s2; local
2668 stmt2
2744 gimple *stmt1, *stmt2; local
[all...]
H A Dtree-ssa-math-opts.c1014 gimple *stmt2 = USE_STMT (use_p); local
1015 if (is_gimple_debug (stmt2))
1017 if (!is_gimple_assign (stmt2)
1018 || gimple_assign_rhs_code (stmt2) != RDIV_EXPR
1019 || gimple_assign_rhs1 (stmt2) == arg1
1020 || gimple_assign_rhs2 (stmt2) != arg1)
1036 gcall *stmt2; local
1038 stmt2 = gimple_build_call_vec (fndecl, args);
1040 stmt2 = gimple_build_call_internal_vec (ifn, args);
1041 gimple_call_set_lhs (stmt2, arg
3199 gimple *stmt2 = SSA_NAME_DEF_STMT (ops[1]); local
[all...]
H A Dtree-profile.c266 gassign *stmt2 = gimple_build_assign (gcov_type_tmp_var, PLUS_EXPR, local
269 gimple_assign_lhs (stmt2));
271 gsi_insert_on_edge (e, stmt2);
366 gassign *stmt1, *stmt2, *stmt3; local
377 stmt2: tmp1 = (void *) (indirect call argument value)
395 stmt2 = gimple_build_assign (tmp1, unshare_expr (value->hvalue.value));
401 gsi_insert_before (&gsi, stmt2, GSI_SAME_STMT);
H A Dtree-ssa-tail-merge.c1243 merge_stmts_p (gimple *stmt1, gimple *stmt2) argument
1252 if (lookup_stmt_eh_lp_fn (cfun, stmt1) != lookup_stmt_eh_lp_fn (cfun, stmt2))
1272 return gimple_location (stmt1) == gimple_location (stmt2);
1297 gimple *stmt2 = gsi_stmt (gsi2); local
1300 && gimple_code (stmt2) == GIMPLE_LABEL)
1303 if (!gimple_equal_p (same_succ, stmt1, stmt2))
1306 if (!merge_stmts_p (stmt1, stmt2))
H A Dtree-ssa-reassoc.c1342 gimple *stmt2 = SSA_NAME_DEF_STMT (gimple_assign_rhs2 (stmt)); local
1343 if (stmt_is_power_of_op (stmt2, op))
1345 if (decrement_power (stmt2) == 1)
1346 propagate_op_to_single_use (op, stmt2, def);
1348 stmts_to_fix.safe_push (stmt2);
1351 else if (is_gimple_assign (stmt2)
1352 && gimple_assign_rhs_code (stmt2) == NEGATE_EXPR)
1354 if (gimple_assign_rhs1 (stmt2) == op)
1357 propagate_op_to_single_use (cst, stmt2, def);
1363 stmts_to_fix.safe_push (stmt2);
5107 gimple *stmt1 = NULL, *stmt2 = NULL; local
[all...]
H A Dtree-ssa-loop-im.c828 gassign *stmt, *stmt1, *stmt2; local
842 stmt2 = gimple_build_assign (lhs, MULT_EXPR, name,
850 gsi_replace (&gsi, stmt2, true);
864 gassign *stmt2; local
926 stmt2 = gimple_build_assign (name, t);
941 gsi_insert_before (&rsi, stmt2, GSI_SAME_STMT);
H A Dgraphite-isl-ast-to-gimple.c988 gimple *stmt2 = gsi_stmt (gsi2); local
990 if (stmt1 != NULL && stmt2 != NULL)
993 bool is_phi2 = gimple_code (stmt2) == GIMPLE_PHI;
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dvtable-verify.cc579 gimple *stmt2 = USE_STMT (use_p); local
581 if (is_gimple_call (stmt2))
583 tree fncall = gimple_call_fn (stmt2);
589 else if (gimple_code (stmt2) == GIMPLE_PHI)
592 (gimple_phi_result (stmt2),
596 else if (is_gimple_assign (stmt2))
598 tree rhs = gimple_assign_rhs1 (stmt2);
615 (gimple_assign_lhs (stmt2),
H A Dgimple-ssa-split-paths.cc177 gimple *stmt2 = last_and_only_stmt (pred2); local
179 if (stmt1 && stmt2
181 && gimple_code (stmt2) == GIMPLE_ASSIGN)
184 enum tree_code code2 = gimple_assign_rhs_code (stmt2);
190 tree lhs2 = gimple_assign_lhs (stmt2);
H A Dfunction-tests.cc485 gimple *stmt2 = stmt1->next; local
486 ASSERT_TRUE (stmt2 != NULL);
487 ASSERT_EQ (stmt1, stmt2->prev);
488 ASSERT_EQ (GIMPLE_RETURN, gimple_code (stmt2));
H A Dtree-call-cdce.cc424 gassign *stmt2;
437 stmt2 = gimple_build_assign (tempc,
441 tempcn = make_ssa_name (tempc, stmt2);
442 gimple_assign_set_lhs (stmt2, tempcn);
446 conds.quick_push (stmt2);
549 gimple *stmt1, *stmt2;
605 stmt2 = gimple_build_cond (GT_EXPR, tempn, cst0, NULL_TREE, NULL_TREE);
608 conds.quick_push (stmt2);
421 gassign *stmt2; local
546 gimple *stmt1, *stmt2; local
H A Dtree-ssa-forwprop.cc1255 gimple *stmt1, *stmt2 = gsi_stmt (*gsi_p); local
1258 tree vuse = gimple_vuse (stmt2);
1266 if (gimple_call_num_args (stmt2) != 3
1267 || gimple_call_lhs (stmt2)
1275 tree ptr2 = gimple_call_arg (stmt2, 0);
1276 tree val2 = gimple_call_arg (stmt2, 1);
1277 tree len2 = gimple_call_arg (stmt2, 2);
1373 || use_stmt != stmt2))
1381 || use_stmt != stmt2))
1400 rtl_profile_for_bb (gimple_bb (stmt2));
[all...]
H A Dvalue-prof.cc678 gassign *stmt1, *stmt2; local
701 stmt2 = gimple_build_assign (tmp1, op2);
704 gsi_insert_before (&gsi, stmt2, GSI_SAME_STMT);
889 gassign *stmt1, *stmt2, *stmt3; local
912 stmt2 = gimple_build_assign (tmp2, PLUS_EXPR, op2,
917 gsi_insert_before (&gsi, stmt2, GSI_SAME_STMT);
1040 gimple *stmt2; local
1063 stmt2 = gimple_build_assign (tmp1, op2);
1066 gsi_insert_before (&gsi, stmt2, GSI_SAME_STMT);
1073 stmt2
[all...]
H A Dtree-predcom.cc2692 gimple *stmt1, *stmt2; local
2698 stmt2 = find_use_stmt (name2);
2699 if (!stmt2)
2702 if (stmt1 == stmt2)
2708 stmt2 = find_associative_operation_root (stmt2, NULL);
2709 if (!stmt2)
2712 return (stmt1 == stmt2 ? stmt1 : NULL);
2791 gimple *stmt1, *stmt2, *root1, *root2, *s1, *s2; local
2800 stmt2
2876 gimple *stmt1, *stmt2; local
[all...]
H A Dtree-profile.cc269 gassign *stmt2 = gimple_build_assign (gcov_type_tmp_var, PLUS_EXPR, local
272 gimple_assign_lhs (stmt2));
274 gsi_insert_on_edge (e, stmt2);
369 gassign *stmt1, *stmt2, *stmt3; local
380 stmt2: tmp1 = (void *) (indirect call argument value)
398 stmt2 = gimple_build_assign (tmp1, unshare_expr (value->hvalue.value));
404 gsi_insert_before (&gsi, stmt2, GSI_SAME_STMT);
H A Dtree-ssa-tail-merge.cc1243 merge_stmts_p (gimple *stmt1, gimple *stmt2) argument
1252 if (lookup_stmt_eh_lp_fn (cfun, stmt1) != lookup_stmt_eh_lp_fn (cfun, stmt2))
1272 return gimple_location (stmt1) == gimple_location (stmt2);
1297 gimple *stmt2 = gsi_stmt (gsi2); local
1300 && gimple_code (stmt2) == GIMPLE_LABEL)
1303 if (!gimple_equal_p (same_succ, stmt1, stmt2))
1306 if (!merge_stmts_p (stmt1, stmt2))
H A Dtree-ssa-math-opts.cc1035 gimple *stmt2 = USE_STMT (use_p); local
1036 if (is_gimple_debug (stmt2))
1038 if (!is_gimple_assign (stmt2)
1039 || gimple_assign_rhs_code (stmt2) != RDIV_EXPR
1040 || gimple_assign_rhs1 (stmt2) == arg1
1041 || gimple_assign_rhs2 (stmt2) != arg1)
1057 gcall *stmt2; local
1059 stmt2 = gimple_build_call_vec (fndecl, args);
1061 stmt2 = gimple_build_call_internal_vec (ifn, args);
1062 gimple_call_set_lhs (stmt2, arg
3379 gimple *stmt2 = SSA_NAME_DEF_STMT (ops[1]); local
[all...]
H A Dtree-ssa-reassoc.cc1406 gimple *stmt2 = SSA_NAME_DEF_STMT (gimple_assign_rhs2 (stmt)); local
1407 if (stmt_is_power_of_op (stmt2, op))
1409 if (decrement_power (stmt2) == 1)
1410 propagate_op_to_single_use (op, stmt2, def);
1412 stmts_to_fix.safe_push (stmt2);
1415 else if (is_gimple_assign (stmt2)
1416 && gimple_assign_rhs_code (stmt2) == NEGATE_EXPR)
1418 if (gimple_assign_rhs1 (stmt2) == op)
1421 propagate_op_to_single_use (cst, stmt2, def);
1427 stmts_to_fix.safe_push (stmt2);
5502 gimple *stmt1 = NULL, *stmt2 = NULL; local
[all...]

Completed in 306 milliseconds

12