LLVM 18.0.0git
Public Types | Public Member Functions | List of all members
llvm::AMDGPU::VOPD::InstInfo Class Reference

#include "Target/AMDGPU/Utils/AMDGPUBaseInfo.h"

Public Types

using RegIndices = std::array< unsigned, Component::MAX_OPR_NUM >

Public Member Functions

 InstInfo (const MCInstrDesc &OpX, const MCInstrDesc &OpY)
 InstInfo (const ComponentInfo &OprInfoX, const ComponentInfo &OprInfoY)
const ComponentInfooperator[] (size_t ComponentIdx) const
bool hasInvalidOperand (std::function< unsigned(unsigned, unsigned)> GetRegIdx) const
std::optional< unsignedgetInvalidCompOperandIndex (std::function< unsigned(unsigned, unsigned)> GetRegIdx) const

Detailed Description

Definition at line 728 of file AMDGPUBaseInfo.h.

Member Typedef Documentation

◆ RegIndices

Definition at line 733 of file AMDGPUBaseInfo.h.

Constructor & Destructor Documentation

◆ InstInfo() [1/2]

llvm::AMDGPU::VOPD::InstInfo::InstInfo ( const MCInstrDesc OpX,
const MCInstrDesc OpY 

Definition at line 735 of file AMDGPUBaseInfo.h.

◆ InstInfo() [2/2]

llvm::AMDGPU::VOPD::InstInfo::InstInfo ( const ComponentInfo OprInfoX,
const ComponentInfo OprInfoY 

Definition at line 738 of file AMDGPUBaseInfo.h.

Member Function Documentation

◆ getInvalidCompOperandIndex()

std::optional< unsigned > llvm::AMDGPU::VOPD::InstInfo::getInvalidCompOperandIndex ( std::function< unsigned(unsigned, unsigned)>  GetRegIdx) const

◆ hasInvalidOperand()

bool llvm::AMDGPU::VOPD::InstInfo::hasInvalidOperand ( std::function< unsigned(unsigned, unsigned)>  GetRegIdx) const

Definition at line 750 of file AMDGPUBaseInfo.h.

References getInvalidCompOperandIndex().

◆ operator[]()

const ComponentInfo & llvm::AMDGPU::VOPD::InstInfo::operator[] ( size_t  ComponentIdx) const

Definition at line 741 of file AMDGPUBaseInfo.h.

References assert(), and llvm::AMDGPU::VOPD::COMPONENTS_NUM.

The documentation for this class was generated from the following files: