Home
last modified time | relevance | path

Searched refs:bb_postorder (Results 1 – 9 of 9) sorted by relevance

/netbsd/external/gpl3/gcc/dist/gcc/
H A Ddomwalk.c136 int *bb_postorder = (int *)data; in cmp_bb_postorder() local
138 return bb_postorder[bb2->index] - bb_postorder[bb1->index]; in cmp_bb_postorder()
145 sort_bbs_postorder (basic_block *bbs, int n, int *bb_postorder) in sort_bbs_postorder() argument
150 if (bb_postorder[bb0->index] < bb_postorder[bb1->index]) in sort_bbs_postorder()
156 if (bb_postorder[bb0->index] < bb_postorder[bb1->index]) in sort_bbs_postorder()
158 if (bb_postorder[bb1->index] < bb_postorder[bb2->index]) in sort_bbs_postorder()
161 if (bb_postorder[bb0->index] < bb_postorder[bb1->index]) in sort_bbs_postorder()
167 gcc_sort_r (bbs, n, sizeof *bbs, cmp_bb_postorder, bb_postorder); in sort_bbs_postorder()
H A Ddomwalk.cc136 int *bb_postorder = (int *)data; in cmp_bb_postorder() local
138 return bb_postorder[bb2->index] - bb_postorder[bb1->index]; in cmp_bb_postorder()
145 sort_bbs_postorder (basic_block *bbs, int n, int *bb_postorder) in sort_bbs_postorder() argument
150 if (bb_postorder[bb0->index] < bb_postorder[bb1->index]) in sort_bbs_postorder()
156 if (bb_postorder[bb0->index] < bb_postorder[bb1->index]) in sort_bbs_postorder()
158 if (bb_postorder[bb1->index] < bb_postorder[bb2->index]) in sort_bbs_postorder()
161 if (bb_postorder[bb0->index] < bb_postorder[bb1->index]) in sort_bbs_postorder()
167 gcc_sort_r (bbs, n, sizeof *bbs, cmp_bb_postorder, bb_postorder); in sort_bbs_postorder()
H A Dtree-ssa-dce.c115 static int *bb_postorder; variable
1164 if (!bb_postorder) in remove_dead_stmt()
1169 bb_postorder = XNEWVEC (int, last_basic_block_for_fn (cfun)); in remove_dead_stmt()
1171 bb_postorder[postorder[i]] = i; in remove_dead_stmt()
1175 || bb_postorder [e->dest->index] in remove_dead_stmt()
1176 < bb_postorder [e2->dest->index]) in remove_dead_stmt()
1610 if (bb_postorder) in eliminate_unnecessary_stmts()
1611 free (bb_postorder); in eliminate_unnecessary_stmts()
1612 bb_postorder = NULL; in eliminate_unnecessary_stmts()
H A Dtree-ssa-dce.cc116 static int *bb_postorder; variable
1105 if (!bb_postorder) in remove_dead_stmt()
1110 bb_postorder = XNEWVEC (int, last_basic_block_for_fn (cfun)); in remove_dead_stmt()
1112 bb_postorder[postorder[i]] = i; in remove_dead_stmt()
1116 || bb_postorder [e->dest->index] in remove_dead_stmt()
1117 < bb_postorder [e2->dest->index]) in remove_dead_stmt()
1578 if (bb_postorder) in eliminate_unnecessary_stmts()
1579 free (bb_postorder); in eliminate_unnecessary_stmts()
1580 bb_postorder = NULL; in eliminate_unnecessary_stmts()
H A DChangeLog-2015423 * tree-ssa-dce.c (bb_postorder): New static var.
428 (eliminate_unnecessary_stmts): Free bb_postorder.
H A DChangeLog-201919330 * domwalk.c (bb_postorder): Remove static variable.
H A DChangeLog-201336418 * domwalk.c (bb_postorder): New global static.
/netbsd/external/gpl3/gcc.old/dist/gcc/
H A Ddomwalk.c136 int *bb_postorder = (int *)data; in cmp_bb_postorder() local
138 return bb_postorder[bb2->index] - bb_postorder[bb1->index]; in cmp_bb_postorder()
145 sort_bbs_postorder (basic_block *bbs, int n, int *bb_postorder) in sort_bbs_postorder() argument
150 if (bb_postorder[bb0->index] < bb_postorder[bb1->index]) in sort_bbs_postorder()
156 if (bb_postorder[bb0->index] < bb_postorder[bb1->index]) in sort_bbs_postorder()
158 if (bb_postorder[bb1->index] < bb_postorder[bb2->index]) in sort_bbs_postorder()
161 if (bb_postorder[bb0->index] < bb_postorder[bb1->index]) in sort_bbs_postorder()
167 gcc_sort_r (bbs, n, sizeof *bbs, cmp_bb_postorder, bb_postorder); in sort_bbs_postorder()
H A Dtree-ssa-dce.c115 static int *bb_postorder; variable
1164 if (!bb_postorder) in remove_dead_stmt()
1169 bb_postorder = XNEWVEC (int, last_basic_block_for_fn (cfun)); in remove_dead_stmt()
1171 bb_postorder[postorder[i]] = i; in remove_dead_stmt()
1175 || bb_postorder [e->dest->index] in remove_dead_stmt()
1176 < bb_postorder [e2->dest->index]) in remove_dead_stmt()
1610 if (bb_postorder) in eliminate_unnecessary_stmts()
1611 free (bb_postorder); in eliminate_unnecessary_stmts()
1612 bb_postorder = NULL; in eliminate_unnecessary_stmts()