LLVM 23.0.0git
llvm::AMDGPU::VOPD::ComponentProps Class Reference

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

Inheritance diagram for llvm::AMDGPU::VOPD::ComponentProps:
[legend]

Public Member Functions

 ComponentProps ()=default
 ComponentProps (const MCInstrDesc &OpDesc, bool VOP3Layout=false)
unsigned getCompSrcOperandsNum () const
unsigned getCompParsedSrcOperandsNum () const
bool hasMandatoryLiteral () const
unsigned getMandatoryLiteralCompOperandIndex () const
bool hasRegSrcOperand (unsigned CompSrcIdx) const
bool hasSrc2Acc () const
unsigned getCompVOPD3ModsNum () const
unsigned getOpcode () const
unsigned isVOP3 () const
int getBitOp3OperandIdx () const

Detailed Description

Definition at line 697 of file AMDGPUBaseInfo.h.

Constructor & Destructor Documentation

◆ ComponentProps() [1/2]

llvm::AMDGPU::VOPD::ComponentProps::ComponentProps ( )
default

◆ ComponentProps() [2/2]

Member Function Documentation

◆ getBitOp3OperandIdx()

int llvm::AMDGPU::VOPD::ComponentProps::getBitOp3OperandIdx ( ) const

◆ getCompParsedSrcOperandsNum()

unsigned llvm::AMDGPU::VOPD::ComponentProps::getCompParsedSrcOperandsNum ( ) const
inline

◆ getCompSrcOperandsNum()

unsigned llvm::AMDGPU::VOPD::ComponentProps::getCompSrcOperandsNum ( ) const
inline

Definition at line 711 of file AMDGPUBaseInfo.h.

◆ getCompVOPD3ModsNum()

unsigned llvm::AMDGPU::VOPD::ComponentProps::getCompVOPD3ModsNum ( ) const
inline

◆ getMandatoryLiteralCompOperandIndex()

unsigned llvm::AMDGPU::VOPD::ComponentProps::getMandatoryLiteralCompOperandIndex ( ) const
inline

Definition at line 723 of file AMDGPUBaseInfo.h.

References assert(), and hasMandatoryLiteral().

◆ getOpcode()

unsigned llvm::AMDGPU::VOPD::ComponentProps::getOpcode ( ) const
inline

Definition at line 742 of file AMDGPUBaseInfo.h.

◆ hasMandatoryLiteral()

bool llvm::AMDGPU::VOPD::ComponentProps::hasMandatoryLiteral ( ) const
inline

Definition at line 719 of file AMDGPUBaseInfo.h.

Referenced by getMandatoryLiteralCompOperandIndex().

◆ hasRegSrcOperand()

bool llvm::AMDGPU::VOPD::ComponentProps::hasRegSrcOperand ( unsigned CompSrcIdx) const
inline

Definition at line 730 of file AMDGPUBaseInfo.h.

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

◆ hasSrc2Acc()

bool llvm::AMDGPU::VOPD::ComponentProps::hasSrc2Acc ( ) const
inline

Definition at line 736 of file AMDGPUBaseInfo.h.

◆ isVOP3()

unsigned llvm::AMDGPU::VOPD::ComponentProps::isVOP3 ( ) const
inline

Definition at line 745 of file AMDGPUBaseInfo.h.


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