Lines Matching full:alternative
40 * Maximum number of instructions per alternative
45 * Information to disassemble an alternative
49 struct alternative *alt; /* alternative or NULL if default code */
50 char *name; /* name for this alternative */
56 } insn[DISAS_ALT_INSN_MAX]; /* alternative instructions */
192 * Check if we are processing an alternative at the original in disas_print_addr_alt()
194 * we are referencing an address inside the alternative. in disas_print_addr_alt()
197 * alternative. In that case, the address should be updated in disas_print_addr_alt()
521 * Alternative can insert a fake nop, sometimes with no in disas_print_insn()
556 * alternative (i.e. insn->alt_group != NULL), and it is disassembled
558 * instruction references any address inside the alternative then
619 * example alternative instructions and an exception table. In that
620 * case the name for the alternative instructions type is used.
622 * Return NULL if the instruction as no alternative.
626 struct alternative *alt; in disas_alt_type_name()
632 name = "alternative"; in disas_alt_type_name()
653 * Provide a name for an alternative.
655 char *disas_alt_name(struct alternative *alt) in disas_alt_name()
676 * This is a non-default group alternative. Create a name in disas_alt_name()
678 * alternative. Use either the feature name (it is available) in disas_alt_name()
684 * '!' alternative used when feature not enabled in disas_alt_name()
685 * '+' direct call alternative in disas_alt_name()
717 * Initialize an alternative. The default alternative should be initialized
722 struct alternative *alt) in disas_alt_init()
741 WARN("Alternative %lx.%s has more instructions than supported", in disas_alt_add_insn()
788 * Disassemble an exception table alternative.
808 * Disassemble an alternative and store instructions in the disas_alt
809 * structure. Return the number of instructions in the alternative.
845 * Disassemble the default alternative.
857 * Default alternative with no alt_group: this is the default in disas_alt_default()
860 * the default alternative is made of a single instruction. in disas_alt_default()
875 * For each alternative, if there is an instruction at the specified
877 * The offset is an offset from the start of the alternative.
937 * Print an header with the name of each alternative. in disas_alt_print_wide()
951 * Print instructions for each alternative. in disas_alt_print_wide()
981 * alternative on a single line. Otherwise, print alternatives in disas_alt_print_compact()
1070 * Disassemble an alternative.
1072 * Return the last instruction in the default alternative so that
1081 struct alternative *alt; in disas_alt()
1093 WARN("Failed to define name for alternative at instruction 0x%lx", in disas_alt()
1099 * Initialize and disassemble the default alternative. in disas_alt()
1103 WARN("%s: failed to initialize default alternative", alt_name); in disas_alt()
1109 WARN("%s: failed to disassemble default alternative", alt_name); in disas_alt()
1126 WARN("%s: failed to disassemble alternative", alt_name); in disas_alt()
1143 WARN("%s: failed to disassemble alternative %s", in disas_alt()
1196 * the alternative. Resume disassembling in disas_func()
1198 * disassemble the default alternative in disas_func()
1200 * the alternative. in disas_func()