Lines Matching refs:attr
111 insn_attr_t attr; in insn_get_prefixes() local
123 attr = inat_get_opcode_attribute(b); in insn_get_prefixes()
124 while (inat_is_legacy_prefix(attr)) { in insn_get_prefixes()
133 if (inat_is_address_size_prefix(attr)) { in insn_get_prefixes()
139 } else if (inat_is_operand_size_prefix(attr)) { in insn_get_prefixes()
148 attr = inat_get_opcode_attribute(b); in insn_get_prefixes()
165 attr = inat_get_opcode_attribute(b); in insn_get_prefixes()
166 if (inat_is_rex_prefix(attr)) { in insn_get_prefixes()
179 attr = inat_get_opcode_attribute(b); in insn_get_prefixes()
180 if (inat_is_vex_prefix(attr)) { in insn_get_prefixes()
193 if (inat_is_evex_prefix(attr)) { in insn_get_prefixes()
203 } else if (inat_is_vex3_prefix(attr)) { in insn_get_prefixes()
272 insn->attr = inat_get_avx_attribute(op, m, p); in insn_get_opcode()
273 if ((inat_must_evex(insn->attr) && !insn_is_evex(insn)) || in insn_get_opcode()
274 (!inat_accept_vex(insn->attr) && in insn_get_opcode()
275 !inat_is_group(insn->attr))) { in insn_get_opcode()
277 insn->attr = 0; in insn_get_opcode()
284 insn->attr = inat_get_opcode_attribute(op); in insn_get_opcode()
285 while (inat_is_escape(insn->attr)) { in insn_get_opcode()
290 insn->attr = inat_get_escape_attribute(op, pfx_id, insn->attr); in insn_get_opcode()
293 if (inat_must_vex(insn->attr)) { in insn_get_opcode()
295 insn->attr = 0; in insn_get_opcode()
333 if (inat_has_modrm(insn->attr)) { in insn_get_modrm()
337 if (inat_is_group(insn->attr)) { in insn_get_modrm()
339 insn->attr = inat_get_group_attribute(mod, pfx_id, in insn_get_modrm()
340 insn->attr); in insn_get_modrm()
341 if (insn_is_avx(insn) && !inat_accept_vex(insn->attr)) { in insn_get_modrm()
343 insn->attr = 0; in insn_get_modrm()
349 if (insn->x86_64 && inat_is_force64(insn->attr)) in insn_get_modrm()
636 if (inat_has_moffset(insn->attr)) { in insn_get_immediate()
642 if (!inat_has_immediate(insn->attr)) in insn_get_immediate()
646 switch (inat_immediate_size(insn->attr)) { in insn_get_immediate()
681 if (inat_has_second_immediate(insn->attr)) { in insn_get_immediate()