Lines Matching defs:top
495 // If we reach the top of the BB we can recurse into the parents BBs.
869 static void remove_merging_phi(struct basic_block *top, struct instruction *insn)
880 if (def->bb != top)
891 // @top: the first BB to be merged
893 static int merge_bb(struct basic_block *top, struct basic_block *bot)
898 if (top == bot)
901 top->children = bot->children;
905 FOR_EACH_PTR(top->children, bb) {
906 replace_bb_in_list(&bb->parents, bot, top, 1);
909 FOR_EACH_PTR(top->insns, insn) {
917 kill_instruction(delete_last_instruction(&top->insns));
924 remove_merging_phi(top, insn);
927 insn->bb = top;
928 add_instruction(&top->insns, insn);