Lines Matching defs:format

276          * No need to call this.set(), since the format and other info
359 * the format out of each instruction into a separate array, to be
382 * @param formats {@code non-null;} array of per-instruction format selections
411 * No need to call this.set() since the format and
431 * @param formats {@code non-null;} array of per-instruction format selections
472 * Attempts to fit the given instruction into a format, returning
473 * either a format that the instruction fits into or {@code null}
475 * fitting process starts with the given format as a first "best
479 * @param format {@code null-ok;} the current guess as to the best instruction
480 * format to use; {@code null} means that no simple format fits
481 * @return {@code null-ok;} a possibly-different format, which is either a
482 * good fit or {@code null} to indicate that no simple format
485 private InsnFormat findFormatForInsn(DalvInsn insn, InsnFormat format) {
486 if (format == null) {
487 // The instruction is already known not to fit any simple format.
488 return format;
491 if (format.isCompatible(insn)) {
492 // The instruction already fits in the current best-known format.
493 return format;
500 format = format.nextUp();
501 if ((format == null) ||
502 (format.isCompatible(insn) &&
503 (Dops.getOrNull(family, format) != null))) {
508 return format;
523 * simple instruction format can be found for a given instruction that
530 * @param formats {@code non-null;} array of per-instruction format selections
536 * merely need to replace any instructions whose format changed
546 InsnFormat format = formats[i];
548 if (format != dop.getFormat()) {
549 dop = Dops.getOrNull(dop.getFamily(), format);
569 * @param formats {@code non-null;} array of per-instruction format selections
595 * let findFormatForInsn() pick a better format, if any.
673 InsnFormat format = dop.getFormat();
676 if (format.branchFits(target)) {
682 InsnFormat newFormat = findFormatForInsn(insn, format);