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

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

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

Public Member Functions

 ComponentProps ()=default
 
 ComponentProps (const MCInstrDesc &OpDesc)
 
unsigned getCompSrcOperandsNum () const
 
unsigned getCompParsedSrcOperandsNum () const
 
bool hasMandatoryLiteral () const
 
unsigned getMandatoryLiteralCompOperandIndex () const
 
bool hasRegSrcOperand (unsigned CompSrcIdx) const
 
bool hasSrc2Acc () const
 

Detailed Description

Definition at line 570 of file AMDGPUBaseInfo.h.

Constructor & Destructor Documentation

◆ ComponentProps() [1/2]

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

◆ ComponentProps() [2/2]

llvm::AMDGPU::VOPD::ComponentProps::ComponentProps ( const MCInstrDesc OpDesc)

Member Function Documentation

◆ getCompParsedSrcOperandsNum()

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

◆ getCompSrcOperandsNum()

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

Definition at line 581 of file AMDGPUBaseInfo.h.

◆ getMandatoryLiteralCompOperandIndex()

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

Definition at line 593 of file AMDGPUBaseInfo.h.

References assert(), and hasMandatoryLiteral().

◆ hasMandatoryLiteral()

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

Definition at line 589 of file AMDGPUBaseInfo.h.

Referenced by getMandatoryLiteralCompOperandIndex().

◆ hasRegSrcOperand()

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

Definition at line 600 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 606 of file AMDGPUBaseInfo.h.


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