LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::mca::RegisterFile::RAWHazard Struct Reference

#include "llvm/MCA/HardwareUnits/RegisterFile.h"

Public Member Functions

 RAWHazard ()=default
 
bool isValid () const
 
bool hasUnknownCycles () const
 

Public Attributes

MCPhysReg RegisterID = 0
 
int CyclesLeft = 0
 

Detailed Description

Definition at line 239 of file RegisterFile.h.

Constructor & Destructor Documentation

◆ RAWHazard()

llvm::mca::RegisterFile::RAWHazard::RAWHazard ( )
default

Member Function Documentation

◆ hasUnknownCycles()

bool llvm::mca::RegisterFile::RAWHazard::hasUnknownCycles ( ) const
inline

Definition at line 245 of file RegisterFile.h.

References CyclesLeft.

Referenced by llvm::mca::checkRegisterHazard().

◆ isValid()

bool llvm::mca::RegisterFile::RAWHazard::isValid ( ) const
inline

Member Data Documentation

◆ CyclesLeft

int llvm::mca::RegisterFile::RAWHazard::CyclesLeft = 0

◆ RegisterID

MCPhysReg llvm::mca::RegisterFile::RAWHazard::RegisterID = 0

Definition at line 240 of file RegisterFile.h.

Referenced by llvm::mca::RegisterFile::checkRAWHazards(), and isValid().


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