Lines Matching defs:ep
67 show_entry(insn->bb->ep);
77 show_entry(insn->bb->ep);
88 static int check_branch(struct entrypoint *ep, struct instruction *insn, struct basic_block *bb)
90 if (bb->ep && lookup_bb(ep->bbs, bb))
96 static int check_switch(struct entrypoint *ep, struct instruction *insn)
102 err = check_branch(ep, insn, jmp->target);
121 static int validate_insn(struct entrypoint *ep, struct instruction *insn)
143 err += check_branch(ep, insn, insn->bb_true);
144 err += check_branch(ep, insn, insn->bb_false);
171 err += check_branch(ep, insn, insn->bb_true);
174 err += check_switch(ep, insn);
187 int ir_validate(struct entrypoint *ep)
195 FOR_EACH_PTR(ep->bbs, bb) {
200 err += validate_insn(ep, insn);