Home
last modified time | relevance | path

Searched refs:modRM (Results 1 – 3 of 3) sorted by relevance

/external/llvm/utils/TableGen/
DX86ModRMFilters.h45 virtual bool accepts(uint8_t modRM) const = 0;
57 bool accepts(uint8_t modRM) const { in accepts() argument
80 bool accepts(uint8_t modRM) const { in accepts() argument
81 if (R == ((modRM & 0xc0) == 0xc0)) in accepts()
110 bool accepts(uint8_t modRM) const { in accepts() argument
111 if ((C0_FF && modRM >= 0xc0 && (modRM == NNN_or_ModRM)) || in accepts()
112 (!C0_FF && modRM < 0xc0 && ((modRM & 0x38) >> 3) == NNN_or_ModRM)) in accepts()
131 AddRegEscapeFilter(uint8_t modRM) : ModRM(modRM) { in AddRegEscapeFilter() argument
134 bool accepts(uint8_t modRM) const { in accepts() argument
135 if (modRM >= ModRM && modRM < ModRM + 8) in accepts()
[all …]
/external/llvm/lib/Target/X86/Disassembler/
DX86DisassemblerDecoder.h37 #define modFromModRM(modRM) (((modRM) & 0xc0) >> 6) argument
38 #define regFromModRM(modRM) (((modRM) & 0x38) >> 3) argument
39 #define rmFromModRM(modRM) ((modRM) & 0x7) argument
495 uint8_t modRM; member
DX86DisassemblerDecoder.c105 uint8_t modRM) { in decode() argument
139 if (modFromModRM(modRM) == 0x3) in decode()
144 return dec->instructionIDs[modRM]; in decode()
664 insn->modRM); in getIDWithAttrMask()
965 switch (modFromModRM(insn->modRM)) { in readSIB()
1052 if (consumeByte(insn, &insn->modRM)) in readModRM()
1056 mod = modFromModRM(insn->modRM); in readModRM()
1057 rm = rmFromModRM(insn->modRM); in readModRM()
1058 reg = regFromModRM(insn->modRM); in readModRM()
1324 insn->opcodeModifier = insn->modRM - insn->spec->modifierBase; in readOpcodeModifier()