Public Types | Public Attributes | List of all members
MCOperand Struct Reference

#include <MCInst.h>

Public Types

enum  { kInvalid = 0, kRegister, kImmediate, kFPImmediate }
 

Public Attributes

union {
   double   FPImmVal
 
   int64_t   ImmVal
 
   unsigned   RegVal
 
}; 
 
unsigned char Kind
 
enum MCOperand:: { ... }  MachineOperandType
 

Detailed Description

MCOperand - Instances of this class represent operands of the MCInst class. This is a simple discriminated union.

Definition at line 30 of file MCInst.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kInvalid 

Uninitialized.

kRegister 

Register operand.

kImmediate 

Immediate operand.

kFPImmediate 

Floating-point immediate operand.

Definition at line 31 of file MCInst.h.

Member Data Documentation

◆ @179

union { ... }

◆ FPImmVal

double MCOperand::FPImmVal

Definition at line 42 of file MCInst.h.

◆ ImmVal

int64_t MCOperand::ImmVal

Definition at line 41 of file MCInst.h.

◆ Kind

unsigned char MCOperand::Kind

Definition at line 37 of file MCInst.h.

◆ MachineOperandType

enum { ... } MCOperand::MachineOperandType

◆ RegVal

unsigned MCOperand::RegVal

Definition at line 40 of file MCInst.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:47