Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/utils/TableGen/
H A DX86ModRMFilters.h45 virtual bool accepts(uint8_t modRM) const = 0;
58 bool accepts(uint8_t modRM) const override { in accepts() argument
78 bool accepts(uint8_t modRM) const override { in accepts() argument
79 return (R == ((modRM & 0xc0) == 0xc0)); in accepts()
97 bool accepts(uint8_t modRM) const override { in accepts() argument
100 (((modRM & 0x38) >> 3) == NNN)); in accepts()
118 bool accepts(uint8_t modRM) const override { in accepts() argument
119 return ((R && ((modRM & 0xc0) == 0xc0)) && in accepts()
120 ((modRM & 0x7) == NNN)); in accepts()
132 ExactFilter(uint8_t modRM) : ModRM(modRM) {} in ExactFilter() argument
[all …]
/llvm-project-15.0.7/llvm/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoder.h25 #define modFromModRM(modRM) (((modRM) & 0xc0) >> 6) argument
26 #define regFromModRM(modRM) (((modRM) & 0x38) >> 3) argument
27 #define rmFromModRM(modRM) ((modRM) & 0x7) argument
597 uint8_t modRM; member
H A DX86Disassembler.cpp124 uint8_t opcode, uint8_t modRM) { in decode() argument
168 if (modFromModRM(modRM) == 0x3) in decode()
172 if (modFromModRM(modRM) == 0x3) in decode()
176 if (modFromModRM(modRM) == 0x3) in decode()
180 return modRMTable[dec->instructionIDs + modRM]; in decode()
550 switch (modFromModRM(insn->modRM)) { in readSIB()
613 if (consume(insn, insn->modRM)) in readModRM()
617 mod = modFromModRM(insn->modRM); in readModRM()
618 rm = rmFromModRM(insn->modRM); in readModRM()
619 reg = regFromModRM(insn->modRM); in readModRM()
[all …]