Lines Matching defs:inv
824 append_interval(struct interval_list *list, const struct interval *inv)
826 list->Intervals[list->Num++] = *inv;
830 /** Insert interval inv into list, sorted by interval end */
832 insert_interval_by_end(struct interval_list *list, const struct interval *inv)
836 while (i >= 0 && list->Intervals[i].End > inv->End) {
840 list->Intervals[i + 1] = *inv;
856 remove_interval(struct interval_list *list, const struct interval *inv)
861 if (list->Intervals[k].Reg == inv->Reg) {
863 assert(list->Intervals[k].Start == inv->Start);
864 assert(list->Intervals[k].End == inv->End);
1046 struct interval inv;
1047 inv.Reg = i;
1048 inv.Start = intBegin[i];
1049 inv.End = intEnd[i];
1050 append_interval(liveIntervals, &inv);
1060 const struct interval *inv = liveIntervals->Intervals + i;
1062 inv->Reg, inv->Start, inv->End);
1065 for (j = 0; j < inv->Start; j++)
1067 for (j = inv->Start; j <= inv->End; j++)
1143 const struct interval *inv = activeIntervals.Intervals + j;
1144 if (inv->End >= live->Start) {
1151 /* Interval 'inv' has expired */
1152 const GLint regNew = registerMap[inv->Reg];
1156 printf(" expire interval for reg %u\n", inv->Reg);
1159 remove_interval(&activeIntervals, inv);