LLVM 20.0.0git
|
Go to the source code of this file.
Classes | |
struct | llvm::X86Disassembler::InstructionSpecifier |
The specification for how to extract and interpret a full instruction and its operands. More... | |
struct | llvm::X86Disassembler::InternalInstruction |
The x86 internal instruction, which is produced by the decoder. More... | |
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
namespace | llvm::X86Disassembler |
#define aaaFromEVEX4of4 | ( | evex | ) | threeBitsFromOffset0(evex) |
Definition at line 108 of file X86DisassemblerDecoder.h.
#define ALL_EA_BASES |
Definition at line 544 of file X86DisassemblerDecoder.h.
#define ALL_REGS |
Definition at line 553 of file X86DisassemblerDecoder.h.
#define ALL_SIB_BASES |
Definition at line 549 of file X86DisassemblerDecoder.h.
#define b2FromEVEX2of4 | ( | evex | ) | bitFromOffset3(evex) |
Definition at line 96 of file X86DisassemblerDecoder.h.
#define b2FromREX2 | ( | rex2 | ) | bitFromOffset4(rex2) |
Definition at line 63 of file X86DisassemblerDecoder.h.
#define baseFromSIB | ( | sib | ) | threeBitsFromOffset0(sib) |
Definition at line 53 of file X86DisassemblerDecoder.h.
#define bFromEVEX2of4 | ( | evex | ) | invertedBitFromOffset5(evex) |
Definition at line 94 of file X86DisassemblerDecoder.h.
#define bFromEVEX4of4 | ( | evex | ) | bitFromOffset4(evex) |
Definition at line 106 of file X86DisassemblerDecoder.h.
#define bFromREX | ( | rex | ) | bitFromOffset0(rex) |
Definition at line 58 of file X86DisassemblerDecoder.h.
#define bFromREX2 | ( | rex2 | ) | bitFromOffset0(rex2) |
Definition at line 67 of file X86DisassemblerDecoder.h.
#define bFromVEX2of3 | ( | vex | ) | invertedBitFromOffset5(vex) |
Definition at line 85 of file X86DisassemblerDecoder.h.
#define bFromXOP2of3 | ( | xop | ) | invertedBitFromOffset5(xop) |
Definition at line 71 of file X86DisassemblerDecoder.h.
#define bitFromOffset0 | ( | val | ) | ((val) & 0x1) |
Definition at line 24 of file X86DisassemblerDecoder.h.
#define bitFromOffset1 | ( | val | ) | (((val) >> 1) & 0x1) |
Definition at line 25 of file X86DisassemblerDecoder.h.
#define bitFromOffset2 | ( | val | ) | (((val) >> 2) & 0x1) |
Definition at line 26 of file X86DisassemblerDecoder.h.
#define bitFromOffset3 | ( | val | ) | (((val) >> 3) & 0x1) |
Definition at line 27 of file X86DisassemblerDecoder.h.
#define bitFromOffset4 | ( | val | ) | (((val) >> 4) & 0x1) |
Definition at line 28 of file X86DisassemblerDecoder.h.
#define bitFromOffset5 | ( | val | ) | (((val) >> 5) & 0x1) |
Definition at line 29 of file X86DisassemblerDecoder.h.
#define bitFromOffset6 | ( | val | ) | (((val) >> 6) & 0x1) |
Definition at line 30 of file X86DisassemblerDecoder.h.
#define bitFromOffset7 | ( | val | ) | (((val) >> 7) & 0x1) |
Definition at line 31 of file X86DisassemblerDecoder.h.
#define EA_BASES_16BIT |
Definition at line 151 of file X86DisassemblerDecoder.h.
#define EA_BASES_32BIT |
Definition at line 219 of file X86DisassemblerDecoder.h.
#define EA_BASES_64BIT |
Definition at line 287 of file X86DisassemblerDecoder.h.
#define ENTRY | ( | x | ) | EA_BASE_##x, |
Definition at line 622 of file X86DisassemblerDecoder.h.
#define ENTRY | ( | x | ) | EA_REG_##x, |
Definition at line 622 of file X86DisassemblerDecoder.h.
#define ENTRY | ( | x | ) | SIB_INDEX_##x, |
Definition at line 622 of file X86DisassemblerDecoder.h.
#define ENTRY | ( | x | ) | SIB_BASE_##x, |
Definition at line 622 of file X86DisassemblerDecoder.h.
#define ENTRY | ( | x | ) | MODRM_REG_##x, |
Definition at line 622 of file X86DisassemblerDecoder.h.
#define fiveBitsFromOffset0 | ( | val | ) | ((val) & 0x1f) |
Definition at line 38 of file X86DisassemblerDecoder.h.
#define fourBitsFromOffset0 | ( | val | ) | ((val) & 0xf) |
Definition at line 36 of file X86DisassemblerDecoder.h.
#define fourBitsFromOffset3 | ( | val | ) | (((val) >> 3) & 0xf) |
Definition at line 37 of file X86DisassemblerDecoder.h.
#define indexFromSIB | ( | sib | ) | threeBitsFromOffset3(sib) |
Definition at line 52 of file X86DisassemblerDecoder.h.
#define invertedBitFromOffset2 | ( | val | ) | (((~(val)) >> 2) & 0x1) |
Definition at line 39 of file X86DisassemblerDecoder.h.
#define invertedBitFromOffset3 | ( | val | ) | (((~(val)) >> 3) & 0x1) |
Definition at line 40 of file X86DisassemblerDecoder.h.
#define invertedBitFromOffset4 | ( | val | ) | (((~(val)) >> 4) & 0x1) |
Definition at line 41 of file X86DisassemblerDecoder.h.
#define invertedBitFromOffset5 | ( | val | ) | (((~(val)) >> 5) & 0x1) |
Definition at line 42 of file X86DisassemblerDecoder.h.
#define invertedBitFromOffset6 | ( | val | ) | (((~(val)) >> 6) & 0x1) |
Definition at line 43 of file X86DisassemblerDecoder.h.
#define invertedBitFromOffset7 | ( | val | ) | (((~(val)) >> 7) & 0x1) |
Definition at line 44 of file X86DisassemblerDecoder.h.
#define invertedFourBitsFromOffset3 | ( | val | ) | (((~(val)) >> 3) & 0xf) |
Definition at line 45 of file X86DisassemblerDecoder.h.
#define l2FromEVEX4of4 | ( | evex | ) | bitFromOffset6(evex) |
Definition at line 104 of file X86DisassemblerDecoder.h.
#define lFromEVEX4of4 | ( | evex | ) | bitFromOffset5(evex) |
Definition at line 105 of file X86DisassemblerDecoder.h.
#define lFromVEX2of2 | ( | vex | ) | bitFromOffset2(vex) |
Definition at line 80 of file X86DisassemblerDecoder.h.
#define lFromVEX3of3 | ( | vex | ) | bitFromOffset2(vex) |
Definition at line 89 of file X86DisassemblerDecoder.h.
#define lFromXOP3of3 | ( | xop | ) | bitFromOffset2(xop) |
Definition at line 75 of file X86DisassemblerDecoder.h.
#define mFromREX2 | ( | rex2 | ) | bitFromOffset7(rex2) |
Definition at line 60 of file X86DisassemblerDecoder.h.
#define mmmFromEVEX2of4 | ( | evex | ) | threeBitsFromOffset0(evex) |
Definition at line 97 of file X86DisassemblerDecoder.h.
#define mmmmmFromVEX2of3 | ( | vex | ) | fiveBitsFromOffset0(vex) |
Definition at line 86 of file X86DisassemblerDecoder.h.
#define mmmmmFromXOP2of3 | ( | xop | ) | fiveBitsFromOffset0(xop) |
Definition at line 72 of file X86DisassemblerDecoder.h.
#define modFromModRM | ( | modRM | ) | twoBitsFromOffset6(modRM) |
Definition at line 47 of file X86DisassemblerDecoder.h.
#define nfFromEVEX4of4 | ( | evex | ) | bitFromOffset2(evex) |
Definition at line 109 of file X86DisassemblerDecoder.h.
#define oszcFromEVEX3of4 | ( | evex | ) | fourBitsFromOffset3(evex) |
Definition at line 102 of file X86DisassemblerDecoder.h.
#define ppFromEVEX3of4 | ( | evex | ) | twoBitsFromOffset0(evex) |
Definition at line 101 of file X86DisassemblerDecoder.h.
#define ppFromVEX2of2 | ( | vex | ) | twoBitsFromOffset0(vex) |
Definition at line 81 of file X86DisassemblerDecoder.h.
#define ppFromVEX3of3 | ( | vex | ) | twoBitsFromOffset0(vex) |
Definition at line 90 of file X86DisassemblerDecoder.h.
#define ppFromXOP3of3 | ( | xop | ) | twoBitsFromOffset0(xop) |
Definition at line 76 of file X86DisassemblerDecoder.h.
#define r2FromEVEX2of4 | ( | evex | ) | invertedBitFromOffset4(evex) |
Definition at line 95 of file X86DisassemblerDecoder.h.
#define r2FromREX2 | ( | rex2 | ) | bitFromOffset6(rex2) |
Definition at line 61 of file X86DisassemblerDecoder.h.
#define regFromModRM | ( | modRM | ) | threeBitsFromOffset3(modRM) |
Definition at line 48 of file X86DisassemblerDecoder.h.
#define REGS_16BIT |
Definition at line 185 of file X86DisassemblerDecoder.h.
#define REGS_32BIT |
Definition at line 253 of file X86DisassemblerDecoder.h.
#define REGS_64BIT |
Definition at line 321 of file X86DisassemblerDecoder.h.
#define REGS_8BIT |
Definition at line 113 of file X86DisassemblerDecoder.h.
#define REGS_CONTROL |
Definition at line 509 of file X86DisassemblerDecoder.h.
#define REGS_DEBUG |
Definition at line 491 of file X86DisassemblerDecoder.h.
#define REGS_MASK_PAIRS |
Definition at line 477 of file X86DisassemblerDecoder.h.
#define REGS_MASKS |
Definition at line 467 of file X86DisassemblerDecoder.h.
#define REGS_MMX |
Definition at line 355 of file X86DisassemblerDecoder.h.
#define REGS_SEGMENT |
Definition at line 483 of file X86DisassemblerDecoder.h.
#define REGS_TMM |
Definition at line 528 of file X86DisassemblerDecoder.h.
#define REGS_TMM_PAIRS |
Definition at line 538 of file X86DisassemblerDecoder.h.
#define REGS_XMM |
Definition at line 365 of file X86DisassemblerDecoder.h.
#define REGS_YMM |
Definition at line 399 of file X86DisassemblerDecoder.h.
#define REGS_ZMM |
Definition at line 433 of file X86DisassemblerDecoder.h.
#define rFromEVEX2of4 | ( | evex | ) | invertedBitFromOffset7(evex) |
Definition at line 92 of file X86DisassemblerDecoder.h.
#define rFromREX | ( | rex | ) | bitFromOffset2(rex) |
Definition at line 56 of file X86DisassemblerDecoder.h.
#define rFromREX2 | ( | rex2 | ) | bitFromOffset2(rex2) |
Definition at line 65 of file X86DisassemblerDecoder.h.
#define rFromVEX2of2 | ( | vex | ) | invertedBitFromOffset7(vex) |
Definition at line 78 of file X86DisassemblerDecoder.h.
#define rFromVEX2of3 | ( | vex | ) | invertedBitFromOffset7(vex) |
Definition at line 83 of file X86DisassemblerDecoder.h.
#define rFromXOP2of3 | ( | xop | ) | invertedBitFromOffset7(xop) |
Definition at line 69 of file X86DisassemblerDecoder.h.
#define rmFromModRM | ( | modRM | ) | threeBitsFromOffset0(modRM) |
Definition at line 49 of file X86DisassemblerDecoder.h.
#define scaleFromSIB | ( | sib | ) | twoBitsFromOffset6(sib) |
Definition at line 51 of file X86DisassemblerDecoder.h.
#define scFromEVEX4of4 | ( | evex | ) | fourBitsFromOffset0(evex) |
Definition at line 110 of file X86DisassemblerDecoder.h.
#define threeBitsFromOffset0 | ( | val | ) | ((val) & 0x7) |
Definition at line 34 of file X86DisassemblerDecoder.h.
#define threeBitsFromOffset3 | ( | val | ) | (((val) >> 3) & 0x7) |
Definition at line 35 of file X86DisassemblerDecoder.h.
#define twoBitsFromOffset0 | ( | val | ) | ((val) & 0x3) |
Definition at line 32 of file X86DisassemblerDecoder.h.
#define twoBitsFromOffset6 | ( | val | ) | (((val) >> 6) & 0x3) |
Definition at line 33 of file X86DisassemblerDecoder.h.
#define uFromEVEX3of4 | ( | evex | ) | invertedBitFromOffset2(evex) |
Definition at line 100 of file X86DisassemblerDecoder.h.
#define v2FromEVEX4of4 | ( | evex | ) | invertedBitFromOffset3(evex) |
Definition at line 107 of file X86DisassemblerDecoder.h.
#define vvvvFromEVEX3of4 | ( | evex | ) | invertedFourBitsFromOffset3(evex) |
Definition at line 99 of file X86DisassemblerDecoder.h.
#define vvvvFromVEX2of2 | ( | vex | ) | invertedFourBitsFromOffset3(vex) |
Definition at line 79 of file X86DisassemblerDecoder.h.
#define vvvvFromVEX3of3 | ( | vex | ) | invertedFourBitsFromOffset3(vex) |
Definition at line 88 of file X86DisassemblerDecoder.h.
#define vvvvFromXOP3of3 | ( | xop | ) | invertedFourBitsFromOffset3(xop) |
Definition at line 74 of file X86DisassemblerDecoder.h.
#define wFromEVEX3of4 | ( | evex | ) | bitFromOffset7(evex) |
Definition at line 98 of file X86DisassemblerDecoder.h.
#define wFromREX | ( | rex | ) | bitFromOffset3(rex) |
Definition at line 55 of file X86DisassemblerDecoder.h.
#define wFromREX2 | ( | rex2 | ) | bitFromOffset3(rex2) |
Definition at line 64 of file X86DisassemblerDecoder.h.
#define wFromVEX3of3 | ( | vex | ) | bitFromOffset7(vex) |
Definition at line 87 of file X86DisassemblerDecoder.h.
#define wFromXOP3of3 | ( | xop | ) | bitFromOffset7(xop) |
Definition at line 73 of file X86DisassemblerDecoder.h.
#define x2FromREX2 | ( | rex2 | ) | bitFromOffset5(rex2) |
Definition at line 62 of file X86DisassemblerDecoder.h.
#define xFromEVEX2of4 | ( | evex | ) | invertedBitFromOffset6(evex) |
Definition at line 93 of file X86DisassemblerDecoder.h.
#define xFromREX | ( | rex | ) | bitFromOffset1(rex) |
Definition at line 57 of file X86DisassemblerDecoder.h.
#define xFromREX2 | ( | rex2 | ) | bitFromOffset1(rex2) |
Definition at line 66 of file X86DisassemblerDecoder.h.
#define xFromVEX2of3 | ( | vex | ) | invertedBitFromOffset6(vex) |
Definition at line 84 of file X86DisassemblerDecoder.h.
#define xFromXOP2of3 | ( | xop | ) | invertedBitFromOffset6(xop) |
Definition at line 70 of file X86DisassemblerDecoder.h.
#define zFromEVEX4of4 | ( | evex | ) | bitFromOffset7(evex) |
Definition at line 103 of file X86DisassemblerDecoder.h.