Lines Matching refs:entry
43 static int context_increase(struct basic_block *bb, int entry)
56 int current = sum + entry;
70 static int imbalance(struct entrypoint *ep, struct basic_block *bb, int entry, int exit, const char *why)
79 static int check_bb_context(struct entrypoint *ep, struct basic_block *bb, int entry, int exit);
81 static int check_children(struct entrypoint *ep, struct basic_block *bb, int entry, int exit)
90 return entry != exit ? imbalance(ep, bb, entry, exit, "wrong count at exit") : 0;
93 if (check_bb_context(ep, child, entry, exit))
99 static int check_bb_context(struct entrypoint *ep, struct basic_block *bb, int entry, int exit)
103 if (bb->context == entry)
108 return imbalance(ep, bb, entry, bb->context, "different lock contexts for basic block");
110 bb->context = entry;
111 entry += context_increase(bb, entry);
112 if (entry < 0)
113 return imbalance(ep, bb, entry, exit, "unexpected unlock");
115 return check_children(ep, bb, entry, exit);
249 if (Wuninitialized && verbose && ep->entry->bb->needs) {
251 FOR_EACH_PTR(ep->entry->bb->needs, pseudo) {
264 check_bb_context(ep, ep->entry->bb, in_context, out_context);
307 if (ep && ep->entry) {