Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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 …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoder.h45 #define modFromModRM(modRM) twoBitsFromOffset6(modRM) argument
46 #define regFromModRM(modRM) threeBitsFromOffset3(modRM) argument
47 #define rmFromModRM(modRM) threeBitsFromOffset0(modRM) argument
747 uint8_t modRM; member
H A DX86Disassembler.cpp174 if (modFromModRM(modRM) == 0x3) in decode()
178 if (modFromModRM(modRM) == 0x3) in decode()
182 if (modFromModRM(modRM) == 0x3) in decode()
186 return modRMTable[dec->instructionIDs + modRM]; in decode()
581 switch (modFromModRM(insn->modRM)) { in readSIB()
644 if (consume(insn, insn->modRM)) in readModRM()
648 mod = modFromModRM(insn->modRM); in readModRM()
649 rm = rmFromModRM(insn->modRM); in readModRM()
650 reg = regFromModRM(insn->modRM); in readModRM()
877 modFromModRM(insn->modRM) == 3) { in fixupReg()
[all …]