class Instruction

Declaration

class Instruction : public InstructionBase { /* full declaration omitted */ };

Description

An instruction propagated through the simulated instruction pipeline. This class is used to monitor changes to the internal state of instructions that are sent to the various components of the simulated hardware pipeline.

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

Inherits from: InstructionBase

Method Overview

Inherited from InstructionBase:

Methods

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

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

Parameters

const llvm::mca::InstrDesc& D

void clearUsedBuffers()

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

const llvm::mca::CriticalDependency&
computeCriticalRegDep()

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

void cycleEvent()

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

void dispatch(unsigned int RCUTokenID)

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

Parameters

unsigned int RCUTokenID

void execute(unsigned int IID)

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

Parameters

unsigned int IID

void forceExecuted()

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

const llvm::mca::CriticalDependency&
getCriticalMemDep() const

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

const llvm::mca::CriticalDependency&
getCriticalRegDep() const

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

uint64_t getCriticalResourceMask() const

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

int getCyclesLeft() const

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

unsigned int getLSUTokenID() const

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

unsigned int getRCUTokenID() const

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

uint64_t getUsedBuffers() const

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

bool isDispatched() const

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

bool isEliminated() const

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

bool isExecuted() const

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

bool isExecuting() const

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

bool isPending() const

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

bool isReady() const

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

bool isRetired() const

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

void retire()

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

void setCriticalMemDep(
    const llvm::mca::CriticalDependency& MemDep)

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

Parameters

const llvm::mca::CriticalDependency& MemDep

void setCriticalResourceMask(
    uint64_t ResourceMask)

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

Parameters

uint64_t ResourceMask

void setEliminated()

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

void setLSUTokenID(unsigned int LSUTok)

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

Parameters

unsigned int LSUTok

void setUsedBuffers(uint64_t Mask)

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

Parameters

uint64_t Mask

void update()

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

bool updateDispatched()

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

bool updatePending()

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