Lines Matching defs:dlp
41 dt_irlist_create(dt_irlist_t *dlp)
43 bzero(dlp, sizeof (dt_irlist_t));
44 dlp->dl_label = 1;
48 dt_irlist_destroy(dt_irlist_t *dlp)
52 for (dip = dlp->dl_list; dip != NULL; dip = nip) {
59 dt_irlist_append(dt_irlist_t *dlp, dt_irnode_t *dip)
61 if (dlp->dl_last != NULL)
62 dlp->dl_last->di_next = dip;
64 dlp->dl_list = dip;
66 dlp->dl_last = dip;
69 dlp->dl_len++; /* don't count forward refs in instr count */
73 dt_irlist_label(dt_irlist_t *dlp)
75 return (dlp->dl_label++);
212 dt_irlist_t *dlp = &pcb->pcb_ir;
272 dp->dtdo_buf = dt_alloc(dtp, sizeof (dif_instr_t) * dlp->dl_len);
277 if ((labels = dt_alloc(dtp, sizeof (uint_t) * dlp->dl_label)) == NULL)
286 for (i = 0, dip = dlp->dl_list; dip != NULL; dip = dip->di_next) {
315 assert(i == dlp->dl_len);
316 dp->dtdo_len = dlp->dl_len;
335 assert(DIF_INSTR_LABEL(instr) < dlp->dl_label);
409 for (dip = dlp->dl_list; dip != NULL; dip = dip->di_next) {