class InstructionBase

Declaration

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

Description

Base class for instructions consumed by the simulation pipeline. This class tracks data dependencies as well as generic properties of the instruction.

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

Method Overview

Methods

InstructionBase(const llvm::mca::InstrDesc& D)

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

Parameters

const llvm::mca::InstrDesc& D

SmallVectorImpl<llvm::mca::WriteState>& getDefs()

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

const ArrayRef<llvm::mca::WriteState> getDefs()
    const

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

const llvm::mca::InstrDesc& getDesc() const

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

unsigned int getLatency() const

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

unsigned int getNumMicroOps() const

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

unsigned int getNumUsers() const

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

SmallVectorImpl<llvm::mca::ReadState>& getUses()

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

const ArrayRef<llvm::mca::ReadState> getUses()
    const

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

bool hasDependentUsers() const

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

bool isMemOp() const

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

bool isOptimizableMove() const

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

void setOptimizableMove()

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