class MCAOperand

Declaration

class MCAOperand { /* full declaration omitted */ };

Description

A representation of an mca::Instruction operand for use in mca::CustomBehaviour.

Declared at: llvm/include/llvm/MCA/Instruction.h:38

Member Variables

private llvm::mca::MCAOperand::MCAOperandType Kind
private anonymous struct / union
private unsigned int Index

Method Overview

Methods

MCAOperand()

Declared at: llvm/include/llvm/MCA/Instruction.h:65

static llvm::mca::MCAOperand createDFPImm(
    uint64_t Val)

Declared at: llvm/include/llvm/MCA/Instruction.h:119

Parameters

uint64_t Val

static llvm::mca::MCAOperand createImm(
    int64_t Val)

Declared at: llvm/include/llvm/MCA/Instruction.h:105

Parameters

int64_t Val

static llvm::mca::MCAOperand createInvalid()

Declared at: llvm/include/llvm/MCA/Instruction.h:126

static llvm::mca::MCAOperand createReg(
    unsigned int Reg)

Declared at: llvm/include/llvm/MCA/Instruction.h:98

Parameters

unsigned int Reg

static llvm::mca::MCAOperand createSFPImm(
    uint32_t Val)

Declared at: llvm/include/llvm/MCA/Instruction.h:112

Parameters

uint32_t Val

uint64_t getDFPImm() const

Declared at: llvm/include/llvm/MCA/Instruction.h:89

int64_t getImm() const

Declared at: llvm/include/llvm/MCA/Instruction.h:79

unsigned int getIndex() const

Declared at: llvm/include/llvm/MCA/Instruction.h:96

unsigned int getReg() const

Description

Returns the register number.

Declared at: llvm/include/llvm/MCA/Instruction.h:74

uint32_t getSFPImm() const

Declared at: llvm/include/llvm/MCA/Instruction.h:84

bool isDFPImm() const

Declared at: llvm/include/llvm/MCA/Instruction.h:71

bool isImm() const

Declared at: llvm/include/llvm/MCA/Instruction.h:69

bool isReg() const

Declared at: llvm/include/llvm/MCA/Instruction.h:68

bool isSFPImm() const

Declared at: llvm/include/llvm/MCA/Instruction.h:70

bool isValid() const

Declared at: llvm/include/llvm/MCA/Instruction.h:67

void setIndex(const unsigned int Idx)

Declared at: llvm/include/llvm/MCA/Instruction.h:94

Parameters

const unsigned int Idx