LLVM  8.0.1
Public Attributes | List of all members
llvm::X86Disassembler::InternalInstruction Struct Reference

The x86 internal instruction, which is produced by the decoder. More...

#include "Target/X86/Disassembler/X86DisassemblerDecoder.h"

Collaboration diagram for llvm::X86Disassembler::InternalInstruction:
Collaboration graph
[legend]

Public Attributes

byteReader_t reader
 
const void * readerArg
 
uint64_t readerCursor
 
dlog_t dlog
 
void * dlogArg
 
DisassemblerMode mode
 
uint64_t startLocation
 
size_t length
 
uint8_t mandatoryPrefix
 
uint8_t vectorExtensionPrefix [4]
 
VectorExtensionType vectorExtensionType
 
uint8_t rexPrefix
 
SegmentOverride segmentOverride
 
bool xAcquireRelease
 
bool hasAdSize
 
bool hasOpSize
 
bool hasLockPrefix
 
uint8_t repeatPrefix
 
uint8_t registerSize
 
uint8_t addressSize
 
uint8_t displacementSize
 
uint8_t immediateSize
 
uint8_t displacementOffset
 
uint8_t immediateOffset
 
uint8_t opcode
 
OpcodeType opcodeType
 
uint16_t instructionID
 
const InstructionSpecifierspec
 
Reg vvvv
 
Reg writemask
 
bool consumedModRM
 
uint8_t modRM
 
bool consumedSIB
 
uint8_t sib
 
bool consumedDisplacement
 
int32_t displacement
 
uint8_t numImmediatesConsumed
 
uint8_t numImmediatesTranslated
 
uint64_t immediates [2]
 
Reg opcodeRegister
 
EABase eaRegBase
 
Reg regBase
 
EABase eaBase
 
EADisplacement eaDisplacement
 
Reg reg
 
SIBIndex sibIndexBase
 
SIBIndex sibIndex
 
uint8_t sibScale
 
SIBBase sibBase
 
uint8_t RC
 
ArrayRef< OperandSpecifieroperands
 

Detailed Description

The x86 internal instruction, which is produced by the decoder.

Definition at line 525 of file X86DisassemblerDecoder.h.

Member Data Documentation

◆ addressSize

uint8_t llvm::X86Disassembler::InternalInstruction::addressSize

◆ consumedDisplacement

bool llvm::X86Disassembler::InternalInstruction::consumedDisplacement

Definition at line 617 of file X86DisassemblerDecoder.h.

Referenced by readDisplacement().

◆ consumedModRM

bool llvm::X86Disassembler::InternalInstruction::consumedModRM

Definition at line 609 of file X86DisassemblerDecoder.h.

Referenced by readModRM().

◆ consumedSIB

bool llvm::X86Disassembler::InternalInstruction::consumedSIB

Definition at line 613 of file X86DisassemblerDecoder.h.

Referenced by readSIB().

◆ displacement

int32_t llvm::X86Disassembler::InternalInstruction::displacement

Definition at line 618 of file X86DisassemblerDecoder.h.

Referenced by readDisplacement(), readOperands(), and translateRMMemory().

◆ displacementOffset

uint8_t llvm::X86Disassembler::InternalInstruction::displacementOffset

Definition at line 579 of file X86DisassemblerDecoder.h.

Referenced by readDisplacement(), and translateRMMemory().

◆ displacementSize

uint8_t llvm::X86Disassembler::InternalInstruction::displacementSize

◆ dlog

dlog_t llvm::X86Disassembler::InternalInstruction::dlog

Definition at line 534 of file X86DisassemblerDecoder.h.

Referenced by llvm::X86Disassembler::decodeInstruction().

◆ dlogArg

void* llvm::X86Disassembler::InternalInstruction::dlogArg

Definition at line 536 of file X86DisassemblerDecoder.h.

Referenced by llvm::X86Disassembler::decodeInstruction().

◆ eaBase

EABase llvm::X86Disassembler::InternalInstruction::eaBase

◆ eaDisplacement

EADisplacement llvm::X86Disassembler::InternalInstruction::eaDisplacement

◆ eaRegBase

EABase llvm::X86Disassembler::InternalInstruction::eaRegBase

Definition at line 632 of file X86DisassemblerDecoder.h.

Referenced by readModRM().

◆ hasAdSize

bool llvm::X86Disassembler::InternalInstruction::hasAdSize

◆ hasLockPrefix

bool llvm::X86Disassembler::InternalInstruction::hasLockPrefix

Definition at line 567 of file X86DisassemblerDecoder.h.

Referenced by logger(), and setPrefixPresent().

◆ hasOpSize

bool llvm::X86Disassembler::InternalInstruction::hasOpSize

Definition at line 565 of file X86DisassemblerDecoder.h.

Referenced by getID(), logger(), and readPrefixes().

◆ immediateOffset

uint8_t llvm::X86Disassembler::InternalInstruction::immediateOffset

Definition at line 580 of file X86DisassemblerDecoder.h.

Referenced by readImmediate(), and translateImmediate().

◆ immediates

uint64_t llvm::X86Disassembler::InternalInstruction::immediates[2]

Definition at line 623 of file X86DisassemblerDecoder.h.

Referenced by readImmediate(), readOperands(), and translateOperand().

◆ immediateSize

uint8_t llvm::X86Disassembler::InternalInstruction::immediateSize

◆ instructionID

uint16_t llvm::X86Disassembler::InternalInstruction::instructionID

◆ length

size_t llvm::X86Disassembler::InternalInstruction::length

Definition at line 545 of file X86DisassemblerDecoder.h.

Referenced by llvm::X86Disassembler::decodeInstruction(), and logger().

◆ mandatoryPrefix

uint8_t llvm::X86Disassembler::InternalInstruction::mandatoryPrefix

Definition at line 550 of file X86DisassemblerDecoder.h.

Referenced by getID(), logger(), readOpcode(), and setPrefixPresent().

◆ mode

DisassemblerMode llvm::X86Disassembler::InternalInstruction::mode

◆ modRM

uint8_t llvm::X86Disassembler::InternalInstruction::modRM

Definition at line 610 of file X86DisassemblerDecoder.h.

Referenced by getIDWithAttrMask(), readModRM(), readSIB(), and translateOperand().

◆ numImmediatesConsumed

uint8_t llvm::X86Disassembler::InternalInstruction::numImmediatesConsumed

◆ numImmediatesTranslated

uint8_t llvm::X86Disassembler::InternalInstruction::numImmediatesTranslated

Definition at line 622 of file X86DisassemblerDecoder.h.

Referenced by translateInstruction(), and translateOperand().

◆ opcode

uint8_t llvm::X86Disassembler::InternalInstruction::opcode

◆ opcodeRegister

Reg llvm::X86Disassembler::InternalInstruction::opcodeRegister

Definition at line 626 of file X86DisassemblerDecoder.h.

Referenced by readOpcodeRegister(), and translateOperand().

◆ opcodeType

OpcodeType llvm::X86Disassembler::InternalInstruction::opcodeType

Definition at line 590 of file X86DisassemblerDecoder.h.

Referenced by getID(), getIDWithAttrMask(), and readOpcode().

◆ operands

ArrayRef<OperandSpecifier> llvm::X86Disassembler::InternalInstruction::operands

◆ RC

uint8_t llvm::X86Disassembler::InternalInstruction::RC

Definition at line 649 of file X86DisassemblerDecoder.h.

Referenced by readOperands(), and translateOperand().

◆ reader

byteReader_t llvm::X86Disassembler::InternalInstruction::reader

◆ readerArg

const void* llvm::X86Disassembler::InternalInstruction::readerArg

◆ readerCursor

uint64_t llvm::X86Disassembler::InternalInstruction::readerCursor

◆ reg

Reg llvm::X86Disassembler::InternalInstruction::reg

Definition at line 640 of file X86DisassemblerDecoder.h.

Referenced by readModRM(), and translateOperand().

◆ regBase

Reg llvm::X86Disassembler::InternalInstruction::regBase

Definition at line 633 of file X86DisassemblerDecoder.h.

Referenced by readModRM().

◆ registerSize

uint8_t llvm::X86Disassembler::InternalInstruction::registerSize

Definition at line 572 of file X86DisassemblerDecoder.h.

Referenced by readModRM(), readOpcodeRegister(), and readPrefixes().

◆ repeatPrefix

uint8_t llvm::X86Disassembler::InternalInstruction::repeatPrefix

Definition at line 569 of file X86DisassemblerDecoder.h.

Referenced by getID(), logger(), and setPrefixPresent().

◆ rexPrefix

uint8_t llvm::X86Disassembler::InternalInstruction::rexPrefix

Definition at line 556 of file X86DisassemblerDecoder.h.

Referenced by getID(), readModRM(), readOpcodeRegister(), readPrefixes(), and readSIB().

◆ segmentOverride

SegmentOverride llvm::X86Disassembler::InternalInstruction::segmentOverride

◆ sib

uint8_t llvm::X86Disassembler::InternalInstruction::sib

Definition at line 614 of file X86DisassemblerDecoder.h.

Referenced by readSIB().

◆ sibBase

SIBBase llvm::X86Disassembler::InternalInstruction::sibBase

Definition at line 646 of file X86DisassemblerDecoder.h.

Referenced by readSIB(), and translateRMMemory().

◆ sibIndex

SIBIndex llvm::X86Disassembler::InternalInstruction::sibIndex

Definition at line 644 of file X86DisassemblerDecoder.h.

Referenced by readOperands(), readSIB(), and translateRMMemory().

◆ sibIndexBase

SIBIndex llvm::X86Disassembler::InternalInstruction::sibIndexBase

Definition at line 643 of file X86DisassemblerDecoder.h.

Referenced by readOperands(), and readSIB().

◆ sibScale

uint8_t llvm::X86Disassembler::InternalInstruction::sibScale

Definition at line 645 of file X86DisassemblerDecoder.h.

Referenced by readSIB(), and translateRMMemory().

◆ spec

const InstructionSpecifier* llvm::X86Disassembler::InternalInstruction::spec

◆ startLocation

uint64_t llvm::X86Disassembler::InternalInstruction::startLocation

◆ vectorExtensionPrefix

uint8_t llvm::X86Disassembler::InternalInstruction::vectorExtensionPrefix[4]

◆ vectorExtensionType

VectorExtensionType llvm::X86Disassembler::InternalInstruction::vectorExtensionType

◆ vvvv

Reg llvm::X86Disassembler::InternalInstruction::vvvv

Definition at line 602 of file X86DisassemblerDecoder.h.

Referenced by readOperands(), readVVVV(), and translateOperand().

◆ writemask

Reg llvm::X86Disassembler::InternalInstruction::writemask

Definition at line 605 of file X86DisassemblerDecoder.h.

Referenced by readMaskRegister(), and translateOperand().

◆ xAcquireRelease

bool llvm::X86Disassembler::InternalInstruction::xAcquireRelease

Definition at line 560 of file X86DisassemblerDecoder.h.

Referenced by readPrefixes(), and translateInstruction().


The documentation for this struct was generated from the following file: