/external/llvm-project/llvm/utils/TableGen/ |
D | X86ModRMFilters.h | 45 virtual bool accepts(uint8_t modRM) const = 0; 58 bool accepts(uint8_t modRM) const override { in accepts() argument 81 bool accepts(uint8_t modRM) const override { in accepts() argument 82 return (R == ((modRM & 0xc0) == 0xc0)); in accepts() 104 bool accepts(uint8_t modRM) const override { in accepts() argument 105 return (((R && ((modRM & 0xc0) == 0xc0)) || in accepts() 106 (!R && ((modRM & 0xc0) != 0xc0))) && in accepts() 107 (((modRM & 0x38) >> 3) == NNN)); in accepts() 129 bool accepts(uint8_t modRM) const override { in accepts() argument 130 return ((R && ((modRM & 0xc0) == 0xc0)) && 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-10.0/llvm/lib/Target/X86/Disassembler/ |
D | X86DisassemblerDecoder.h | 28 #define modFromModRM(modRM) (((modRM) & 0xc0) >> 6) argument 29 #define regFromModRM(modRM) (((modRM) & 0x38) >> 3) argument 30 #define rmFromModRM(modRM) ((modRM) & 0x7) argument 593 uint8_t modRM; member
|
D | X86Disassembler.cpp | 124 uint8_t opcode, uint8_t modRM) { in decode() argument 162 if (modFromModRM(modRM) == 0x3) in decode() 166 if (modFromModRM(modRM) == 0x3) in decode() 167 return modRMTable[dec->instructionIDs + ((modRM & 0x38) >> 3) + 8]; in decode() 168 return modRMTable[dec->instructionIDs + ((modRM & 0x38) >> 3)]; in decode() 170 if (modFromModRM(modRM) == 0x3) in decode() 171 return modRMTable[dec->instructionIDs + (modRM & 0x3f) + 8]; in decode() 172 return modRMTable[dec->instructionIDs + ((modRM & 0x38) >> 3)]; in decode() 174 return modRMTable[dec->instructionIDs + modRM]; in decode() 544 switch (modFromModRM(insn->modRM)) { in readSIB() [all …]
|
/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/llvm-project/llvm/lib/Target/X86/Disassembler/ |
D | X86DisassemblerDecoder.h | 25 #define modFromModRM(modRM) (((modRM) & 0xc0) >> 6) argument 26 #define regFromModRM(modRM) (((modRM) & 0x38) >> 3) argument 27 #define rmFromModRM(modRM) ((modRM) & 0x7) argument 602 uint8_t modRM; member
|
D | X86Disassembler.cpp | 124 uint8_t opcode, uint8_t modRM) { in decode() argument 162 if (modFromModRM(modRM) == 0x3) in decode() 166 if (modFromModRM(modRM) == 0x3) in decode() 167 return modRMTable[dec->instructionIDs + ((modRM & 0x38) >> 3) + 8]; in decode() 168 return modRMTable[dec->instructionIDs + ((modRM & 0x38) >> 3)]; in decode() 170 if (modFromModRM(modRM) == 0x3) in decode() 171 return modRMTable[dec->instructionIDs + (modRM & 0x3f) + 8]; in decode() 172 return modRMTable[dec->instructionIDs + ((modRM & 0x38) >> 3)]; in decode() 174 return modRMTable[dec->instructionIDs + modRM]; in decode() 544 switch (modFromModRM(insn->modRM)) { in readSIB() [all …]
|
/external/capstone/arch/X86/ |
D | X86DisassemblerDecoder.h | 33 #define modFromModRM(modRM) (((modRM) & 0xc0) >> 6) argument 34 #define regFromModRM(modRM) (((modRM) & 0x38) >> 3) argument 35 #define rmFromModRM(modRM) ((modRM) & 0x7) argument 687 uint8_t modRM; member
|
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() 1121 insn->modRM); in getIDWithAttrMask() [all …]
|
D | X86Disassembler.c | 799 translateFPRegister(mcInst, insn->modRM & 7); in translateOperand()
|
/external/capstone/bindings/ocaml/ |
D | test_x86.ml | 60 (* print modRM byte *)
|