Lines Matching defs:bb_true
338 buf += sprintf(buf, "%s, %s, %s", show_pseudo(insn->cond), show_label(insn->bb_true), show_label(insn->bb_false));
342 buf += sprintf(buf, "%s", show_label(insn->bb_true));
347 buf += sprintf(buf, "%s", show_label(insn->bb_true));
659 br->bb_true = dst;
739 static void add_branch(struct entrypoint *ep, pseudo_t cond, struct basic_block *bb_true, struct basic_block *bb_false)
747 br->bb_true = bb_true;
749 add_bb(&bb_true->parents, bb);
751 add_bb(&bb->children, bb_true);
1604 static pseudo_t linearize_logical_branch(struct entrypoint *ep, struct expression *expr, struct basic_block *bb_true, struct basic_block *bb_false);
1606 static pseudo_t linearize_cond_branch(struct entrypoint *ep, struct expression *expr, struct basic_block *bb_true, struct basic_block *bb_false);
1683 struct basic_block *bb_true, *bb_false, *merge;
1687 bb_true = alloc_basic_block(ep, expr_true->pos);
1691 linearize_cond_branch(ep, cond, bb_true, bb_false);
1693 set_activeblock(ep, bb_true);
1777 static pseudo_t linearize_cond_branch(struct entrypoint *ep, struct expression *expr, struct basic_block *bb_true, struct basic_block *bb_false)
1788 add_goto(ep, expr->value ? bb_true : bb_false);
1791 add_goto(ep, expr->fvalue ? bb_true : bb_false);
1794 linearize_logical_branch(ep, expr, bb_true, bb_false);
1798 add_branch(ep, cond, bb_true, bb_false);
1802 return linearize_cond_branch(ep, expr->unop, bb_false, bb_true);
1806 add_branch(ep, cond, bb_true, bb_false);
1813 static pseudo_t linearize_logical_branch(struct entrypoint *ep, struct expression *expr, struct basic_block *bb_true, struct basic_block *bb_false)
1818 linearize_cond_branch(ep, expr->left, bb_true, next);
1822 linearize_cond_branch(ep, expr->right, bb_true, bb_false);
2446 struct basic_block *bb_true, *bb_false, *endif;
2449 bb_true = alloc_basic_block(ep, stmt->pos);
2456 linearize_cond_branch(ep, cond, bb_true, bb_false);
2458 set_activeblock(ep, bb_true);