/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | X86ModRMFilters.h | 45 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/utils/TableGen/ |
D | X86ModRMFilters.h | 46 virtual bool accepts(uint8_t modRM) const = 0; 59 bool accepts(uint8_t modRM) const override { in accepts() argument 82 bool accepts(uint8_t modRM) const override { in accepts() argument 83 return (R == ((modRM & 0xc0) == 0xc0)); in accepts() 105 bool accepts(uint8_t modRM) const override { in accepts() argument 106 return (((R && ((modRM & 0xc0) == 0xc0)) || in accepts() 107 (!R && ((modRM & 0xc0) != 0xc0))) && in accepts() 108 (((modRM & 0x38) >> 3) == NNN)); in accepts() 121 ExactFilter(uint8_t modRM) : in ExactFilter() argument 123 ModRM(modRM) { in ExactFilter() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | X86ModRMFilters.h | 46 virtual bool accepts(uint8_t modRM) const = 0; 59 bool accepts(uint8_t modRM) const override { in accepts() argument 82 bool accepts(uint8_t modRM) const override { in accepts() argument 83 return (R == ((modRM & 0xc0) == 0xc0)); in accepts() 105 bool accepts(uint8_t modRM) const override { in accepts() argument 106 return (((R && ((modRM & 0xc0) == 0xc0)) || in accepts() 107 (!R && ((modRM & 0xc0) != 0xc0))) && in accepts() 108 (((modRM & 0x38) >> 3) == NNN)); in accepts() 121 ExactFilter(uint8_t modRM) : in ExactFilter() argument 123 ModRM(modRM) { in ExactFilter() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/Disassembler/ |
D | X86DisassemblerDecoder.h | 37 #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
|
D | X86DisassemblerDecoder.c | 105 uint8_t modRM) { in decode() argument 139 if (modFromModRM(modRM) == 0x3) in decode() 144 return dec->instructionIDs[modRM]; in decode() 668 insn->modRM); in getIDWithAttrMask() 968 switch (modFromModRM(insn->modRM)) { in readSIB() 1055 if (consumeByte(insn, &insn->modRM)) in readModRM() 1059 mod = modFromModRM(insn->modRM); in readModRM() 1060 rm = rmFromModRM(insn->modRM); in readModRM() 1061 reg = regFromModRM(insn->modRM); in readModRM() 1327 insn->opcodeModifier = insn->modRM - insn->spec->modifierBase; in readOpcodeModifier()
|
/external/capstone/arch/X86/ |
D | X86DisassemblerDecoder.c | 159 uint8_t modRM) in decode() argument 242 if (modFromModRM(modRM) == 0x3) in decode() 246 if (modFromModRM(modRM) == 0x3) in decode() 247 return modRMTable[dec->instructionIDs+((modRM & 0x38) >> 3)+8]; in decode() 248 return modRMTable[dec->instructionIDs+((modRM & 0x38) >> 3)]; in decode() 250 if (modFromModRM(modRM) == 0x3) in decode() 251 return modRMTable[dec->instructionIDs+(modRM & 0x3f)+8]; in decode() 252 return modRMTable[dec->instructionIDs+((modRM & 0x38) >> 3)]; in decode() 254 return modRMTable[dec->instructionIDs+modRM]; in decode() 1108 insn->modRM); in getIDWithAttrMask() [all …]
|
D | X86DisassemblerDecoder.h | 36 #define modFromModRM(modRM) (((modRM) & 0xc0) >> 6) argument 37 #define regFromModRM(modRM) (((modRM) & 0x38) >> 3) argument 38 #define rmFromModRM(modRM) ((modRM) & 0x7) argument 681 uint8_t modRM; member
|
D | X86Disassembler.c | 668 translateFPRegister(mcInst, insn->modRM & 7); in translateOperand()
|
/external/llvm/lib/Target/X86/Disassembler/ |
D | X86DisassemblerDecoder.h | 26 #define modFromModRM(modRM) (((modRM) & 0xc0) >> 6) argument 27 #define regFromModRM(modRM) (((modRM) & 0x38) >> 3) argument 28 #define rmFromModRM(modRM) ((modRM) & 0x7) argument 606 uint8_t modRM; member
|
D | X86DisassemblerDecoder.cpp | 125 uint8_t modRM) { in decode() argument 159 if (modFromModRM(modRM) == 0x3) in decode() 163 if (modFromModRM(modRM) == 0x3) in decode() 164 return modRMTable[dec->instructionIDs+((modRM & 0x38) >> 3)+8]; in decode() 165 return modRMTable[dec->instructionIDs+((modRM & 0x38) >> 3)]; in decode() 167 if (modFromModRM(modRM) == 0x3) in decode() 168 return modRMTable[dec->instructionIDs+(modRM & 0x3f)+8]; in decode() 169 return modRMTable[dec->instructionIDs+((modRM & 0x38) >> 3)]; in decode() 171 return modRMTable[dec->instructionIDs+modRM]; in decode() 810 insn->modRM); in getIDWithAttrMask() [all …]
|
D | X86Disassembler.cpp | 1010 translateFPRegister(mcInst, insn.modRM & 7); in translateOperand()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/Disassembler/ |
D | X86DisassemblerDecoder.h | 26 #define modFromModRM(modRM) (((modRM) & 0xc0) >> 6) argument 27 #define regFromModRM(modRM) (((modRM) & 0x38) >> 3) argument 28 #define rmFromModRM(modRM) ((modRM) & 0x7) argument 610 uint8_t modRM; member
|
D | X86DisassemblerDecoder.cpp | 128 uint8_t modRM) { in decode() argument 165 if (modFromModRM(modRM) == 0x3) in decode() 169 if (modFromModRM(modRM) == 0x3) in decode() 170 return modRMTable[dec->instructionIDs+((modRM & 0x38) >> 3)+8]; in decode() 171 return modRMTable[dec->instructionIDs+((modRM & 0x38) >> 3)]; in decode() 173 if (modFromModRM(modRM) == 0x3) in decode() 174 return modRMTable[dec->instructionIDs+(modRM & 0x3f)+8]; in decode() 175 return modRMTable[dec->instructionIDs+((modRM & 0x38) >> 3)]; in decode() 177 return modRMTable[dec->instructionIDs+modRM]; in decode() 790 insn->modRM); in getIDWithAttrMask() [all …]
|
D | X86Disassembler.cpp | 991 translateFPRegister(mcInst, insn.modRM & 7); in translateOperand()
|
/external/capstone/bindings/ocaml/ |
D | test_x86.ml | 61 (* print modRM byte *)
|