Lines Matching defs:parent
193 // check if the sources of a phi-node match with the parent BBs
347 * If we're the only parent, at least we can rewrite the
499 struct basic_block *parent;
528 FOR_EACH_PTR(bb->parents, parent) {
529 if (bb_list_size(parent->children) > 1)
531 kill_dead_stores_bb(pseudo, generation, parent, local);
532 } END_FOR_EACH_PTR(parent);
622 struct basic_block *child, *parent;
641 FOR_EACH_PTR(bb->parents, parent) {
642 remove_bb_from_list(&parent->children, bb, 0);
643 } END_FOR_EACH_PTR(parent);
699 struct basic_block *parent;
710 * We can't do FOR_EACH_PTR() here, because the parent list
711 * may change when we rewrite the parent.
713 while ((parent = first_basic_block(bb->parents)) != NULL) {
714 if (!rewrite_parent_branch(parent, bb, target))
832 struct basic_block *parent;
835 * We can't do FOR_EACH_PTR() here, because the parent list
836 * may change when we rewrite the parent.
838 while ((parent = first_basic_block(bb->parents))) {
839 if (!rewrite_parent_branch(parent, bb, target))
940 // # merge single-child/single-parent BBs.
979 struct basic_block *parent, *child, *last;
1011 * See if we only have one parent..
1014 FOR_EACH_PTR(bb->parents, parent) {
1016 if (last != parent)
1020 last = parent;
1021 } END_FOR_EACH_PTR(parent);
1023 parent = last;
1024 if (!parent || parent == bb)
1028 * Goodie. See if the parent can merge..
1030 FOR_EACH_PTR(parent->children, child) {
1035 repeat_phase |= merge_bb(parent, bb);