Home | History | Annotate | Download | only in libcpu

Lines Matching refs:runp

391 		      struct bitvalue *runp = $1;
392 while (runp->next != NULL)
393 runp = runp->next;
394 runp->next = $3;
406 struct bitvalue *runp = $1;
407 while (runp->next != NULL)
408 runp = runp->next;
409 runp->next = $2;
460 struct argument *runp = $1;
461 while (runp->next != NULL)
462 runp = runp->next;
463 runp->next = xmalloc (sizeof (struct argument));
464 runp->next->name = combine ($3);
465 runp->next->next = NULL;
478 struct argname *runp = $1;
479 while (runp->next != NULL)
480 runp = runp->next;
481 runp->next = $2;
592 struct bitvalue *runp = val;
595 while (runp != NULL)
597 if (runp->type == zeroone)
599 else if (runp->field == NULL)
603 total += runp->field->bits;
605 runp = runp->next;
671 struct bitvalue *runp = bitval;
673 while (runp != NULL)
674 if (runp->type == field && runp->field == name->field)
677 runp = runp->next;
679 if (runp == NULL)
707 struct argument *runp;
708 for (runp = args; runp != NULL; runp = runp->next)
710 struct argname *name = runp->name;
723 if (runp == NULL)
743 for (struct argname *runp = name; runp != NULL; runp = runp->next)
745 if (runp->type == string)
748 last_str = runp;
753 + strlen (runp->str) + 1);
754 strcat (last_str->str, runp->str);
755 last_str->next = runp->next;
780 struct argname *runp = name;
782 while (runp != NULL)
785 if (runp->type == string)
792 instr->operands[n].str = runp->str;
796 assert (runp->type == nfield);
802 if (runp->field == NULL)
807 char *fieldname = runp->field->name;
821 if (runp->field != NULL)
826 if (strcmp (b->field->name, runp->field->name) == 0)
846 if (runp->field != NULL
847 && strncasecmp (runp->field->name, "mod", 3) == 0)
851 runp = runp->next;
905 struct instruction *runp = instructions;
906 while (runp != NULL)
909 if (runp->operands[i].fct != NULL)
911 struct argstring search = { .str = runp->operands[i].fct };
915 newp->str = runp->operands[i].fct;
922 if (runp->operands[i].str != NULL)
924 search.str = runp->operands[i].str;
928 newp->str = runp->operands[i].str;
936 maxoff[i][0] = MAX (maxoff[i][0], runp->operands[i].off1);
937 maxoff[i][1] = MAX (maxoff[i][1], runp->operands[i].off2);
938 maxoff[i][2] = MAX (maxoff[i][2], runp->operands[i].off3);
940 if (runp->operands[i].off1 > 0)
941 minoff[i][0] = MIN (minoff[i][0], runp->operands[i].off1);
942 if (runp->operands[i].off2 > 0)
943 minoff[i][1] = MIN (minoff[i][1], runp->operands[i].off2);
944 if (runp->operands[i].off3 > 0)
945 minoff[i][2] = MIN (minoff[i][2], runp->operands[i].off3);
948 struct instruction *old = runp;
949 runp = runp->next;