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);
1045 struct interval inv;
1046 inv.Reg = i;
1047 inv.Start = intBegin[i];
1048 inv.End = intEnd[i];
1049 append_interval(liveIntervals, &inv);
1059 const struct interval *inv = liveIntervals->Intervals + i;
1061 inv->Reg, inv->Start, inv->End);
1064 for (j = 0; j < inv->Start; j++)
1066 for (j = inv->Start; j <= inv->End; j++)
1142 const struct interval *inv = activeIntervals.Intervals + j;
1143 if (inv->End >= live->Start) {
1150 /* Interval 'inv' has expired */
1151 const GLint regNew = registerMap[inv->Reg];
1155 printf(" expire interval for reg %u\n", inv->Reg);
1158 remove_interval(&activeIntervals, inv);