class WriteRef

Declaration

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

Description

A reference to a register write. This class is mainly used by the register file to describe register mappings. It correlates a register write to the source index of the defining instruction.

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

Method Overview

Methods

WriteRef()

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

WriteRef(unsigned int SourceIndex,
         llvm::mca::WriteState* WS)

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

Parameters

unsigned int SourceIndex
llvm::mca::WriteState* WS

void dump() const

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

unsigned int getSourceIndex() const

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

const llvm::mca::WriteState* getWriteState() const

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

llvm::mca::WriteState* getWriteState()

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

void invalidate()

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

bool isAvailable() const

Description

Returns true if this register write has been executed, and the new register value is therefore available to users.

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

bool isValid() const

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

bool isWriteZero() const

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